X-Git-Url: http://gitweb/?a=blobdiff_plain;f=libcap%2FPkgfile;h=8a1037f18d13631815fe1d1fa8e6981793e0f966;hb=06861c379b05ee1cde8eb3197d2f3d37c03147c6;hp=bd68b1d68fdb85c8d924460b6fd8ea2120b74f7f;hpb=c8a7de8ec63d281d0150b3b8f440eabf4e64fc27;p=crossrootfs.git diff --git a/libcap/Pkgfile b/libcap/Pkgfile index bd68b1d..8a1037f 100644 --- a/libcap/Pkgfile +++ b/libcap/Pkgfile @@ -5,17 +5,17 @@ # Depends on: attr name=libcap -version=2.22 -release=1 -source=(http://crux.s3.amazonaws.com/dist/libcap-$version.tar.bz2) +version=2.24 +release=2 +source=(https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/$name-$version.tar.xz) build () { cd libcap-$version sed -i "/^CFLAGS/s/-O2/$CFLAGS/" Make.Rules - make CC="$CC" BUILD_CC="gcc" BUILD_CFLAGS="-O2 -pipe" - make RAISE_SETFCAP=no DESTDIR=$PKG man_prefix=/usr install + make CC="$CC" BUILD_CC="gcc" BUILD_CFLAGS="-O2 -pipe" PAM_CAP=no + make RAISE_SETFCAP=no PAM_CAP=no DESTDIR=$PKG man_prefix=/usr/share install install -d $PKG/usr/lib mv $PKG/lib/libcap.a $PKG/usr/lib