/[gentoo-x86]/eclass/selinux-policy-2.eclass
Gentoo

Diff of /eclass/selinux-policy-2.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.10 Revision 1.11
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2011 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/selinux-policy-2.eclass,v 1.10 2011/08/22 19:51:33 swift Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/selinux-policy-2.eclass,v 1.11 2011/08/29 01:28:10 vapier Exp $
4 4
5# Eclass for installing SELinux policy, and optionally 5# Eclass for installing SELinux policy, and optionally
6# reloading the reference-policy based modules. 6# reloading the reference-policy based modules.
7 7
8# @ECLASS: selinux-policy-2.eclass 8# @ECLASS: selinux-policy-2.eclass
101# @FUNCTION: selinux-policy-2_src_prepare 101# @FUNCTION: selinux-policy-2_src_prepare
102# @DESCRIPTION: 102# @DESCRIPTION:
103# Patch the reference policy sources with our set of enhancements. Start with 103# Patch the reference policy sources with our set of enhancements. Start with
104# the base patchbundle referred to by the ebuilds through the BASEPOL variable, 104# the base patchbundle referred to by the ebuilds through the BASEPOL variable,
105# then apply the additional patches as offered by the ebuild. 105# then apply the additional patches as offered by the ebuild.
106# 106#
107# Next, extract only those files needed for this particular module (i.e. the .te 107# Next, extract only those files needed for this particular module (i.e. the .te
108# and .fc files for the given module in the MODS variable). 108# and .fc files for the given module in the MODS variable).
109# 109#
110# Finally, prepare the build environments for each of the supported SELinux 110# Finally, prepare the build environments for each of the supported SELinux
111# types (such as targeted or strict), depending on the POLICY_TYPES variable 111# types (such as targeted or strict), depending on the POLICY_TYPES variable
112# content. 112# content.
113selinux-policy-2_src_prepare() { 113selinux-policy-2_src_prepare() {
114 local modfiles 114 local modfiles

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

  ViewVC Help
Powered by ViewVC 1.1.20