diff options
Diffstat (limited to 'dev-util/ROPgadget')
-rw-r--r-- | dev-util/ROPgadget/Manifest | 1 | ||||
-rw-r--r-- | dev-util/ROPgadget/ROPgadget-6.7.ebuild | 35 |
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-util/ROPgadget/Manifest b/dev-util/ROPgadget/Manifest index 487b7c0a673c..7675d9a4eeeb 100644 --- a/dev-util/ROPgadget/Manifest +++ b/dev-util/ROPgadget/Manifest @@ -1 +1,2 @@ DIST ROPgadget-6.6.tar.gz 9349424 BLAKE2B b1f1e5fbc76329f64122e65161ab188e9f7260c4e43d5e92e0e43cd4ebbf27ae281c32bd49790a363ff1d10360a1cda1846310054c249ab40279063a735654e6 SHA512 bf636a264975c95676e5bb6223d0cf04885699eeaf691c6c93a1ac8c1bc44f95323207660a57a58f44163f8c07156567daa73755b35a13cff5d27aee01ec4fb6 +DIST ROPgadget-6.7.tar.gz 9348558 BLAKE2B 004f28993e3567b8bf78853c83b60fa17ff7dc8eb82867eabec33aee247283938ed522883bcf62a11f27a70fa10c4afbdd2636d613770bc8fa0ee7dd3667e859 SHA512 81bebafc1ba9cb18e017487395dacdaae044d6f1383604a0183b41d2210651c9a6870755f741cd7a3e2dc38ee5c004b0aeac52cc1082fa352c06c0598ac7e87b diff --git a/dev-util/ROPgadget/ROPgadget-6.7.ebuild b/dev-util/ROPgadget/ROPgadget-6.7.ebuild new file mode 100644 index 000000000000..776ffc4f5af6 --- /dev/null +++ b/dev-util/ROPgadget/ROPgadget-6.7.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 +} |