From 94ed6c971085d22c2a544227879b672266b4af90 Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Sat, 4 Jan 2014 03:38:30 +0000 Subject: Sat Jan 4 03:36:23 UTC 2014 --- core/libcap/PKGBUILD | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'core/libcap/PKGBUILD') diff --git a/core/libcap/PKGBUILD b/core/libcap/PKGBUILD index bf3e12c95..e12d59559 100644 --- a/core/libcap/PKGBUILD +++ b/core/libcap/PKGBUILD @@ -1,25 +1,31 @@ -#$Id: PKGBUILD 185557 2013-05-15 05:24:44Z allan $ +#$Id: PKGBUILD 203064 2014-01-03 09:18:41Z allan $ # Maintainer: Allan McRae # Contributor: Hugo Doria pkgname=libcap -pkgver=2.22 -pkgrel=5 +pkgver=2.23 +pkgrel=2 pkgdesc="POSIX 1003.1e capabilities" arch=('i686' 'x86_64') url="http://sites.google.com/site/fullycapable/" license=('GPL2') depends=('glibc' 'attr') options=('!staticlibs') -source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.asc}) -md5sums=('b4896816b626bea445f0b3849bdd4077' - '9d0983e25e5a251d098507f9561d2b27') +source=(https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-2.23.tar.xz + libcap-2.23-header.patch) +md5sums=('09a185e4b0aa8a81a51c1e4d0eba7db0' + '945984c4bf5e601c24a7c80f001fb2c6') prepare() { cd ${srcdir}/${pkgname}-${pkgver} # install into /usr/bin sed -i "/SBINDIR/s#sbin#bin#" Make.Rules + + # fix header path issues + patch -p1 -i $srcdir/libcap-2.23-header.patch + # and fix the build with that patch + sed -i "s#uapi/##" libcap/Makefile } build() { -- cgit v1.2.3-54-g00ecf