From c5ffa5d522b2d81d56dc60292e723425e8b32b69 Mon Sep 17 00:00:00 2001 From: blshkv Date: Tue, 12 May 2020 09:34:27 +0800 Subject: [PATCH] wifipumpkin3: 1.0.0 wip ebuild --- dev-python/beautifultable/Manifest | 1 + .../beautifultable-0.8.0.ebuild | 20 ++++++ dev-python/dhcplib/Manifest | 1 + dev-python/dhcplib/dhcplib-0.1.1.ebuild | 21 ++++++ dev-python/dnslib/Manifest | 1 + dev-python/dnslib/dnslib-0.9.12.ebuild | 19 ++++++ dev-python/dnslib/metadata.xml | 11 ++++ dev-python/isc_dhcp_leases/Manifest | 1 - .../isc_dhcp_leases-0.8.1.ebuild | 16 ----- .../isc_dhcp_leases-0.9.1.ebuild | 7 +- dev-python/skel_python.ebuild | 4 +- net-wireless/wifipumpkin3/Manifest | 1 + .../wifipumpkin3/wifipumpkin3-1.0.0.ebuild | 66 +++++++++++++++++++ .../base/package.accept_keywords/dev-python | 10 +++ .../base/package.accept_keywords/net-wireless | 2 +- 15 files changed, 158 insertions(+), 23 deletions(-) create mode 100644 dev-python/beautifultable/Manifest create mode 100644 dev-python/beautifultable/beautifultable-0.8.0.ebuild create mode 100644 dev-python/dhcplib/Manifest create mode 100644 dev-python/dhcplib/dhcplib-0.1.1.ebuild create mode 100644 dev-python/dnslib/Manifest create mode 100644 dev-python/dnslib/dnslib-0.9.12.ebuild create mode 100644 dev-python/dnslib/metadata.xml delete mode 100644 dev-python/isc_dhcp_leases/isc_dhcp_leases-0.8.1.ebuild create mode 100644 net-wireless/wifipumpkin3/Manifest create mode 100644 net-wireless/wifipumpkin3/wifipumpkin3-1.0.0.ebuild diff --git a/dev-python/beautifultable/Manifest b/dev-python/beautifultable/Manifest new file mode 100644 index 000000000..cc095112c --- /dev/null +++ b/dev-python/beautifultable/Manifest @@ -0,0 +1 @@ +DIST beautifultable-0.8.0.tar.gz 19203 BLAKE2B 9e85fd24dfae5425360afb4d0037b0fa44cce885b900e5d811aea74890b87d7dc7a7456cc826d455de913a6c3a9e02acd642000105d1cb4129890a2b1730b0d8 SHA512 ae52c4b2e353093deee9f1f9ca1cb9e09a6ef81ed7568e869a2bb0f01bf2b17c46231ad2c00f13425b5301a07ac98c8e510e38ce6bbc496663735c0783b4748f diff --git a/dev-python/beautifultable/beautifultable-0.8.0.ebuild b/dev-python/beautifultable/beautifultable-0.8.0.ebuild new file mode 100644 index 000000000..0681d5c2d --- /dev/null +++ b/dev-python/beautifultable/beautifultable-0.8.0.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit distutils-r1 + +DESCRIPTION="Print ASCII tables for terminals" +HOMEPAGE="https://github.com/pri22296/beautifultable" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND="" +DEPEND="${RDEPEND}" diff --git a/dev-python/dhcplib/Manifest b/dev-python/dhcplib/Manifest new file mode 100644 index 000000000..089bdb00e --- /dev/null +++ b/dev-python/dhcplib/Manifest @@ -0,0 +1 @@ +DIST dhcplib-0.1.1.tar.gz 28481 BLAKE2B c479487b1ac087ab8ed643964717e8d13664c3aff2da858a526def21009ceeb40c6452a36261b4a0c1d095a01d39fb58756eaf39d08efae977d828a3397c231c SHA512 38739e333c011d4d920d2356cc9e8a760fbe16d247ffba2d52b299b257737232931d684e6ea94e715aae223df357463b2800fd2837a514e32b1eff01f03be965 diff --git a/dev-python/dhcplib/dhcplib-0.1.1.ebuild b/dev-python/dhcplib/dhcplib-0.1.1.ebuild new file mode 100644 index 000000000..a91ff1fb3 --- /dev/null +++ b/dev-python/dhcplib/dhcplib-0.1.1.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +#DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit distutils-r1 + +DESCRIPTION="Pure-Python, spec-compliant DHCP-packet-processing library" +HOMEPAGE="https://github.com/jansegre/dhcplib/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND="" +DEPEND="${RDEPEND}" diff --git a/dev-python/dnslib/Manifest b/dev-python/dnslib/Manifest new file mode 100644 index 000000000..4802241f8 --- /dev/null +++ b/dev-python/dnslib/Manifest @@ -0,0 +1 @@ +DIST dnslib-0.9.12.tar.gz 69933 BLAKE2B a85bcee13a5a87548de4116481d0b1129e7c85a891bc2cd95223a5af73e90b286e1f1c80392fa939b5a2f5d289679e9cbc94e4aa2c9503ba38a67eaeadd04fd6 SHA512 399d7e5ecfef6805e383a96f3c166eaed21fc82af77c4683fbfaef6fb34031633d6c25df63fab7751e598d6e2a155bd7bfae473a99da642d949512178bc842ce diff --git a/dev-python/dnslib/dnslib-0.9.12.ebuild b/dev-python/dnslib/dnslib-0.9.12.ebuild new file mode 100644 index 000000000..a72033e5d --- /dev/null +++ b/dev-python/dnslib/dnslib-0.9.12.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Simple library to encode/decode DNS wire-format packets" +HOMEPAGE="https://pypi.org/project/dnslib/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="" +DEPEND="${RDEPEND}" diff --git a/dev-python/dnslib/metadata.xml b/dev-python/dnslib/metadata.xml new file mode 100644 index 000000000..cbdef2ff5 --- /dev/null +++ b/dev-python/dnslib/metadata.xml @@ -0,0 +1,11 @@ + + + + + klausman@gentoo.org + Tobias Klausmann + + + dnslib + + diff --git a/dev-python/isc_dhcp_leases/Manifest b/dev-python/isc_dhcp_leases/Manifest index 2c00afe66..346c6005d 100644 --- a/dev-python/isc_dhcp_leases/Manifest +++ b/dev-python/isc_dhcp_leases/Manifest @@ -1,2 +1 @@ -DIST isc_dhcp_leases-0.8.1.tar.gz 6208 BLAKE2B dc5feba3390c15718c0df802b8bddd40e7f5d51afd4a635d4d0c5c385491dd89784e2dff7528ac46ec6d9ba088e775c1f1e8f9424a6d5675b78183d7c9edc141 SHA512 ba6fd4b3a22b496d3298c503d81f90bd018333aad56916cf85b116144d004c8f1782a1559e98f61187745c9fe293b3e84dbb310e8a87ee423f51a79567c25115 DIST isc_dhcp_leases-0.9.1.tar.gz 6798 BLAKE2B 3fc6d81c7f939fadf18d74acfc34fb343825623e4c0fb9194a6aa3d4784d2e86ab4f7785c78268ca1704fbf44c789750ef5915d3a5917deb20922eebb8251a6f SHA512 271b449ae9c90e399596dea986042dd85eac3634005ad602dadcf0489b4213ee3e6845d9ddf69373ce1577da907a74f4d2568394e9dae0dad60ff24c4e9be6f3 diff --git a/dev-python/isc_dhcp_leases/isc_dhcp_leases-0.8.1.ebuild b/dev-python/isc_dhcp_leases/isc_dhcp_leases-0.8.1.ebuild deleted file mode 100644 index 7a3673723..000000000 --- a/dev-python/isc_dhcp_leases/isc_dhcp_leases-0.8.1.ebuild +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) -inherit distutils-r1 - -DESCRIPTION="Small python module for reading /var/lib/dhcp/dhcpd.leases from isc-dhcp-server" -HOMEPAGE="https://github.com/MartijnBraam/python-isc-dhcp-leases" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -KEYWORDS="~amd64" -SLOT="0" -IUSE="" diff --git a/dev-python/isc_dhcp_leases/isc_dhcp_leases-0.9.1.ebuild b/dev-python/isc_dhcp_leases/isc_dhcp_leases-0.9.1.ebuild index 7a3673723..b5f36d522 100644 --- a/dev-python/isc_dhcp_leases/isc_dhcp_leases-0.9.1.ebuild +++ b/dev-python/isc_dhcp_leases/isc_dhcp_leases-0.9.1.ebuild @@ -1,9 +1,10 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2020 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI="5" +EAPI=7 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) +DISTUTILS_USE_SETUPTOOLS=no +PYTHON_COMPAT=( python3_{6,7,8} ) inherit distutils-r1 DESCRIPTION="Small python module for reading /var/lib/dhcp/dhcpd.leases from isc-dhcp-server" diff --git a/dev-python/skel_python.ebuild b/dev-python/skel_python.ebuild index 6e80029c0..5391406f2 100644 --- a/dev-python/skel_python.ebuild +++ b/dev-python/skel_python.ebuild @@ -3,6 +3,7 @@ EAPI=7 +#DISTUTILS_USE_SETUPTOOLS=rdepend PYTHON_COMPAT=( python3_{6,7,8} ) inherit distutils-r1 @@ -17,5 +18,4 @@ KEYWORDS="~amd64 ~x86" IUSE="test" RDEPEND="" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/net-wireless/wifipumpkin3/Manifest b/net-wireless/wifipumpkin3/Manifest new file mode 100644 index 000000000..166bdd0cb --- /dev/null +++ b/net-wireless/wifipumpkin3/Manifest @@ -0,0 +1 @@ +DIST wifipumpkin3-1.0.0.tar.gz 3676127 BLAKE2B ecaa9f63fe50974014a89bec1183d1bcadce7c5d8f1d6ef91f97833b5fe9c541475cbf9493730c22af38cf8b95393f9cbefa4852adb55b5c0ff1f2757ee75839 SHA512 f5c7451310612162212013e0fdb7f83fd7140465aaa2439b22551879de66c48fc0b246db1f96ae101ff8a3ecf231ef0d699fb712352a9f4d12f11cf5b58e6692 diff --git a/net-wireless/wifipumpkin3/wifipumpkin3-1.0.0.ebuild b/net-wireless/wifipumpkin3/wifipumpkin3-1.0.0.ebuild new file mode 100644 index 000000000..f3b29250f --- /dev/null +++ b/net-wireless/wifipumpkin3/wifipumpkin3-1.0.0.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_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" + +LICENSE="GPL-3" +SLOT="0" + +#WIP +#https://github.com/P0cL4bs/wifipumpkin3/pull/34 +#KEYWORDS="~amd64" + +IUSE="tools" + +RDEPEND="${PYTHON_DEPS} + dev-python/netifaces[${PYTHON_USEDEP}] + dev-python/netaddr[${PYTHON_USEDEP}] + dev-python/dhcplib[${PYTHON_USEDEP}] + dev-python/tabulate[${PYTHON_USEDEP}] + dev-python/beautifultable[${PYTHON_USEDEP}] + dev-python/urwid[${PYTHON_USEDEP}] + dev-python/termcolor[${PYTHON_USEDEP}] + dev-python/twisted[${PYTHON_USEDEP}] + dev-python/PyQt5[${PYTHON_USEDEP}] + dev-python/PyQt5-sip[${PYTHON_USEDEP}] + dev-python/pyopenssl[${PYTHON_USEDEP}] + dev-python/asn1crypto[${PYTHON_USEDEP}] + net-analyzer/responder + dev-python/beautifulsoup:4[${PYTHON_USEDEP}] + dev-python/dnslib[${PYTHON_USEDEP}] + dev-python/loguru[${PYTHON_USEDEP}] + net-analyzer/scapy[${PYTHON_USEDEP}] + dev-python/isc_dhcp_leases[${PYTHON_USEDEP}] + dev-python/dnspython[${PYTHON_USEDEP}] + dev-python/flask[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/coverage[${PYTHON_USEDEP}] + + tools? ( net-firewall/iptables + net-wireless/iw + sys-apps/net-tools + net-wireless/wireless-tools + net-wireless/hostapd[wpe] + + )" + +#FIXME: +# $(python_gen_cond_dep ' +# net-analyzer/responder[${PYTHON_SINGLE_USEDEP}] +# ') + +DEPEND="${RDEPEND}" + +src_prepare() { + #relax deps + sed -e 's|==.*||' -i requirements.txt || die "sed failed" + eapply_user +} diff --git a/profiles/pentoo/base/package.accept_keywords/dev-python b/profiles/pentoo/base/package.accept_keywords/dev-python index 1d69e83ce..4b02fa46b 100644 --- a/profiles/pentoo/base/package.accept_keywords/dev-python +++ b/profiles/pentoo/base/package.accept_keywords/dev-python @@ -517,3 +517,13 @@ dev-python/asysocks #for recent prompt_toolkit =dev-python/ipython-7.13* + +#wifipumpkin3 +dev-python/isc_dhcp_leases +dev-python/dnslib +dev-python/beautifultable +~dev-python/immutables-0.11 +=dev-python/loguru-0.4* +=dev-python/aiocontextvars-0.2* +~dev-python/contextvars-2.4 +=dev-python/dhcplib-0.1* diff --git a/profiles/pentoo/base/package.accept_keywords/net-wireless b/profiles/pentoo/base/package.accept_keywords/net-wireless index 7635d79e1..bce3223bc 100644 --- a/profiles/pentoo/base/package.accept_keywords/net-wireless +++ b/profiles/pentoo/base/package.accept_keywords/net-wireless @@ -3,7 +3,7 @@ net-wireless/create_ap -net-wireless/wifi-pumpkin +net-wireless/wifipumpkin3 net-wireless/hcxkeys net-wireless/hcxtools