summaryrefslogtreecommitdiff
path: root/dev-util/ROPgadget
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-04-06 22:33:41 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-04-06 22:33:41 +0100
commite68d405c5d712af4387159df07e226217bdda049 (patch)
tree009ab0f3d427f0813e62930d71802cb054c07e30 /dev-util/ROPgadget
parent401101f9c8077911929d3f2b60a37098460a5d89 (diff)
gentoo resync : 06.04.2022
Diffstat (limited to 'dev-util/ROPgadget')
-rw-r--r--dev-util/ROPgadget/Manifest4
-rw-r--r--dev-util/ROPgadget/ROPgadget-6.6.ebuild35
-rw-r--r--dev-util/ROPgadget/ROPgadget-9999.ebuild35
-rw-r--r--dev-util/ROPgadget/metadata.xml20
4 files changed, 94 insertions, 0 deletions
diff --git a/dev-util/ROPgadget/Manifest b/dev-util/ROPgadget/Manifest
new file mode 100644
index 000000000000..91c659ea91eb
--- /dev/null
+++ b/dev-util/ROPgadget/Manifest
@@ -0,0 +1,4 @@
+DIST ROPgadget-6.6.tar.gz 9349424 BLAKE2B b1f1e5fbc76329f64122e65161ab188e9f7260c4e43d5e92e0e43cd4ebbf27ae281c32bd49790a363ff1d10360a1cda1846310054c249ab40279063a735654e6 SHA512 bf636a264975c95676e5bb6223d0cf04885699eeaf691c6c93a1ac8c1bc44f95323207660a57a58f44163f8c07156567daa73755b35a13cff5d27aee01ec4fb6
+EBUILD ROPgadget-6.6.ebuild 772 BLAKE2B 104cb7f8723d5c23bc873d4666646120bc46ab54eab63cdb8774754e4d45ab3700f00d0560adb313dd011fb7c988eced926f7d2c05d67d51d6f902d214add9e9 SHA512 7e798006553e0b0b26fa276c51486d329ffc0a05802f6adb477429e506d3f660479a4f0d1ded69096d6480e9e9db1932842f2ffbc0c39d8046454e8e87e13973
+EBUILD ROPgadget-9999.ebuild 772 BLAKE2B 104cb7f8723d5c23bc873d4666646120bc46ab54eab63cdb8774754e4d45ab3700f00d0560adb313dd011fb7c988eced926f7d2c05d67d51d6f902d214add9e9 SHA512 7e798006553e0b0b26fa276c51486d329ffc0a05802f6adb477429e506d3f660479a4f0d1ded69096d6480e9e9db1932842f2ffbc0c39d8046454e8e87e13973
+MISC metadata.xml 714 BLAKE2B f6d32594235874aa2c8149ea44e067bcb4fddd211152c60e243178b71ebb831be5937f140aa4f322a21fc7c01baab44b78e38b656d5db6bbbe350862749c203f SHA512 d3a78623f7402452be13196a5dcac925ee34a3a4b62400a7c7ec26eb0b0a177f594e1e4d5d93678066fa6b2204707881705684dc11d8f8b93d7fa36f96a729bd
diff --git a/dev-util/ROPgadget/ROPgadget-6.6.ebuild b/dev-util/ROPgadget/ROPgadget-6.6.ebuild
new file mode 100644
index 000000000000..2f92d9fa5df6
--- /dev/null
+++ b/dev-util/ROPgadget/ROPgadget-6.6.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[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
new file mode 100644
index 000000000000..2f92d9fa5df6
--- /dev/null
+++ b/dev-util/ROPgadget/ROPgadget-9999.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[python,${PYTHON_USEDEP}]
+"
+
+src_test() {
+ pushd test-suite-binaries || die
+ ./test.sh || die
+ popd || die
+}
diff --git a/dev-util/ROPgadget/metadata.xml b/dev-util/ROPgadget/metadata.xml
new file mode 100644
index 000000000000..29280c8d8dbc
--- /dev/null
+++ b/dev-util/ROPgadget/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person" proxied="yes">
+ <email>mario.haustein@hrz.tu-chemnitz.de</email>
+ <name>Mario Haustein</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>sam@gentoo.org</email>
+ <name>Sam James</name>
+ </maintainer>
+ <longdescription>
+ This tool lets you search your gadgets on your binaries to facilitate
+ your ROP exploitation. ROPgadget supports ELF, PE and Mach-O format on
+ x86, x64, ARM, ARM64, PowerPC, SPARC and MIPS architectures.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">JonathanSalwan/ROPgadget</remote-id>
+ </upstream>
+</pkgmetadata>