[arch-commits] Commit in ropper/repos/community-any (PKGBUILD PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Thu Oct 3 23:17:01 UTC 2019
Date: Thursday, October 3, 2019 @ 23:17:00
Author: anthraxx
Revision: 512606
archrelease: copy trunk to community-any
Added:
ropper/repos/community-any/PKGBUILD
(from rev 512605, ropper/trunk/PKGBUILD)
Deleted:
ropper/repos/community-any/PKGBUILD
----------+
PKGBUILD | 134 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 67 insertions(+), 67 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-03 23:16:55 UTC (rev 512605)
+++ PKGBUILD 2019-10-03 23:17:00 UTC (rev 512606)
@@ -1,67 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-
-pkgbase=ropper
-pkgname=('ropper' 'python-ropper' 'python2-ropper')
-_pkgname=Ropper
-pkgver=1.11.11
-pkgrel=1
-pkgdesc='Show information about binary files and find gadgets to build rop chains for different architectures'
-url='https://github.com/sashs/Ropper'
-arch=('any')
-license=('GPL2')
-makedepends=('python-setuptools' 'python-capstone' 'python-filebytes'
- 'python2-setuptools' 'python2-capstone' 'python2-filebytes')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/sashs/${_pkgname}/archive/v${pkgver}.tar.gz)
-sha512sums=('eb02c46e9f6f59d92e3515605fb425656d0e276be7a9bf795fb644a845a75f3504d2712f7995d7a91e10b39bcebc3649d3e7d37d2133b00fad3f9bfe70a31326')
-
-prepare() {
- cp -ra ${_pkgname}-${pkgver}{,-py2}
- sed -r 's|(env python)|\12|' -i ${_pkgname}-${pkgver}-py2/sample.py
-}
-
-build() {
- (cd ${_pkgname}-${pkgver}
- python setup.py build
- )
- (cd ${_pkgname}-${pkgver}-py2
- python2 setup.py build
- )
-}
-
-check() {
- (cd ${_pkgname}-${pkgver}
- python test.py
- )
- (cd ${_pkgname}-${pkgver}-py2
- python2 test.py
- )
-}
-
-package_ropper() {
- depends=('python' "python-ropper>=${pkgver}")
- optdepends=('python-keystone: assemble command support')
- cd ${_pkgname}-${pkgver}
- python setup.py install -O1 --root="${pkgdir}" --skip-build
- install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
- rm -r "${pkgdir}/usr/lib"
-}
-
-package_python-ropper() {
- depends=('python-capstone' 'python-filebytes')
- optdepends=('python-keystone: assemble command support')
- cd ${_pkgname}-${pkgver}
- python setup.py install -O1 --root="${pkgdir}" --skip-build
- install -Dm 644 README.md sample.py -t "${pkgdir}/usr/share/doc/${pkgname}"
- rm -r "${pkgdir}/usr/bin"
-}
-
-package_python2-ropper() {
- depends=('python2-capstone' 'python2-filebytes')
- optdepends=('python2-keystone: assemble command support')
- cd ${_pkgname}-${pkgver}-py2
- python2 setup.py install -O1 --root="${pkgdir}" --skip-build
- install -Dm 644 README.md sample.py -t "${pkgdir}/usr/share/doc/${pkgname}"
- rm -r "${pkgdir}/usr/bin"
-}
-
-# vim: ts=2 sw=2 et:
Copied: ropper/repos/community-any/PKGBUILD (from rev 512605, ropper/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-03 23:17:00 UTC (rev 512606)
@@ -0,0 +1,67 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgbase=ropper
+pkgname=('ropper' 'python-ropper' 'python2-ropper')
+_pkgname=Ropper
+pkgver=1.12.5
+pkgrel=1
+pkgdesc='Show information about binary files and find gadgets to build rop chains for different architectures'
+url='https://github.com/sashs/Ropper'
+arch=('any')
+license=('GPL2')
+makedepends=('python-setuptools' 'python-capstone' 'python-filebytes'
+ 'python2-setuptools' 'python2-capstone' 'python2-filebytes')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/sashs/${_pkgname}/archive/v${pkgver}.tar.gz)
+sha512sums=('d5afe158e16569a8bd7ec634f0666a8af2f057a72d0a0d0b974b72b3e44a7f826ebaa46b83a0c2c7bcc2a52b660f2f7cc94ecc54562be08d06079cb57e16ca41')
+
+prepare() {
+ cp -ra ${_pkgname}-${pkgver}{,-py2}
+ sed -r 's|(env python)|\12|' -i ${_pkgname}-${pkgver}-py2/sample.py
+}
+
+build() {
+ (cd ${_pkgname}-${pkgver}
+ python setup.py build
+ )
+ (cd ${_pkgname}-${pkgver}-py2
+ python2 setup.py build
+ )
+}
+
+check() {
+ (cd ${_pkgname}-${pkgver}
+ python test.py
+ )
+ (cd ${_pkgname}-${pkgver}-py2
+ python2 test.py
+ )
+}
+
+package_ropper() {
+ depends=('python' "python-ropper>=${pkgver}")
+ optdepends=('python-keystone: assemble command support')
+ cd ${_pkgname}-${pkgver}
+ python setup.py install -O1 --root="${pkgdir}" --skip-build
+ install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+ rm -r "${pkgdir}/usr/lib"
+}
+
+package_python-ropper() {
+ depends=('python-capstone' 'python-filebytes')
+ optdepends=('python-keystone: assemble command support')
+ cd ${_pkgname}-${pkgver}
+ python setup.py install -O1 --root="${pkgdir}" --skip-build
+ install -Dm 644 README.md sample.py -t "${pkgdir}/usr/share/doc/${pkgname}"
+ rm -r "${pkgdir}/usr/bin"
+}
+
+package_python2-ropper() {
+ depends=('python2-capstone' 'python2-filebytes')
+ optdepends=('python2-keystone: assemble command support')
+ cd ${_pkgname}-${pkgver}-py2
+ python2 setup.py install -O1 --root="${pkgdir}" --skip-build
+ install -Dm 644 README.md sample.py -t "${pkgdir}/usr/share/doc/${pkgname}"
+ rm -r "${pkgdir}/usr/bin"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list