summaryrefslogtreecommitdiffstats
path: root/extra/libcap/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libcap/Pkgfile')
-rwxr-xr-xextra/libcap/Pkgfile19
1 files changed, 4 insertions, 15 deletions
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
}