From 4c0c61b3b8be3b7d2476c0512adb6eab360c5b8f Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Thu, 14 Jun 2018 04:21:52 +0000 Subject: [PATCH] libcap: updated to 2.25 --- libcap/.md5sum | 1 + libcap/Pkgfile | 8 +++++--- 2 files changed, 6 insertions(+), 3 deletions(-) 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 -- 2.26.2