Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 527768

Summary: net-dns/avahi should only use RDEPEND for SELinux policy package dependency
Product: Gentoo Linux Reporter: Sven Vermeulen (RETIRED) <swift>
Component: Current packagesAssignee: Anthony Basile <blueness>
Status: RESOLVED OBSOLETE    
Severity: normal CC: selinux
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 527698    

Description Sven Vermeulen (RETIRED) gentoo-dev 2014-11-01 10:56:08 UTC
Please remove the "selinux? ( sec-policy/selinux-* )" dependency in the DEPEND variable (not RDEPEND). Take this into account with your next package bump - if after 6 months there have been no need for other package upgrades, we will be bumping the package(s) ourselves with just this change.

For more information, see our tracker Bug #527698 [1]. The requested change will be posted as a separate comment/patch. Note that if the package also depends on libselinux, libselinux itself should still remain in DEPEND and RDEPEND.

[1] https://bugs.gentoo.org/show_bug.cgi?id=527698


Reproducible: Always
Comment 1 Sven Vermeulen (RETIRED) gentoo-dev 2014-11-01 10:56:18 UTC
Index: avahi-0.6.31-r6.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-dns/avahi/avahi-0.6.31-r6.ebuild,v
retrieving revision 1.7
diff -u -B -r1.7 avahi-0.6.31-r6.ebuild
--- avahi-0.6.31-r6.ebuild      29 Oct 2014 09:25:48 -0000      1.7
+++ avahi-0.6.31-r6.ebuild      1 Nov 2014 10:55:36 -0000
@@ -49,7 +49,6 @@
                gtk? ( dev-python/pygtk )
                dbus? ( dev-python/dbus-python )
        )
-       selinux? ( sec-policy/selinux-avahi )
        bookmarks? (
                dev-python/twisted-core
                dev-python/twisted-web
@@ -69,6 +68,7 @@
        ${COMMON_DEPEND}
        howl-compat? ( !net-misc/howl )
        mdnsresponder-compat? ( !net-misc/mDNSResponder )
+       selinux? ( sec-policy/selinux-avahi )
 "
 
 MULTILIB_WRAPPED_HEADERS=(
Comment 2 Sven Vermeulen (RETIRED) gentoo-dev 2014-11-02 08:44:52 UTC
After checking with a few colleague developers it seems that this change does not need a revision bump after all. As such, I will make the necessary changes to the packages myself.

My apologies for the noise.