From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9F608158088 for ; Sun, 26 Oct 2025 06:19:49 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 81B19341CC2 for ; Sun, 26 Oct 2025 06:19:49 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 66DAB110573; Sun, 26 Oct 2025 06:19:40 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 5BEFC110573 for ; Sun, 26 Oct 2025 06:19:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1344A3419E4 for ; Sun, 26 Oct 2025 06:19:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A0C5B31BA for ; Sun, 26 Oct 2025 06:19:38 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1761459437.f1d8e1109eab63f65f49263342095f6e5dceb414.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-debug/pwndbg/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-debug/pwndbg/Manifest dev-debug/pwndbg/pwndbg-20251020.ebuild X-VCS-Directories: dev-debug/pwndbg/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: f1d8e1109eab63f65f49263342095f6e5dceb414 X-VCS-Branch: master Date: Sun, 26 Oct 2025 06:19:38 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0add825b-4955-421e-94bb-900fe6c2085b X-Archives-Hash: 75b2caef10beb69a65277536d1b3ef06 commit: f1d8e1109eab63f65f49263342095f6e5dceb414 Author: Mario Haustein hrz tu-chemnitz de> AuthorDate: Wed Oct 22 21:46:42 2025 +0000 Commit: Sam James gentoo org> CommitDate: Sun Oct 26 06:17:17 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1d8e110 dev-debug/pwndbg: add 20251020 Signed-off-by: Mario Haustein hrz.tu-chemnitz.de> Part-of: https://github.com/gentoo/gentoo/pull/44291 Closes: https://github.com/gentoo/gentoo/pull/44291 Signed-off-by: Sam James gentoo.org> dev-debug/pwndbg/Manifest | 1 + dev-debug/pwndbg/pwndbg-20251020.ebuild | 74 +++++++++++++++++++++++++++++++++ 2 files changed, 75 insertions(+) diff --git a/dev-debug/pwndbg/Manifest b/dev-debug/pwndbg/Manifest index d8bb637ffd39..eb71fbcd948a 100644 --- a/dev-debug/pwndbg/Manifest +++ b/dev-debug/pwndbg/Manifest @@ -1,3 +1,4 @@ DIST pwndbg-20250418.tar.gz 9022280 BLAKE2B 8cc3cede9abc024e485737c0c38c525456e489eb12beb908bf9bd44fbb33ed1b27a206237452b7bc741fc569a61874cc134725f90fd04d6e46723704a9fb466e SHA512 34afa5ee756f405f662f494d47a0cc324ad193f9083ef371c9946681ec58e0ce6c1a5097b3f3b88ab58beb7941317e9a6a0dc0ee643834fc90ccac2f07576de7 DIST pwndbg-20250530.tar.gz 11924779 BLAKE2B ad372272008d3227c4ba6668745532602242ecfb0359bc10368cc55e8a9d443d923c39e3130f615b9d80c2d8a18e40837965d02dcf034f583f5ce54e398aa6b4 SHA512 10bb330f8a5c15eb82ab1f4767dd67146fa8dfe2b8b1f62190f46cdc54fbe1109d9e987c4f7848ea3e9844c1be6cb78f9e74e1ca59d1620b802d0a1d789bd290 DIST pwndbg-20251010.tar.gz 24007425 BLAKE2B 7213c974d9219dbac7222bff60b5ba92f7c49be57844deda47ad0ef316c1e11516d0f5facf0596d8cabb6ccd409f0f95ba024f7fa218f965eae206913794fa28 SHA512 21ae4b9538cb0109d6a7ce3269deec6436e6316459fd31cf025f5d23167155c0171a9a5007feea95123df8375dc13c9c70e2b79029c561353566e31b16e4a351 +DIST pwndbg-20251020.tar.gz 24013152 BLAKE2B 50de4937ee7f13330d76f110b84853445c8600e0b5da78be581341c00c6e22f05738e3490b6d91d5bf2e8d91d37b47fd1812dde402c717e8e7833dda4d583390 SHA512 0c3137962e6df4e67601e72443bf67a9bb9400cad0ece0736ccf06394b4080c3c27f5755cb63a1e46d8be9504f0a62aa9c15c831817c2f6046fea0e880c68b6f diff --git a/dev-debug/pwndbg/pwndbg-20251020.ebuild b/dev-debug/pwndbg/pwndbg-20251020.ebuild new file mode 100644 index 000000000000..f19f7969a298 --- /dev/null +++ b/dev-debug/pwndbg/pwndbg-20251020.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +DISTUTILS_SINGLE_IMPL=1 +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 + +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-6.0.0_alpha5[python,${PYTHON_USEDEP}] + >=dev-python/psutil-7.0.0[${PYTHON_USEDEP}] + >=dev-python/pycparser-2.23[${PYTHON_USEDEP}] + >=dev-python/pyelftools-0.32[${PYTHON_USEDEP}] + >=dev-python/pygments-2.19.2[${PYTHON_USEDEP}] + >=dev-python/requests-2.32.5[${PYTHON_USEDEP}] + >=dev-python/rich-14.1.0[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-2.4.0[${PYTHON_USEDEP}] + >=dev-python/tabulate-0.9.0[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.15.0[${PYTHON_USEDEP}] + >=dev-util/pwntools-4.14.1[${PYTHON_USEDEP}] + >=dev-util/ROPgadget-7.6[${PYTHON_USEDEP}] + >=dev-util/unicorn-2.1.4[python,${PYTHON_USEDEP}] + ') +" + +# Tests are architectur-specific (precompiled binaries) +RESTRICT="test" + +src_install() { + distutils-r1_src_install + + insinto /usr/share/${PN} + doins gdbinit.py + + python_optimize "${ED}"/usr/share/${PN} + + dodoc README.md + dodoc -r docs +} + +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 +}