A website documenting creating the build root for MidgardOS
| Navigation | ||
|---|---|---|
| « LibCap2 64-bit | HOME | LibXCrypt 64-bit » |
Name: LibCap2 32-bit
Summary: Userspace tools for POSIX 1003.1e privilege capabilities
License: BSD-3-Clause or GPL v2.0
Version: 2.76
URL: https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-2.76.tar.xz
Average Build Time: less than 0.1 SBU
Used Install Space: 3.1 MiB
The package does not have a traditional configuration script.
To compile LibCap2 32-bit, run the following commands:
make distclean
make CC="gcc -m32 -march=i686"
Finally, to install LibCap2 32-bit into the build tree, run the following commands:
make CC="gcc -m32 -march=i686" lib=lib prefix=$PWD/DESTDIR/usr -C libcap install
cp -Rv DESTDIR/usr/lib/* /usr/lib
sed -e "s|^libdir=.*|libdir=/usr/lib|" -i /usr/lib/pkgconfig/lib{cap,psx}.pc
chmod -v 755 /usr/lib/libcap.so.2.76
See the contents section of the 64-bit build of LibCap2 for details.
| Navigation | ||
|---|---|---|
| « LibCap2 64-bit | HOME | LibXCrypt 64-bit » |