wifipumpkin3: 1.0.0 wip ebuild

This commit is contained in:
blshkv 2020-05-12 09:34:27 +08:00
parent 544a9fc677
commit c5ffa5d522
No known key found for this signature in database
GPG key ID: 273E3E90D1A6294F
15 changed files with 158 additions and 23 deletions

View file

@ -0,0 +1 @@
DIST beautifultable-0.8.0.tar.gz 19203 BLAKE2B 9e85fd24dfae5425360afb4d0037b0fa44cce885b900e5d811aea74890b87d7dc7a7456cc826d455de913a6c3a9e02acd642000105d1cb4129890a2b1730b0d8 SHA512 ae52c4b2e353093deee9f1f9ca1cb9e09a6ef81ed7568e869a2bb0f01bf2b17c46231ad2c00f13425b5301a07ac98c8e510e38ce6bbc496663735c0783b4748f

View file

@ -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}"

View file

@ -0,0 +1 @@
DIST dhcplib-0.1.1.tar.gz 28481 BLAKE2B c479487b1ac087ab8ed643964717e8d13664c3aff2da858a526def21009ceeb40c6452a36261b4a0c1d095a01d39fb58756eaf39d08efae977d828a3397c231c SHA512 38739e333c011d4d920d2356cc9e8a760fbe16d247ffba2d52b299b257737232931d684e6ea94e715aae223df357463b2800fd2837a514e32b1eff01f03be965

View file

@ -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}"

View file

@ -0,0 +1 @@
DIST dnslib-0.9.12.tar.gz 69933 BLAKE2B a85bcee13a5a87548de4116481d0b1129e7c85a891bc2cd95223a5af73e90b286e1f1c80392fa939b5a2f5d289679e9cbc94e4aa2c9503ba38a67eaeadd04fd6 SHA512 399d7e5ecfef6805e383a96f3c166eaed21fc82af77c4683fbfaef6fb34031633d6c25df63fab7751e598d6e2a155bd7bfae473a99da642d949512178bc842ce

View file

@ -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}"

View file

@ -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>klausman@gentoo.org</email>
<name>Tobias Klausmann</name>
</maintainer>
<upstream>
<remote-id type="pypi">dnslib</remote-id>
</upstream>
</pkgmetadata>

View file

@ -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

View file

@ -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=""

View file

@ -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"

View file

@ -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}"

View file

@ -0,0 +1 @@
DIST wifipumpkin3-1.0.0.tar.gz 3676127 BLAKE2B ecaa9f63fe50974014a89bec1183d1bcadce7c5d8f1d6ef91f97833b5fe9c541475cbf9493730c22af38cf8b95393f9cbefa4852adb55b5c0ff1f2757ee75839 SHA512 f5c7451310612162212013e0fdb7f83fd7140465aaa2439b22551879de66c48fc0b246db1f96ae101ff8a3ecf231ef0d699fb712352a9f4d12f11cf5b58e6692

View file

@ -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
}

View file

@ -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*

View file

@ -3,7 +3,7 @@
net-wireless/create_ap
net-wireless/wifi-pumpkin
net-wireless/wifipumpkin3
net-wireless/hcxkeys
net-wireless/hcxtools