From: Sven Vermeulen Date: Fri, 14 Nov 2014 19:46:05 +0000 (+0000) Subject: Using RDEPEND reverse dep checking in SELinux eclass X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c60aaaee82deb1317d8bd54d8f83d3492b332e69;p=gentoo.git Using RDEPEND reverse dep checking in SELinux eclass --- diff --git a/eclass/ChangeLog b/eclass/ChangeLog index 5fabf9420586..d0bbbcc52a66 100644 --- a/eclass/ChangeLog +++ b/eclass/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for eclass directory # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1420 2014/11/14 02:49:57 pesa Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1421 2014/11/14 19:46:05 swift Exp $ + + 14 Nov 2014; Sven Vermeulen selinux-policy-2.eclass: + Using RDEPEND checks in SELinux eclass reverse dependency checking 14 Nov 2014; Davide Pesavento qt5-build.eclass: Install global docs (part of bug 457028). Generate and install qtchooser diff --git a/eclass/selinux-policy-2.eclass b/eclass/selinux-policy-2.eclass index 790a9701bf24..4ef034e644e9 100644 --- a/eclass/selinux-policy-2.eclass +++ b/eclass/selinux-policy-2.eclass @@ -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/eclass/selinux-policy-2.eclass,v 1.27 2014/08/28 18:20:49 swift Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/selinux-policy-2.eclass,v 1.28 2014/11/14 19:46:05 swift Exp $ # Eclass for installing SELinux policy, and optionally # reloading the reference-policy based modules. @@ -318,7 +318,7 @@ selinux-policy-2_pkg_postinst() { # Relabel depending packages PKGSET=""; if [ -x /usr/bin/qdepends ] ; then - PKGSET=$(/usr/bin/qdepends -Cq -Q ${CATEGORY}/${PN} | grep -v "sec-policy/selinux-"); + PKGSET=$(/usr/bin/qdepends -Cq -r -Q ${CATEGORY}/${PN} | grep -v "sec-policy/selinux-"); elif [ -x /usr/bin/equery ] ; then PKGSET=$(/usr/bin/equery -Cq depends ${CATEGORY}/${PN} | grep -v "sec-policy/selinux-"); fi