The libcap2 package implements the user-space interfaces to the POSIX 1003.1e capabilities available in Linux kernels. These capabilities are a partitioning of the all powerful root privilege into a set of distinct privileges.
This package is known to build and work properly using an LFS-7.4 platform.
Download (HTTP): http://ftp.de.debian.org/debian/pool/main/libc/libcap2/libcap2_2.22.orig.tar.gz
Download (FTP): ftp://ftp.de.debian.org/debian/pool/main/libc/libcap2/libcap2_2.22.orig.tar.gz
Download MD5 sum: b4896816b626bea445f0b3849bdd4077
Download size: 72 KB
Estimated disk space required: 1.3 MB
Estimated build time: less than 0.1 SBU
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/libcap2
Install libcap2 by running the following commands:
make
This package does not come with a test suite.
If you want to disable installing the static library, use this sed:
sed -i '/install.*STALIBNAME/ s/^/#/' libcap/Makefile
Now, as the root
user:
make RAISE_SETFCAP=no install
RAISE_SETFCAP=no
: This
parameter skips trying to use setcap on itself. This avoids an installation
error if the kernel or file system do not support extended
capabilities.
Last updated on 2013-08-20 15:41:29 -0700