summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMario Haustein <mario.haustein@hrz.tu-chemnitz.de>2022-06-26 22:25:59 +0200
committerSam James <sam@gentoo.org>2022-06-28 10:30:09 +0100
commit63abfac4c9910f4db4db81d1bbc96f5e5cb94b88 (patch)
treedf0b8252a6353f5e7ce581a8d8aaa9c6df327441 /dev-util
parentdev-util/gef: version bump 2022.06 (diff)
downloadgentoo-63abfac4c9910f4db4db81d1bbc96f5e5cb94b88.tar.gz
gentoo-63abfac4c9910f4db4db81d1bbc96f5e5cb94b88.tar.bz2
gentoo-63abfac4c9910f4db4db81d1bbc96f5e5cb94b88.zip
dev-util/ROPgadget: version bump 6.8
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de> Closes: https://github.com/gentoo/gentoo/pull/26086 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/ROPgadget/Manifest1
-rw-r--r--dev-util/ROPgadget/ROPgadget-6.8.ebuild35
-rw-r--r--dev-util/ROPgadget/ROPgadget-9999.ebuild2
3 files changed, 37 insertions, 1 deletions
diff --git a/dev-util/ROPgadget/Manifest b/dev-util/ROPgadget/Manifest
index 7675d9a4eeeb..79e0d44dcbf2 100644
--- a/dev-util/ROPgadget/Manifest
+++ b/dev-util/ROPgadget/Manifest
@@ -1,2 +1,3 @@
DIST ROPgadget-6.6.tar.gz 9349424 BLAKE2B b1f1e5fbc76329f64122e65161ab188e9f7260c4e43d5e92e0e43cd4ebbf27ae281c32bd49790a363ff1d10360a1cda1846310054c249ab40279063a735654e6 SHA512 bf636a264975c95676e5bb6223d0cf04885699eeaf691c6c93a1ac8c1bc44f95323207660a57a58f44163f8c07156567daa73755b35a13cff5d27aee01ec4fb6
DIST ROPgadget-6.7.tar.gz 9348558 BLAKE2B 004f28993e3567b8bf78853c83b60fa17ff7dc8eb82867eabec33aee247283938ed522883bcf62a11f27a70fa10c4afbdd2636d613770bc8fa0ee7dd3667e859 SHA512 81bebafc1ba9cb18e017487395dacdaae044d6f1383604a0183b41d2210651c9a6870755f741cd7a3e2dc38ee5c004b0aeac52cc1082fa352c06c0598ac7e87b
+DIST ROPgadget-6.8.tar.gz 9348922 BLAKE2B f7278ea0934e61f6afcd95f3c3047a34cf07bfaa52b67514ad2c63aa06104ee1c3c13bf77275ae89a406e2db5f238b95353d2cef7b696b3b53769434775183f3 SHA512 9e14d5a180a2d2d974bf69fb6456d9a68f197d4d4dda1de16374a2c81b0b2780b220d6a73d155be65d5eee03273fdc94f76235fe645511646bc3b29c07e6e828
diff --git a/dev-util/ROPgadget/ROPgadget-6.8.ebuild b/dev-util/ROPgadget/ROPgadget-6.8.ebuild
new file mode 100644
index 000000000000..776ffc4f5af6
--- /dev/null
+++ b/dev-util/ROPgadget/ROPgadget-6.8.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_REQ_USE="sqlite"
+
+inherit distutils-r1
+
+DESCRIPTION="Search for gadgets in binaries to facilitate your ROP exploitation"
+HOMEPAGE="https://shell-storm.org/project/ROPgadget/"
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/JonathanSalwan/ROPgadget"
+else
+ SRC_URI="https://github.com/JonathanSalwan/ROPgadget/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+
+RDEPEND="
+ ${PYTHON_DEPS}
+ >=dev-libs/capstone-5[python,${PYTHON_USEDEP}]
+"
+
+src_test() {
+ pushd test-suite-binaries || die
+ ./test.sh || die
+ popd || die
+}
diff --git a/dev-util/ROPgadget/ROPgadget-9999.ebuild b/dev-util/ROPgadget/ROPgadget-9999.ebuild
index 2f92d9fa5df6..776ffc4f5af6 100644
--- a/dev-util/ROPgadget/ROPgadget-9999.ebuild
+++ b/dev-util/ROPgadget/ROPgadget-9999.ebuild
@@ -25,7 +25,7 @@ SLOT="0"
RDEPEND="
${PYTHON_DEPS}
- dev-libs/capstone[python,${PYTHON_USEDEP}]
+ >=dev-libs/capstone-5[python,${PYTHON_USEDEP}]
"
src_test() {