From 3190b4b0cecb51824afa0bbd287a2d86d4a2e929 Mon Sep 17 00:00:00 2001 From: Andrew Benson Date: Wed, 10 Jun 2020 17:25:45 -0500 Subject: [PATCH 1/2] New package: ROPgadget-6.3 --- srcpkgs/ROPgadget/template | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 srcpkgs/ROPgadget/template diff --git a/srcpkgs/ROPgadget/template b/srcpkgs/ROPgadget/template new file mode 100644 index 00000000000..003ebcfcd1d --- /dev/null +++ b/srcpkgs/ROPgadget/template @@ -0,0 +1,17 @@ +# Template file for 'ROPgadget' +pkgname=ROPgadget +version=6.4 +revision=1 +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="capstone-python3" +short_desc="Search for gadgets in bianries for ROP exploitation" +maintainer="Andrew Benson " +license="BSD-3-Clause" +homepage="https://github.com/JonathanSalwan/ROPgadget" +distfiles="${homepage}/archive/v${version}.tar.gz" +checksum=c98f3eeeb20e5caa2dc4cde3ba2d637812ca816ba3f4c65f2fb4dfd119e98765 + +post_install() { + vlicense LICENSE_BSD.txt +} From 402a25e58d321050a18364a877554098fd4b0f59 Mon Sep 17 00:00:00 2001 From: Andrew Benson Date: Wed, 10 Jun 2020 17:51:45 -0500 Subject: [PATCH 2/2] New package: pwntools-4.3.0 --- srcpkgs/pwntools/template | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 srcpkgs/pwntools/template diff --git a/srcpkgs/pwntools/template b/srcpkgs/pwntools/template new file mode 100644 index 00000000000..a87293ec44a --- /dev/null +++ b/srcpkgs/pwntools/template @@ -0,0 +1,34 @@ +# Template file for 'pwntools' +pkgname=pwntools +version=4.3.1 +revision=1 +build_style=python3-module +make_install_args="--only-use-pwn-command" +hostmakedepends="python3-setuptools" +depends="python3-paramiko python3-Mako python3-pyelftools capstone-python3 + python3-pyserial python3-requests python3-Pygments python3-pysocks + python3-dateutil python3-packaging python3-psutil python3-intervaltree + python3-sortedcontainers unicorn-python3 python3-six python3-setuptools + ROPgadget" +short_desc="CTF framework and exploit development library" +maintainer="Andrew Benson " +license="MIT" +homepage="https://pwntools.com" +distfiles="https://github.com/Gallopsled/pwntools/archive/${version}.tar.gz" +checksum=9d80cf845d4d6f808d265fcfb8de958ee0cbb2bc52d51aa96e24d9c778224629 + +pre_configure() { + # Pollutes site_packages with unnecessary text files + vsed -e '/data_files/,+2d' -i setup.py + # python*-devel is not a requirement for this package + vsed -e '/PythonH/,+5d' -i setup.py +} + +post_install() { + vlicense LICENSE-pwntools.txt +} + +do_check() { + # Tests require system configuration changes, like adding a user. + : +}