[arch-commits] Commit in pax-utils/repos/community-x86_64 (PKGBUILD PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Wed May 23 02:04:55 UTC 2018


    Date: Wednesday, May 23, 2018 @ 02:04:53
  Author: anthraxx
Revision: 327846

archrelease: copy trunk to community-x86_64

Added:
  pax-utils/repos/community-x86_64/PKGBUILD
    (from rev 327845, pax-utils/trunk/PKGBUILD)
Deleted:
  pax-utils/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   81 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 43 insertions(+), 38 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-23 02:04:42 UTC (rev 327845)
+++ PKGBUILD	2018-05-23 02:04:53 UTC (rev 327846)
@@ -1,38 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Timothy Redaelli <timothy.redaelli at gmail.com>
-# Contributor: sh0 <mee at sh0.org>
-# Contributor: Maxwel <msg.maxwel at gmail.com>
-
-pkgname=pax-utils
-pkgver=1.2.3
-pkgrel=2
-pkgdesc='ELF utils that can check files for security relevant properties'
-url='https://wiki.gentoo.org/wiki/Hardened/PaX_Utilities'
-arch=('x86_64')
-license=('GPL2')
-depends=('bash' 'libcap' 'libseccomp' 'python-pyelftools')
-source=(https://dev.gentoo.org/~slyfox/distfiles/${pkgname}-${pkgver}.tar.xz)
-sha256sums=('d231b1a34aea2b9205c24fada79a8251d4c3fbcce49367fc055fe43e4c9783b2')
-sha512sums=('efcbce49aa7e5cd433f9b3fbc8fa82f6d7b0eb80ec40aafde453d6fe96e3565e066e5020f04d71537d8d4e820147f4203c0df2dd330ebb1358a26def3dd5484c')
-
-build() {
-  cd ${pkgname}-${pkgver}
-  ./configure \
-    --prefix=/usr \
-    --with-caps \
-    --with-seccomp \
-    --with-python
-  make
-}
-
-check() {
-  cd ${pkgname}-${pkgver}
-  LD_LIBRARY_PATH=/usr/lib make check
-}
-
-package() {
-  cd ${pkgname}-${pkgver}
-  make DESTDIR="${pkgdir}" install
-}
-
-# vim: ts=2 sw=2 et:

Copied: pax-utils/repos/community-x86_64/PKGBUILD (from rev 327845, pax-utils/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-05-23 02:04:53 UTC (rev 327846)
@@ -0,0 +1,43 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Timothy Redaelli <timothy.redaelli at gmail.com>
+# Contributor: sh0 <mee at sh0.org>
+# Contributor: Maxwel <msg.maxwel at gmail.com>
+
+pkgname=pax-utils
+pkgver=1.2.3
+pkgrel=3
+pkgdesc='ELF utils that can check files for security relevant properties'
+url='https://wiki.gentoo.org/wiki/Hardened/PaX_Utilities'
+arch=('x86_64')
+license=('GPL2')
+depends=('bash' 'libcap' 'libseccomp' 'python-pyelftools')
+source=(https://dev.gentoo.org/~slyfox/distfiles/${pkgname}-${pkgver}.tar.xz)
+sha256sums=('d231b1a34aea2b9205c24fada79a8251d4c3fbcce49367fc055fe43e4c9783b2')
+sha512sums=('efcbce49aa7e5cd433f9b3fbc8fa82f6d7b0eb80ec40aafde453d6fe96e3565e066e5020f04d71537d8d4e820147f4203c0df2dd330ebb1358a26def3dd5484c')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  sed -E 's|(  paths =) \[\]|\1 ["/usr/lib"]|g' -i lddtree.py
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  ./configure \
+    --prefix=/usr \
+    --with-caps \
+    --with-seccomp \
+    --with-python
+  make
+}
+
+check() {
+  cd ${pkgname}-${pkgver}
+  LD_LIBRARY_PATH=/usr/lib make check
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list