Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 527750 - app-client/mutt should only use RDEPEND for SELinux policy package dependency
Summary: app-client/mutt 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: Fabian Groffen
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 527698
  Show dependency tree
 
Reported: 2014-11-01 10:33 UTC by Sven Vermeulen (RETIRED)
Modified: 2014-11-02 08:29 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:33: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:33:44 UTC
Index: mutt-1.5.23-r2.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/mail-client/mutt/mutt-1.5.23-r2.ebuild,v
retrieving revision 1.2
diff -u -B -r1.2 mutt-1.5.23-r2.ebuild
--- mutt-1.5.23-r2.ebuild       24 Oct 2014 17:30:36 -0000      1.2
+++ mutt-1.5.23-r2.ebuild       1 Nov 2014 10:33:36 -0000
@@ -19,7 +19,7 @@
 SLOT="0"
 LICENSE="GPL-2"
 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-RDEPEND="
+CDEPEND="
        app-misc/mime-types
        nls? ( virtual/libintl )
        tokyocabinet?  ( dev-db/tokyocabinet )
@@ -49,11 +49,10 @@
        idn?     ( net-dns/libidn )
        gpg?     ( >=app-crypt/gpgme-0.9.0 )
        smime?   ( >=dev-libs/openssl-0.9.6 )
-       selinux? ( sec-policy/selinux-mutt )
        slang? ( sys-libs/slang )
        !slang? ( >=sys-libs/ncurses-5.2 )
 "
-DEPEND="${RDEPEND}
+DEPEND="${CDEPEND}
        net-mail/mailbase
        doc? (
                dev-libs/libxml2
@@ -61,7 +60,8 @@
                app-text/docbook-xsl-stylesheets
                || ( www-client/lynx www-client/w3m www-client/elinks )
        )"
-
+RDEPEND="${CDEPEND}
+       selinux? ( sec-policy/selinux-mutt )"
 PATCHDIR="${WORKDIR}"/${P}-gentoo-patches${PATCHSET_REV}
 
 src_prepare() {
Index: mutt-1.5.23-r4.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/mail-client/mutt/mutt-1.5.23-r4.ebuild,v
retrieving revision 1.1
diff -u -B -r1.1 mutt-1.5.23-r4.ebuild
--- mutt-1.5.23-r4.ebuild       26 Oct 2014 14:49:52 -0000      1.1
+++ mutt-1.5.23-r4.ebuild       1 Nov 2014 10:33:36 -0000
@@ -19,7 +19,7 @@
 SLOT="0"
 LICENSE="GPL-2"
 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-RDEPEND="
+CDEPEND="
        app-misc/mime-types
        nls? ( virtual/libintl )
        tokyocabinet?  ( dev-db/tokyocabinet )
@@ -49,11 +49,10 @@
        idn?     ( net-dns/libidn )
        gpg?     ( >=app-crypt/gpgme-0.9.0 )
        smime?   ( >=dev-libs/openssl-0.9.6 )
-       selinux? ( sec-policy/selinux-mutt )
        slang? ( sys-libs/slang )
        !slang? ( >=sys-libs/ncurses-5.2 )
 "
-DEPEND="${RDEPEND}
+DEPEND="${CDEPEND}
        net-mail/mailbase
        doc? (
                dev-libs/libxml2
@@ -61,7 +60,8 @@
                app-text/docbook-xsl-stylesheets
                || ( www-client/lynx www-client/w3m www-client/elinks )
        )"
-
+RDEPEND="${CDEPEND}
+       selinux? ( sec-policy/selinux-mutt )"
 PATCHDIR="${WORKDIR}"/${P}-gentoo-patches${PATCHSET_REV}
 
 src_prepare() {
Comment 2 Fabian Groffen gentoo-dev 2014-11-01 18:46:29 UTC
@swift: just do it (tm).

I'll do it when you don't when I have the time.
Comment 3 Sven Vermeulen (RETIRED) gentoo-dev 2014-11-02 08:29:04 UTC
Thanks for the swift (sic) feedback ;)

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.