wifipumpkin3-1.0.8_p1.ebuild

This commit is contained in:
blshkv 2020-11-28 07:43:21 +08:00
parent 0b8ac64e71
commit 1d61a5dbd0
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
2 changed files with 10 additions and 6 deletions

View file

@ -1 +1 @@
DIST wifipumpkin3-1.0.8.tar.gz 4168942 BLAKE2B 67e45b5e1579f4ea6ae9bbf2cf4b17e2a93453674b248c7f5803f8f3f1d654424d9e80f2ee391ae1e0c62ae2b95546fb3f654b19d52c9dae8280283075a557cd SHA512 5857ec89aa3181378119f8a5c33f4cdbc27cbd6b0d42d943740a58ca3db6805d594394501fb83348f510614201f84bd47c2f40b04254e09170dc53448083b63c
DIST wifipumpkin3-1.0.8_p1.tar.gz 4170981 BLAKE2B f84e614e12bceef30bdcea029cb44d64f04a9f45328ebce9eb9b5b499d6fc20abe47e13e6e7dd9bde162ee945276eb4c24e31d7162d3faf108a0f9797e0480ef SHA512 fdc587d206622817e149615d21493e0a1b6f274d0bc27d7a5441002e455e91bd6741eb71eb1a505deb4b32ba8bb40f967df7254092e324bfeef8823d47e751dd

View file

@ -3,6 +3,8 @@
EAPI=7
MY_PV="${PV/_p/R}"
DISTUTILS_USE_SETUPTOOLS=rdepend
PYTHON_COMPAT=( python3_{6..7} )
@ -10,7 +12,7 @@ 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${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI="https://github.com/P0cL4bs/wifipumpkin3/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
@ -39,9 +41,9 @@ RDEPEND="${PYTHON_DEPS}
dev-python/requests[${PYTHON_USEDEP}]
dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
dev-python/asn1crypto[${PYTHON_USEDEP}]
dev-python/jwt
dev-python/flask-restful
dev-python/werkzeug
dev-python/jwt[${PYTHON_USEDEP}]
dev-python/flask-restful[${PYTHON_USEDEP}]
dev-python/werkzeug[${PYTHON_USEDEP}]
tools? ( net-firewall/iptables
net-wireless/iw
@ -52,9 +54,11 @@ RDEPEND="${PYTHON_DEPS}
DEPEND="${RDEPEND}"
S="${WORKDIR}/${PN}-${MY_PV}"
src_prepare() {
#relax deps
sed -e 's|==.*||' -i requirements.txt || die "sed failed"
sed -e '/ipaddress/d' -e '/configparser/d' -i requirements.txt || die "sed failed"
# sed -e '/ipaddress/d' -e '/configparser/d' -i requirements.txt || die "sed failed"
eapply_user
}