From 05afd87b231fd16f7aa0cfbbe9fdedda751e2b5f Mon Sep 17 00:00:00 2001 From: tnut Date: Sun, 27 Feb 2011 19:41:47 +0100 Subject: libcap, maj 2.20-1 --- extra/libcap/Pkgfile | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) (limited to 'extra/libcap/Pkgfile') diff --git a/extra/libcap/Pkgfile b/extra/libcap/Pkgfile index 686d8a0a0..590893ac2 100755 --- a/extra/libcap/Pkgfile +++ b/extra/libcap/Pkgfile @@ -2,28 +2,17 @@ # URL: http://www.kernel.org/pub/linux/libs/security/linux-privs/ # Maintainer: NuTyX core team # Packager: thierryn1 at hispeed dot ch -# Depends on: libattr, linux-pam +# Depends on: libattr # Run on: libattr name=libcap -version=2.16 +version=2.20 release=1 -source=(http://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-$version.tar.bz2\ - http://nutyx.meticul.eu/files/patchs/$name/{$name-$version-makefile.patch,$name-$version-drop-linux-workarounds.patch}) +source=(http://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-$version.tar.bz2) build() { cd $name-$version - patch -p0 -i $SRC/$name-$version-makefile.patch - patch -p0 -i $SRC/$name-$version-drop-linux-workarounds.patch make - make \ - INCDIR=$PKG/usr/include \ - LIBDIR=$PKG/usr/lib \ - SBINDIR=$PKG/usr/sbin \ - MANDIR=$PKG/usr/share/man install - - # man8 is empty, cap{set,get}(2) come from core/man-pages - rm -rf $PKG/usr/share/man/man{2,8} - + make prefix=/usr DESTDIR=$PKG LIBDIR=$PKG/usr/lib RAISE_SETFCAP=no install } -- cgit v1.2.3-70-g09d2