Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 527734 - dev-db/couchdb should only use RDEPEND for SELinux policy package dependency
Summary: dev-db/couchdb 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: Dirkjan Ochtman (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 527698
  Show dependency tree
 
Reported: 2014-11-01 10:06 UTC by Sven Vermeulen (RETIRED)
Modified: 2014-11-02 08:10 UTC (History)
1 user (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 10:06:27 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:06:47 UTC
Index: couchdb-1.5.1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-db/couchdb/couchdb-1.5.1.ebuild,v
retrieving revision 1.6
diff -u -B -r1.6 couchdb-1.5.1.ebuild
--- couchdb-1.5.1.ebuild        10 Aug 2014 19:57:47 -0000      1.6
+++ couchdb-1.5.1.ebuild        1 Nov 2014 10:06:35 -0000
@@ -15,14 +15,14 @@
 KEYWORDS="amd64 ppc x86"
 IUSE="selinux test"
 
-RDEPEND=">=dev-libs/icu-4.3.1:=
+CDEPEND=">=dev-libs/icu-4.3.1:=
                <dev-lang/erlang-17[ssl]
                >=dev-libs/openssl-0.9.8j:0
                >=net-misc/curl-7.18.2
-               <dev-lang/spidermonkey-1.8.7
+               <dev-lang/spidermonkey-1.8.7"
+RDEPEND="${CDEPEND}
                selinux? ( sec-policy/selinux-couchdb )"
-
-DEPEND="${RDEPEND}"
+DEPEND="${CDEPEND}"
 RESTRICT=test
 
 S="${WORKDIR}/apache-${P}"
Index: couchdb-1.6.0.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-db/couchdb/couchdb-1.6.0.ebuild,v
retrieving revision 1.3
diff -u -B -r1.3 couchdb-1.6.0.ebuild
--- couchdb-1.6.0.ebuild        10 Aug 2014 19:57:47 -0000      1.3
+++ couchdb-1.6.0.ebuild        1 Nov 2014 10:06:35 -0000
@@ -15,14 +15,14 @@
 KEYWORDS="~amd64 ~ppc ~x86"
 IUSE="selinux test"
 
-RDEPEND=">=dev-libs/icu-4.3.1:=
+CDEPEND=">=dev-libs/icu-4.3.1:=
                dev-lang/erlang[ssl]
                >=dev-libs/openssl-0.9.8j:0
                >=net-misc/curl-7.18.2
-               <dev-lang/spidermonkey-1.8.7
+               <dev-lang/spidermonkey-1.8.7"
+RDEPEND="${CDEPEND}
                selinux? ( sec-policy/selinux-couchdb )"
-
-DEPEND="${RDEPEND}"
+DEPEND="${CDEPEND}"
 RESTRICT=test
 
 S="${WORKDIR}/apache-${P}"
Comment 2 Sven Vermeulen (RETIRED) gentoo-dev 2014-11-02 08:10:55 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.