Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 527730 - app-misc/screen should only use RDEPEND for SELinux policy package dependency
Summary: app-misc/screen 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 09:55 UTC by Sven Vermeulen (RETIRED)
Modified: 2014-11-01 11:47 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 09:55:41 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 09:56:12 UTC
Index: screen-4.0.3-r6.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-misc/screen/screen-4.0.3-r6.ebuild,v
retrieving revision 1.5
diff -u -B -r1.5 screen-4.0.3-r6.ebuild
--- screen-4.0.3-r6.ebuild      10 Mar 2014 21:21:35 -0000      1.5
+++ screen-4.0.3-r6.ebuild      1 Nov 2014 09:55:51 -0000
@@ -17,11 +17,11 @@
 KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd ~hppa-hpux ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 IUSE="debug nethack pam selinux multiuser"
 
-RDEPEND=">=sys-libs/ncurses-5.2
-       pam? ( virtual/pam )
+CDEPEND=">=sys-libs/ncurses-5.2
+       pam? ( virtual/pam )"
+DEPEND="${CDEPEND}"
+RDEPEND="${CDEPEND}
        selinux? ( sec-policy/selinux-screen )"
-DEPEND="${RDEPEND}"
-
 pkg_setup() {
        # Make sure utmp group exists, as it's used later on.
        enewgroup utmp 406
Index: screen-4.0.3-r7.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-misc/screen/screen-4.0.3-r7.ebuild,v
retrieving revision 1.5
diff -u -B -r1.5 screen-4.0.3-r7.ebuild
--- screen-4.0.3-r7.ebuild      10 Mar 2014 21:21:35 -0000      1.5
+++ screen-4.0.3-r7.ebuild      1 Nov 2014 09:55:51 -0000
@@ -17,11 +17,11 @@
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~hppa-hpux ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 IUSE="debug nethack pam selinux multiuser"
 
-RDEPEND=">=sys-libs/ncurses-5.2
-       pam? ( virtual/pam )
+CDEPEND=">=sys-libs/ncurses-5.2
+       pam? ( virtual/pam )"
+DEPEND="${CDEPEND}"
+RDEPEND="${CDEPEND}
        selinux? ( sec-policy/selinux-screen )"
-DEPEND="${RDEPEND}"
-
 pkg_setup() {
        # Make sure utmp group exists, as it's used later on.
        enewgroup utmp 406
Index: screen-4.0.3-r8.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-misc/screen/screen-4.0.3-r8.ebuild,v
retrieving revision 1.7
diff -u -B -r1.7 screen-4.0.3-r8.ebuild
--- screen-4.0.3-r8.ebuild      30 Aug 2014 10:32:59 -0000      1.7
+++ screen-4.0.3-r8.ebuild      1 Nov 2014 09:55:51 -0000
@@ -17,11 +17,11 @@
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~hppa-hpux ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 IUSE="debug nethack pam selinux multiuser"
 
-RDEPEND=">=sys-libs/ncurses-5.2
-       pam? ( virtual/pam )
-       selinux? ( sec-policy/selinux-screen )"
-DEPEND="${RDEPEND}"
-RDEPEND="${RDEPEND}
+CDEPEND=">=sys-libs/ncurses-5.2
+       pam? ( virtual/pam )"
+DEPEND="${CDEPEND}"
+RDEPEND="${CDEPEND}
+       selinux? ( sec-policy/selinux-screen )
        !<sys-apps/openrc-0.11.6"
 
 pkg_setup() {
Index: screen-4.2.1-r2.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-misc/screen/screen-4.2.1-r2.ebuild,v
retrieving revision 1.5
diff -u -B -r1.5 screen-4.2.1-r2.ebuild
--- screen-4.2.1-r2.ebuild      2 Oct 2014 18:41:59 -0000       1.5
+++ screen-4.2.1-r2.ebuild      1 Nov 2014 09:55:51 -0000
@@ -15,12 +15,12 @@
 KEYWORDS=" ~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~hppa-hpux ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 IUSE="debug nethack pam selinux multiuser"
 
-RDEPEND=">=sys-libs/ncurses-5.2
-       pam? ( virtual/pam )
-       selinux? ( sec-policy/selinux-screen )"
-DEPEND="${RDEPEND}
+CDEPEND=">=sys-libs/ncurses-5.2
+       pam? ( virtual/pam )"
+DEPEND="${CDEPEND}
        sys-apps/texinfo"
-RDEPEND="${RDEPEND}"
+RDEPEND="${CDEPEND}
+       selinux? ( sec-policy/selinux-screen )"
 
 pkg_setup() {
        # Make sure utmp group exists, as it's used later on.
Index: screen-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-misc/screen/screen-9999.ebuild,v
retrieving revision 1.4
diff -u -B -r1.4 screen-9999.ebuild
--- screen-9999.ebuild  30 Aug 2014 10:32:59 -0000      1.4
+++ screen-9999.ebuild  1 Nov 2014 09:55:51 -0000
@@ -20,12 +20,12 @@
 KEYWORDS=""
 IUSE="debug nethack pam selinux multiuser"
 
-RDEPEND=">=sys-libs/ncurses-5.2
-       pam? ( virtual/pam )
-       selinux? ( sec-policy/selinux-screen )"
-DEPEND="${RDEPEND}
+CDEPEND=">=sys-libs/ncurses-5.2
+       pam? ( virtual/pam )"
+DEPEND="${CDEPEND}
        sys-apps/texinfo"
-RDEPEND="${RDEPEND}"
+RDEPEND="${CDEPEND}
+       selinux? ( sec-policy/selinux-screen )"
 
 S="${WORKDIR}"/${P}/src
Comment 2 Sven Wegener gentoo-dev 2014-11-01 11:47:57 UTC
Thanks, commited.