mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-19 13:20:57 +02:00
added airpwn
This commit is contained in:
parent
00f9da4561
commit
d853fd49ca
2 changed files with 35 additions and 0 deletions
2
net-wireless/airpwn/Manifest
Normal file
2
net-wireless/airpwn/Manifest
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
DIST airpwn-1.4.tgz 910109 RMD160 4703b31cbf70b5d7fac4b921722c81fde5e29bc7 SHA1 30df2f76cbbf35a9aa4053fa622f5249f2960e88 SHA256 f689cd5a9038832cb0aaefa18cae0c282a6bfbeea38819cf47f306f14344e164
|
||||
EBUILD airpwn-1.4.ebuild 792 RMD160 acf305386ad4227e27f521aa2770cd6fe828ceb1 SHA1 ee322706a1d8697ec58958698821d7cb7357fadf SHA256 8c45ce50649ac2a22dd4bdb9f29b35c8c5e4a0bb060e6bf924c98640894acb20
|
||||
33
net-wireless/airpwn/airpwn-1.4.ebuild
Normal file
33
net-wireless/airpwn/airpwn-1.4.ebuild
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit python flag-o-matic
|
||||
|
||||
DESCRIPTION="a tool for generic packet injection on 802.11"
|
||||
HOMEPAGE="http://airpwn.sf.net"
|
||||
SRC_URI="mirror://sourceforge/airpwn/$P.tgz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="net-wireless/lorcon-old
|
||||
net-libs/libnet
|
||||
dev-lang/python"
|
||||
|
||||
src_configure() {
|
||||
python_version
|
||||
append-ldflags $(no-as-needed)
|
||||
econf
|
||||
# this is a huge mess...
|
||||
sed -i "s/python2.4/python${PYVER}/g" conf.h || die "sed failed"
|
||||
sed -i "s|-lssl -lorcon -lpthread -lpcre -lpcap -lnet|-lssl -lorcon -lpthread -lpcre -lpcap -lnet -lpython${PYVER}|g" Makefile || die "sed failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
DESTDIR="${D}" emake install
|
||||
}
|
||||
Loading…
Reference in a new issue