summaryrefslogtreecommitdiff
path: root/net-wireless/airpwn
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-wireless/airpwn
reinit the tree, so we can have metadata
Diffstat (limited to 'net-wireless/airpwn')
-rw-r--r--net-wireless/airpwn/Manifest5
-rw-r--r--net-wireless/airpwn/airpwn-1.4-r2.ebuild44
-rw-r--r--net-wireless/airpwn/metadata.xml11
3 files changed, 60 insertions, 0 deletions
diff --git a/net-wireless/airpwn/Manifest b/net-wireless/airpwn/Manifest
new file mode 100644
index 000000000000..9e787bda72df
--- /dev/null
+++ b/net-wireless/airpwn/Manifest
@@ -0,0 +1,5 @@
+DIST airpwn-1.4.tgz 910109 SHA256 f689cd5a9038832cb0aaefa18cae0c282a6bfbeea38819cf47f306f14344e164 SHA512 c849740848289005eb2a72b09bbfade6bf078a3ff93d39300f6a65d328c527bbafbb2a325f2813064612f91a2da20a2daacb8508497e8410ad0befc4e28331e5 WHIRLPOOL f3e7f18578e8c19dd033567851abd9af3a5bd9b0c76bc60010b654735d8632fa02eb942350afbd9015b4b8ef25e9b3dd9e01f30c38358658e5b22a89a3c9b259
+EBUILD airpwn-1.4-r2.ebuild 960 SHA256 aa1a377c53510dafda8997e78052781df491f6a31f961d08199b7dcac5a258f6 SHA512 1aa8cf123b5ebf10ec128eddeedfa032581107fd75312220776e8332c3b871f68d39d2cebf2cf334f9e8934c1bbe84789c0abac39f55ebc8f1c6d6987c46bd79 WHIRLPOOL 20e5ed61c83377b599179908d4d426fb4551a28be3bee83e453d197907f8b5ef639125d74bb77bc33d19616cbe3305cea86ebd324920ae30e15a340012b79644
+MISC ChangeLog 2179 SHA256 629c5101f7609d7f3a3cc74cdbee238ac61a7be59a4a8f328c1e24d4fae7b994 SHA512 a339983aa1405e91a63bdd52216b74181a299b298c51a21e8a218d9b5b89a20624c8c0b15764301b0d019df47f61c2c551d3fc2683e3ee25ebcbab4575f7a58e WHIRLPOOL e1d2b9b0e4654d8fa6069914d0ec4efb0c7f520ba3bf23aaaee1256e89cf6973d0cb1a4515def52b91217e2552164598fcf5767f5d3729540c2a87923947224b
+MISC ChangeLog-2015 940 SHA256 6067d71442413fa222ef72907eb849281ca304dd999859f4f89a5ea697a80a29 SHA512 93a680113f87f65517bf2273e6f6705135bccebf1365bcbc87d06ec973aa15cd62e13317d7d1329f2fa50806e9ba0d2cd24b1427281c0f350aafc19ce061c899 WHIRLPOOL 32b115feeccf3a8088ebca6f1e55c415b0ae7a28201d690da122ce882043b4af184ca8d61fba61e1c42349e5489d8f5eacc06274ca4cec0deca570c9cfec5948
+MISC metadata.xml 333 SHA256 9a5b39d48cfcbee96f2a3a991671c7d08f87a4d46e2ea4a38000f397544e3ab2 SHA512 66a2e0bbf61c8cbc201d159e067468a77c14588e9567b1cef03c7ac5e2a333561c98f20346d05e20c0a8ce3036905ec507ff9234bab33ef9629ef14916042438 WHIRLPOOL 3d3db504cce5d0b5a10b488834a20ccbc8c8270d6b9e9db23613a0dcd2c12785ae06686f4aab0572dc5e3a91196b0914e60cfc04c9176d924b96efe73a732e16
diff --git a/net-wireless/airpwn/airpwn-1.4-r2.ebuild b/net-wireless/airpwn/airpwn-1.4-r2.ebuild
new file mode 100644
index 000000000000..1bfc79c50856
--- /dev/null
+++ b/net-wireless/airpwn/airpwn-1.4-r2.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit eutils flag-o-matic python-single-r1
+
+DESCRIPTION="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=""
+IUSE="+examples"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="${PYTHON_DEPS}
+ dev-libs/libpcre
+ dev-libs/openssl:0=
+ net-libs/libnet:1.1=
+ net-libs/libpcap
+ net-wireless/lorcon-old"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ econf
+ sed -i "s/python2.4/${EPYTHON}/g" conf.h || die
+ sed -i "s|-lorcon -lpthread -lpcre -lpcap -lnet|-lorcon -lpthread -lpcre -lpcap -lnet -lcrypto -l${EPYTHON}|g" Makefile || die
+}
+
+src_install() {
+ default
+
+ if use examples; then
+ insinto /usr/share/${PN}
+ ecvs_clean
+ sed -i "s#content/#/usr/share/${PN}/content/#" conf/* || die
+ doins -r conf content
+ fi
+}
diff --git a/net-wireless/airpwn/metadata.xml b/net-wireless/airpwn/metadata.xml
new file mode 100644
index 000000000000..90013f58cbfb
--- /dev/null
+++ b/net-wireless/airpwn/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>zerochaos@gentoo.org</email>
+ <name>Rick Farina</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">airpwn</remote-id>
+ </upstream>
+</pkgmetadata>