commit:     b98c423ff1a1db16491be784451ae56827e19324
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Fri May 13 21:45:55 2016 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Fri May 13 21:46:06 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b98c423f

net-misc/openvpn: Sync live ebuild

Package-Manager: portage-2.2.28

 net-misc/openvpn/openvpn-9999.ebuild | 23 +++++++++++++++++------
 1 file changed, 17 insertions(+), 6 deletions(-)

diff --git a/net-misc/openvpn/openvpn-9999.ebuild 
b/net-misc/openvpn/openvpn-9999.ebuild
index bcfcb96..bbaf8aa 100644
--- a/net-misc/openvpn/openvpn-9999.ebuild
+++ b/net-misc/openvpn/openvpn-9999.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=4
+EAPI=5
 
-inherit multilib autotools flag-o-matic user git-2
+inherit multilib autotools flag-o-matic user linux-info git-2
 
 DESCRIPTION="Robust and highly flexible tunneling application compatible with 
many OSes"
 EGIT_REPO_URI="https://github.com/OpenVPN/${PN}.git";
@@ -13,10 +13,11 @@ HOMEPAGE="http://openvpn.net/";
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS=""
-IUSE="examples down-root iproute2 +lzo pam passwordsave pkcs11 +plugins 
polarssl selinux socks +ssl static systemd userland_BSD"
+IUSE="examples down-root iproute2 libressl +lzo pam passwordsave pkcs11 
+plugins polarssl selinux socks +ssl static systemd userland_BSD"
 
 REQUIRED_USE="static? ( !plugins !pkcs11 )
-                       polarssl? ( ssl )
+                       polarssl? ( ssl !libressl )
+                       pkcs11? ( ssl )
                        !plugins? ( !pam !down-root )"
 
 DEPEND="
@@ -25,7 +26,11 @@ DEPEND="
        )
        pam? ( virtual/pam )
        ssl? (
-               !polarssl? ( >=dev-libs/openssl-0.9.7 ) polarssl? ( 
>=net-libs/polarssl-1.2.10 )
+               !polarssl? (
+                       !libressl? ( >=dev-libs/openssl-0.9.7:* )
+                       libressl? ( dev-libs/libressl )
+               )
+               polarssl? ( >=net-libs/polarssl-1.3.8 )
        )
        lzo? ( >=dev-libs/lzo-1.07 )
        pkcs11? ( >=dev-libs/pkcs11-helper-1.11 )
@@ -34,6 +39,12 @@ RDEPEND="${DEPEND}
        selinux? ( sec-policy/selinux-openvpn )
 "
 
+CONFIG_CHECK="~TUN"
+
+pkg_setup()  {
+       linux-info_pkg_setup
+}
+
 src_prepare() {
        eautoreconf
 }

Reply via email to