1 |
commit: a4b0097dbb3e301c79805a992ca57aa3cd0e9531 |
2 |
Author: Mario Haustein <mario.haustein <AT> hrz <DOT> tu-chemnitz <DOT> de> |
3 |
AuthorDate: Sun Mar 19 11:19:07 2023 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Mar 20 05:32:09 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4b0097d |
7 |
|
8 |
dev-util/pwndbg: drop 20221219-r1 |
9 |
|
10 |
Signed-off-by: Mario Haustein <mario.haustein <AT> hrz.tu-chemnitz.de> |
11 |
Closes: https://github.com/gentoo/gentoo/pull/30232 |
12 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
13 |
|
14 |
dev-util/pwndbg/pwndbg-20221219-r1.ebuild | 85 ------------------------------- |
15 |
1 file changed, 85 deletions(-) |
16 |
|
17 |
diff --git a/dev-util/pwndbg/pwndbg-20221219-r1.ebuild b/dev-util/pwndbg/pwndbg-20221219-r1.ebuild |
18 |
deleted file mode 100644 |
19 |
index 84259afcf501..000000000000 |
20 |
--- a/dev-util/pwndbg/pwndbg-20221219-r1.ebuild |
21 |
+++ /dev/null |
22 |
@@ -1,85 +0,0 @@ |
23 |
-# Copyright 1999-2023 Gentoo Authors |
24 |
-# Distributed under the terms of the GNU General Public License v2 |
25 |
- |
26 |
-EAPI=8 |
27 |
- |
28 |
-PYTHON_COMPAT=( python3_{9..11} ) |
29 |
- |
30 |
-inherit python-single-r1 wrapper |
31 |
- |
32 |
-DESCRIPTION="A GDB plug-in that makes debugging with GDB suck less" |
33 |
-HOMEPAGE="https://github.com/pwndbg/pwndbg" |
34 |
- |
35 |
-if [[ ${PV} == "99999999" ]]; then |
36 |
- inherit git-r3 |
37 |
- EGIT_REPO_URI="https://github.com/pwndbg/pwndbg" |
38 |
-else |
39 |
- MY_PV="${PV:0:4}.${PV:4:2}.${PV:6:2}" |
40 |
- GDB_PT_DUMP_COMMIT="ebdc24573a4bf075cf3ab6016add9db6baacf977" |
41 |
- SRC_URI=" |
42 |
- https://github.com/pwndbg/pwndbg/archive/${MY_PV}.tar.gz -> ${P}.tar.gz |
43 |
- https://github.com/martinradev/gdb-pt-dump/archive/${GDB_PT_DUMP_COMMIT}.tar.gz -> gdb-pt-dump-${GDB_PT_DUMP_COMMIT}.tar.gz |
44 |
- " |
45 |
- KEYWORDS="amd64 x86" |
46 |
- S="${WORKDIR}/${PN}-${MY_PV}" |
47 |
-fi |
48 |
- |
49 |
-LICENSE="MIT" |
50 |
-SLOT="0" |
51 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
52 |
- |
53 |
-RDEPEND=" |
54 |
- ${PYTHON_DEPS} |
55 |
- sys-devel/gdb[python,${PYTHON_SINGLE_USEDEP}] |
56 |
- $(python_gen_cond_dep ' |
57 |
- dev-libs/capstone[python,${PYTHON_USEDEP}] |
58 |
- dev-python/psutil[${PYTHON_USEDEP}] |
59 |
- dev-python/pycparser[${PYTHON_USEDEP}] |
60 |
- dev-python/pyelftools[${PYTHON_USEDEP}] |
61 |
- dev-python/python-ptrace[${PYTHON_USEDEP}] |
62 |
- dev-python/six[${PYTHON_USEDEP}] |
63 |
- dev-python/pygments[${PYTHON_USEDEP}] |
64 |
- dev-util/ROPgadget[${PYTHON_USEDEP}] |
65 |
- dev-util/unicorn[python,${PYTHON_USEDEP}] |
66 |
- ')" |
67 |
- |
68 |
-src_prepare() { |
69 |
- if [[ ${PV} == *9999 ]]; then |
70 |
- rm -r gdb-pt-dump/.git || die |
71 |
- else |
72 |
- sed -e "s/__version__ = '\(.*\)'/__version__ = '${PV}'/" \ |
73 |
- -i pwndbg/lib/version.py || die |
74 |
- |
75 |
- rm -r gdb-pt-dump || die |
76 |
- mv "${WORKDIR}/gdb-pt-dump-${GDB_PT_DUMP_COMMIT}" gdb-pt-dump || die |
77 |
- fi |
78 |
- |
79 |
- python_fix_shebang "${S}" |
80 |
- default |
81 |
-} |
82 |
- |
83 |
-src_install() { |
84 |
- insinto /usr/share/${PN} |
85 |
- doins -r pwndbg/ gdbinit.py # ida_script.py |
86 |
- doins -r gdb-pt-dump/ |
87 |
- |
88 |
- python_optimize "${ED}"/usr/share/${PN} |
89 |
- |
90 |
- make_wrapper "pwndbg" \ |
91 |
- "gdb -x \"${EPREFIX}/usr/share/${PN}/gdbinit.py\"" || die |
92 |
- |
93 |
- dodoc {README,DEVELOPING,FEATURES}.md |
94 |
-} |
95 |
- |
96 |
-pkg_postinst() { |
97 |
- if [[ -z "${REPLACING_VERSIONS}" ]]; then |
98 |
- einfo "\nUsage:" |
99 |
- einfo " ~$ pwndbg <program>" |
100 |
- ewarn "\nWARNING!!!" |
101 |
- ewarn "Some pwndbg commands only works with libc debug symbols.\n" |
102 |
- ewarn "See also:" |
103 |
- ewarn " * https://github.com/pentoo/pentoo-overlay/issues/521#issuecomment-548975884" |
104 |
- ewarn " * https://sourceware.org/gdb/onlinedocs/gdb/Separate-Debug-Files.html" |
105 |
- ewarn " * https://wiki.gentoo.org/wiki/Debugging" |
106 |
- fi |
107 |
-} |