MidgardOS Developer Documentation

A website documenting creating the build root for MidgardOS


Section 5 - Building the Base System Tools

Navigation    
« CUnit 32-bit HOME LibSEPol 32-bit »

LibSEPol 64-bit

Name: LibSEPol 64-bit
Summary: A library for manipulating SELinux binary policies
License: LGPL v2.1
Version: 3.10
URL: https://github.com/SELinuxProject/selinux/releases/download/3.10/libsepol-3.10.tar.gz

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

Configuration

This package has no traditional configuration script.

Compilation and Installation

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

make

The test suite cannot be run at this time due to a circular dependency with checkpolicy.

Finally, to install LibSEPol 64-bit into the build tree, run the following commands:

PREFIX=/usr LIBDIR=/usr/lib64 SHLIBDIR=/usr/lib64 make install

Other libraries and programs of the suite of tools for SELinux require linking against the static library for LibSEPol, as such it is not removed.

NOTE: Do not delete the unpacked sources after build.

Contents

Contents  
Installed Programs chkcon, sepol_check_access, sepol_compute_av, sepol_compute_member, sepol_compute_relabel, and sepol_validate_transition
Installed Libraries libsepol.so
Navigation    
« CUnit 32-bit HOME LibSEPol 32-bit »