summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMario Haustein <mario.haustein@hrz.tu-chemnitz.de>2023-09-01 18:49:05 +0200
committerArthur Zamarin <arthurzam@gentoo.org>2023-09-01 20:15:24 +0300
commit7c591ab70c00ab09776ccc3e46f4d6eebe3e30de (patch)
treeb65e527fa2dacaadecaffc2a109ad50426f18ee4 /dev-util/ROPgadget
parentdev-util/ROPgadget: restrict capstone dependency due to incompatibilities (diff)
downloadgentoo-7c591ab70c00ab09776ccc3e46f4d6eebe3e30de.tar.gz
gentoo-7c591ab70c00ab09776ccc3e46f4d6eebe3e30de.tar.bz2
gentoo-7c591ab70c00ab09776ccc3e46f4d6eebe3e30de.zip
dev-util/ROPgadget: add 7.4
Signed-off-by: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de> Closes: https://github.com/gentoo/gentoo/pull/32554 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-util/ROPgadget')
-rw-r--r--dev-util/ROPgadget/Manifest1
-rw-r--r--dev-util/ROPgadget/ROPgadget-7.4.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 33dff96845b8..b837fec2ec8f 100644
--- a/dev-util/ROPgadget/Manifest
+++ b/dev-util/ROPgadget/Manifest
@@ -1,2 +1,3 @@
DIST ROPgadget-7.2.gh.tar.gz 10092747 BLAKE2B 1a1de7ce06115c8ffb377d3e7c77a268d3e9a158ed9255c02f954da4a0c32732f741e7ca081fa0b75b9a5dce2fa099b8548f26d248ed0285a2290f88dadc848d SHA512 cc3f87a4a331a3c7799f197b8a9056d1da85697a47c57d03cc080aa61d6c8a00775e7f972082f92451439c36ef9d820c982194464f02ec041b5bbeb97fa26f9a
DIST ROPgadget-7.3.gh.tar.gz 10105592 BLAKE2B b5bfa7bbac6875c2a417c65f3415603c07fda64f96416bba7fc4d6ea653c81b97b7dc4d8573ad53f3353862a218afb15aeaf238880d82a568b6cbe1bb276eb99 SHA512 58457f77c24a1cc4cc703c75aed9303f63ce3eba699210239603e274f134ec06d73b2c519b78176fcaaf6794a81c5a59bb9bafeaa429f7085443372e1087e173
+DIST ROPgadget-7.4.gh.tar.gz 10110520 BLAKE2B 1c5dc52d377b4b580aa72351ce7863c9f819b39cbf0732b33eb8330d0229166250978fde123f8bf1e3a45d5fe791b17da1a93a49c8c45755d5dc1b7f8e05bf52 SHA512 0906cf7e916967ac5f446778ddc4ffdca78b8cf23c584968c116fdd43bc8488624104fbb78380516a54356dc4c4d50c5d10cc462bdd507435d5f70f8b9d51fa7
diff --git a/dev-util/ROPgadget/ROPgadget-7.4.ebuild b/dev-util/ROPgadget/ROPgadget-7.4.ebuild
new file mode 100644
index 000000000000..ae37f83946c6
--- /dev/null
+++ b/dev-util/ROPgadget/ROPgadget-7.4.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+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}.gh.tar.gz"
+ KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+
+RDEPEND="
+ ${PYTHON_DEPS}
+ >=dev-libs/capstone-5.0.1[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 0899baee4ef5..06e72d3372cb 100644
--- a/dev-util/ROPgadget/ROPgadget-9999.ebuild
+++ b/dev-util/ROPgadget/ROPgadget-9999.ebuild
@@ -29,7 +29,7 @@ RESTRICT="test"
RDEPEND="
${PYTHON_DEPS}
- >=dev-libs/capstone-5[python,${PYTHON_USEDEP}]
+ >=dev-libs/capstone-5.0.1[python,${PYTHON_USEDEP}]
"
src_test() {