http://selinuxproject.org/w/?title=RefpolicyRepoCheckout&feed=atom&action=historyRefpolicyRepoCheckout - Revision history2024-03-29T15:57:28ZRevision history for this page on the wikiMediaWiki 1.23.13http://selinuxproject.org/w/?title=RefpolicyRepoCheckout&diff=1810&oldid=prevMichaelBunk: New GitHub URL2015-10-20T09:08:42Z<p>New GitHub URL</p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 09:08, 20 October 2015</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 3:</td>
<td colspan="2" class="diff-lineno">Line 3:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>Reference Policy may be checked out by:</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>Reference Policy may be checked out by:</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>  $ git clone <nowiki><del class="diffchange diffchange-inline">http</del>://<del class="diffchange diffchange-inline">oss.tresys</del>.com/<del class="diffchange diffchange-inline">git</del>/refpolicy.git</nowiki></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>  $ git clone <nowiki><ins class="diffchange diffchange-inline">https</ins>://<ins class="diffchange diffchange-inline">github</ins>.com/<ins class="diffchange diffchange-inline">TresysTechnology</ins>/refpolicy.git</nowiki></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline"> $ cd refpolicy</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline"> $ git submodule init</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline"> $ git submodule update</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">https://github.com/TresysTechnology/refpolicy/wiki/RepositoryCheckout may have further instructions.</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>This will result in a refpolicy directory created in the current directory</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>This will result in a refpolicy directory created in the current directory</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>with the Reference Policy sources.  For the remainder of this section,</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>with the Reference Policy sources.  For the remainder of this section,</div></td></tr>
</table>MichaelBunkhttp://selinuxproject.org/w/?title=RefpolicyRepoCheckout&diff=723&oldid=prevChrisPeBenito: New page: The Reference Policy git repository may require a git policy compiler toolchain to compile. Reference Policy may be checked out by: $ git clone <nowiki>http://oss.tresys.com/git/refpoli...2009-10-13T17:09:26Z<p>New page: The Reference Policy git repository may require a git policy compiler toolchain to compile. Reference Policy may be checked out by: $ git clone <nowiki>http://oss.tresys.com/git/refpoli...</p>
<p><b>New page</b></p><div>The Reference Policy git repository may require a git policy compiler toolchain to compile.<br />
<br />
Reference Policy may be checked out by:<br />
<br />
$ git clone <nowiki>http://oss.tresys.com/git/refpolicy.git</nowiki><br />
<br />
This will result in a refpolicy directory created in the current directory<br />
with the Reference Policy sources. For the remainder of this section,<br />
this directory will be referred to as the top of the refpolicy sources, and<br />
relative paths will use this directory as their reference.<br />
<br />
If you have a modules.conf, it should be placed in the policy/ directory. If<br />
you do not, one can be generated:<br />
<br />
$ make conf<br />
<br />
This will create a default modules.conf, which has all Reference Policy modules<br />
enabled as loadable modules, except those which are required to be in the<br />
base module. This can also be ran when a modules.conf already exists, and in<br />
that case, any new modules not listed in the modules.conf will be added to<br />
the file (existing module settings will be preserved).<br />
<br />
The build settings, such as setting the policy type (standard, mcs, mls), and<br />
Linux distributionThe build.conf is at the top of the refpolicy sources. These<br />
should be changed as necessary. For additional information on these options,<br />
refer to section 2 of the README file in the top of the refpolicy sources.<br />
Typically the TYPE and the DISTRO options will need to be changed.<br />
<br />
To build the policy, simply run make:<br />
<br />
$ make<br />
<br />
This will compile the policy and place the files in the top level of the<br />
refpolicy sources.</div>ChrisPeBenito