diff --git a/net-analyzer/scapy/Manifest b/net-analyzer/scapy/Manifest deleted file mode 100644 index 16504863f..000000000 --- a/net-analyzer/scapy/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST scapy-2.4.4_p20210227.tar.gz 3318442 BLAKE2B a1e232f658d43a6171dbec9743e0c7363ea261d9ed3611d90e0ed9e8cd0acb7682bc950f798ac36b3bb4c12d87094d455471436c00bc31f40de987e395c55213 SHA512 5ecb84ce210b1bb0334245c1e864f16b821db105a2e8c04033b87cabc1af0a0b7847e893c97aaa721677fe156c1dc7606d2c3498a7c50039d141879e33657cf5 -DIST scapy-2.4.5.tar.gz 3323309 BLAKE2B af94b3ec6324c4544aca25f63bcca8aa60a3b1cbbf132d3ed07b5bc73b95e4298bf250e65157bdb7851226fd0ac039367892a9a14d844e5815832ad4ab556819 SHA512 b5ccd689f7bd4fbbb86921a35360b94ec7a738b494f16e4764828689835296016bc476825add798406e4d32761d8df90b41ce7e38049afdabf98397b1bf5982a diff --git a/net-analyzer/scapy/metadata.xml b/net-analyzer/scapy/metadata.xml deleted file mode 100644 index b3243d196..000000000 --- a/net-analyzer/scapy/metadata.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - ikelos@gentoo.org - Mike Auty - - - sam@gentoo.org - Sam James - - - netmon@gentoo.org - Gentoo network monitoring and analysis project - - - - secdev/scapy - - diff --git a/net-analyzer/scapy/scapy-2.4.4_p20210227.ebuild b/net-analyzer/scapy/scapy-2.4.4_p20210227.ebuild deleted file mode 100644 index 37aed8fa0..000000000 --- a/net-analyzer/scapy/scapy-2.4.4_p20210227.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{7..9} ) -DISTUTILS_USE_SETUPTOOLS=rdepend -inherit distutils-r1 readme.gentoo-r1 - -DESCRIPTION="A Python interactive packet manipulation program for mastering the network" -HOMEPAGE="https://scapy.net/ https://github.com/secdev/scapy" -HASH_COMMIT="f0e3e4452ec63618b09bad30b459b7eba09ebd6b" -SRC_URI="https://github.com/secdev/${PN}/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 x86" -DOC_CONTENTS=" -Scapy has optional support for the following packages: - - dev-python/cryptography - dev-python/ipython - dev-python/matplotlib - dev-python/pyx - media-gfx/graphviz - net-analyzer/tcpdump - net-analyzer/tcpreplay - net-libs/libpcap - virtual/imagemagick-tools - - See also ""${EPREFIX}/usr/share/doc/${PF}/installation.rst"" -" - -S="${WORKDIR}/${PN}-${HASH_COMMIT}" - -src_prepare() { - if ! [[ -f ${PN}/VERSION ]]; then - echo ${PV} > ${PN}/VERSION || die - else - die - fi - - distutils-r1_src_prepare -} - -src_install() { - distutils-r1_src_install - dodoc -r doc/${PN}/* - DISABLE_AUTOFORMATTING=plz readme.gentoo_create_doc -} diff --git a/net-analyzer/scapy/scapy-2.4.5.ebuild b/net-analyzer/scapy/scapy-2.4.5.ebuild deleted file mode 100644 index 89cff74f2..000000000 --- a/net-analyzer/scapy/scapy-2.4.5.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{7..9} ) -DISTUTILS_USE_SETUPTOOLS=rdepend -inherit distutils-r1 readme.gentoo-r1 - -DESCRIPTION="A Python interactive packet manipulation program for mastering the network" -HOMEPAGE="https://scapy.net/ https://github.com/secdev/scapy" -SRC_URI="https://github.com/secdev/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 x86" -DOC_CONTENTS=" -Scapy has optional support for the following packages: - - dev-python/cryptography - dev-python/ipython - dev-python/matplotlib - dev-python/pyx - media-gfx/graphviz - net-analyzer/tcpdump - net-analyzer/tcpreplay - net-libs/libpcap - virtual/imagemagick-tools - - See also ""${EPREFIX}/usr/share/doc/${PF}/installation.rst"" -" - -src_prepare() { - if ! [[ -f ${PN}/VERSION ]]; then - echo ${PV} > ${PN}/VERSION || die - else - die - fi - - distutils-r1_src_prepare -} - -src_install() { - distutils-r1_src_install - dodoc -r doc/${PN}/* - DISABLE_AUTOFORMATTING=plz readme.gentoo_create_doc -} diff --git a/net-wireless/killerbee/Manifest b/net-wireless/killerbee/Manifest index 51e6a7139..92c988f52 100644 --- a/net-wireless/killerbee/Manifest +++ b/net-wireless/killerbee/Manifest @@ -1 +1,2 @@ DIST killerbee-2.7.1_p20200309.tar.gz 1581216 BLAKE2B dce6c501f3ec3b391f983fc1319cd6e05d1f148de9acd84a43a7312d871c729c79abbb3585665ba98c6be34722bebbc914460e713405d2c90a4fd5d689f55565 SHA512 2d7ff5ee0effd5dfe3b83c585667bf6de4f6d0853eafeb670d77fa1441af8826b991edaa438a3712f6bb4d0bb1cbdf01ac0c878e405c718788d1b6b25f339637 +DIST killerbee-3.0.0_beta1.tar.gz 1589105 BLAKE2B c836b4e2dbee450d1027de442aaf2a930e082ec8b455567b115e6ba964aaa873dcd026266b2793a4386c29ad40ee4962d1a04b72c846e4022ce800cc32d01d8e SHA512 3f1244325898e53185664a470504be8e4c5c01914fce30b1ab4c8a08ff181a7ac54a3c4fd7e8bf81a888f3bbd8cda9515284f60be7814bab097d1799278ea964 diff --git a/net-wireless/killerbee/killerbee-3.0.0_beta1.ebuild b/net-wireless/killerbee/killerbee-3.0.0_beta1.ebuild new file mode 100644 index 000000000..d42eec198 --- /dev/null +++ b/net-wireless/killerbee/killerbee-3.0.0_beta1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) + +inherit distutils-r1 + +MY_PV="$(ver_cut 1-3)-$(ver_cut 4).$(ver_cut 5)" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/riverloopsec/killerbee.git" +else + SRC_URI="https://github.com/riverloopsec/killerbee/archive/refs/tags/${MY_PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}/${PN}-${MY_PV}" +fi + +DESCRIPTION="Framework and Tools for Attacking ZigBee and IEEE 802.15.4 networks" +HOMEPAGE="https://github.com/riverloopsec/killerbee" + +LICENSE="GPL-2" +SLOT="0" +IUSE="doc" +RESTRICT="test" + +DEPEND="${PYTHON_DEPS}" +RDEPEND="${DEPEND} + dev-libs/libgcrypt:= + >=dev-python/pyserial-2.0[${PYTHON_USEDEP}] + dev-python/pyusb[${PYTHON_USEDEP}] + dev-python/pycryptodome[${PYTHON_USEDEP}] + dev-python/rangeparser[${PYTHON_USEDEP}] + net-analyzer/scapy[${PYTHON_USEDEP}] + " +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +python_install_all() { + distutils-r1_python_install_all + if use doc; then + mv doc html && dodoc -r html || die + fi +} diff --git a/scripts/python_dependencies.py b/scripts/python_dependencies.py index e7b428eb5..b92c89dfe 100755 --- a/scripts/python_dependencies.py +++ b/scripts/python_dependencies.py @@ -43,7 +43,7 @@ def portage_mapping(search): "dev-python/flask-Principal": "dev-python/flask-principal", "dev-python/flask-WTF": "dev-python/flask-wtf", "dev-python/flask-BabelEx": "dev-python/flask-babelex", - + "dev-python/scapy": "net-analyzer/scapy", "dev-python/ropgadget": "app-exploits/ROPgadget", "dev-python/pysocks": "dev-python/PySocks",