/[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.18 Revision 1.19
1# Copyright 1999-2013 Gentoo Foundation 1# Copyright 1999-2013 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.18 2013/04/28 16:15:33 zmedico Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/selinux-policy-2.eclass,v 1.19 2013/05/07 09:25:17 swift 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
149 EPATCH_SUFFIX="patch" \ 149 EPATCH_SUFFIX="patch" \
150 EPATCH_SOURCE="${WORKDIR}" \ 150 EPATCH_SOURCE="${WORKDIR}" \
151 EPATCH_FORCE="yes" \ 151 EPATCH_FORCE="yes" \
152 epatch 152 epatch
153 fi 153 fi
154
155 # Call in epatch_user. We do this early on as we start moving
156 # files left and right hereafter.
157 epatch_user
154 158
155 # Copy additional files to the 3rd_party/ location 159 # Copy additional files to the 3rd_party/ location
156 if [[ "$(declare -p POLICY_FILES 2>/dev/null 2>&1)" == "declare -a"* ]] || 160 if [[ "$(declare -p POLICY_FILES 2>/dev/null 2>&1)" == "declare -a"* ]] ||
157 [[ -n ${POLICY_FILES} ]]; 161 [[ -n ${POLICY_FILES} ]];
158 then 162 then

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19

  ViewVC Help
Powered by ViewVC 1.1.20