swift       14/08/30 20:20:47

  Modified:             selinux-base-policy-9999.ebuild ChangeLog
  Log:
  Use single-line rlpkg call and do not label policy packages
  
  (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 
0x2EDD52403B68AF47)

Revision  Changes    Path
1.14                 
sec-policy/selinux-base-policy/selinux-base-policy-9999.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sec-policy/selinux-base-policy/selinux-base-policy-9999.ebuild?rev=1.14&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sec-policy/selinux-base-policy/selinux-base-policy-9999.ebuild?rev=1.14&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sec-policy/selinux-base-policy/selinux-base-policy-9999.ebuild?r1=1.13&r2=1.14

Index: selinux-base-policy-9999.ebuild
===================================================================
RCS file: 
/var/cvsroot/gentoo-x86/sec-policy/selinux-base-policy/selinux-base-policy-9999.ebuild,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- selinux-base-policy-9999.ebuild     24 Aug 2014 07:53:58 -0000      1.13
+++ selinux-base-policy-9999.ebuild     30 Aug 2014 20:20:47 -0000      1.14
@@ -1,6 +1,6 @@
 # Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: 
/var/cvsroot/gentoo-x86/sec-policy/selinux-base-policy/selinux-base-policy-9999.ebuild,v
 1.13 2014/08/24 07:53:58 swift Exp $
+# $Header: 
/var/cvsroot/gentoo-x86/sec-policy/selinux-base-policy/selinux-base-policy-9999.ebuild,v
 1.14 2014/08/30 20:20:47 swift Exp $
 EAPI="5"
 
 inherit eutils
@@ -135,12 +135,11 @@
        # Relabel depending packages
        PKGSET="";
        if [ -x /usr/bin/qdepends ] ; then
-               PKGSET=$(/usr/bin/qdepends -Cq -Q ${CATEGORY}/${PN});
+               PKGSET=$(/usr/bin/qdepends -Cq -Q ${CATEGORY}/${PN} | grep -v 
'sec-policy/selinux-');
        elif [ -x /usr/bin/equery ] ; then
-               PKGSET=$(/usr/bin/equery -Cq depends ${CATEGORY}/${PN});
+               PKGSET=$(/usr/bin/equery -Cq depends ${CATEGORY}/${PN} | grep 
-v 'sec-policy/selinux-');
+       fi
+       if [ -n "${PKGSET}" ] ; then
+               rlpkg ${PKGSET};
        fi
-       for PKG in ${PKGSET};
-       do
-               rlpkg ${PKG};
-       done
 }



1.154                sec-policy/selinux-base-policy/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sec-policy/selinux-base-policy/ChangeLog?rev=1.154&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sec-policy/selinux-base-policy/ChangeLog?rev=1.154&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sec-policy/selinux-base-policy/ChangeLog?r1=1.153&r2=1.154

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sec-policy/selinux-base-policy/ChangeLog,v
retrieving revision 1.153
retrieving revision 1.154
diff -u -r1.153 -r1.154
--- ChangeLog   24 Aug 2014 07:53:58 -0000      1.153
+++ ChangeLog   30 Aug 2014 20:20:47 -0000      1.154
@@ -1,6 +1,10 @@
 # ChangeLog for sec-policy/selinux-base-policy
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sec-policy/selinux-base-policy/ChangeLog,v 
1.153 2014/08/24 07:53:58 swift Exp $
+# $Header: /var/cvsroot/gentoo-x86/sec-policy/selinux-base-policy/ChangeLog,v 
1.154 2014/08/30 20:20:47 swift Exp $
+
+  30 Aug 2014; Sven Vermeulen <[email protected]>
+  selinux-base-policy-9999.ebuild:
+  Use single-line rlpkg call and do not label policy packages
 
   24 Aug 2014; Sven Vermeulen <[email protected]>
   selinux-base-policy-9999.ebuild:




Reply via email to