[arch-commits] Commit in ropgadget/repos/community-any (PKGBUILD PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Tue Dec 15 00:08:46 UTC 2020
Date: Tuesday, December 15, 2020 @ 00:08:46
Author: anthraxx
Revision: 775812
archrelease: copy trunk to community-any
Added:
ropgadget/repos/community-any/PKGBUILD
(from rev 775811, ropgadget/trunk/PKGBUILD)
Deleted:
ropgadget/repos/community-any/PKGBUILD
----------+
PKGBUILD | 78 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 40 insertions(+), 38 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-12-15 00:08:42 UTC (rev 775811)
+++ PKGBUILD 2020-12-15 00:08:46 UTC (rev 775812)
@@ -1,38 +0,0 @@
-# Maintainer: Levente Polyak <levente[at]leventepolyak[dot]net>
-# Contributor: s1gma <s1gma at mindslicer.com>
-
-pkgname=ropgadget
-_pkgname=ROPgadget
-pkgver=6.3
-pkgrel=3
-pkgdesc='Search gadgets in binaries to facilitate ROP exploitation for several file formats and architectures'
-url='http://www.shell-storm.org/project/ROPgadget'
-arch=('any')
-license=('GPL2')
-depends=('python-capstone')
-makedepends=('python-setuptools')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/JonathanSalwan/${_pkgname}/archive/v${pkgver}.tar.gz)
-sha512sums=('5c39e3e665d498fb7567060c81d3d48819598cfe92959e08d6d27737beb4b92207cd14a15551dc9f7cb987ec1dbd80089820ea5397793b2013eb2eb4295ea184')
-
-prepare() {
- cd ${_pkgname}-${pkgver}
- sed 's|python2|python|g' -i ropgadget/**/*.py ropgadget/*/*/*.py
-}
-
-build() {
- cd ${_pkgname}-${pkgver}
- python setup.py build
-}
-
-check() {
- cd ${_pkgname}-${pkgver}
- ./ROPgadget.py --binary ./test-suite-binaries/elf-Linux-x86 --string "main"
-}
-
-package() {
- cd ${_pkgname}-${pkgver}
- python setup.py install -O1 --root="${pkgdir}" --prefix=/usr
- install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
-}
-
-# vim:set ts=2 sw=2 et:
Copied: ropgadget/repos/community-any/PKGBUILD (from rev 775811, ropgadget/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-12-15 00:08:46 UTC (rev 775812)
@@ -0,0 +1,40 @@
+# Maintainer: Levente Polyak <levente[at]leventepolyak[dot]net>
+# Contributor: s1gma <s1gma at mindslicer.com>
+
+pkgname=ropgadget
+_pkgname=ROPgadget
+pkgver=6.4
+pkgrel=1
+pkgdesc='Search gadgets in binaries to facilitate ROP exploitation for several file formats and architectures'
+url='http://www.shell-storm.org/project/ROPgadget'
+arch=('any')
+license=('BSD')
+depends=('python' 'python-capstone')
+makedepends=('python-setuptools')
+source=(https://github.com/JonathanSalwan/${_pkgname}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('9b663f5e285272e6d59b5c159b6e4316461f43a6861e3cda8d2c94561bf276e0f6a87abfdeff1ec4c346c9716120608e8c66d060ed75c985e96591d3f0fd667c')
+b2sums=('50ca94e493b58a8ac1845cc70b40d80e80367a1f163e9b25e3be6652274f3df6dae606cebadb1b76ce05bef785850d87576713cc7a78793811c1a86d37c4e4a9')
+
+prepare() {
+ cd ${_pkgname}-${pkgver}
+ sed 's|python2|python|g' -i ropgadget/**/*.py ropgadget/*/*/*.py
+}
+
+build() {
+ cd ${_pkgname}-${pkgver}
+ python setup.py build
+}
+
+check() {
+ cd ${_pkgname}-${pkgver}
+ ./ROPgadget.py --binary ./test-suite-binaries/elf-Linux-x86 --string "main"
+}
+
+package() {
+ cd ${_pkgname}-${pkgver}
+ python setup.py install -O1 --root="${pkgdir}" --prefix=/usr --skip-build
+ install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+ install -Dm 644 LICENSE_BSD.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list