Date: Tuesday, February 2, 2016 @ 22:25:20 Author: anatolik Revision: 258819
archrelease: copy trunk to testing-i686, testing-x86_64 Added: libcap/repos/testing-i686/ libcap/repos/testing-i686/PKGBUILD (from rev 258818, libcap/trunk/PKGBUILD) libcap/repos/testing-x86_64/ libcap/repos/testing-x86_64/PKGBUILD (from rev 258818, libcap/trunk/PKGBUILD) -------------------------+ testing-i686/PKGBUILD | 33 +++++++++++++++++++++++++++++++++ testing-x86_64/PKGBUILD | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) Copied: libcap/repos/testing-i686/PKGBUILD (from rev 258818, libcap/trunk/PKGBUILD) =================================================================== --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2016-02-02 21:25:20 UTC (rev 258819) @@ -0,0 +1,33 @@ +#$Id$ +# Maintainer: Bartłomiej Piotrowski <bpiotrow...@archlinux.org> +# Contributor: Allan McRae <al...@archlinux.org> +# Contributor: Hugo Doria <h...@archlinux.org> + +pkgname=libcap +pkgver=2.25 +pkgrel=1 +pkgdesc='POSIX 1003.1e capabilities' +arch=('i686' 'x86_64') +url='http://sites.google.com/site/fullycapable/' +license=('GPL2') +depends=('glibc' 'attr') +makedepends=('linux-api-headers') +source=(https://kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-$pkgver.tar.xz) +md5sums=('6666b839e5d46c2ad33fc8aa2ceb5f77') + +prepare() { + cd $pkgname-$pkgver + sed -i "/SBINDIR/s#sbin#bin#" Make.Rules +} + +build() { + make -C $pkgname-$pkgver KERNEL_HEADERS=/usr/include +} + +package() { + cd $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 258818, libcap/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2016-02-02 21:25:20 UTC (rev 258819) @@ -0,0 +1,33 @@ +#$Id$ +# Maintainer: Bartłomiej Piotrowski <bpiotrow...@archlinux.org> +# Contributor: Allan McRae <al...@archlinux.org> +# Contributor: Hugo Doria <h...@archlinux.org> + +pkgname=libcap +pkgver=2.25 +pkgrel=1 +pkgdesc='POSIX 1003.1e capabilities' +arch=('i686' 'x86_64') +url='http://sites.google.com/site/fullycapable/' +license=('GPL2') +depends=('glibc' 'attr') +makedepends=('linux-api-headers') +source=(https://kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-$pkgver.tar.xz) +md5sums=('6666b839e5d46c2ad33fc8aa2ceb5f77') + +prepare() { + cd $pkgname-$pkgver + sed -i "/SBINDIR/s#sbin#bin#" Make.Rules +} + +build() { + make -C $pkgname-$pkgver KERNEL_HEADERS=/usr/include +} + +package() { + cd $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 +}