1 |
blueness 11/02/05 12:07:06 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: selinux-apache-2.20101213.ebuild |
5 |
selinux-apache-2.20101213-r1.ebuild |
6 |
Log: |
7 |
Bulk update of current selinux policies. |
8 |
|
9 |
(Portage version: 2.1.9.25/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.24 sec-policy/selinux-apache/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sec-policy/selinux-apache/ChangeLog?rev=1.24&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sec-policy/selinux-apache/ChangeLog?rev=1.24&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sec-policy/selinux-apache/ChangeLog?r1=1.23&r2=1.24 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/sec-policy/selinux-apache/ChangeLog,v |
21 |
retrieving revision 1.23 |
22 |
retrieving revision 1.24 |
23 |
diff -u -r1.23 -r1.24 |
24 |
--- ChangeLog 16 Dec 2009 02:54:13 -0000 1.23 |
25 |
+++ ChangeLog 5 Feb 2011 12:07:06 -0000 1.24 |
26 |
@@ -1,6 +1,13 @@ |
27 |
# ChangeLog for sec-policy/selinux-apache |
28 |
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/sec-policy/selinux-apache/ChangeLog,v 1.23 2009/12/16 02:54:13 pebenito Exp $ |
30 |
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
31 |
+# $Header: /var/cvsroot/gentoo-x86/sec-policy/selinux-apache/ChangeLog,v 1.24 2011/02/05 12:07:06 blueness Exp $ |
32 |
+ |
33 |
+*selinux-apache-2.20101213-r1 (05 Feb 2011) |
34 |
+*selinux-apache-2.20101213 (05 Feb 2011) |
35 |
+ |
36 |
+ 05 Feb 2011; Anthony G. Basile <blueness@g.o> |
37 |
+ +selinux-apache-2.20101213.ebuild, +selinux-apache-2.20101213-r1.ebuild: |
38 |
+ New upstream policy. |
39 |
|
40 |
*selinux-apache-2.20091215 (16 Dec 2009) |
41 |
|
42 |
|
43 |
|
44 |
|
45 |
1.1 sec-policy/selinux-apache/selinux-apache-2.20101213.ebuild |
46 |
|
47 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sec-policy/selinux-apache/selinux-apache-2.20101213.ebuild?rev=1.1&view=markup |
48 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sec-policy/selinux-apache/selinux-apache-2.20101213.ebuild?rev=1.1&content-type=text/plain |
49 |
|
50 |
Index: selinux-apache-2.20101213.ebuild |
51 |
=================================================================== |
52 |
# Copyright 1999-2011 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
# $Header: /var/cvsroot/gentoo-x86/sec-policy/selinux-apache/selinux-apache-2.20101213.ebuild,v 1.1 2011/02/05 12:07:06 blueness Exp $ |
55 |
IUSE="kerberos" |
56 |
MODS="apache" |
57 |
|
58 |
inherit selinux-policy-2 |
59 |
|
60 |
DESCRIPTION="SELinux policy for Apache HTTPD" |
61 |
DEPEND="${DEPEND} |
62 |
kerberos? ( sec-policy/selinux-kerberos )" |
63 |
RDEPEND="${DEPEND}" |
64 |
|
65 |
KEYWORDS="~amd64 ~x86" |
66 |
S="${WORKDIR}/" |
67 |
|
68 |
src_unpack() { |
69 |
selinux-policy-2_src_unpack |
70 |
if [ ! use kerberos ]; then |
71 |
[ -z "${POLICY_TYPES}" ] && local POLICY_TYPES="strict targeted" |
72 |
for i in ${POLICY_TYPES}; do |
73 |
sed -i -e "/httpd_keytab_t/d" \ |
74 |
"${S}/${i}/apache.fc" |
75 |
done |
76 |
fi |
77 |
} |
78 |
|
79 |
pkg_postinst() { |
80 |
selinux-policy-2_pkg_postinst |
81 |
if [ use kerberos ] ; then |
82 |
einfo "If you decide to uninstall Kerberos, you should clear the" |
83 |
einfo "kerberos use flag here, and then emerge this module again." |
84 |
einfo "Failure to do so may result in policy compile errors in the" |
85 |
einfo "future." |
86 |
else |
87 |
einfo "If you install Kerberos later, you should set the kerberos" |
88 |
einfo "use flag here, and then emerge this module again in order to" |
89 |
einfo "get all of the relevant policy changes. Failure to do so may" |
90 |
einfo "result in errors authenticating against kerberos servers by" |
91 |
einfo "Apache." |
92 |
fi |
93 |
} |
94 |
|
95 |
|
96 |
|
97 |
1.1 sec-policy/selinux-apache/selinux-apache-2.20101213-r1.ebuild |
98 |
|
99 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sec-policy/selinux-apache/selinux-apache-2.20101213-r1.ebuild?rev=1.1&view=markup |
100 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sec-policy/selinux-apache/selinux-apache-2.20101213-r1.ebuild?rev=1.1&content-type=text/plain |
101 |
|
102 |
Index: selinux-apache-2.20101213-r1.ebuild |
103 |
=================================================================== |
104 |
# Copyright 1999-2011 Gentoo Foundation |
105 |
# Distributed under the terms of the GNU General Public License v2 |
106 |
# $Header: /var/cvsroot/gentoo-x86/sec-policy/selinux-apache/selinux-apache-2.20101213-r1.ebuild,v 1.1 2011/02/05 12:07:06 blueness Exp $ |
107 |
IUSE="kerberos" |
108 |
MODS="apache" |
109 |
|
110 |
inherit selinux-policy-2 |
111 |
|
112 |
DESCRIPTION="SELinux policy for Apache HTTPD" |
113 |
DEPEND="${DEPEND} |
114 |
kerberos? ( sec-policy/selinux-kerberos )" |
115 |
RDEPEND="${DEPEND}" |
116 |
|
117 |
KEYWORDS="~amd64 ~x86" |
118 |
S="${WORKDIR}/" |
119 |
|
120 |
src_unpack() { |
121 |
selinux-policy-2_src_unpack |
122 |
if ! use kerberos ; then |
123 |
[ -z "${POLICY_TYPES}" ] && local POLICY_TYPES="strict targeted"; |
124 |
for i in ${POLICY_TYPES}; do |
125 |
sed -i -e "/httpd_keytab_t/d" \ |
126 |
"${S}/${i}/apache.fc" |
127 |
done |
128 |
fi |
129 |
} |
130 |
|
131 |
pkg_postinst() { |
132 |
selinux-policy-2_pkg_postinst |
133 |
if use kerberos ; then |
134 |
einfo "If you decide to uninstall Kerberos, you should clear the" |
135 |
einfo "kerberos use flag here, and then emerge this module again." |
136 |
einfo "Failure to do so may result in policy compile errors in the" |
137 |
einfo "future." |
138 |
else |
139 |
einfo "If you install Kerberos later, you should set the kerberos" |
140 |
einfo "use flag here, and then emerge this module again in order to" |
141 |
einfo "get all of the relevant policy changes. Failure to do so may" |
142 |
einfo "result in errors authenticating against kerberos servers by" |
143 |
einfo "Apache." |
144 |
fi |
145 |
} |