[arch-commits] Commit in ropper/repos/community-any (PKGBUILD PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Thu Feb 8 12:14:31 UTC 2018


    Date: Thursday, February 8, 2018 @ 12:14:30
  Author: anthraxx
Revision: 290272

archrelease: copy trunk to community-any

Added:
  ropper/repos/community-any/PKGBUILD
    (from rev 290271, ropper/trunk/PKGBUILD)
Deleted:
  ropper/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  135 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 67 insertions(+), 68 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-02-08 12:14:23 UTC (rev 290271)
+++ PKGBUILD	2018-02-08 12:14:30 UTC (rev 290272)
@@ -1,68 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-
-pkgbase=ropper
-pkgname=('ropper' 'python-ropper' 'python2-ropper')
-_pkgname=Ropper
-pkgver=1.11.4
-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=('296f1d166070bdfef031ced271d5d7c0f962b4f2c0df111b5fc18adadc2c34365658c09fe7abc5e359fed075c00171c86e3e9927442f36c7339c9a4853396167')
-
-prepare() {
-  echo "        pass" >> ${_pkgname}-${pkgver}/ropper/parser.py
-  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 "${pkgdir}/usr/share/doc/${pkgname}/README.md"
-  rm -r "${pkgdir}/usr/lib" "${pkgdir}/usr/bin/ropper2"
-}
-
-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 290271, ropper/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-02-08 12:14:30 UTC (rev 290272)
@@ -0,0 +1,67 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgbase=ropper
+pkgname=('ropper' 'python-ropper' 'python2-ropper')
+_pkgname=Ropper
+pkgver=1.11.6
+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=('3609aaa60650c48602a48a2f83702b41227fa749cbfcfd76a2dd880900a69b9fc75208fa875eb262766c66c67727046a0687670cfbd203f77c806facd5fa59e8')
+
+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" "${pkgdir}/usr/bin/ropper2"
+}
+
+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