Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 527804 - net-misc/openntpd should only use RDEPEND for SELinux policy package dependency
Summary: net-misc/openntpd 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: Paul B. Henson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 527698
  Show dependency tree
 
Reported: 2014-11-01 11:39 UTC by Sven Vermeulen (RETIRED)
Modified: 2014-11-02 09:10 UTC (History)
3 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:39:30 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:39:39 UTC
Index: openntpd-20080406-r9.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-misc/openntpd/openntpd-20080406-r9.ebuild,v
retrieving revision 1.3
diff -u -B -r1.3 openntpd-20080406-r9.ebuild
--- openntpd-20080406-r9.ebuild 17 Oct 2014 20:09:19 -0000      1.3
+++ openntpd-20080406-r9.ebuild 1 Nov 2014 11:38:58 -0000
@@ -18,13 +18,14 @@
 KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd"
 IUSE="ssl selinux"
 
-RDEPEND="ssl? ( dev-libs/openssl )
-       selinux? ( sec-policy/selinux-ntp )
+CDEPEND="ssl? ( dev-libs/openssl )
        !<=net-misc/ntp-4.2.0-r2
        !net-misc/ntp[-openntpd]"
-DEPEND="${RDEPEND}
+DEPEND="${CDEPEND}
        virtual/yacc"
-
+RDEPEND="${CDEPEND}
+       selinux? ( sec-policy/selinux-ntp )
+"
 S="${WORKDIR}/${MY_P/_/-}"
 
 pkg_setup() {
Comment 2 Christoph Junghans (RETIRED) gentoo-dev 2014-11-01 18:30:54 UTC
Change looks good to me, we have no bump in the queue, so commit whenever necessary.
Comment 3 Sven Vermeulen (RETIRED) gentoo-dev 2014-11-02 09:10:01 UTC
Thanks for the swift feedback.

After checking with a few colleague developers it seems that this change does not need a revision bump after all. I'll do the commmit now.

My apologies for the noise.