MidgardOS Developer Documentation

A website documenting creating the build root for MidgardOS


Section 5 - Building the Base System Tools

Navigation    
« LibSELinux 32-bit HOME LibSEManage 32-bit »

LibSEManage 64-bit

Name: LibSEManage 64-bit
Summary: SELinux policy management library
License: LGPL v2.1
Version: 3.9
URL: https://github.com/SELinuxProject/selinux/releases/download/3.9/libsemanage-3.9.tar.gz

Average Build Time: less than 0.1 SBU
Used Install Space: 1.7 MiB

Configuration

The package does not have a traditional configuration script.

Compilation and Installation

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

grep /usr/libexec . -rl | xargs sed -i "s|/usr/libexec|/usr/lib64|g"
make

The tests for this package cannot be run at this time due to an unfulfilled dependency on secilc.

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

PREFIX=/usr LIBDIR=/usr/lib64 LIBEXECDIR=/usr/lib64 SHLIBDIR=/usr/lib64 make install
sed -i 's/libdir=\/usr\/lib/libdir=\/usr/lib64/' /usr/lib64/pkgconfig/libselinux.pc

NOTE: Do not delete the unpacked sources after build.

Contents

Contents  
Installed Libraries libsemanage.so
Installed Files /etc/selinux/semanage.conf
Navigation    
« LibSELinux 32-bit HOME LibSEManage 32-bit »