commit dce7c654c5f8384ef4e27d987339d163e2a3842d Author: Fredrik Rinnestam <fredrik@crux.nu> Date: Sat Jul 25 23:08:47 2015 +0200 libcap: move man-pages to /usr/share/man diff --git a/libcap/.footprint b/libcap/.footprint index 09936f6..50ade0f 100644 --- a/libcap/.footprint +++ b/libcap/.footprint @@ -15,37 +15,38 @@ drwxr-xr-x root/root usr/lib/ lrwxrwxrwx root/root usr/lib/libcap.so -> ../../lib/libcap.so.2.24 drwxr-xr-x root/root usr/lib/pkgconfig/ -rw-r--r-- root/root usr/lib/pkgconfig/libcap.pc -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_drop_bound.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_bound.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/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/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_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_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_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_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_init.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_proc.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 +drwxr-xr-x root/root usr/share/man/man8/ +-rw-r--r-- root/root usr/share/man/man8/getcap.8.gz +-rw-r--r-- root/root usr/share/man/man8/setcap.8.gz diff --git a/libcap/Pkgfile b/libcap/Pkgfile index 325789d..7dadc2c 100644 --- a/libcap/Pkgfile +++ b/libcap/Pkgfile @@ -5,7 +5,7 @@ name=libcap version=2.24 -release=1 +release=2 source=(https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/$name-$ve...) build () { @@ -14,7 +14,7 @@ build () { sed -i "/^CFLAGS/s/-O2/$CFLAGS/" Make.Rules make - make RAISE_SETFCAP=no DESTDIR=$PKG man_prefix=/usr install + make RAISE_SETFCAP=no DESTDIR=$PKG man_prefix=/usr/share install install -d $PKG/usr/lib mv $PKG/lib/libcap.a $PKG/usr/lib