mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
dev-debug/pwndbg: drop 20250219, 20250418
Signed-off-by: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de> Part-of: https://github.com/gentoo/gentoo/pull/44181 Closes: https://github.com/gentoo/gentoo/pull/44181 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
75223a9293
commit
31cbae2cdc
@@ -1,4 +1,3 @@
|
||||
DIST pwndbg-20250219.tar.gz 8996907 BLAKE2B 7774c86b9e00186c39db29090c39bbbfa6ce1b0ab565de8a524687afccfdb1ceab829503ac6340f0f32d74ed95020bcd136b1e0e2d3f256a15e5e3ffe17a963b SHA512 18ec21a1b978ef9edefb6f979d1330a6e2f48d6a005b391ebac5aaf7b9e866de7bd497b983bb9eef52e50b4fe82ea901036ca86c308e8962413a17d5733e7efe
|
||||
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
|
||||
|
||||
@@ -1,80 +0,0 @@
|
||||
# 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 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/requests-2.32.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/rich-13.7.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/sortedcontainers-2.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/tabulate-0.9.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/typing-extensions-4.12.0[${PYTHON_USEDEP}]
|
||||
>=dev-util/pwntools-4.14.0[${PYTHON_USEDEP}]
|
||||
>=dev-util/ROPgadget-7.3[${PYTHON_USEDEP}]
|
||||
>=dev-util/unicorn-2.1.2[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 <program>"
|
||||
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
|
||||
}
|
||||
@@ -1,80 +0,0 @@
|
||||
# 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 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/requests-2.32.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/rich-13.7.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/sortedcontainers-2.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/tabulate-0.9.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/typing-extensions-4.12.0[${PYTHON_USEDEP}]
|
||||
>=dev-util/pwntools-4.14.0[${PYTHON_USEDEP}]
|
||||
>=dev-util/ROPgadget-7.3[${PYTHON_USEDEP}]
|
||||
>=dev-util/unicorn-2.1.3[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 <program>"
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user