Date: Sunday, August 9, 2020 @ 17:04:35 Author: bpiotrowski Revision: 393466
archrelease: copy trunk to testing-x86_64 Added: libcap/repos/testing-x86_64/PKGBUILD (from rev 393465, libcap/trunk/PKGBUILD) Deleted: libcap/repos/testing-x86_64/PKGBUILD ----------+ PKGBUILD | 94 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 47 insertions(+), 47 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-08-09 17:04:21 UTC (rev 393465) +++ PKGBUILD 2020-08-09 17:04:35 UTC (rev 393466) @@ -1,47 +0,0 @@ -# Maintainer: Bartłomiej Piotrowski <bpiotrow...@archlinux.org> -# Contributor: Allan McRae <al...@archlinux.org> -# Contributor: Hugo Doria <h...@archlinux.org> - -pkgname=libcap -pkgver=2.39 -pkgrel=1 -pkgdesc='POSIX 1003.1e capabilities' -arch=(x86_64) -url='https://sites.google.com/site/fullycapable/' -license=(GPL2) -depends=(glibc attr) -makedepends=(linux-api-headers) -provides=(libcap.so) -source=(https://kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-$pkgver.tar.{xz,sign}) -sha512sums=('82cd81d67ec439a6051eaa4c20ff302bb5a667c585eada837605b122dc04d8fe6b4c619e7373af2423f3b0f4ab2258147fff309001a8f483e185b7e6578e1f98' - 'SKIP') -validpgpkeys=(38A644698C69787344E954CE29EE848AE2CCF3F4) # Andrew G. Morgan <mor...@kernel.org> - -prepare() { - cd $pkgname-$pkgver - sed -i "/SBINDIR/s#sbin#bin#" Make.Rules - - # use our buildflags - sed -i "s/CFLAGS :=/CFLAGS += \$(CPPFLAGS) /" Make.Rules - sed -i "s/LDFLAGS :=/LDFLAGS +=/" Make.Rules -} - -_makeargs=( - KERNEL_HEADERS=/usr/include - RAISE_SETFCAP=no - SBINDIR=/usr/bin - lib=lib - prefix=/usr -) - -build() { - make -C $pkgname-$pkgver "${_makeargs[@]}" -} - -package() { - cd $pkgname-$pkgver - make DESTDIR="$pkgdir" "${_makeargs[@]}" install - - install -Dm644 pam_cap/capability.conf \ - "$pkgdir"/usr/share/doc/$pkgname/capability.conf.example -} Copied: libcap/repos/testing-x86_64/PKGBUILD (from rev 393465, libcap/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-08-09 17:04:35 UTC (rev 393466) @@ -0,0 +1,47 @@ +# Maintainer: Bartłomiej Piotrowski <bpiotrow...@archlinux.org> +# Contributor: Allan McRae <al...@archlinux.org> +# Contributor: Hugo Doria <h...@archlinux.org> + +pkgname=libcap +pkgver=2.42 +pkgrel=1 +pkgdesc='POSIX 1003.1e capabilities' +arch=(x86_64) +url='https://sites.google.com/site/fullycapable/' +license=(GPL2) +depends=(glibc attr) +makedepends=(linux-api-headers) +provides=(libcap.so) +source=(https://kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-$pkgver.tar.{xz,sign}) +validpgpkeys=(38A644698C69787344E954CE29EE848AE2CCF3F4) # Andrew G. Morgan <mor...@kernel.org> +sha256sums=('3605a9cb60076547ea9f64989e0ba576da9508e4653e8dc40ae54c0d6f443dfd' + 'SKIP') + +prepare() { + cd $pkgname-$pkgver + sed -i "/SBINDIR/s#sbin#bin#" Make.Rules + + # use our buildflags + sed -i "s/CFLAGS :=/CFLAGS += \$(CPPFLAGS) /" Make.Rules + sed -i "s/LDFLAGS :=/LDFLAGS +=/" Make.Rules +} + +_makeargs=( + KERNEL_HEADERS=/usr/include + RAISE_SETFCAP=no + SBINDIR=/usr/bin + lib=lib + prefix=/usr +) + +build() { + make -C $pkgname-$pkgver "${_makeargs[@]}" +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" "${_makeargs[@]}" install + + install -Dm644 pam_cap/capability.conf \ + "$pkgdir"/usr/share/doc/$pkgname/capability.conf.example +}