wifipumpkin3-1.1.3_p1.ebuild

This commit is contained in:
Anton Bolshakov 2022-07-03 11:46:45 +08:00
parent 24485451c0
commit 665289e0ac
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
2 changed files with 15 additions and 14 deletions

View file

@ -1,2 +1,2 @@
DIST wifipumpkin3-1.0.9_p2.tar.gz 3946567 BLAKE2B 720752ed746823dc1042ffe7105b65176b30da007107cad29c5f3cd215e72b43644eb832048a8818d216e26f7af8b219788385bfc7b4c7f267a68647e8922f47 SHA512 ed7946b7cfa2b26523ee71ce17cc21dd89b353d788779d7861d79ccc1c0939b523137b42693f3fc86ebc81614e4b615058ca233b67a27ce2f2c2dd51373c188a
DIST wifipumpkin3-1.1.2_p2.tar.gz 4781386 BLAKE2B 0e39e0a1a4baf7fef0cdd56a467962b9a5fbba2c14d7d08972ac2726a21ea9e0f4d8ec1d2b3f8286fa85d08b8e4f644dbe1c014d838dde9744b7218120fe35bc SHA512 71db54918102eeacc315da5f1ec87c93a94b59b6508369b8f0a92ac24a5136416e7b3da949a364c378f5617cf3cc8ae77e8bd269daab6849127fbe6f2f1fc7bb
DIST wifipumpkin3-1.1.3_p1.tar.gz 4683510 BLAKE2B d6a43067bad57dad17005bfab0ff936db1e98f54541f25982ae68f83a6faef8b20c260b82172cb8a1c36689078a95384c12f7e8df5ff8c21f50b059974a4e8a9 SHA512 70375dad9ca27175fad3e7f70cab0fe574dfde1d06e94d6ef5833705accabc072a6adc01745bb37339590330b128ba1a8b39da12e624c6ec4228f35d636944b4

View file

@ -1,21 +1,22 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EAPI=8
MY_PV="${PV/_p/R}"
DISTUTILS_USE_SETUPTOOLS=rdepend
MY_PV="${PV/_p/-R}"
#DISTUTILS_USE_SETUPTOOLS=rdepend
PYTHON_COMPAT=( python3_{9..10} )
inherit distutils-r1
DESCRIPTION="Framework for Rogue Wi-Fi Access Point Attack"
HOMEPAGE="https://github.com/P0cL4bs/wifipumpkin3"
SRC_URI="https://github.com/P0cL4bs/wifipumpkin3/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
SRC_URI="https://github.com/P0cL4bs/wifipumpkin3/archive/refs/tags/v${MY_PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
#https://github.com/P0cL4bs/wifipumpkin3/issues/189
#KEYWORDS="~amd64 ~x86"
IUSE="tools"
@ -30,7 +31,6 @@ RDEPEND="${PYTHON_DEPS}
dev-python/PyQt5[${PYTHON_USEDEP}]
dev-python/PyQt5-sip[${PYTHON_USEDEP}]
dev-python/pyopenssl[${PYTHON_USEDEP}]
net-analyzer/responder
dev-python/dnslib[${PYTHON_USEDEP}]
dev-python/loguru[${PYTHON_USEDEP}]
net-analyzer/scapy[${PYTHON_USEDEP}]
@ -39,14 +39,15 @@ RDEPEND="${PYTHON_DEPS}
dev-python/flask[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
dev-python/asn1crypto[${PYTHON_USEDEP}]
dev-python/jwt[${PYTHON_USEDEP}]
dev-python/flask-restful[${PYTHON_USEDEP}]
dev-python/markupsafe[${PYTHON_USEDEP}]
dev-python/werkzeug[${PYTHON_USEDEP}]
tools? ( net-firewall/iptables
net-wireless/iw
sys-apps/net-tools
net-wireless/iw
net-analyzer/responder
net-wireless/wireless-tools
net-wireless/hostapd[wpe]
)"
@ -57,14 +58,14 @@ S="${WORKDIR}/${PN}-${MY_PV}"
src_prepare() {
#relax deps
sed -e 's|==.*||' -i requirements.txt || die "sed failed"
sed -e 's|Responder3.*$|responder|' -i requirements.txt || die "sed failed"
sed -e 's|scapy.*$|scapy|' -i requirements.txt || die "sed failed"
# sed -e '/ipaddress/d' -e '/configparser/d' -i requirements.txt || die "sed failed"
# sed -e 's|==.*||' -i requirements.txt || die "sed failed"
# sed -e 's|scapy.*$|scapy|' -i requirements.txt || die "sed failed"
#FIXME: give up, fix all names here:
echo "netifaces" > requirements.txt
eapply_user
#this directory is not available during installation
sed '/^create_user_dir_config()/d' -i setup.py || die "sed failed"
eapply_user
}