Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 527818 - net-nds/portmap should only use RDEPEND for SELinux policy package dependency
Summary: net-nds/portmap should only use RDEPEND for SELinux policy package dependency
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 527698
  Show dependency tree
 
Reported: 2014-11-01 11:55 UTC by Sven Vermeulen (RETIRED)
Modified: 2014-11-02 09:24 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Vermeulen (RETIRED) gentoo-dev 2014-11-01 11:55:34 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 11:55:44 UTC
Index: portmap-6.0.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-nds/portmap/portmap-6.0.ebuild,v
retrieving revision 1.17
diff -u -B -r1.17 portmap-6.0.ebuild
--- portmap-6.0.ebuild  9 Dec 2012 12:34:07 -0000       1.17
+++ portmap-6.0.ebuild  1 Nov 2014 11:55:02 -0000
@@ -13,8 +13,11 @@
 KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86"
 IUSE="selinux tcpd"
 
-DEPEND="selinux? ( sec-policy/selinux-portmap )
+DEPEND="
        tcpd? ( >=sys-apps/tcp-wrappers-7.6-r7 )"
+RDEPEND="
+       selinux? ( sec-policy/selinux-portmap )
+"
 
 S=${WORKDIR}/${PN}_${PV}
 
Index: portmap-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-nds/portmap/portmap-9999.ebuild,v
retrieving revision 1.5
diff -u -B -r1.5 portmap-9999.ebuild
--- portmap-9999.ebuild 9 Dec 2012 12:34:07 -0000       1.5
+++ portmap-9999.ebuild 1 Nov 2014 11:55:02 -0000
@@ -14,8 +14,11 @@
 KEYWORDS=""
 IUSE="selinux tcpd"
 
-DEPEND="selinux? ( sec-policy/selinux-portmap )
+DEPEND="
        tcpd? ( >=sys-apps/tcp-wrappers-7.6-r7 )"
+RDEPEND="
+       selinux? ( sec-policy/selinux-portmap )
+"
 
 pkg_setup() {
        enewgroup rpc 111
Comment 2 Sven Vermeulen (RETIRED) gentoo-dev 2014-11-02 09:24:02 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.