From: Victor Martinez Date: Thu, 14 Jun 2018 04:21:52 +0000 (+0000) Subject: libcap: updated to 2.25 X-Git-Url: http://gitweb/?a=commitdiff_plain;h=4c0c61b3b8be3b7d2476c0512adb6eab360c5b8f;p=crossrootfs.git libcap: updated to 2.25 --- diff --git a/libcap/.md5sum b/libcap/.md5sum index 457b8d3..86ef8c8 100644 --- a/libcap/.md5sum +++ b/libcap/.md5sum @@ -1 +1,2 @@ +82ae7790afc71abb2241d9ae3deea713 libcap-2.25-gperf.patch 6666b839e5d46c2ad33fc8aa2ceb5f77 libcap-2.25.tar.xz diff --git a/libcap/Pkgfile b/libcap/Pkgfile index d079f14..2b96e59 100644 --- a/libcap/Pkgfile +++ b/libcap/Pkgfile @@ -6,12 +6,14 @@ name=libcap version=2.25 -release=1 -source=(https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/$name-$version.tar.xz) +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 + cd $name-$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" PAM_CAP=no