1 |
swift 14/08/23 10:37:18 |
2 |
|
3 |
Modified: selinux-policy-2.eclass ChangeLog |
4 |
Log: |
5 |
Relabel depending packages so we no longer need DEPEND calls for pure policy dependencies in SELinux |
6 |
|
7 |
Revision Changes Path |
8 |
1.24 eclass/selinux-policy-2.eclass |
9 |
|
10 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/selinux-policy-2.eclass?rev=1.24&view=markup |
11 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/selinux-policy-2.eclass?rev=1.24&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/selinux-policy-2.eclass?r1=1.23&r2=1.24 |
13 |
|
14 |
Index: selinux-policy-2.eclass |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo-x86/eclass/selinux-policy-2.eclass,v |
17 |
retrieving revision 1.23 |
18 |
retrieving revision 1.24 |
19 |
diff -u -r1.23 -r1.24 |
20 |
--- selinux-policy-2.eclass 8 Aug 2014 18:35:11 -0000 1.23 |
21 |
+++ selinux-policy-2.eclass 23 Aug 2014 10:37:18 -0000 1.24 |
22 |
@@ -1,6 +1,6 @@ |
23 |
# Copyright 1999-2014 Gentoo Foundation |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
-# $Header: /var/cvsroot/gentoo-x86/eclass/selinux-policy-2.eclass,v 1.23 2014/08/08 18:35:11 swift Exp $ |
26 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/selinux-policy-2.eclass,v 1.24 2014/08/23 10:37:18 swift Exp $ |
27 |
|
28 |
# Eclass for installing SELinux policy, and optionally |
29 |
# reloading the reference-policy based modules. |
30 |
@@ -314,6 +314,18 @@ |
31 |
einfo "SELinux modules loaded succesfully." |
32 |
fi |
33 |
done |
34 |
+ |
35 |
+ # Relabel depending packages |
36 |
+ PKGSET=""; |
37 |
+ if [ -x /usr/bin/qdepends ] ; then |
38 |
+ PKGSET=$(/usr/bin/qdepends -Cq -Q ${CATEGORY}/${PN}); |
39 |
+ elif [ -x /usr/bin/equery ] ; then |
40 |
+ PKGSET=$(/usr/bin/equery -Cq depends ${CATEGORY}/${PN}); |
41 |
+ fi |
42 |
+ for PKG in ${PKGSET}; |
43 |
+ do |
44 |
+ rlpkg ${PKG}; |
45 |
+ done |
46 |
} |
47 |
|
48 |
# @FUNCTION: selinux-policy-2_pkg_postrm |
49 |
|
50 |
|
51 |
|
52 |
1.1355 eclass/ChangeLog |
53 |
|
54 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1355&view=markup |
55 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1355&content-type=text/plain |
56 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.1354&r2=1.1355 |
57 |
|
58 |
Index: ChangeLog |
59 |
=================================================================== |
60 |
RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v |
61 |
retrieving revision 1.1354 |
62 |
retrieving revision 1.1355 |
63 |
diff -u -r1.1354 -r1.1355 |
64 |
--- ChangeLog 18 Aug 2014 08:56:06 -0000 1.1354 |
65 |
+++ ChangeLog 23 Aug 2014 10:37:18 -0000 1.1355 |
66 |
@@ -1,6 +1,9 @@ |
67 |
# ChangeLog for eclass directory |
68 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
69 |
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1354 2014/08/18 08:56:06 mgorny Exp $ |
70 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1355 2014/08/23 10:37:18 swift Exp $ |
71 |
+ |
72 |
+ 23 Aug 2014; Sven Vermeulen <swift@g.o> selinux-policy-2.eclass: |
73 |
+ Adding relabeling support for SELinux depending packages |
74 |
|
75 |
18 Aug 2014; Michał Górny <mgorny@g.o> python-r1.eclass: |
76 |
Add extra quoting to prevent accidental globbing. |