diff --git a/net-analyzer/pwncat/Manifest b/net-analyzer/pwncat/Manifest index 9819e6104b5..f03e95bd9d2 100644 --- a/net-analyzer/pwncat/Manifest +++ b/net-analyzer/pwncat/Manifest @@ -1,2 +1 @@ -DIST pwncat-0.1.1.tar.gz 4632988 BLAKE2B 71a9be4d29aaa3081b01c43de31d00ee6ee1478257ff09f0fa4256a3cf8e21df8583e726c043ac83e9445491f30040150194225f884b137d6093f9c1704d06bd SHA512 3a21510288048753734c5f33c589b0d2438ad24bf586d1b25fe618fcb09530c45ad8f7247e9729bebeb00cfc679253c31b3ae3d2831018d3cc3774eece6dad2f DIST pwncat-0.1.2.tar.gz 4844161 BLAKE2B 47aa45060624f8e209a4456da0c384b3ba8bd61dd9ef644bf8a9ff08dcf4e53f4dc5c9b12c6184af0ea976df4b56a2c2fcb178ecb88f18dffbbb823ef087f7e4 SHA512 d049f701ba7ba853e298b82406a36d355e45ebe3eb6a617a895c74d03999951fb4f56b3c886c252599ede6b8598591225a0daaef21601974cf6cf8e2e6ef3df7 diff --git a/net-analyzer/pwncat/files/setuptools-61.patch b/net-analyzer/pwncat/files/setuptools-61.patch new file mode 100644 index 00000000000..efa7ebf91ba --- /dev/null +++ b/net-analyzer/pwncat/files/setuptools-61.patch @@ -0,0 +1,8 @@ +--- a/setup.py.orig 2022-06-22 09:46:32.635503875 +0800 ++++ b/setup.py 2022-06-22 09:48:23.871506169 +0800 +@@ -53,4 +53,5 @@ + # Where does it rnu + "Operating System :: OS Independent", + ], ++ packages=[], + ) diff --git a/net-analyzer/pwncat/pwncat-0.1.1.ebuild b/net-analyzer/pwncat/pwncat-0.1.2-r1.ebuild similarity index 68% rename from net-analyzer/pwncat/pwncat-0.1.1.ebuild rename to net-analyzer/pwncat/pwncat-0.1.2-r1.ebuild index 6ad2aeddb1b..1ccb6bbf68e 100644 --- a/net-analyzer/pwncat/pwncat-0.1.1.ebuild +++ b/net-analyzer/pwncat/pwncat-0.1.2-r1.ebuild @@ -1,9 +1,8 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -DISTUTILS_USE_SETUPTOOLS=bdepend PYTHON_COMPAT=( python3_{9..10} ) inherit distutils-r1 @@ -14,3 +13,10 @@ SRC_URI="https://github.com/cytopia/pwncat/archive/v${PV/_/-}.tar.gz -> ${P}.tar LICENSE="MIT" SLOT="0" KEYWORDS="amd64 ~arm64 x86" + +src_prepare() { + distutils-r1_src_prepare + + #https://github.com/cytopia/pwncat/issues/113 + eapply "${FILESDIR}/setuptools-61.patch" +} diff --git a/net-analyzer/pwncat/pwncat-0.1.2.ebuild b/net-analyzer/pwncat/pwncat-0.1.2.ebuild deleted file mode 100644 index 6ad2aeddb1b..00000000000 --- a/net-analyzer/pwncat/pwncat-0.1.2.ebuild +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=bdepend -PYTHON_COMPAT=( python3_{9..10} ) -inherit distutils-r1 - -DESCRIPTION="Netcat with IDS/IPS evasion, bind reverse shell and port forwarding magic" -HOMEPAGE="https://github.com/cytopia/pwncat" -SRC_URI="https://github.com/cytopia/pwncat/archive/v${PV/_/-}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm64 x86"