aboutsummaryrefslogtreecommitdiff
path: root/community
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2022-08-31 11:01:43 +0300
committerCem Keylan <cem@ckyln.com>2022-08-31 11:01:43 +0300
commit8a36156e4faf454c4b500876ad369ac983c035fd (patch)
treecbf8d0c9ea33120f51da067921e68df1c2c749f4 /community
parent45460460df94ddc5d6583c6687e72f186fe2128e (diff)
downloadrepository-8a36156e4faf454c4b500876ad369ac983c035fd.tar.gz
libcap: add new package at 2.65
Diffstat (limited to 'community')
-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