MidgardOS Developer Documentation

A website documenting creating the build root for MidgardOS


Section 5 - Building the Base System Tools

Navigation    
« ACL 32-bit HOME LibCap2 32-bit »

LibCap2 64-bit

Name: LibCap2 64-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

Configuration

The package does not have a traditional configuration script.

Compilation and Installation

To compile LibCap2 64-bit, run the following commands:

sed -i '/install -m.*STA/d' libcap/Makefile
make prefix=/usr lib=lib64

Next, run the test suite:

make test

Finally, to install LibCap2 64-bit into the build tree, run the following command:

make prefix=/usr lib=lib64 install

NOTE: Do not delete the unpacked sources after build.

Contents

Contents  
Installed Programs capsh, getcap, getpcaps, and setcap
Installed Libraries libcap.so and libpsx.so
Navigation    
« ACL 32-bit HOME LibCap2 32-bit »