blob: dae1eb933166e3af75b14fc5e6414e31ddb1d175 [file] [log] [blame]
Stephen Smalley38bbed02015-02-20 12:26:27 -05001Please submit all bug reports and patches to selinux@tycho.nsa.gov.
2Subscribe via selinux-join@tycho.nsa.gov.
3
Stephen Smalley4ef938a2015-02-03 11:15:24 -05004Build dependencies on Fedora:
Stephen Smalley02104d02015-02-23 09:08:13 -05005yum install audit-libs-devel bison bzip2-devel dbus-devel dbus-glib-devel flex flex-devel flex-static glib2-devel libcap-devel libcap-ng-devel pam-devel pcre-devel python-devel setools-devel swig ustr-devel
Stephen Smalley4ef938a2015-02-03 11:15:24 -05006
Stephen Smalley674e0682013-10-30 12:51:19 -04007To build and install everything under a private directory, run:
8make DESTDIR=~/obj install install-pywrap
Stephen Smalley0ddd5342013-10-28 13:34:47 -04009
10To install as the default system libraries and binaries
Stephen Smalley674e0682013-10-30 12:51:19 -040011(overwriting any previously installed ones - dangerous!),
12on x86_64, run:
Stephen Smalley0ddd5342013-10-28 13:34:47 -040013make LIBDIR=/usr/lib64 SHLIBDIR=/lib64 install install-pywrap relabel
Stephen Smalley674e0682013-10-30 12:51:19 -040014or on x86 (32-bit), run:
15make install install-pywrap relabel
Stephen Smalley0ddd5342013-10-28 13:34:47 -040016
17This may render your system unusable if the upstream SELinux userspace
18lacks library functions or other dependencies relied upon by your
19distribution. If it breaks, you get to keep both pieces.