Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 527760

Summary: net-mail/postfix should only use RDEPEND for SELinux policy package dependency
Product: Gentoo Linux Reporter: Sven Vermeulen (RETIRED) <swift>
Component: Current packagesAssignee: Net-Mail Packages <net-mail+disabled>
Status: RESOLVED OBSOLETE    
Severity: normal CC: selinux
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 527698    

Description Sven Vermeulen (RETIRED) gentoo-dev 2014-11-01 10:47:19 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:47:28 UTC
Index: postfix-2.11.3.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/mail-mta/postfix/postfix-2.11.3.ebuild,v
retrieving revision 1.2
diff -u -B -r1.2 postfix-2.11.3.ebuild
--- postfix-2.11.3.ebuild       31 Oct 2014 15:49:18 -0000      1.2
+++ postfix-2.11.3.ebuild       1 Nov 2014 10:46:46 -0000
@@ -33,7 +33,6 @@
        pam? ( virtual/pam )
        postgres? ( dev-db/postgresql-base )
        sasl? (  >=dev-libs/cyrus-sasl-2 )
-       selinux? ( sec-policy/selinux-postfix )
        sqlite? ( dev-db/sqlite:3 )
        ssl? ( >=dev-libs/openssl-0.9.6g )"
 
@@ -53,6 +52,7 @@
        !mail-mta/opensmtpd
        !<mail-mta/ssmtp-2.64-r2
        !>=mail-mta/ssmtp-2.64-r2[mta]
+       selinux? ( sec-policy/selinux-postfix )
        !net-mail/fastforward"
 
 REQUIRED_USE="ldap-bind? ( ldap sasl )"
Index: postfix-2.12_pre20141020.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/mail-mta/postfix/postfix-2.12_pre20141020.ebuild,v
retrieving revision 1.2
diff -u -B -r1.2 postfix-2.12_pre20141020.ebuild
--- postfix-2.12_pre20141020.ebuild     31 Oct 2014 15:49:18 -0000      1.2
+++ postfix-2.12_pre20141020.ebuild     1 Nov 2014 10:46:46 -0000
@@ -34,7 +34,6 @@
        pam? ( virtual/pam )
        postgres? ( dev-db/postgresql-base )
        sasl? (  >=dev-libs/cyrus-sasl-2 )
-       selinux? ( sec-policy/selinux-postfix )
        sqlite? ( dev-db/sqlite:3 )
        ssl? ( >=dev-libs/openssl-0.9.6g )"
 
@@ -54,6 +53,7 @@
        !mail-mta/opensmtpd
        !<mail-mta/ssmtp-2.64-r2
        !>=mail-mta/ssmtp-2.64-r2[mta]
+       selinux? ( sec-policy/selinux-postfix )
        !net-mail/fastforward"
 
 # No vda support for postfix-2.12
Comment 2 Sven Vermeulen (RETIRED) gentoo-dev 2014-11-02 08:38:22 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.