wifi-pumpkin: 0.8.7, bump without keywords. This software is a big mess

This commit is contained in:
blshkv 2019-01-15 19:52:11 +08:00
parent f63121f377
commit 609912de7b
No known key found for this signature in database
GPG key ID: 273E3E90D1A6294F
2 changed files with 80 additions and 0 deletions

View file

@ -1,3 +1,4 @@
DIST wifi-pumpkin-0.7.8.tar.gz 3210268 BLAKE2B 4b2f50e76e65ea4047d1d6cc5e613eeb583bb0d6349fb73391b2a5ed9672b670007fb5544bc235caea0ed904c6195bad9912100dd844cd078564c43643d66da3 SHA512 35e8e6040ee87cb4545d587649c75517e0771ba63c40ed5f291c044711c2d29e10bd06e0af4031efc723a671a5a7736eb13d3c0fbf430fc8d4c4782be26a7a8b
DIST wifi-pumpkin-0.8.4.tar.gz 3924775 BLAKE2B a5e3707e4a77d471a9d253f4d66abb5da6ae4b2b7e6144afe7b2347a1adc6bea7f4aef8b91a5f36273da67de5a17c78fe6f2d37cadc69dd20e1d7e24112dc04d SHA512 9f8c0889cecf4d106d559436940c1e07db26a9f9f06cc78e7eae111838484a1a3aaf49a055b1b3fc8dbd17ac6ae24cbde666b69b4eaf94ccd5543ccb894ced94
DIST wifi-pumpkin-0.8.5.tar.gz 3855311 BLAKE2B 082afcdf1765a16c1efe55ab4118bba3e8aa9d2b91e160e0ac3bbcba450318b92a9ae15573781df49d6e711442d4ed1401cf53d458ce965e615c5418c928b222 SHA512 1dd48a871050f368e1f744ad8174f2c152a3391e6ce61035e2fbf690d08c32f2dff1d8357cd3b1c62cd3592287300e63acba989bc352ef2ebd169f4b07e67b8a
DIST wifi-pumpkin-0.8.7.tar.gz 8145662 BLAKE2B 8d139001127171cc7210771e1a177adeaa911337f585c0767ac3064dd72e242a5bebff4345d0be1d0c7f5e10d23d59a041e3dc726f6fb6254ca6911f17a75324 SHA512 70d8fd08e072fc699314cb6ad87e51ca2109113fce5918c423ccc5e4c03bae602050240ed38647414d197fafd2f7b984c98b9d30c1249a3e858db2fdb567b4ff

View file

@ -0,0 +1,79 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
MY_PN="WiFi-Pumpkin"
PYTHON_COMPAT=( python2_7 )
inherit python-single-r1 multilib epatch
DESCRIPTION="Framework for Rogue Wi-Fi Access Point Attack"
HOMEPAGE="https://github.com/P0cL4bs/WiFi-Pumpkin"
SRC_URI="https://github.com/P0cL4bs/WiFi-Pumpkin/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
#WIP
#KEYWORDS="~amd64"
IUSE="plugins"
RDEPEND="${PYTHON_DEPS}
net-wireless/hostapd[wpe]
net-wireless/rfkill
dev-python/twisted-web[${PYTHON_USEDEP}]
net-analyzer/scapy[${PYTHON_USEDEP}]
dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
dev-python/netaddr[${PYTHON_USEDEP}]
dev-python/config[${PYTHON_USEDEP}]
virtual/python-dnspython[${PYTHON_USEDEP}]
dev-python/isc_dhcp_leases[${PYTHON_USEDEP}]
dev-python/netifaces[${PYTHON_USEDEP}]
dev-python/pcapy[${PYTHON_USEDEP}]
dev-python/configparser[${PYTHON_USEDEP}]
dev-python/netfilterqueue[${PYTHON_USEDEP}]
dev-python/configobj[${PYTHON_USEDEP}]
>=dev-python/libarchive-c-2.1[${PYTHON_USEDEP}]
>=dev-python/python-magic-0.4.8[${PYTHON_USEDEP}]
dev-python/pefile[${PYTHON_USEDEP}]
dev-python/capstone-python[${PYTHON_USEDEP}]
dev-python/hyperframe[${PYTHON_USEDEP}]
dev-python/hyper-h2[${PYTHON_USEDEP}]
dev-python/scapy-http[${PYTHON_USEDEP}]
dev-python/service_identity[${PYTHON_USEDEP}]
plugins? ( net-dns/dnsmasq
net-analyzer/driftnet
net-analyzer/ettercap
)"
#missing: backports.ssl_match_hostname
#FIXME: remove bundled plugins/
#There is a potential with deps due to original requirement:
#configparser==3.3.0r1
DEPEND="${RDEPEND}"
S="${WORKDIR}/${MY_PN}-${PV}"
src_prepare() {
rm -r plugins/bin
#fix check_depen.py file which is full of typos and mistakes
# epatch "${FILESDIR}"/${PV}_checkdeps.patch
sed -i 's|/usr/share/wifi-pumpkin|/usr/'$(get_libdir)'/wifi-pumpkin|g' \
core/loaders/checker/depedences.py || die "sed failed"
eapply_user
}
src_install() {
insinto /usr/$(get_libdir)/${PN}
doins -r *
fperms +x /usr/$(get_libdir)/${PN}/${PN}.py
dosym /usr/$(get_libdir)/${PN}/${PN}.py /usr/sbin/${PN}
python_optimize "${D}"usr/$(get_libdir)/${PN}
}