X-Git-Url: http://gitweb/?a=blobdiff_plain;ds=sidebyside;f=libcap%2FPkgfile;h=3c5e714970e2c8df270d283b3a2cb4feb01aed38;hb=409d70d3a79af22e7342f5e34094a9584ac4f34e;hp=47f13b01a5ce601b4561ff5ac59815b50438b63a;hpb=27b5fc65996c9ea2943539f1bad958bf5bed3804;p=crossrootfs.git diff --git a/libcap/Pkgfile b/libcap/Pkgfile index 47f13b0..3c5e714 100644 --- a/libcap/Pkgfile +++ b/libcap/Pkgfile @@ -5,17 +5,19 @@ # Depends on: attr name=libcap -version=2.24 -release=1 -source=(https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/$name-$version.tar.xz) +version=2.25 +release=2 +source=(https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/$name-$version.tar.xz + $name-$version-gperf.patch) build () { cd libcap-$version + patch -p1 -i $SRC/$name-$version-gperf.patch 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