[crux-commits] ports/core (3.5): libcap: fix dependency bug in libcap/Makefile

crux at crux.nu crux at crux.nu
Sun Aug 16 11:03:24 UTC 2020


commit 2fc7cdc4cfae6095a8be8d84f19a65bb9a1d08cc
Author: Juergen Daubert <jue at jue.li>
Date:   Sun Aug 16 13:03:07 2020 +0200

    libcap: fix dependency bug in libcap/Makefile

diff --git a/libcap/.signature b/libcap/.signature
index 9f8df902..18c31ef4 100644
--- a/libcap/.signature
+++ b/libcap/.signature
@@ -1,5 +1,5 @@
 untrusted comment: verify with /etc/ports/core.pub
-RWRJc1FUaeVeqi8ZNBuyRiHIagPOuSH8+apdyiB2inYOQiMspvErR4Z0KImgu1n9oXnaX8aAhRZsN6c2YSDo4IrKyA3XLErrEwI=
-SHA256 (Pkgfile) = 767226b71d358b94534d511f376fdf198951978efd4c4ddc506f6e2c334df8d5
+RWRJc1FUaeVeqiWY1CWeSpT1VfD5qSSJ8/Dyo+K/vpd6fWVSnaH21HQCatM11decvNpX/ayUzOUS75Bb8KU7fjRwfB2nZYR2sQo=
+SHA256 (Pkgfile) = e6952755a4bcae0175cd2e33f8e64936478315c49c82738f200d1ddf2beda129
 SHA256 (.footprint) = 94200a4b9b5eea2071e5da8d96aebeb6cc93ca8acda37e074bdc4b39b862e780
 SHA256 (libcap-2.42.tar.xz) = 3605a9cb60076547ea9f64989e0ba576da9508e4653e8dc40ae54c0d6f443dfd
diff --git a/libcap/Pkgfile b/libcap/Pkgfile
index c56eed45..5afd4543 100644
--- a/libcap/Pkgfile
+++ b/libcap/Pkgfile
@@ -5,13 +5,15 @@
 
 name=libcap
 version=2.42
-release=1
+release=2
 source=(https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/$name-$version.tar.xz)
 
 build () {
 	cd $name-$version
 
 	sed -i "/^CFLAGS/s/-O2/$CFLAGS/" Make.Rules 
+	sed -i "/^install:/c\
+		install: install-static install-shared" libcap/Makefile
 
 	make install \
 		GOLANG=no \


More information about the crux-commits mailing list