diff options
author | Mario Haustein <mario.haustein@hrz.tu-chemnitz.de> | 2024-08-14 23:41:42 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2024-08-27 10:02:29 +0300 |
commit | 2deba49608c982bc5f2175ad7cb743dd3555a707 (patch) | |
tree | 26528166649d8f48ae1444ef9a1c9ca7515ada9f /dev-util | |
parent | app-dicts/myspell-pl: update metadata.xml (diff) | |
download | gentoo-2deba49608c982bc5f2175ad7cb743dd3555a707.tar.gz gentoo-2deba49608c982bc5f2175ad7cb743dd3555a707.tar.bz2 gentoo-2deba49608c982bc5f2175ad7cb743dd3555a707.zip |
dev-util/pwntools: add 4.13.0
Signed-off-by: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/pwntools/Manifest | 1 | ||||
-rw-r--r-- | dev-util/pwntools/pwntools-4.13.0.ebuild | 73 |
2 files changed, 74 insertions, 0 deletions
diff --git a/dev-util/pwntools/Manifest b/dev-util/pwntools/Manifest index e3bf9d0c78b6..2a8e28dd8443 100644 --- a/dev-util/pwntools/Manifest +++ b/dev-util/pwntools/Manifest @@ -1,4 +1,5 @@ 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 +DIST pwntools-4.13.0.gh.tar.gz 4388643 BLAKE2B 59a50621135e5e0fd247de37f9367d07155ab370fab5e5985a2e5900451d1d52b5b8362da2c1f59aaea36cfec9414345d2697256a4197fb0d31e90b4e58af45b SHA512 23511d60f619f7d6fb0cbe8389069e94c9b4ff33a3454c98e02db7b9ab591395511b56121f5bab7a8edd75ad06ca80154d379cda73acf61758e6d1215e463ed6 DIST pwntools-4.13.0_beta0.gh.tar.gz 4385937 BLAKE2B 17232ab24139ccc9376f71ea31a1f4ef5a0bbcc0610e868c894c4f79865c44ccd9c029956cf566accddb38b64d2f5a1649113f8163d69fa3c0acf20e21817de7 SHA512 3bed645b6f9e19ef4b625e9a51a33d301e6ad640eeee4d1f647b081d10d34b6eed7f083a89d77da3bd03eac2d9cda462ca380b354de2691e87d0dfc2d74a53da diff --git a/dev-util/pwntools/pwntools-4.13.0.ebuild b/dev-util/pwntools/pwntools-4.13.0.ebuild new file mode 100644 index 000000000000..7811e0a1eebf --- /dev/null +++ b/dev-util/pwntools/pwntools-4.13.0.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 +} |