Stephen Smalley | 38bbed0 | 2015-02-20 12:26:27 -0500 | [diff] [blame] | 1 | Please submit all bug reports and patches to selinux@tycho.nsa.gov. |
| 2 | Subscribe via selinux-join@tycho.nsa.gov. |
| 3 | |
Stephen Smalley | 4ef938a | 2015-02-03 11:15:24 -0500 | [diff] [blame] | 4 | Build dependencies on Fedora: |
Stephen Smalley | ee7bea5 | 2015-02-03 11:27:50 -0500 | [diff] [blame] | 5 | yum install bison flex swig flex-static flex-devel pcre-devel bzip2-devel ustr-devel audit-libs-devel libcap-devel libcap-ng-devel pam-devel |
Stephen Smalley | 4ef938a | 2015-02-03 11:15:24 -0500 | [diff] [blame] | 6 | |
Stephen Smalley | 674e068 | 2013-10-30 12:51:19 -0400 | [diff] [blame] | 7 | To build and install everything under a private directory, run: |
| 8 | make DESTDIR=~/obj install install-pywrap |
Stephen Smalley | 0ddd534 | 2013-10-28 13:34:47 -0400 | [diff] [blame] | 9 | |
| 10 | To install as the default system libraries and binaries |
Stephen Smalley | 674e068 | 2013-10-30 12:51:19 -0400 | [diff] [blame] | 11 | (overwriting any previously installed ones - dangerous!), |
| 12 | on x86_64, run: |
Stephen Smalley | 0ddd534 | 2013-10-28 13:34:47 -0400 | [diff] [blame] | 13 | make LIBDIR=/usr/lib64 SHLIBDIR=/lib64 install install-pywrap relabel |
Stephen Smalley | 674e068 | 2013-10-30 12:51:19 -0400 | [diff] [blame] | 14 | or on x86 (32-bit), run: |
| 15 | make install install-pywrap relabel |
Stephen Smalley | 0ddd534 | 2013-10-28 13:34:47 -0400 | [diff] [blame] | 16 | |
| 17 | This may render your system unusable if the upstream SELinux userspace |
| 18 | lacks library functions or other dependencies relied upon by your |
| 19 | distribution. If it breaks, you get to keep both pieces. |