mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-25 16:20:55 +02:00
wepcrackgui: added
This commit is contained in:
parent
a37c9d0e77
commit
bbd66043c9
2 changed files with 70 additions and 0 deletions
2
net-analyzer/wepcrackgui/Manifest
Normal file
2
net-analyzer/wepcrackgui/Manifest
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
EBUILD wepcrackgui-9999.ebuild 1766 RMD160 7cd3de696e729e82ac4762e4bbfdeef90442ec5d SHA1 019e5dba7afb2b151a402d9537705df4d7e25a25 SHA256 ba57c0df361ca81ee655684ddeb3c7dfa0ab83c1072fea812858e514241c16bf
|
||||
MISC ViewConfiguration.xml 392 RMD160 cffa6da9e1cfb62f6d51c0b5f68906414ee29e34 SHA1 84cb994c44edc6f709d832a72a53739e6cc609bd SHA256 876837668f616537512e7eccce35f7e00ee89eb52880e23707ec60ca77db3e75
|
||||
68
net-analyzer/wepcrackgui/wepcrackgui-9999.ebuild
Normal file
68
net-analyzer/wepcrackgui/wepcrackgui-9999.ebuild
Normal file
|
|
@ -0,0 +1,68 @@
|
|||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=3
|
||||
|
||||
inherit git mono multilib
|
||||
|
||||
DESCRIPTION="A GUI for aircrack-ng written in C#"
|
||||
HOMEPAGE=""
|
||||
SRC_URI=""
|
||||
EGIT_REPO_URI="git://wepcrackgui.git.sourceforge.net/gitroot/wepcrackgui/wepcrackgui"
|
||||
|
||||
LICENSE=""
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="debug gtk qt4"
|
||||
|
||||
DEPEND="dev-lang/mono
|
||||
gtk? ( dev-dotnet/gtk-sharp )
|
||||
qt? ( kde-base/kdebindings-csharp )"
|
||||
RDEPEND="${DEPEND}
|
||||
net-analyzer/aircrack-ng
|
||||
net-wireless/mdk"
|
||||
|
||||
src_configure() {
|
||||
local _conf
|
||||
if use debug ; then
|
||||
_conf=DEBUG
|
||||
else
|
||||
_conf=RELEASE
|
||||
fi
|
||||
echo $_conf >> _conf
|
||||
./configure --prefix=/usr --config=$_conf
|
||||
sed -i 's|QyotoTest||g' Makefile # tmp workaround
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local _rls
|
||||
if [[ $(cat _conf) == RELEASE ]]; then
|
||||
_rls=Release
|
||||
else
|
||||
_rls=Debug
|
||||
fi
|
||||
insinto /usr/$(get_libdir)/${PN}/
|
||||
doins WepCrack/bin/$_rls/Unbuffer.exe || die
|
||||
doins WepCrack/bin/$_rls/TestRun.exe || die
|
||||
doins WepCrack/bin/$_rls/WepCrack.dll || die
|
||||
doins WepCrack/bin/$_rls/WepCrackInterfaces.dll || die
|
||||
if use gtk ; then
|
||||
doins GWepCrackGui/bin/$_rls/GWepCrackGui.exe || die
|
||||
doins GWepCrackGui/bin/$_rls/WepCrackGtk.dll || die
|
||||
sed -i "s|./|/usr/$(get_libdir)/${PN}/|" GWepCrackGui/gwepcrack || die
|
||||
dobin GWepCrackGui/gwepcrack || die
|
||||
fi
|
||||
if use qt4 ; then
|
||||
doins QWepCrackGui/bin/$_rls/QWepCrackGui.exe || die
|
||||
doins QWepCrackGui/bin/$_rls/WepCrackQt.dll || die
|
||||
sed -i "s|./|/usr/$(get_libdir)/${PN}/|" QWepCrackGui/qwepcrack || die
|
||||
dobin QWepCrackGui/qwepcrack || die
|
||||
fi
|
||||
insinto /usr/share/${PN}/
|
||||
doins WepCrack/SSID.txt || die
|
||||
doins WepCrack/oui.txt || die
|
||||
insinto /usr/share/${PN}/wordlists
|
||||
doins WepCrack/wordlists/password.lst || die
|
||||
dodoc TODO README || die
|
||||
}
|
||||
Loading…
Reference in a new issue