Chris PeBenito 766617f
Reference Policy has a requirement of checkpolicy 1.33.1 and
Chris PeBenito 766617f
libsepol-1.16.2.  Red Hat Enterprise Linux 4 and Fedora Core 4 RPMs
Chris PeBenito 766617f
are available on the CLIP download page at http://oss.tresys.com,
Chris PeBenito 4ef7567
and can be installed thusly:
Chris PeBenito 4ef7567
Chris PeBenito 4ef7567
Red Hat Enterprise Linux 4:
Chris PeBenito 4ef7567
Chris PeBenito 4ef7567
	rpm -i libsepol-1.11.7-1.i386.rpm
Chris PeBenito 4ef7567
	rpm -U checkpolicy-1.28-4.i386.rpm
Chris PeBenito 4ef7567
Chris PeBenito 4ef7567
Fedora Core 4:
Chris PeBenito 4ef7567
Chris PeBenito 4ef7567
	rpm -U libsepol-1.11.7-1.i386.rpm checkpolicy-1.28-4.i386.rpm
Chris PeBenito 4ef7567
Chris PeBenito fedd3ca
To install Reference Policy sources into /etc/selinux/refpolicy/src/policy:
Chris PeBenito 337e4af
Chris PeBenito 337e4af
	make install-src
Chris PeBenito 337e4af
Chris PeBenito fedd3ca
This will back up a pre-existing source policy to the
Chris PeBenito fedd3ca
/etc/selinux/refpolicy/src/policy.bak directory.
Chris PeBenito fedd3ca
Chris PeBenito c767b14
If you do not have a modules.conf, one can be generated:
Chris PeBenito c767b14
Chris PeBenito c767b14
	make conf
Chris PeBenito c767b14
Chris PeBenito 8e0ef1f
This will create a default modules.conf.  Options for the policy
Chris PeBenito 8e0ef1f
build process can be found in build.conf.  After installing the policy sources,
Chris PeBenito c767b14
the old Make targets have been maintained for the monolithic policy:
Chris PeBenito 337e4af
Chris PeBenito 337e4af
Local policy development:
Chris PeBenito 337e4af
Chris PeBenito 337e4af
	make policy
Chris PeBenito 337e4af
Chris PeBenito 337e4af
Compile and install the policy:
Chris PeBenito 337e4af
Chris PeBenito 337e4af
	make install
Chris PeBenito 337e4af
Chris PeBenito 337e4af
Compile, install, and load the policy:
Chris PeBenito 337e4af
Chris PeBenito 337e4af
	make load
Chris PeBenito 337e4af
Chris PeBenito 337e4af
Filesystem labeling:
Chris PeBenito 337e4af
Chris PeBenito 337e4af
	make relabel
Chris PeBenito 337e4af
	make checklabels
Chris PeBenito 337e4af
	make restorelabels
Chris PeBenito fedd3ca
Chris PeBenito fedd3ca
See the README for more information on available make targets.