1 |
perfinion 15/07/23 05:15:17 |
2 |
|
3 |
Modified: policycoreutils-9999.ebuild ChangeLog |
4 |
Log: |
5 |
Rebuild policy store in postinst(), there are some changes to the format |
6 |
|
7 |
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0x7EF137EC935B0EAF) |
8 |
|
9 |
Revision Changes Path |
10 |
1.4 sys-apps/policycoreutils/policycoreutils-9999.ebuild |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/policycoreutils/policycoreutils-9999.ebuild?rev=1.4&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/policycoreutils/policycoreutils-9999.ebuild?rev=1.4&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/policycoreutils/policycoreutils-9999.ebuild?r1=1.3&r2=1.4 |
15 |
|
16 |
Index: policycoreutils-9999.ebuild |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/policycoreutils-9999.ebuild,v |
19 |
retrieving revision 1.3 |
20 |
retrieving revision 1.4 |
21 |
diff -u -r1.3 -r1.4 |
22 |
--- policycoreutils-9999.ebuild 17 Jul 2015 08:03:06 -0000 1.3 |
23 |
+++ policycoreutils-9999.ebuild 23 Jul 2015 05:15:17 -0000 1.4 |
24 |
@@ -1,6 +1,6 @@ |
25 |
# Copyright 1999-2015 Gentoo Foundation |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/policycoreutils-9999.ebuild,v 1.3 2015/07/17 08:03:06 perfinion Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/policycoreutils-9999.ebuild,v 1.4 2015/07/23 05:15:17 perfinion Exp $ |
29 |
|
30 |
EAPI="5" |
31 |
PYTHON_COMPAT=( python{2_7,3_3,3_4} ) |
32 |
@@ -181,4 +181,11 @@ |
33 |
pkg_postinst() { |
34 |
# The selinux_gentoo init script is no longer needed with recent OpenRC |
35 |
elog "The selinux_gentoo init script has been removed in this version as it is not required after OpenRC 0.13." |
36 |
+ |
37 |
+ for POLICY_TYPE in ${POLICY_TYPES} ; do |
38 |
+ # There have been some changes to the policy store, rebuilding now. |
39 |
+ # https://marc.info/?l=selinux&m=143757277819717&w=2 |
40 |
+ einfo "Rebuilding store ${POLICY_TYPE} (without re-loading)." |
41 |
+ semodule -s "${POLICY_TYPE}" -n -B || die "Failed to rebuild policy store ${POLICY_TYPE}" |
42 |
+ done |
43 |
} |
44 |
|
45 |
|
46 |
|
47 |
1.157 sys-apps/policycoreutils/ChangeLog |
48 |
|
49 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/policycoreutils/ChangeLog?rev=1.157&view=markup |
50 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/policycoreutils/ChangeLog?rev=1.157&content-type=text/plain |
51 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/policycoreutils/ChangeLog?r1=1.156&r2=1.157 |
52 |
|
53 |
Index: ChangeLog |
54 |
=================================================================== |
55 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/ChangeLog,v |
56 |
retrieving revision 1.156 |
57 |
retrieving revision 1.157 |
58 |
diff -u -r1.156 -r1.157 |
59 |
--- ChangeLog 17 Jul 2015 08:03:06 -0000 1.156 |
60 |
+++ ChangeLog 23 Jul 2015 05:15:17 -0000 1.157 |
61 |
@@ -1,6 +1,9 @@ |
62 |
# ChangeLog for sys-apps/policycoreutils |
63 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
64 |
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/ChangeLog,v 1.156 2015/07/17 08:03:06 perfinion Exp $ |
65 |
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/ChangeLog,v 1.157 2015/07/23 05:15:17 perfinion Exp $ |
66 |
+ |
67 |
+ 23 Jul 2015; Jason Zaman <perfinion@g.o> policycoreutils-9999.ebuild: |
68 |
+ Rebuild policy store in postinst(), there are some changes to the format |
69 |
|
70 |
17 Jul 2015; Jason Zaman <perfinion@g.o> policycoreutils-9999.ebuild: |
71 |
add python3 compat to live ebuild |