From 5264c18a325553759d67fb4e059db03cf3fc5c81 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 18 Feb 2025 00:14:44 +0000 Subject: gentoo auto-resync : 18:02:2025 - 00:14:44 --- dev-debug/pwndbg/Manifest | 4 +- dev-debug/pwndbg/pwndbg-20250120-r1.ebuild | 77 ++++++++++++++++++++++++++++++ dev-debug/pwndbg/pwndbg-20250120.ebuild | 77 ------------------------------ dev-debug/pwndbg/pwndbg-99999999.ebuild | 4 +- 4 files changed, 81 insertions(+), 81 deletions(-) create mode 100644 dev-debug/pwndbg/pwndbg-20250120-r1.ebuild delete mode 100644 dev-debug/pwndbg/pwndbg-20250120.ebuild (limited to 'dev-debug/pwndbg') diff --git a/dev-debug/pwndbg/Manifest b/dev-debug/pwndbg/Manifest index 3ee0f1e6016d..08fa984c71cd 100644 --- a/dev-debug/pwndbg/Manifest +++ b/dev-debug/pwndbg/Manifest @@ -1,6 +1,6 @@ DIST pwndbg-20240829.tar.gz 8649207 BLAKE2B 5333c318ba3ccbaaac459f9c7b917d3defa1ad712f45555b31eb76774089e55e80720744dc92813ad8234302445e3bed3237c2275c795a49856028dec416dcc2 SHA512 503924742d4a6d767ec369bb1e37c931afb5ab09f2b4cfa048765ce7a61fb6adcda2576cdda64dd4cf74de27d83b13b4dc09d6e7480e01ae8f646c5394992d43 DIST pwndbg-20250120.tar.gz 8959258 BLAKE2B 58c2c6139d8d96c939c602f694519167d4722f7ed05a92a5c38e55e0a894ffd930813d583e07bc70d0114abdcf8e34e7e859ceeb1113fc0cd00dd4af513f213b SHA512 b619b8b3727a4a23a3146f2bb0f3475ad788e82712cb669d233d88ce546546f114882162df6e5d0b357e9fa143a6829f7387132ee2a7f922dc4e669a215d8d51 EBUILD pwndbg-20240829.ebuild 2404 BLAKE2B ec46079399e828aa7cef38ffe8ee41a8d136932730cdc54ad49f4a12e9311cd30ff837c666c159e48ba2626a156ed679613662e239d3577ab9d158c3180804dc SHA512 671f1e797b0e940701a79d5d8d1b79ff8dc573ced24a023b5d0250db7f2323a4f76de78dbeee14cb6217b1478f9bab95b6d81001ddcb155d3302f88634bf97f3 -EBUILD pwndbg-20250120.ebuild 2301 BLAKE2B 1ea0866a1593a56996f001e1e825f9e26b34fea4703b2194be35a68f7a0d78fc223514d095f64f1e8c19a648fa19b31c23485f6949abff2687ff9978e085cd27 SHA512 16f080b65408db871d78b6a6d33155aef234f3397b5e3d306f85fbae495120b7a358d9c68900a604b35e4717f86a765e4a8c9e9b3db20f9bac827deee16a1f9b -EBUILD pwndbg-99999999.ebuild 2302 BLAKE2B 7e8891efeec4f284e11be2cdd04d71aa3036cb0d4d3fa079e24eaf2f768f9022b761c699cd2ae474d29cda3e0bf26b5b0be81e69f00333c98f24cb1a357ded46 SHA512 d54e8b6ce73e90358af35bf276d79e0068de178e12aa86a60bcb87dd68a0bc4090f7b1a3f0c9dd4172638d7d4497beba740364fab0c7cd68274b4f37c9a7aa7f +EBUILD pwndbg-20250120-r1.ebuild 2301 BLAKE2B 7b59a724382fe7088d47b8a16c6942f042b646ddeacf5c60d6e93f211607d2f3527ccd67b3e450b32904ed231255320ad77531387bb6da221439c25d9ebc70a7 SHA512 392782ad82227bd9e816a708ef9d52e901145d9915d6e166ab0a5f6d38f4669efb58c0bf1d77f094779a7d5147181961d6f00f1713342e0ead71d948f50885d9 +EBUILD pwndbg-99999999.ebuild 2302 BLAKE2B b125e615bac1686ccc3874655fd5d370470ff3ea6173b679aac57a03ae83b7ab73ceac543a64bd23fa0e7610435bd861de3b683e10a776b5e81c1c3bc1c4e93b SHA512 bf382ad67a10afb80c74cac6b653afdc55acf60e922249763af2b22b1296759dabbb836debb1fa5913f251a68dada4f6e8d1a085e18d9b6a0e71e0ec425742f8 MISC metadata.xml 692 BLAKE2B bb74dda183fe35e5873e7cbaa5886dec5beaf082968b16352bcda55f2e14dbdb78ee48d2e0195baa735b0f615b0469f8fd48429c47f4a81d2fc0391cafaade76 SHA512 8a6a9ec3aa03e597d8302a5b1001fbfd569e6efb08157445bedb58ec82b4d7812aad7a852ae3eb0d0f245cbf89c85a357e532855c19e6dbc9d438c16e0bd549d diff --git a/dev-debug/pwndbg/pwndbg-20250120-r1.ebuild b/dev-debug/pwndbg/pwndbg-20250120-r1.ebuild new file mode 100644 index 000000000000..1fdb51d34734 --- /dev/null +++ b/dev-debug/pwndbg/pwndbg-20250120-r1.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +DISTUTILS_SINGLE_IMPL=1 +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 wrapper + +DESCRIPTION="A GDB plug-in that makes debugging with GDB suck less" +HOMEPAGE="https://github.com/pwndbg/pwndbg" + +if [[ ${PV} == "99999999" ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/pwndbg/pwndbg" +else + MY_PV="${PV:0:4}.${PV:4:2}.${PV:6:2}" + SRC_URI="https://github.com/pwndbg/pwndbg/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm64 ~x86" + S="${WORKDIR}/${PN}-${MY_PV}" +fi + +LICENSE="MIT" +SLOT="0" + +RDEPEND=" + dev-debug/gdb[python,${PYTHON_SINGLE_USEDEP}] + ~dev-python/gdb-pt-dump-0.0.0_p20240401[${PYTHON_SINGLE_USEDEP}] + $(python_gen_cond_dep ' + >=dev-libs/capstone-5.0.3[python,${PYTHON_USEDEP}] + >=dev-python/psutil-5.9.8[${PYTHON_USEDEP}] + >=dev-python/pycparser-2.22[${PYTHON_USEDEP}] + >=dev-python/pyelftools-0.29[${PYTHON_USEDEP}] + >=dev-python/pygments-2.18.0[${PYTHON_USEDEP}] + >=dev-python/tabulate-0.9.0[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.12.0[${PYTHON_USEDEP}] + >=dev-util/pwntools-4.13.1[${PYTHON_USEDEP}] + >=dev-util/ROPgadget-7.3[${PYTHON_USEDEP}] + >=dev-util/unicorn-2.1.1[python,${PYTHON_USEDEP}] + ') +" + +# Tests are architectur-specific (precompiled binaries) +RESTRICT="test" + +src_install() { + distutils-r1_src_install + + insinto /usr/share/${PN} + doins gdbinit.py + + # Signal pwndbg not to create it's own python venv (Bug #918705). + # See: https://github.com/pwndbg/pwndbg/commit/139b7542cd9567eaff32bd713df971b6ac5b81de + touch "${ED}/usr/share/${PN}/.skip-venv" || die + + python_optimize "${ED}"/usr/share/${PN} + + make_wrapper "pwndbg" \ + "gdb -x \"${EPREFIX}/usr/share/${PN}/gdbinit.py\"" || die + + dodoc {README,DEVELOPING,FEATURES}.md +} + +pkg_postinst() { + if [[ -z "${REPLACING_VERSIONS}" ]]; then + einfo "\nUsage:" + einfo " ~$ pwndbg " + ewarn "\nWARNING!!!" + ewarn "Some pwndbg commands only works with libc debug symbols.\n" + ewarn "See also:" + ewarn " * https://github.com/pentoo/pentoo-overlay/issues/521#issuecomment-548975884" + ewarn " * https://sourceware.org/gdb/onlinedocs/gdb/Separate-Debug-Files.html" + ewarn " * https://wiki.gentoo.org/wiki/Debugging" + fi +} diff --git a/dev-debug/pwndbg/pwndbg-20250120.ebuild b/dev-debug/pwndbg/pwndbg-20250120.ebuild deleted file mode 100644 index 090f2791b9cc..000000000000 --- a/dev-debug/pwndbg/pwndbg-20250120.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=poetry -DISTUTILS_SINGLE_IMPL=1 -PYTHON_COMPAT=( python3_{10..13} ) - -inherit distutils-r1 wrapper - -DESCRIPTION="A GDB plug-in that makes debugging with GDB suck less" -HOMEPAGE="https://github.com/pwndbg/pwndbg" - -if [[ ${PV} == "99999999" ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/pwndbg/pwndbg" -else - MY_PV="${PV:0:4}.${PV:4:2}.${PV:6:2}" - SRC_URI="https://github.com/pwndbg/pwndbg/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm64 ~x86" - S="${WORKDIR}/${PN}-${MY_PV}" -fi - -LICENSE="MIT" -SLOT="0" - -RDEPEND=" - dev-debug/gdb[python,${PYTHON_SINGLE_USEDEP}] - ~dev-python/gdb-pt-dump-0.0.0_p20240401[${PYTHON_SINGLE_USEDEP}] - $(python_gen_cond_dep ' - >=dev-libs/capstone-5.0.3[python,${PYTHON_USEDEP}] - >=dev-python/psutil-5.9.8[${PYTHON_USEDEP}] - >=dev-python/pycparser-2.22[${PYTHON_USEDEP}] - >=dev-python/pyelftools-0.29[${PYTHON_USEDEP}] - >=dev-python/pygments-2.18.0[${PYTHON_USEDEP}] - >=dev-python/tabulate-0.9.0[${PYTHON_USEDEP}] - >=dev-python/typing-extensions-4.12.0[${PYTHON_USEDEP}] - >=dev-util/pwntools-4.13.1[${PYTHON_USEDEP}] - >=dev-util/ROPgadget-7.3[${PYTHON_USEDEP}] - >=dev-util/unicorn-2.0.1[python,${PYTHON_USEDEP}] - ') -" - -# Tests are architectur-specific (precompiled binaries) -RESTRICT="test" - -src_install() { - distutils-r1_src_install - - insinto /usr/share/${PN} - doins gdbinit.py - - # Signal pwndbg not to create it's own python venv (Bug #918705). - # See: https://github.com/pwndbg/pwndbg/commit/139b7542cd9567eaff32bd713df971b6ac5b81de - touch "${ED}/usr/share/${PN}/.skip-venv" || die - - python_optimize "${ED}"/usr/share/${PN} - - make_wrapper "pwndbg" \ - "gdb -x \"${EPREFIX}/usr/share/${PN}/gdbinit.py\"" || die - - dodoc {README,DEVELOPING,FEATURES}.md -} - -pkg_postinst() { - if [[ -z "${REPLACING_VERSIONS}" ]]; then - einfo "\nUsage:" - einfo " ~$ pwndbg " - ewarn "\nWARNING!!!" - ewarn "Some pwndbg commands only works with libc debug symbols.\n" - ewarn "See also:" - ewarn " * https://github.com/pentoo/pentoo-overlay/issues/521#issuecomment-548975884" - ewarn " * https://sourceware.org/gdb/onlinedocs/gdb/Separate-Debug-Files.html" - ewarn " * https://wiki.gentoo.org/wiki/Debugging" - fi -} diff --git a/dev-debug/pwndbg/pwndbg-99999999.ebuild b/dev-debug/pwndbg/pwndbg-99999999.ebuild index d7d43db2da03..f2a106e7e01d 100644 --- a/dev-debug/pwndbg/pwndbg-99999999.ebuild +++ b/dev-debug/pwndbg/pwndbg-99999999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -38,7 +38,7 @@ RDEPEND=" >=dev-python/typing-extensions-4.6.1[${PYTHON_USEDEP}] >=dev-util/pwntools-4.11.0[${PYTHON_USEDEP}] >=dev-util/ROPgadget-7.2[${PYTHON_USEDEP}] - >=dev-util/unicorn-2.0.1[python,${PYTHON_USEDEP}] + >=dev-util/unicorn-2.1.1[python,${PYTHON_USEDEP}] ') " -- cgit v1.2.3