summaryrefslogtreecommitdiff
path: root/dev-util/pwntools
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-03-22 13:00:52 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-03-22 13:00:52 +0000
commita9715695537fe2582eaabd4a0d2cbe2322c01735 (patch)
tree4bca37e741d83c1d0ef189c2b3a1206301a8a0a4 /dev-util/pwntools
parent267b3b848468a603048b181330ee73cf0bd99c44 (diff)
gentoo auto-resync : 22:03:2024 - 13:00:51
Diffstat (limited to 'dev-util/pwntools')
-rw-r--r--dev-util/pwntools/Manifest6
-rw-r--r--dev-util/pwntools/pwntools-4.12.0.ebuild (renamed from dev-util/pwntools/pwntools-4.11.0.ebuild)20
-rw-r--r--dev-util/pwntools/pwntools-4.13.0_beta0.ebuild73
3 files changed, 93 insertions, 6 deletions
diff --git a/dev-util/pwntools/Manifest b/dev-util/pwntools/Manifest
index 3134953fd7bd..40dd506fc3d2 100644
--- a/dev-util/pwntools/Manifest
+++ b/dev-util/pwntools/Manifest
@@ -1,10 +1,12 @@
AUX pwn.conf 24 BLAKE2B cac0a12eea8abd3d2ee21632e7f2281e7e35c2d7839cfbcba83ae5d0e8f427e9cc2462a6d17d187252b99d9dbbb14393b9d5a63996c42043f553e9b66bfe9e07 SHA512 9d849115348ddb34ddc3232a03442b64268e7970a89ee2eeb040aeb6dec5bd20f53dc39c73e10c143065acb4b84775cf638854ec8ba6d65b8e2f38e09ce59be8
AUX pwntools-4.11.0_update_deps.patch 225 BLAKE2B c39cfd5a0f49972c56c32567a8b8d63397ea17e076d3ffca0aa4b1f6de2859e2843382e2b2fd83616a3b72e5f4defe86aa4c01e9e87ece8c51aef5ef6c4fe5f7 SHA512 b17b016b9eda2ac7e535ffd62fe6451206e30bce3de1b71a3c14d4d565c2a1bd2833bad24335851887cab82af70499bb8d6188f3758b18c382e32e9a4b7aa8df
-DIST pwntools-4.11.0.gh.tar.gz 4237576 BLAKE2B 11b1b6a923c44ee1b5027b4a71f9f3b6b9bcd36a2a38915ee46ffc855b0749528a204581dcb5071d50031701924b3cc08edf95b363d1d1b6e76d029a91011293 SHA512 a5be69a19cea933680f1946e389fad4edbbdb0d6106cd1f78778f901a6ddaaef734389678c5b4f16718a788d53bff6025817d83c06ab3dc1a200a5ff3c696aaa
DIST pwntools-4.11.1.gh.tar.gz 4237695 BLAKE2B 10a0b363d7255e856a33ce972a9eab2ec51d1d5f6ee953ac37796f87cf42b46b1207dc31f64902af704b7f36125c765e0c9328d44c6b0dda34a133238b42cf7f SHA512 f3c9d35ea62215a05a97ca00d908f3aea2188b9b2cbb8baac6b4203ac699e82f3d13b1332007e3b5d46973d609271fdd5e2dbd3aa70f7735f5578a449ca90fe6
+DIST pwntools-4.12.0.gh.tar.gz 4245062 BLAKE2B f4739b659f30b8f8522881cacaceed96e12a8c4c9591c738a3b1b98cbd8ec7ce49d2adbffb099deb470a72d9880c0c2aea2702ec8ea48dfe9894c780d549fa5e SHA512 3034546d32ab81384241d94bfeaec4f54ac134b80a4c466dd3275d72a92d0fc83dd559c210857496cdc97ec86cdf1ad88c7c454ad6257980c58bafa5281a33da
DIST pwntools-4.12.0_beta1.gh.tar.gz 4245839 BLAKE2B c69c0ff021764451718fb1146e54c0fde3024251a4d20cca97da607e780fa1b956bee9774623e8294a92c832c2ba6dcbdec3cc8848520b7d62a83bb918b46e31 SHA512 3badc20ab858c0b5bec6d76a41691684c566f8dce0576a11929b74e811a3173c8600ffd8ab289a94bf10478bf7a59594373438f63f48e27e1d87e7c04716ad2e
-EBUILD pwntools-4.11.0.ebuild 1699 BLAKE2B 011024772043ee432ccadfc1c8bd316d58886720d8f33db4001d66c9eb2626edc059f13bb41675f1b9097f13daf1f5893de2882533ee7b013296198a2a65a131 SHA512 86b2de9e55b9df45bd2ffca78cee8b1e5dbe571a9378aa56aa22c6cb359abc9dda994744ee482092b8a56365f112f073a1f9c72232f11dadf20ae6ba710babc6
+DIST pwntools-4.13.0_beta0.gh.tar.gz 4385937 BLAKE2B 17232ab24139ccc9376f71ea31a1f4ef5a0bbcc0610e868c894c4f79865c44ccd9c029956cf566accddb38b64d2f5a1649113f8163d69fa3c0acf20e21817de7 SHA512 3bed645b6f9e19ef4b625e9a51a33d301e6ad640eeee4d1f647b081d10d34b6eed7f083a89d77da3bd03eac2d9cda462ca380b354de2691e87d0dfc2d74a53da
EBUILD pwntools-4.11.1.ebuild 2028 BLAKE2B 517a26da71bc0e73e0fb6dc970aa05c9fc15445e225829002bee69037d72100866c0d28b1a620056de53b83cf99d36f2c6f5e1d134ee5ef8cb90614848c1eef3 SHA512 4c81a9bc7ccedf507c31265d2156bb89bda5372731cd600be06e732eadffa0b215c6686b3dca39c82e8523b13c7ef06d3feb2addf1ac1b4058397ed272a3c3f7
+EBUILD pwntools-4.12.0.ebuild 2030 BLAKE2B 2ce5e7cc858a274c887d684daec8095b53e1f1d8db324a004b7b6680d0135c41ee564822e66044089cdaf0bac3d7e2ee4987fc503948780330db00bd7841b1bf SHA512 052134d5915c05a463824eda84d412e6a491c23daaa59ff09ac225d0f61b3b4f5608dd4a324c163d12f558c935ae854a7e51fafebe9699fabbf76db71a0bac46
EBUILD pwntools-4.12.0_beta1.ebuild 2030 BLAKE2B 2ce5e7cc858a274c887d684daec8095b53e1f1d8db324a004b7b6680d0135c41ee564822e66044089cdaf0bac3d7e2ee4987fc503948780330db00bd7841b1bf SHA512 052134d5915c05a463824eda84d412e6a491c23daaa59ff09ac225d0f61b3b4f5608dd4a324c163d12f558c935ae854a7e51fafebe9699fabbf76db71a0bac46
+EBUILD pwntools-4.13.0_beta0.ebuild 2030 BLAKE2B 2ce5e7cc858a274c887d684daec8095b53e1f1d8db324a004b7b6680d0135c41ee564822e66044089cdaf0bac3d7e2ee4987fc503948780330db00bd7841b1bf SHA512 052134d5915c05a463824eda84d412e6a491c23daaa59ff09ac225d0f61b3b4f5608dd4a324c163d12f558c935ae854a7e51fafebe9699fabbf76db71a0bac46
EBUILD pwntools-9999.ebuild 2030 BLAKE2B f2feca7c7ebf4b5e4ee8e1d9f17f40fc508d2a2cb96aa3f24750697862ae561e2392ef9978a3d8f33a0ec00acc893112e27b5350f11588769d3753b3419ba4cb SHA512 c87c889dfb28667e536a43c67cb766f3a52529f2f5dd2cb815ee88f9fda26c463fb474c1049626c0f6deaa4defad71c0d80dbccb58814f209be4c8cbf55bbb41
MISC metadata.xml 541 BLAKE2B 31c34e39b19efa02a71fa2916d584f78893a864bd06559cffd475b9ff9837989164ab1e7fb8fa5ec345b63bacad314c4218772efed0b5201a964b225ba8e84d4 SHA512 e213766d68840db16fe46c9f3ba7094ebc63955f763963b44606636dfab95f0ed48a368901ad3b464e991205bcacd1de7cfe470dee63268eedf3a74fa901773e
diff --git a/dev-util/pwntools/pwntools-4.11.0.ebuild b/dev-util/pwntools/pwntools-4.12.0.ebuild
index 70911999f38c..7811e0a1eebf 100644
--- a/dev-util/pwntools/pwntools-4.11.0.ebuild
+++ b/dev-util/pwntools/pwntools-4.12.0.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
DISTUTILS_USE_PEP517=setuptools
-inherit distutils-r1
+inherit bash-completion-r1 distutils-r1
DESCRIPTION="CTF framework and exploit development library"
HOMEPAGE="https://github.com/Gallopsled/pwntools"
@@ -15,7 +15,9 @@ if [[ ${PV} == "9999" ]]; then
EGIT_REPO_URI="https://github.com/Gallopsled/pwntools.git"
else
SRC_URI="https://github.com/Gallopsled/pwntools/archive/${PV/_beta/beta}.tar.gz -> ${P}.gh.tar.gz"
- KEYWORDS="amd64 ~arm64 ~riscv x86"
+ if [[ ${PV} != *_beta* ]] ; then
+ KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+ fi
S="${WORKDIR}/${PN}-${PV/_beta/beta}"
fi
@@ -57,5 +59,15 @@ python_configure_all() {
src_install() {
distutils-r1_src_install
+ newbashcomp extra/bash_completion.d/pwn pwn
+ newbashcomp extra/bash_completion.d/shellcraft shellcraft
+
+ insinto /usr/share/zsh/site-functions
+ doins extra/zsh_completion/_pwn
+
+ # Disable automatic update check (bug 915496).
+ insinto /etc
+ doins "${FILESDIR}/pwn.conf"
+
rm -r "${ED}/usr/pwntools-doc" || die
}
diff --git a/dev-util/pwntools/pwntools-4.13.0_beta0.ebuild b/dev-util/pwntools/pwntools-4.13.0_beta0.ebuild
new file mode 100644
index 000000000000..7811e0a1eebf
--- /dev/null
+++ b/dev-util/pwntools/pwntools-4.13.0_beta0.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+DISTUTILS_USE_PEP517=setuptools
+inherit bash-completion-r1 distutils-r1
+
+DESCRIPTION="CTF framework and exploit development library"
+HOMEPAGE="https://github.com/Gallopsled/pwntools"
+
+if [[ ${PV} == "9999" ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/Gallopsled/pwntools.git"
+else
+ SRC_URI="https://github.com/Gallopsled/pwntools/archive/${PV/_beta/beta}.tar.gz -> ${P}.gh.tar.gz"
+ if [[ ${PV} != *_beta* ]] ; then
+ KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+ fi
+ S="${WORKDIR}/${PN}-${PV/_beta/beta}"
+fi
+
+LICENSE="MIT GPL-2+ BSD-2"
+SLOT="0"
+
+RDEPEND="
+ ${PYTHON_DEPS}
+ >=dev-libs/capstone-3.0.5[python,${PYTHON_USEDEP}]
+ >=dev-util/ROPgadget-5.3[${PYTHON_USEDEP}]
+ >=dev-util/unicorn-1.0.2[python,${PYTHON_USEDEP}]
+ dev-python/colored-traceback[${PYTHON_USEDEP}]
+ >=dev-python/intervaltree-3.0[${PYTHON_USEDEP}]
+ >=dev-python/mako-1.0.0[${PYTHON_USEDEP}]
+ dev-python/packaging[${PYTHON_USEDEP}]
+ >=dev-python/paramiko-1.15.2[${PYTHON_USEDEP}]
+ >=dev-python/psutil-3.3.0[${PYTHON_USEDEP}]
+ >=dev-python/pyelftools-0.24[${PYTHON_USEDEP}]
+ >=dev-python/pygments-2.0[${PYTHON_USEDEP}]
+ >=dev-python/pyserial-2.7[${PYTHON_USEDEP}]
+ dev-python/PySocks[${PYTHON_USEDEP}]
+ dev-python/python-dateutil[${PYTHON_USEDEP}]
+ >=dev-python/requests-2.0[${PYTHON_USEDEP}]
+ dev-python/rpyc[${PYTHON_USEDEP}]
+ >=dev-python/six-1.12.0[${PYTHON_USEDEP}]
+ dev-python/sortedcontainers[${PYTHON_USEDEP}]
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-4.11.0_update_deps.patch"
+)
+
+python_configure_all() {
+ DISTUTILS_ARGS=(
+ --only-use-pwn-command
+ )
+}
+
+src_install() {
+ distutils-r1_src_install
+
+ newbashcomp extra/bash_completion.d/pwn pwn
+ newbashcomp extra/bash_completion.d/shellcraft shellcraft
+
+ insinto /usr/share/zsh/site-functions
+ doins extra/zsh_completion/_pwn
+
+ # Disable automatic update check (bug 915496).
+ insinto /etc
+ doins "${FILESDIR}/pwn.conf"
+
+ rm -r "${ED}/usr/pwntools-doc" || die
+}