Skip to content

Commit

Permalink
pwncat: fix #1141
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton Bolshakov committed Jun 22, 2022
1 parent a0b2046 commit 4a8f77e
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 20 deletions.
1 change: 0 additions & 1 deletion net-analyzer/pwncat/Manifest
Original file line number Diff line number Diff line change
@@ -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
8 changes: 8 additions & 0 deletions net-analyzer/pwncat/files/setuptools-61.patch
Original file line number Diff line number Diff line change
@@ -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=[],
)
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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"
}
16 changes: 0 additions & 16 deletions net-analyzer/pwncat/pwncat-0.1.2.ebuild

This file was deleted.

0 comments on commit 4a8f77e

Please sign in to comment.