diff options
-rw-r--r-- | extra/libcap/.footprint.x86_64 | 11 | ||||
-rw-r--r-- | extra/libcap/.md5sum.i686 | 4 | ||||
-rw-r--r-- | extra/libcap/.md5sum.x86_64 | 4 | ||||
-rwxr-xr-x | extra/libcap/Pkgfile | 19 |
4 files changed, 13 insertions, 25 deletions
diff --git a/extra/libcap/.footprint.x86_64 b/extra/libcap/.footprint.x86_64 index 7a647809a..de7d66d78 100644 --- a/extra/libcap/.footprint.x86_64 +++ b/extra/libcap/.footprint.x86_64 @@ -5,10 +5,8 @@ drwxr-xr-x root/root usr/include/sys/ drwxr-xr-x root/root usr/lib/ -rw-r--r-- root/root usr/lib/libcap.a lrwxrwxrwx root/root usr/lib/libcap.so -> libcap.so.2 -lrwxrwxrwx root/root usr/lib/libcap.so.2 -> libcap.so.2.16 --rw-r--r-- root/root usr/lib/libcap.so.2.16 -drwxr-xr-x root/root usr/lib/security/ --rwxr-xr-x root/root usr/lib/security/pam_cap.so +lrwxrwxrwx root/root usr/lib/libcap.so.2 -> libcap.so.2.20 +-rw-r--r-- root/root usr/lib/libcap.so.2.20 drwxr-xr-x root/root usr/sbin/ -rwxr-xr-x root/root usr/sbin/capsh -rwxr-xr-x root/root usr/sbin/getcap @@ -16,6 +14,8 @@ drwxr-xr-x root/root usr/sbin/ -rwxr-xr-x root/root usr/sbin/setcap drwxr-xr-x root/root usr/share/ drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man1/ +-rw-r--r-- root/root usr/share/man/man1/capsh.1.gz drwxr-xr-x root/root usr/share/man/man3/ -rw-r--r-- root/root usr/share/man/man3/cap_clear.3.gz -rw-r--r-- root/root usr/share/man/man3/cap_clear_flag.3.gz @@ -42,3 +42,6 @@ drwxr-xr-x root/root usr/share/man/man3/ -rw-r--r-- root/root usr/share/man/man3/capgetp.3.gz -rw-r--r-- root/root usr/share/man/man3/capsetp.3.gz -rw-r--r-- root/root usr/share/man/man3/libcap.3.gz +drwxr-xr-x root/root usr/share/man/man8/ +-rw-r--r-- root/root usr/share/man/man8/getcap.8.gz +-rw-r--r-- root/root usr/share/man/man8/setcap.8.gz diff --git a/extra/libcap/.md5sum.i686 b/extra/libcap/.md5sum.i686 index 5889729c6..e56105aa3 100644 --- a/extra/libcap/.md5sum.i686 +++ b/extra/libcap/.md5sum.i686 @@ -1,3 +1 @@ -7327a51597db092d7549310b670b5366 libcap-2.16-drop-linux-workarounds.patch -0d1cee9631768d29b43f450832668687 libcap-2.16-makefile.patch -6e2c9d0f3c3118e41cd07288ba9577ce libcap-2.16.tar.bz2 +10e47ed32ca2214eb0e58780282d27b4 libcap-2.20.tar.bz2 diff --git a/extra/libcap/.md5sum.x86_64 b/extra/libcap/.md5sum.x86_64 index 5889729c6..e56105aa3 100644 --- a/extra/libcap/.md5sum.x86_64 +++ b/extra/libcap/.md5sum.x86_64 @@ -1,3 +1 @@ -7327a51597db092d7549310b670b5366 libcap-2.16-drop-linux-workarounds.patch -0d1cee9631768d29b43f450832668687 libcap-2.16-makefile.patch -6e2c9d0f3c3118e41cd07288ba9577ce libcap-2.16.tar.bz2 +10e47ed32ca2214eb0e58780282d27b4 libcap-2.20.tar.bz2 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 } |