Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 527806 - net-misc/openvpn should only use RDEPEND for SELinux policy package dependency
Summary: net-misc/openvpn 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 11:42 UTC by Sven Vermeulen (RETIRED)
Modified: 2014-11-02 09:12 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:42:06 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:42:15 UTC
Index: openvpn-2.3.4-r1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-misc/openvpn/openvpn-2.3.4-r1.ebuild,v
retrieving revision 1.5
diff -u -B -r1.5 openvpn-2.3.4-r1.ebuild
--- openvpn-2.3.4-r1.ebuild     5 Oct 2014 15:30:01 -0000       1.5
+++ openvpn-2.3.4-r1.ebuild     1 Nov 2014 11:41:33 -0000
@@ -25,14 +25,14 @@
                iproute2? ( sys-apps/iproute2[-minimal] ) !iproute2? ( sys-apps/net-tools )
        )
        pam? ( virtual/pam )
-       selinux? ( sec-policy/selinux-openvpn )
        ssl? (
                !polarssl? ( >=dev-libs/openssl-0.9.7 ) polarssl? ( >=net-libs/polarssl-1.2.10 )
        )
        lzo? ( >=dev-libs/lzo-1.07 )
        pkcs11? ( >=dev-libs/pkcs11-helper-1.05 )"
-RDEPEND="${DEPEND}"
-
+RDEPEND="${DEPEND}
+       selinux? ( sec-policy/selinux-openvpn )
+"
 src_prepare() {
        # Set correct pass to systemd-ask-password binary
        sed -i "s:\(/bin/systemd-ask-password\):/usr\1:" ./src/openvpn/console.c || die
Index: openvpn-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-misc/openvpn/openvpn-9999.ebuild,v
retrieving revision 1.7
diff -u -B -r1.7 openvpn-9999.ebuild
--- openvpn-9999.ebuild 3 May 2013 07:56:29 -0000       1.7
+++ openvpn-9999.ebuild 1 Nov 2014 11:41:33 -0000
@@ -24,14 +24,14 @@
                iproute2? ( sys-apps/iproute2[-minimal] ) !iproute2? ( sys-apps/net-tools )
        )
        pam? ( virtual/pam )
-       selinux? ( sec-policy/selinux-openvpn )
        ssl? (
                !polarssl? ( >=dev-libs/openssl-0.9.7 ) polarssl? ( >=net-libs/polarssl-1.1.0 )
        )
        lzo? ( >=dev-libs/lzo-1.07 )
        pkcs11? ( >=dev-libs/pkcs11-helper-1.05 )"
-RDEPEND="${DEPEND}"
-
+RDEPEND="${DEPEND}
+       selinux? ( sec-policy/selinux-openvpn )
+"
 src_prepare() {
        eautoreconf
 }
Comment 2 Sven Vermeulen (RETIRED) gentoo-dev 2014-11-02 09:12:08 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.