diff options
author | Sven Vermeulen <swift@gentoo.org> | 2012-06-27 20:34:16 +0000 |
---|---|---|
committer | Sven Vermeulen <swift@gentoo.org> | 2012-06-27 20:34:16 +0000 |
commit | 1ba5e8e8b58f75f9ee091abb9a2662d41bb65c39 (patch) | |
tree | 6c31932061b3f64c656779a26a225de3a22f5be5 /sec-policy/selinux-apache | |
parent | Regenerate manifest (diff) | |
download | historical-1ba5e8e8b58f75f9ee091abb9a2662d41bb65c39.tar.gz historical-1ba5e8e8b58f75f9ee091abb9a2662d41bb65c39.tar.bz2 historical-1ba5e8e8b58f75f9ee091abb9a2662d41bb65c39.zip |
Bump to rev13 policies
Package-Manager: portage-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-r3.ebuild | 49 |
2 files changed, 55 insertions, 1 deletions
diff --git a/sec-policy/selinux-apache/ChangeLog b/sec-policy/selinux-apache/ChangeLog index a8de90634902..89ff05e36dd1 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.37 2012/05/20 18:40:08 swift Exp $ +# $Header: /var/cvsroot/gentoo-x86/sec-policy/selinux-apache/ChangeLog,v 1.38 2012/06/27 20:34:16 swift Exp $ + +*selinux-apache-2.20120215-r3 (27 Jun 2012) + + 27 Jun 2012; <swift@gentoo.org> +selinux-apache-2.20120215-r3.ebuild: + Bump to revision 13 *selinux-apache-2.20120215-r2 (20 May 2012) diff --git a/sec-policy/selinux-apache/selinux-apache-2.20120215-r3.ebuild b/sec-policy/selinux-apache/selinux-apache-2.20120215-r3.ebuild new file mode 100644 index 000000000000..06793d1c808b --- /dev/null +++ b/sec-policy/selinux-apache/selinux-apache-2.20120215-r3.ebuild @@ -0,0 +1,49 @@ +# 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-r3.ebuild,v 1.1 2012/06/27 20:34:16 swift Exp $ +EAPI="4" + +IUSE="kerberos" +MODS="apache" +BASEPOL="2.20120215-r13" + +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 +} + +src_prepare() { + selinux-policy-2_src_prepare + 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 +} |