pentoo-overlay/app-exploits/ROPgadget/ROPgadget-5.9-r3.ebuild

22 lines
680 B
Bash

# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
# TODO: add python3_{5,6,7} — need test but this is work fine for me
PYTHON_COMPAT=( python2_7 )
inherit distutils-r1
DESCRIPTION="Tool to search for gadgets in binaries to facilitate your ROP exploitation"
HOMEPAGE="https://github.com/JonathanSalwan/ROPgadget http://shell-storm.org/project/ROPgadget/"
SRC_URI="https://github.com/JonathanSalwan/ROPgadget/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND="${PYTHON_DEPS}"
RDEPEND="${DEPEND}
dev-libs/capstone[python,${PYTHON_USEDEP}]
!!dev-libs/capstone-bindings"