[arch-commits] Commit in libcap/repos (4 files)

Allan McRae allan at nymeria.archlinux.org
Sun Dec 29 08:15:38 UTC 2013


    Date: Sunday, December 29, 2013 @ 09:15:38
  Author: allan
Revision: 202958

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  libcap/repos/testing-i686/
  libcap/repos/testing-i686/PKGBUILD
    (from rev 202957, libcap/trunk/PKGBUILD)
  libcap/repos/testing-x86_64/
  libcap/repos/testing-x86_64/PKGBUILD
    (from rev 202957, libcap/trunk/PKGBUILD)

-------------------------+
 testing-i686/PKGBUILD   |   35 +++++++++++++++++++++++++++++++++++
 testing-x86_64/PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 2 files changed, 70 insertions(+)

Copied: libcap/repos/testing-i686/PKGBUILD (from rev 202957, libcap/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2013-12-29 08:15:38 UTC (rev 202958)
@@ -0,0 +1,35 @@
+#$Id$
+# Maintainer: Allan McRae <allan at archlinux.org>
+# Contributor: Hugo Doria <hugo at archlinux.org>
+
+pkgname=libcap
+pkgver=2.23
+pkgrel=1
+pkgdesc="POSIX 1003.1e capabilities"
+arch=('i686' 'x86_64')
+url="http://sites.google.com/site/fullycapable/"
+license=('GPL2')
+depends=('glibc' 'attr')
+options=('!staticlibs')
+source=(https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-2.23.tar.xz)
+md5sums=('09a185e4b0aa8a81a51c1e4d0eba7db0')
+
+prepare() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  # install into /usr/bin
+  sed -i "/SBINDIR/s#sbin#bin#" Make.Rules
+}
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make prefix=/usr lib=/lib DESTDIR=${pkgdir} RAISE_SETFCAP=no install
+  
+  install -Dm644 pam_cap/capability.conf \
+    $pkgdir/usr/share/doc/$pkgname/capability.conf.example
+}

Copied: libcap/repos/testing-x86_64/PKGBUILD (from rev 202957, libcap/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2013-12-29 08:15:38 UTC (rev 202958)
@@ -0,0 +1,35 @@
+#$Id$
+# Maintainer: Allan McRae <allan at archlinux.org>
+# Contributor: Hugo Doria <hugo at archlinux.org>
+
+pkgname=libcap
+pkgver=2.23
+pkgrel=1
+pkgdesc="POSIX 1003.1e capabilities"
+arch=('i686' 'x86_64')
+url="http://sites.google.com/site/fullycapable/"
+license=('GPL2')
+depends=('glibc' 'attr')
+options=('!staticlibs')
+source=(https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-2.23.tar.xz)
+md5sums=('09a185e4b0aa8a81a51c1e4d0eba7db0')
+
+prepare() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  # install into /usr/bin
+  sed -i "/SBINDIR/s#sbin#bin#" Make.Rules
+}
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make prefix=/usr lib=/lib DESTDIR=${pkgdir} RAISE_SETFCAP=no install
+  
+  install -Dm644 pam_cap/capability.conf \
+    $pkgdir/usr/share/doc/$pkgname/capability.conf.example
+}




More information about the arch-commits mailing list