CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
libcap: updated to 2.25
authorVictor Martinez <pitillo@ono.com>
Thu, 14 Jun 2018 04:21:52 +0000 (04:21 +0000)
committerVictor Martinez <pitillo@ono.com>
Thu, 14 Jun 2018 04:21:52 +0000 (04:21 +0000)
libcap/.md5sum
libcap/Pkgfile

index 457b8d3c533b41a6889e1494b9e6cb67dda31f94..86ef8c86d8f5f4177fd9604854d42b3860060b9f 100644 (file)
@@ -1 +1,2 @@
+82ae7790afc71abb2241d9ae3deea713  libcap-2.25-gperf.patch
 6666b839e5d46c2ad33fc8aa2ceb5f77  libcap-2.25.tar.xz
index d079f14df28981d48c91cf3289fa69d0acf0cbcb..2b96e59e5dfc21081dffe4af14efaee21cfa582c 100644 (file)
@@ -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