diff options
author | Sven Vermeulen <swift@gentoo.org> | 2011-08-28 21:13:13 +0000 |
---|---|---|
committer | Sven Vermeulen <swift@gentoo.org> | 2011-08-28 21:13:13 +0000 |
commit | 9de82426bf829b103b839447bfc35ddbda198975 (patch) | |
tree | 8ed61c061b2c3fd20eab63b5391adfe9ff7bb54f /sec-policy/selinux-apache | |
parent | New SELinux module packages (entropyd, ftp, ipsec, jabber, snmp) which need t... (diff) | |
download | gentoo-2-9de82426bf829b103b839447bfc35ddbda198975.tar.gz gentoo-2-9de82426bf829b103b839447bfc35ddbda198975.tar.bz2 gentoo-2-9de82426bf829b103b839447bfc35ddbda198975.zip |
Pushing out SELinux policy modules based on new 20110726 release (refpolicy)
(Portage version: 2.1.10.3/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.20110726-r1.ebuild | 42 |
2 files changed, 48 insertions, 1 deletions
diff --git a/sec-policy/selinux-apache/ChangeLog b/sec-policy/selinux-apache/ChangeLog index 24b75ab199f3..99a7f1bb9d9d 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-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sec-policy/selinux-apache/ChangeLog,v 1.26 2011/06/04 15:57:40 blueness Exp $ +# $Header: /var/cvsroot/gentoo-x86/sec-policy/selinux-apache/ChangeLog,v 1.27 2011/08/28 21:13:12 swift Exp $ + +*selinux-apache-2.20110726-r1 (28 Aug 2011) + + 28 Aug 2011; <swift@gentoo.org> +selinux-apache-2.20110726-r1.ebuild: + Updating policy builds to refpolicy 20110726 04 Jun 2011; Anthony G. Basile <blueness@gentoo.org> -selinux-apache-2.20090730.ebuild, -selinux-apache-2.20091215.ebuild, diff --git a/sec-policy/selinux-apache/selinux-apache-2.20110726-r1.ebuild b/sec-policy/selinux-apache/selinux-apache-2.20110726-r1.ebuild new file mode 100644 index 000000000000..0fa12f87d005 --- /dev/null +++ b/sec-policy/selinux-apache/selinux-apache-2.20110726-r1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2011 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.20110726-r1.ebuild,v 1.1 2011/08/28 21:13:12 swift Exp $ +IUSE="kerberos" +MODS="apache" + +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 +} |