diff options
-rw-r--r-- | libcap/.footprint | 68 | ||||
-rw-r--r-- | libcap/.sha256sum | 1 | ||||
-rw-r--r-- | libcap/Pkgfile | 24 |
3 files changed, 49 insertions, 44 deletions
diff --git a/libcap/.footprint b/libcap/.footprint index ad271d5..a8411c3 100644 --- a/libcap/.footprint +++ b/libcap/.footprint @@ -1,6 +1,8 @@ drwxr-xr-x root/root lib/ lrwxrwxrwx root/root lib/libcap.so.2 -> libcap.so.2.19 -rw-r--r-- root/root lib/libcap.so.2.19 +drwxr-xr-x root/root lib/security/ +-rwxr-xr-x root/root lib/security/pam_cap.so drwxr-xr-x root/root sbin/ -rwxr-xr-x root/root sbin/capsh -rwxr-xr-x root/root sbin/getcap @@ -13,35 +15,37 @@ drwxr-xr-x root/root usr/include/sys/ drwxr-xr-x root/root usr/lib/ -rw-r--r-- root/root usr/lib/libcap.a lrwxrwxrwx root/root usr/lib/libcap.so -> ../../lib/libcap.so.2.19 -drwxr-xr-x root/root usr/man/ -drwxr-xr-x root/root usr/man/man1/ --rw-r--r-- root/root usr/man/man1/capsh.1.gz -drwxr-xr-x root/root usr/man/man3/ --rw-r--r-- root/root usr/man/man3/cap_clear.3.gz --rw-r--r-- root/root usr/man/man3/cap_clear_flag.3.gz --rw-r--r-- root/root usr/man/man3/cap_compare.3.gz --rw-r--r-- root/root usr/man/man3/cap_copy_ext.3.gz --rw-r--r-- root/root usr/man/man3/cap_copy_int.3.gz --rw-r--r-- root/root usr/man/man3/cap_dup.3.gz --rw-r--r-- root/root usr/man/man3/cap_free.3.gz --rw-r--r-- root/root usr/man/man3/cap_from_name.3.gz --rw-r--r-- root/root usr/man/man3/cap_from_text.3.gz --rw-r--r-- root/root usr/man/man3/cap_get_fd.3.gz --rw-r--r-- root/root usr/man/man3/cap_get_file.3.gz --rw-r--r-- root/root usr/man/man3/cap_get_flag.3.gz --rw-r--r-- root/root usr/man/man3/cap_get_pid.3.gz --rw-r--r-- root/root usr/man/man3/cap_get_proc.3.gz --rw-r--r-- root/root usr/man/man3/cap_init.3.gz --rw-r--r-- root/root usr/man/man3/cap_set_fd.3.gz --rw-r--r-- root/root usr/man/man3/cap_set_file.3.gz --rw-r--r-- root/root usr/man/man3/cap_set_flag.3.gz --rw-r--r-- root/root usr/man/man3/cap_set_proc.3.gz --rw-r--r-- root/root usr/man/man3/cap_size.3.gz --rw-r--r-- root/root usr/man/man3/cap_to_name.3.gz --rw-r--r-- root/root usr/man/man3/cap_to_text.3.gz --rw-r--r-- root/root usr/man/man3/capgetp.3.gz --rw-r--r-- root/root usr/man/man3/capsetp.3.gz --rw-r--r-- root/root usr/man/man3/libcap.3.gz -drwxr-xr-x root/root usr/man/man8/ --rw-r--r-- root/root usr/man/man8/getcap.8.gz --rw-r--r-- root/root usr/man/man8/setcap.8.gz +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man/ +drwxr-xr-x root/root usr/share/man/man/man1/ +-rw-r--r-- root/root usr/share/man/man/man1/capsh.1.bz2 +drwxr-xr-x root/root usr/share/man/man/man3/ +-rw-r--r-- root/root usr/share/man/man/man3/cap_clear.3.bz2 +-rw-r--r-- root/root usr/share/man/man/man3/cap_clear_flag.3.bz2 +-rw-r--r-- root/root usr/share/man/man/man3/cap_compare.3.bz2 +-rw-r--r-- root/root usr/share/man/man/man3/cap_copy_ext.3.bz2 +-rw-r--r-- root/root usr/share/man/man/man3/cap_copy_int.3.bz2 +-rw-r--r-- root/root usr/share/man/man/man3/cap_dup.3.bz2 +-rw-r--r-- root/root usr/share/man/man/man3/cap_free.3.bz2 +-rw-r--r-- root/root usr/share/man/man/man3/cap_from_name.3.bz2 +-rw-r--r-- root/root usr/share/man/man/man3/cap_from_text.3.bz2 +-rw-r--r-- root/root usr/share/man/man/man3/cap_get_fd.3.bz2 +-rw-r--r-- root/root usr/share/man/man/man3/cap_get_file.3.bz2 +-rw-r--r-- root/root usr/share/man/man/man3/cap_get_flag.3.bz2 +-rw-r--r-- root/root usr/share/man/man/man3/cap_get_pid.3.bz2 +-rw-r--r-- root/root usr/share/man/man/man3/cap_get_proc.3.bz2 +-rw-r--r-- root/root usr/share/man/man/man3/cap_init.3.bz2 +-rw-r--r-- root/root usr/share/man/man/man3/cap_set_fd.3.bz2 +-rw-r--r-- root/root usr/share/man/man/man3/cap_set_file.3.bz2 +-rw-r--r-- root/root usr/share/man/man/man3/cap_set_flag.3.bz2 +-rw-r--r-- root/root usr/share/man/man/man3/cap_set_proc.3.bz2 +-rw-r--r-- root/root usr/share/man/man/man3/cap_size.3.bz2 +-rw-r--r-- root/root usr/share/man/man/man3/cap_to_name.3.bz2 +-rw-r--r-- root/root usr/share/man/man/man3/cap_to_text.3.bz2 +-rw-r--r-- root/root usr/share/man/man/man3/capgetp.3.bz2 +-rw-r--r-- root/root usr/share/man/man/man3/capsetp.3.bz2 +-rw-r--r-- root/root usr/share/man/man/man3/libcap.3.bz2 +drwxr-xr-x root/root usr/share/man/man/man8/ +-rw-r--r-- root/root usr/share/man/man/man8/getcap.8.bz2 +-rw-r--r-- root/root usr/share/man/man/man8/setcap.8.bz2 diff --git a/libcap/.sha256sum b/libcap/.sha256sum new file mode 100644 index 0000000..ef3893c --- /dev/null +++ b/libcap/.sha256sum @@ -0,0 +1 @@ +ed1693e344054a398e68a7cc840892e3d1a880562743bdf28fd918649aa5a4ce libcap-2.19.tar.bz2 diff --git a/libcap/Pkgfile b/libcap/Pkgfile index 988b0e2..a623ec6 100644 --- a/libcap/Pkgfile +++ b/libcap/Pkgfile @@ -1,21 +1,21 @@ -description="POSIX.1e capabilities library" -packager="" -maintainer="CRUX System Team, core-ports at crux dot nu" +description="POSIX.1e capabilities library." +packager="CRUX System Team <core-ports AT crux DOT nu>" +maintainer="Lukc <lukc AT upyum DOT com>" url="http://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/README" depends=(attr) name=libcap version=2.19 release=1 -source=(ftp://ftp.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-2.19.tar.bz2) +source=(ftp://ftp.kernel.org/pub/linux/libs/security/linux-privs/libcap2/$name-$version.tar.bz2) build () { - cd libcap-$version; - sed -i '/^CFLAGS :=/s/:/\?/' Make.Rules; - make; - make DESTDIR=$PKG man_prefix=/usr install; - install -d $PKG/usr/lib; - mv $PKG/lib/libcap.a $PKG/usr/lib; - rm $PKG/lib/libcap.so; - ln -s ../../lib/libcap.so.$version $PKG/usr/lib/libcap.so + cd libcap-$version; + sed -i '/^CFLAGS :=/s/:/\?/' Make.Rules; + make; + make DESTDIR=$PKG man_prefix=$mandir install; + install -d $PKG/usr/lib; + mv $PKG/lib/libcap.a $PKG/usr/lib; + rm $PKG/lib/libcap.so; + ln -s ../../lib/libcap.so.$version $PKG/usr/lib/libcap.so } |