From 00399f471f8e1e6fb4381a33ca1b65519e7c4f0f Mon Sep 17 00:00:00 2001 From: Andrew Benson Date: Mon, 26 Oct 2020 04:40:15 -0500 Subject: [PATCH 1/4] unicorn: update to 1.0.2. --- srcpkgs/unicorn/template | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/srcpkgs/unicorn/template b/srcpkgs/unicorn/template index 9134dca224b..53ca3df0e62 100644 --- a/srcpkgs/unicorn/template +++ b/srcpkgs/unicorn/template @@ -1,15 +1,15 @@ # Template file for 'unicorn' pkgname=unicorn -version=1.0.1 -revision=4 +version=1.0.2 +revision=1 archs="x86_64* i686*" hostmakedepends="python-devel python3-devel python-setuptools python3-setuptools" short_desc="Lightweight multi-platform, multi-architecture CPU emulator framework" maintainer="Orphaned " -license="GPL-2" +license="GPL-2.0-only, LGPL-2.1-or-later" homepage="http://www.unicorn-engine.org/" distfiles="https://github.com/unicorn-engine/unicorn/archive/${version}.tar.gz" -checksum=3a6a4f2b8c405ab009040ca43af8e4aa10ebe44d9c8b336aa36dc35df955017c +checksum=6400e16f9211486fa5353b1870e6a82f8aa342e429718d1cbca08d609aaadc52 post_extract() { # don't build the samples From 56c6232bab11b303457563166e72be6dcf3984b2 Mon Sep 17 00:00:00 2001 From: Andrew Benson Date: Wed, 10 Jun 2020 17:25:45 -0500 Subject: [PATCH 2/4] New package: ROPgadget-6.3 --- srcpkgs/ROPgadget/template | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 srcpkgs/ROPgadget/template diff --git a/srcpkgs/ROPgadget/template b/srcpkgs/ROPgadget/template new file mode 100644 index 00000000000..ada2f1bf2a8 --- /dev/null +++ b/srcpkgs/ROPgadget/template @@ -0,0 +1,18 @@ +# Template file for 'ROPgadget' +pkgname=ROPgadget +version=6.3 +revision=1 +archs=noarch +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=6f2e2fbe1fe58d5636dee0336a796b450793470770242b23eb5248f9c33e5ebf + +post_install() { + vlicense LICENSE_BSD.txt +} From f258e8294bdd6999975a53b85b4843127b1f634d Mon Sep 17 00:00:00 2001 From: Andrew Benson Date: Wed, 10 Jun 2020 17:32:24 -0500 Subject: [PATCH 3/4] New package: python3-intervaltree-3.1.0 --- srcpkgs/python3-intervaltree/template | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcpkgs/python3-intervaltree/template diff --git a/srcpkgs/python3-intervaltree/template b/srcpkgs/python3-intervaltree/template new file mode 100644 index 00000000000..4bf2b4e7473 --- /dev/null +++ b/srcpkgs/python3-intervaltree/template @@ -0,0 +1,14 @@ +# Template file for 'python3-intervaltree' +pkgname=python3-intervaltree +version=3.1.0 +revision=1 +wrksrc="intervaltree-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +short_desc="Mutable, self-balancing interval tree" +maintainer="Andrew Benson " +license="Apache-2.0" +homepage="https://github.com/chaimleib/intervaltree" +distfiles="${homepage}/archive/${version}.tar.gz" +checksum=d6c1269a7875c98146b0aedbcc1afd7ca8f9f1e8f59c412c853f1173bc6a52b1 From 895f6ec3f10dc1ff21bf5d0cc0a020344b853e7c Mon Sep 17 00:00:00 2001 From: Andrew Benson Date: Wed, 10 Jun 2020 17:51:45 -0500 Subject: [PATCH 4/4] New package: pwntools-4.3.0 --- .../patches/dont-pollute-sitepackages.patch | 12 ++++++++++ srcpkgs/pwntools/template | 23 +++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 srcpkgs/pwntools/patches/dont-pollute-sitepackages.patch create mode 100644 srcpkgs/pwntools/template diff --git a/srcpkgs/pwntools/patches/dont-pollute-sitepackages.patch b/srcpkgs/pwntools/patches/dont-pollute-sitepackages.patch new file mode 100644 index 00000000000..ce080c468c9 --- /dev/null +++ b/srcpkgs/pwntools/patches/dont-pollute-sitepackages.patch @@ -0,0 +1,12 @@ +--- setup.py.orig ++++ setup.py +@@ -84,9 +84,6 @@ + python_requires = '>=2.7', + packages = find_packages(), + version = '4.3.0', +- data_files = [('', +- glob.glob('*.md') + glob.glob('*.txt')), +- ], + package_data = { + 'pwnlib': [ + 'data/crcsums.txt', diff --git a/srcpkgs/pwntools/template b/srcpkgs/pwntools/template new file mode 100644 index 00000000000..89f990a2bfb --- /dev/null +++ b/srcpkgs/pwntools/template @@ -0,0 +1,23 @@ +# Template file for 'pwntools' +pkgname=pwntools +version=4.3.0 +revision=1 +build_style=python3-module +make_install_args="--only-use-pwn-command" +hostmakedepends="python3-setuptools" +makedepends="python3-devel" +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=29ad028afccf79a0411e7d37ac1076ddad9db9b1a596034fd8d6d5a76b53c7d8 + +post_install() { + vlicense LICENSE-pwntools.txt +}