aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcommunity/libcap/build19
-rw-r--r--community/libcap/checksums2
-rw-r--r--community/libcap/meta3
-rw-r--r--community/libcap/sources1
-rw-r--r--community/libcap/version1
5 files changed, 26 insertions, 0 deletions
diff --git a/community/libcap/build b/community/libcap/build
new file mode 100755
index 00000000..c35c2254
--- /dev/null
+++ b/community/libcap/build
@@ -0,0 +1,19 @@
+#!/bin/sh -e
+
+sed -i '45d;46d' progs/Makefile
+
+mk() {
+ make \
+ GOLANG=no \
+ PREFIX=/usr \
+ SBINDIR=/usr/bin \
+ LIBDIR=/usr/lib \
+ PKGCONFIGDIR=/usr/lib/pkgconfig \
+ RAISE_SETFCAP=no \
+ INDENT=" " \
+ PAM_CAP=no \
+ "$@"
+}
+
+mk
+mk DESTDIR="$1" install
diff --git a/community/libcap/checksums b/community/libcap/checksums
new file mode 100644
index 00000000..5f7209ae
--- /dev/null
+++ b/community/libcap/checksums
@@ -0,0 +1,2 @@
+%BLAKE3
+25359d392424769d77af0311e5c4d5f7a259f5f2b976c7a61c2e54bc015eca31 libcap-2.65.tar.xz
diff --git a/community/libcap/meta b/community/libcap/meta
new file mode 100644
index 00000000..64988e9d
--- /dev/null
+++ b/community/libcap/meta
@@ -0,0 +1,3 @@
+description: POSIX.1e capabilities suite
+license: GPL-2.0-only
+maintainer: Cem Keylan <cem@carbslinux.org>
diff --git a/community/libcap/sources b/community/libcap/sources
new file mode 100644
index 00000000..b08a7253
--- /dev/null
+++ b/community/libcap/sources
@@ -0,0 +1 @@
+https://kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-2.65.tar.xz
diff --git a/community/libcap/version b/community/libcap/version
new file mode 100644
index 00000000..908e447d
--- /dev/null
+++ b/community/libcap/version
@@ -0,0 +1 @@
+2.65 1