Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 527790 - net-irc/irssi should only use RDEPEND for SELinux policy package dependency
Summary: net-irc/irssi should only use RDEPEND for SELinux policy package dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sven Wegener
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 527698
  Show dependency tree
 
Reported: 2014-11-01 11:22 UTC by Sven Vermeulen (RETIRED)
Modified: 2014-11-01 11:45 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 11:22:55 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:23:05 UTC
Index: irssi-0.8.17.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-irc/irssi/irssi-0.8.17.ebuild,v
retrieving revision 1.1
diff -u -B -r1.1 irssi-0.8.17.ebuild
--- irssi-0.8.17.ebuild 15 Oct 2014 04:29:43 -0000      1.1
+++ irssi-0.8.17.ebuild 1 Nov 2014 11:22:16 -0000
@@ -18,16 +18,17 @@
 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 IUSE="ipv6 +perl selinux ssl socks5 +proxy"
 
-RDEPEND="sys-libs/ncurses
+CDEPEND="sys-libs/ncurses
        >=dev-libs/glib-2.6.0
-       selinux? ( sec-policy/selinux-irc )
        ssl? ( dev-libs/openssl )
        perl? ( dev-lang/perl )
        socks5? ( >=net-proxy/dante-1.1.18 )"
-DEPEND="${RDEPEND}
+DEPEND="${CDEPEND}
        virtual/pkgconfig"
-RDEPEND="${RDEPEND}
-       perl? ( !net-im/silc-client )"
+RDEPEND="${CDEPEND}
+       perl? ( !net-im/silc-client )
+       selinux? ( sec-policy/selinux-irc )
+"
 
 S=${WORKDIR}/${MY_P}
 
Index: irssi-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-irc/irssi/irssi-9999.ebuild,v
retrieving revision 1.12
diff -u -B -r1.12 irssi-9999.ebuild
--- irssi-9999.ebuild   31 Aug 2014 14:54:08 -0000      1.12
+++ irssi-9999.ebuild   1 Nov 2014 11:22:16 -0000
@@ -15,13 +15,12 @@
 KEYWORDS=""
 IUSE="ipv6 +perl selinux ssl socks5 +proxy"
 
-RDEPEND="sys-libs/ncurses
+CDEPEND="sys-libs/ncurses
        >=dev-libs/glib-2.6.0
-       selinux? ( sec-policy/selinux-irc )
        ssl? ( dev-libs/openssl )
        perl? ( dev-lang/perl )
        socks5? ( >=net-proxy/dante-1.1.18 )"
-DEPEND="${RDEPEND}
+DEPEND="${CDEPEND}
        virtual/pkgconfig
        >=sys-devel/autoconf-2.58
        dev-lang/perl
@@ -29,8 +28,10 @@
                www-client/lynx
                www-client/elinks
        )"
-RDEPEND="${RDEPEND}
-       perl? ( !net-im/silc-client )"
+RDEPEND="${CDEPEND}
+       perl? ( !net-im/silc-client )
+       selinux? ( sec-policy/selinux-irc )
+"
 
 src_prepare() {
        sed -i -e /^autoreconf/d autogen.sh || die
Comment 2 Sven Wegener gentoo-dev 2014-11-01 11:45:38 UTC
Thanks, commited.