diff options
author | Sven Vermeulen <swift@gentoo.org> | 2012-03-31 12:29:43 +0000 |
---|---|---|
committer | Sven Vermeulen <swift@gentoo.org> | 2012-03-31 12:29:43 +0000 |
commit | c8603f841142ee4214e085d7f81f61a0aa4efccd (patch) | |
tree | d561b215cbcfe61c30621b9a3f2674263576900c /sec-policy/selinux-apache | |
parent | Fix p11kit dependency to be >=0.11 (diff) | |
download | gentoo-2-c8603f841142ee4214e085d7f81f61a0aa4efccd.tar.gz gentoo-2-c8603f841142ee4214e085d7f81f61a0aa4efccd.tar.bz2 gentoo-2-c8603f841142ee4214e085d7f81f61a0aa4efccd.zip |
Pushing out 2.20120215 SELinux policies
(Portage version: 2.1.10.49/cvs/Linux x86_64)
Diffstat (limited to 'sec-policy/selinux-apache')
-rw-r--r-- | sec-policy/selinux-apache/ChangeLog | 7 | ||||
-rw-r--r-- | sec-policy/selinux-apache/selinux-apache-2.20120215.ebuild | 43 |
2 files changed, 49 insertions, 1 deletions
diff --git a/sec-policy/selinux-apache/ChangeLog b/sec-policy/selinux-apache/ChangeLog index 035508f45f87..d8014f47e928 100644 --- a/sec-policy/selinux-apache/ChangeLog +++ b/sec-policy/selinux-apache/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sec-policy/selinux-apache # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sec-policy/selinux-apache/ChangeLog,v 1.31 2012/02/23 18:44:00 swift Exp $ +# $Header: /var/cvsroot/gentoo-x86/sec-policy/selinux-apache/ChangeLog,v 1.32 2012/03/31 12:29:43 swift Exp $ + +*selinux-apache-2.20120215 (31 Mar 2012) + + 31 Mar 2012; <swift@gentoo.org> +selinux-apache-2.20120215.ebuild: + Bumping to 2.20120215 policies 23 Feb 2012; <swift@gentoo.org> selinux-apache-2.20110726-r2.ebuild: Stabilizing diff --git a/sec-policy/selinux-apache/selinux-apache-2.20120215.ebuild b/sec-policy/selinux-apache/selinux-apache-2.20120215.ebuild new file mode 100644 index 000000000000..fa52b46f0074 --- /dev/null +++ b/sec-policy/selinux-apache/selinux-apache-2.20120215.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sec-policy/selinux-apache/selinux-apache-2.20120215.ebuild,v 1.1 2012/03/31 12:29:43 swift Exp $ +IUSE="kerberos" +MODS="apache" +BASEPOL="2.20120215-r1" + +inherit selinux-policy-2 + +DESCRIPTION="SELinux policy for Apache HTTPD" +DEPEND="${DEPEND} + kerberos? ( sec-policy/selinux-kerberos )" +RDEPEND="${DEPEND}" + +KEYWORDS="~amd64 ~x86" +S="${WORKDIR}/" + +src_unpack() { + selinux-policy-2_src_unpack + if ! use kerberos ; then + [ -z "${POLICY_TYPES}" ] && local POLICY_TYPES="strict targeted mcs mls"; + for i in ${POLICY_TYPES}; do + sed -i -e "/httpd_keytab_t/d" \ + "${S}/${i}/apache.fc" + done + fi +} + +pkg_postinst() { + selinux-policy-2_pkg_postinst + if use kerberos ; then + einfo "If you decide to uninstall Kerberos, you should clear the" + einfo "kerberos use flag here, and then emerge this module again." + einfo "Failure to do so may result in policy compile errors in the" + einfo "future." + else + einfo "If you install Kerberos later, you should set the kerberos" + einfo "use flag here, and then emerge this module again in order to" + einfo "get all of the relevant policy changes. Failure to do so may" + einfo "result in errors authenticating against kerberos servers by" + einfo "Apache." + fi +} |