]> git.ipfire.org Git - people/stevee/selinux-policy.git/blob - INSTALL
Add httpd_can_connect_ldap() interface
[people/stevee/selinux-policy.git] / INSTALL
1 Reference Policy has a requirement of checkpolicy 1.33.1 and
2 libsepol-1.16.2. Red Hat Enterprise Linux 4 and Fedora Core 4 RPMs
3 are available on the CLIP download page at http://oss.tresys.com,
4 and can be installed thusly:
5
6 Red Hat Enterprise Linux 4:
7
8 rpm -i libsepol-1.11.7-1.i386.rpm
9 rpm -U checkpolicy-1.28-4.i386.rpm
10
11 Fedora Core 4:
12
13 rpm -U libsepol-1.11.7-1.i386.rpm checkpolicy-1.28-4.i386.rpm
14
15 To install Reference Policy sources into /etc/selinux/refpolicy/src/policy:
16
17 make install-src
18
19 This will back up a pre-existing source policy to the
20 /etc/selinux/refpolicy/src/policy.bak directory.
21
22 If you do not have a modules.conf, one can be generated:
23
24 make conf
25
26 This will create a default modules.conf. Options for the policy
27 build process can be found in build.conf. After installing the policy sources,
28 the old Make targets have been maintained for the monolithic policy:
29
30 Local policy development:
31
32 make policy
33
34 Compile and install the policy:
35
36 make install
37
38 Compile, install, and load the policy:
39
40 make load
41
42 Filesystem labeling:
43
44 make relabel
45 make checklabels
46 make restorelabels
47
48 See the README for more information on available make targets.