This commit is contained in:
blshkv 2019-02-17 10:42:13 +08:00
parent 4d0ff8f629
commit 75cfc43a1e
No known key found for this signature in database
GPG key ID: 273E3E90D1A6294F
5 changed files with 56 additions and 0 deletions

View file

@ -0,0 +1 @@
DIST pwntools-3.12.2.tar.gz 1138628 BLAKE2B 66edbb8148f958d66dcfdd267a89be0fb78a2dcb90ced40e541737333866f0405f049cc7b42e206a1469ac2cc9168ebe14faed75e303b07bf88581b20b264ee9 SHA512 6dcb3a83e668b2ab9ac191e66430702b9e62813f6d7872f8ba08a6b1753235c542810eaeef8bed94f4286309db4094e66ee9ff9895bbc049983be8d4c67a01f8

View file

@ -0,0 +1,46 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python2_7 )
inherit distutils-r1
DESCRIPTION="CTF framework and exploit development library"
HOMEPAGE="https://github.com/Gallopsled/pwntools"
SRC_URI="https://github.com/Gallopsled/pwntools/archive/${PV}.tar.gz -> ${P}.tar.gz"
#WTF? Most is under an MIT license, but a few pieces are under GPL or a BSD 2-clause licence
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
#REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND=">=dev-python/paramiko-1.15.2[${PYTHON_USEDEP}]
>=dev-python/mako-1.0.0[${PYTHON_USEDEP}]
>=dev-python/pyelftools-0.2.4[${PYTHON_USEDEP}]
>=dev-python/capstone-python-3.0.5[${PYTHON_USEDEP}]
>=app-exploits/ROPgadget-5.3[${PYTHON_USEDEP}]
>=dev-python/pyserial-2.7[${PYTHON_USEDEP}]
>=dev-python/requests-2.0[${PYTHON_USEDEP}]
>=dev-python/pip-6.0.8[${PYTHON_USEDEP}]
>=dev-python/tox-1.8.1[${PYTHON_USEDEP}]
>=dev-python/pygments-2.0[${PYTHON_USEDEP}]
dev-python/PySocks[${PYTHON_USEDEP}]
dev-python/python-dateutil[${PYTHON_USEDEP}]
dev-python/packaging[${PYTHON_USEDEP}]
>=dev-python/psutil-3.3.0[${PYTHON_USEDEP}]
<dev-python/intervaltree-3.0[${PYTHON_USEDEP}]
<dev-python/sortedcontainers-2.0[${PYTHON_USEDEP}]
dev-util/unicorn[python,${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]"
python_prepare_all() {
#do not mess with docs
sed -e "/'pypandoc'/d" -i setup.py || die
distutils-r1_python_prepare_all
}

View file

@ -14,3 +14,6 @@ app-exploits/webshells
~app-exploits/linenum-20190124
app-exploits/deathstar
app-exploits/pwntools
app-exploits/ROPgadget

View file

@ -330,3 +330,6 @@ dev-python/htmlentities
#app-crypt/yubikey-manager
~dev-python/fido2-0.5.0
# required by pwntools (argument)
=dev-python/intervaltree-2.1*

View file

@ -7,3 +7,6 @@ dev-util/radare2 system-capstone syscapstone
#arduino dep
dev-util/astyle java
dev-util/unicorn python
dev-libs/unicorn-bindings python