summaryrefslogtreecommitdiff
path: root/core/libcap2
diff options
context:
space:
mode:
Diffstat (limited to 'core/libcap2')
-rw-r--r--core/libcap2/.footprint108
-rw-r--r--core/libcap2/.signature6
-rw-r--r--core/libcap2/MAKEPKG52
3 files changed, 166 insertions, 0 deletions
diff --git a/core/libcap2/.footprint b/core/libcap2/.footprint
new file mode 100644
index 0000000..bee319d
--- /dev/null
+++ b/core/libcap2/.footprint
@@ -0,0 +1,108 @@
+drwxr-xr-x root/root include/
+drwxr-xr-x root/root include/sys/
+-rw-r--r-- root/root include/sys/capability.h
+-rw-r--r-- root/root include/sys/psx_syscall.h
+drwxr-xr-x root/root lib/
+-rwxr-xr-x root/root lib/libcap.so.2.78
+-rwxr-xr-x root/root lib/libpsx.so.2.78
+lrwxrwxrwx root/root lib/libcap.so -> libcap.so.2
+lrwxrwxrwx root/root lib/libcap.so.2 -> libcap.so.2.78
+lrwxrwxrwx root/root lib/libpsx.so -> libpsx.so.2
+lrwxrwxrwx root/root lib/libpsx.so.2 -> libpsx.so.2.78
+drwxr-xr-x root/root lib/pkgconfig/
+-rw-r--r-- root/root lib/pkgconfig/libcap.pc
+-rw-r--r-- root/root lib/pkgconfig/libpsx.pc
+drwxr-xr-x root/root sbin/
+-rwxr-xr-x root/root sbin/capsh
+-rwxr-xr-x root/root sbin/getcap
+-rwxr-xr-x root/root sbin/getpcaps
+-rwxr-xr-x root/root sbin/setcap
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man1/
+-rw-r--r-- root/root usr/share/man/man1/capsh.1.gz
+drwxr-xr-x root/root usr/share/man/man3/
+-rw-r--r-- root/root usr/share/man/man3/__psx_syscall.3.gz
+-rw-r--r-- root/root usr/share/man/man3/cap_clear.3.gz
+-rw-r--r-- root/root usr/share/man/man3/cap_clear_flag.3.gz
+-rw-r--r-- root/root usr/share/man/man3/cap_compare.3.gz
+-rw-r--r-- root/root usr/share/man/man3/cap_copy_ext.3.gz
+-rw-r--r-- root/root usr/share/man/man3/cap_copy_int.3.gz
+-rw-r--r-- root/root usr/share/man/man3/cap_copy_int_check.3.gz
+-rw-r--r-- root/root usr/share/man/man3/cap_drop_bound.3.gz
+-rw-r--r-- root/root usr/share/man/man3/cap_dup.3.gz
+-rw-r--r-- root/root usr/share/man/man3/cap_fill.3.gz
+-rw-r--r-- root/root usr/share/man/man3/cap_fill_flag.3.gz
+-rw-r--r-- root/root usr/share/man/man3/cap_free.3.gz
+-rw-r--r-- root/root usr/share/man/man3/cap_from_name.3.gz
+-rw-r--r-- root/root usr/share/man/man3/cap_from_text.3.gz
+-rw-r--r-- root/root usr/share/man/man3/cap_func_launcher.3.gz
+-rw-r--r-- root/root usr/share/man/man3/cap_get_bound.3.gz
+-rw-r--r-- root/root usr/share/man/man3/cap_get_fd.3.gz
+-rw-r--r-- root/root usr/share/man/man3/cap_get_file.3.gz
+-rw-r--r-- root/root usr/share/man/man3/cap_get_flag.3.gz
+-rw-r--r-- root/root usr/share/man/man3/cap_get_mode.3.gz
+-rw-r--r-- root/root usr/share/man/man3/cap_get_nsowner.3.gz
+-rw-r--r-- root/root usr/share/man/man3/cap_get_pid.3.gz
+-rw-r--r-- root/root usr/share/man/man3/cap_get_proc.3.gz
+-rw-r--r-- root/root usr/share/man/man3/cap_get_secbits.3.gz
+-rw-r--r-- root/root usr/share/man/man3/cap_iab.3.gz
+-rw-r--r-- root/root usr/share/man/man3/cap_iab_compare.3.gz
+-rw-r--r-- root/root usr/share/man/man3/cap_iab_dup.3.gz
+-rw-r--r-- root/root usr/share/man/man3/cap_iab_fill.3.gz
+-rw-r--r-- root/root usr/share/man/man3/cap_iab_from_text.3.gz
+-rw-r--r-- root/root usr/share/man/man3/cap_iab_get_pid.3.gz
+-rw-r--r-- root/root usr/share/man/man3/cap_iab_get_proc.3.gz
+-rw-r--r-- root/root usr/share/man/man3/cap_iab_get_vector.3.gz
+-rw-r--r-- root/root usr/share/man/man3/cap_iab_init.3.gz
+-rw-r--r-- root/root usr/share/man/man3/cap_iab_set_proc.3.gz
+-rw-r--r-- root/root usr/share/man/man3/cap_iab_set_vector.3.gz
+-rw-r--r-- root/root usr/share/man/man3/cap_iab_to_text.3.gz
+-rw-r--r-- root/root usr/share/man/man3/cap_init.3.gz
+-rw-r--r-- root/root usr/share/man/man3/cap_launch.3.gz
+-rw-r--r-- root/root usr/share/man/man3/cap_launcher_callback.3.gz
+-rw-r--r-- root/root usr/share/man/man3/cap_launcher_set_chroot.3.gz
+-rw-r--r-- root/root usr/share/man/man3/cap_launcher_set_iab.3.gz
+-rw-r--r-- root/root usr/share/man/man3/cap_launcher_set_mode.3.gz
+-rw-r--r-- root/root usr/share/man/man3/cap_launcher_setgroups.3.gz
+-rw-r--r-- root/root usr/share/man/man3/cap_launcher_setuid.3.gz
+-rw-r--r-- root/root usr/share/man/man3/cap_max_bits.3.gz
+-rw-r--r-- root/root usr/share/man/man3/cap_mode.3.gz
+-rw-r--r-- root/root usr/share/man/man3/cap_mode_name.3.gz
+-rw-r--r-- root/root usr/share/man/man3/cap_new_launcher.3.gz
+-rw-r--r-- root/root usr/share/man/man3/cap_prctl.3.gz
+-rw-r--r-- root/root usr/share/man/man3/cap_prctlw.3.gz
+-rw-r--r-- root/root usr/share/man/man3/cap_proc_root.3.gz
+-rw-r--r-- root/root usr/share/man/man3/cap_set_fd.3.gz
+-rw-r--r-- root/root usr/share/man/man3/cap_set_file.3.gz
+-rw-r--r-- root/root usr/share/man/man3/cap_set_flag.3.gz
+-rw-r--r-- root/root usr/share/man/man3/cap_set_mode.3.gz
+-rw-r--r-- root/root usr/share/man/man3/cap_set_nsowner.3.gz
+-rw-r--r-- root/root usr/share/man/man3/cap_set_proc.3.gz
+-rw-r--r-- root/root usr/share/man/man3/cap_set_secbits.3.gz
+-rw-r--r-- root/root usr/share/man/man3/cap_set_syscall.3.gz
+-rw-r--r-- root/root usr/share/man/man3/cap_setgroups.3.gz
+-rw-r--r-- root/root usr/share/man/man3/cap_setuid.3.gz
+-rw-r--r-- root/root usr/share/man/man3/cap_size.3.gz
+-rw-r--r-- root/root usr/share/man/man3/cap_to_name.3.gz
+-rw-r--r-- root/root usr/share/man/man3/cap_to_text.3.gz
+-rw-r--r-- root/root usr/share/man/man3/capgetp.3.gz
+-rw-r--r-- root/root usr/share/man/man3/capsetp.3.gz
+-rw-r--r-- root/root usr/share/man/man3/libcap.3.gz
+-rw-r--r-- root/root usr/share/man/man3/libpsx.3.gz
+-rw-r--r-- root/root usr/share/man/man3/psx_load_syscalls.3.gz
+-rw-r--r-- root/root usr/share/man/man3/psx_set_sensitivity.3.gz
+-rw-r--r-- root/root usr/share/man/man3/psx_syscall.3.gz
+-rw-r--r-- root/root usr/share/man/man3/psx_syscall3.3.gz
+-rw-r--r-- root/root usr/share/man/man3/psx_syscall6.3.gz
+drwxr-xr-x root/root usr/share/man/man5/
+-rw-r--r-- root/root usr/share/man/man5/capability.conf.5.gz
+drwxr-xr-x root/root usr/share/man/man7/
+-rw-r--r-- root/root usr/share/man/man7/cap_text_formats.7.gz
+drwxr-xr-x root/root usr/share/man/man8/
+-rw-r--r-- root/root usr/share/man/man8/captree.8.gz
+-rw-r--r-- root/root usr/share/man/man8/getcap.8.gz
+-rw-r--r-- root/root usr/share/man/man8/getpcaps.8.gz
+-rw-r--r-- root/root usr/share/man/man8/pam_cap.8.gz
+-rw-r--r-- root/root usr/share/man/man8/setcap.8.gz
diff --git a/core/libcap2/.signature b/core/libcap2/.signature
new file mode 100644
index 0000000..2fba865
--- /dev/null
+++ b/core/libcap2/.signature
@@ -0,0 +1,6 @@
+RWTZ9IduCSQ/mCLTVo59pU0qa9Bgr3TapTHaP/fNvSaG6aBgiMbXrSGnUIHUK/DA49E0+eckYj1MLSOyWjuPSwk+YjoYca9Udgs=
+
+SHA256 (MAKEPKG) = 7ddd0dd528a8bcfabb6b739c34fab7ca9a0db046b03c99d920f6df00259b7e99
+SHA256 (.footprint) = b8ea74c06ac8cae306a5bb679f291fb402065484883073156fa6528b402d2f52
+SHA256 (libcap-2.78.tar.xz) = 0d621e562fd932ccf67b9660fb018e468a683d7b827541df27813228c996bb11
+SHA256 (libcap2#2.78-1.pkg.tar.gz) = 61eba11a726e10764da952443457f0196f2d0e46e90b23294d5262624d828fdf
diff --git a/core/libcap2/MAKEPKG b/core/libcap2/MAKEPKG
new file mode 100644
index 0000000..0d080f2
--- /dev/null
+++ b/core/libcap2/MAKEPKG
@@ -0,0 +1,52 @@
+#!/bin/mkpkg
+# description: POSIX 1003.1e capabilities library
+# url: https://sites.google.com/site/fullycapable
+
+name=libcap2
+version=2.78
+release=1
+source=(https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-$version.tar.xz)
+depends=()
+makedeps=()
+
+sha256sums=(
+ "0d621e562fd932ccf67b9660fb018e468a683d7b827541df27813228c996bb11"
+)
+
+build() {
+ cd libcap-$version
+
+ # Remove static library install
+ sed -i '/install -m.*STA/d' libcap/Makefile
+
+ make \
+ CC=clang \
+ prefix=/ \
+ lib=lib \
+ SBINDIR=/sbin \
+ INCDIR=/include \
+ MANDIR=/usr/share/man \
+ PKGCONFIGDIR=/lib/pkgconfig \
+ GOLANG=no \
+ PAM_CAP=no
+
+ make \
+ CC=clang \
+ prefix=/ \
+ lib=lib \
+ SBINDIR=/sbin \
+ INCDIR=/include \
+ MANDIR=/usr/share/man \
+ PKGCONFIGDIR=/lib/pkgconfig \
+ GOLANG=no \
+ PAM_CAP=no \
+ DESTDIR=$PKG \
+ install
+}
+
+signify() {
+ untrusted comment: public key
+ RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
+}
+
+# vim: filetype=sh