1 |
commit: 78cc343bda4715a370c177bdfb5486b0d9024236 |
2 |
Author: Mario Haustein <mario.haustein <AT> hrz <DOT> tu-chemnitz <DOT> de> |
3 |
AuthorDate: Wed Mar 15 20:31:31 2023 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Mar 19 03:13:00 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78cc343b |
7 |
|
8 |
dev-util/ROPgadget: add 7.3 |
9 |
|
10 |
Signed-off-by: Mario Haustein <mario.haustein <AT> hrz.tu-chemnitz.de> |
11 |
Closes: https://github.com/gentoo/gentoo/pull/30145 |
12 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
13 |
|
14 |
dev-util/ROPgadget/Manifest | 1 + |
15 |
dev-util/ROPgadget/ROPgadget-7.3.ebuild | 35 +++++++++++++++++++++++++++++++++ |
16 |
2 files changed, 36 insertions(+) |
17 |
|
18 |
diff --git a/dev-util/ROPgadget/Manifest b/dev-util/ROPgadget/Manifest |
19 |
index 4bc6c6653fa3..33dff96845b8 100644 |
20 |
--- a/dev-util/ROPgadget/Manifest |
21 |
+++ b/dev-util/ROPgadget/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST ROPgadget-7.2.gh.tar.gz 10092747 BLAKE2B 1a1de7ce06115c8ffb377d3e7c77a268d3e9a158ed9255c02f954da4a0c32732f741e7ca081fa0b75b9a5dce2fa099b8548f26d248ed0285a2290f88dadc848d SHA512 cc3f87a4a331a3c7799f197b8a9056d1da85697a47c57d03cc080aa61d6c8a00775e7f972082f92451439c36ef9d820c982194464f02ec041b5bbeb97fa26f9a |
24 |
+DIST ROPgadget-7.3.gh.tar.gz 10105592 BLAKE2B b5bfa7bbac6875c2a417c65f3415603c07fda64f96416bba7fc4d6ea653c81b97b7dc4d8573ad53f3353862a218afb15aeaf238880d82a568b6cbe1bb276eb99 SHA512 58457f77c24a1cc4cc703c75aed9303f63ce3eba699210239603e274f134ec06d73b2c519b78176fcaaf6794a81c5a59bb9bafeaa429f7085443372e1087e173 |
25 |
|
26 |
diff --git a/dev-util/ROPgadget/ROPgadget-7.3.ebuild b/dev-util/ROPgadget/ROPgadget-7.3.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..ec2cad9d2931 |
29 |
--- /dev/null |
30 |
+++ b/dev-util/ROPgadget/ROPgadget-7.3.ebuild |
31 |
@@ -0,0 +1,35 @@ |
32 |
+# Copyright 1999-2023 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+ |
37 |
+DISTUTILS_USE_PEP517=setuptools |
38 |
+PYTHON_COMPAT=( python3_{9..11} ) |
39 |
+PYTHON_REQ_USE="sqlite" |
40 |
+ |
41 |
+inherit distutils-r1 |
42 |
+ |
43 |
+DESCRIPTION="Search for gadgets in binaries to facilitate your ROP exploitation" |
44 |
+HOMEPAGE="https://shell-storm.org/project/ROPgadget/" |
45 |
+ |
46 |
+if [[ ${PV} == 9999 ]]; then |
47 |
+ inherit git-r3 |
48 |
+ EGIT_REPO_URI="https://github.com/JonathanSalwan/ROPgadget" |
49 |
+else |
50 |
+ SRC_URI="https://github.com/JonathanSalwan/ROPgadget/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" |
51 |
+ KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" |
52 |
+fi |
53 |
+ |
54 |
+LICENSE="GPL-2" |
55 |
+SLOT="0" |
56 |
+ |
57 |
+RDEPEND=" |
58 |
+ ${PYTHON_DEPS} |
59 |
+ >=dev-libs/capstone-5[python,${PYTHON_USEDEP}] |
60 |
+" |
61 |
+ |
62 |
+src_test() { |
63 |
+ pushd test-suite-binaries || die |
64 |
+ ./test.sh || die |
65 |
+ popd || die |
66 |
+} |