[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2024-02-15 Thread William Hubbs
commit: 6a409d1c7e1d151dc97494d7cd531fa0370c9717
Author: William Hubbs  gentoo  org>
AuthorDate: Thu Feb 15 20:54:27 2024 +
Commit: William Hubbs  gentoo  org>
CommitDate: Thu Feb 15 20:54:35 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a409d1c

net-vpn/openvpn: drop 2.6.7

Signed-off-by: William Hubbs  gentoo.org>

 net-vpn/openvpn/Manifest |   1 -
 net-vpn/openvpn/openvpn-2.6.7.ebuild | 199 ---
 2 files changed, 200 deletions(-)

diff --git a/net-vpn/openvpn/Manifest b/net-vpn/openvpn/Manifest
index 3354604a25a9..08e1a80758dc 100644
--- a/net-vpn/openvpn/Manifest
+++ b/net-vpn/openvpn/Manifest
@@ -2,6 +2,5 @@ DIST openvpn-2.5.2.tar.xz 1134644 BLAKE2B 
59aa0c540894de4cfb37ad4c3139eb69a35d31
 DIST openvpn-2.5.6.tar.xz 1150352 BLAKE2B 
509821eca9d40c5579700e05e560b906ddee5abb0c51a9a210e2e998cdd9606f734d43d3bec8c473cc4f0aaa1e265e7f05202aa606247ebde8844c0243165fac
 SHA512 
f0f0600df013431af804ace70ea86ac064917acdeaad3759b5d5eaa4a8dc3738d6da6df4c16bbb23443e3493487541cb8b10b89f9f0b40a17caa6e6fc46e0adb
 DIST openvpn-2.5.7.tar.xz 1150476 BLAKE2B 
e8d24a8be8ff97072ef3b76dbec15cd6e7097ebe99f680d759f213cb5643d7b4a29664d2a96e6efe1d6ee858a6d6b3f23c6d12cf74f202fbe8cc48642f18dba6
 SHA512 
9a3234b479f5bab12b8c3af7691f175f8cd32f2929dd27efc16e96e14dbb8e07421e623869ad5ffc2d7e65f2266817d1583723033f3646b9913b10ec6d014b44
 DIST openvpn-2.6.4.tar.gz 1861178 BLAKE2B 
584fc3950732d6a1db417811f6e330a154537207f6c9543ab03b1c1a886a98a0aee7d1649055a9f7944555ae8865602be15fd8e23b67258917f1adebde050099
 SHA512 
903ac41691c26e8e4ad65c9b6fb5e75db2caf2e4079d3c4cb61a44e51be9991508f53a1dd8b4b863b4ac86088ad1a705d22131df1e25612560c9f4276d8190ec
-DIST openvpn-2.6.7.tar.gz 1895682 BLAKE2B 
58d5f2e16fc30f8533c9b18f8b63ead67782b50fdd7c09a903bd9a0d13762e4356f49393ebd7778ce68881fdd58c7564adf114230e46f811963b941a788e42e9
 SHA512 
759a2ba1d14425cab202b9c050b8f4452da61776d213de4c64c4f6e0b07313756865d97c152b26fcd334d238684ffdbf60ef28131df463f37fa318b9c8cb10b0
 DIST openvpn-2.6.8.tar.gz 1896563 BLAKE2B 
70373bcfa29bbec17a94c3129ea030539a165be9626201e1f2827f8f37f114835f9a42a42adffd86e675977ac35076660de36ad76724b0f3cadaaba476a929fc
 SHA512 
deff168f6c4988091eb8ab4d1ab525b5d0e94c4b9ce5cfec00fa9a1a87da338a198067d6386ccc3a7c84761a9e4250804cb3602fb4a2b1f016ba6102db86cfe7
 DIST openvpn-2.6.9.tar.gz 1901193 BLAKE2B 
22289b32f2b9afc2aed59f6fc66dc25b3043b8c82858b7857e4f904a25c6cf0f21a41551ed4f8d8869c0e7248e4e060779f760dd606e99cdc02203fbff886536
 SHA512 
095508b98b76f4bdf4e4dc8832dcff6ba8a2ddaadb5a8e65cd56f28d6f5694ee394210f991f5301e436fcc1b7880a7c8b59d27089d21a5672eeb79cabc243b21

diff --git a/net-vpn/openvpn/openvpn-2.6.7.ebuild 
b/net-vpn/openvpn/openvpn-2.6.7.ebuild
deleted file mode 100644
index a6856d9d73b1..
--- a/net-vpn/openvpn/openvpn-2.6.7.ebuild
+++ /dev/null
@@ -1,199 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools systemd linux-info tmpfiles
-
-DESCRIPTION="Robust and highly flexible tunneling application compatible with 
many OSes"
-HOMEPAGE="https://openvpn.net/;
-
-if [[ ${PV} == "" ]]; then
-   EGIT_REPO_URI="https://github.com/OpenVPN/${PN}.git;
-   inherit git-r3
-else
-   SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.gz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86"
-fi
-
-LICENSE="GPL-2"
-SLOT="0"
-
-IUSE="dco down-root examples inotify iproute2 +lz4 +lzo mbedtls +openssl"
-IUSE+=" pam pkcs11 +plugins selinux systemd test"
-
-RESTRICT="!test? ( test )"
-REQUIRED_USE="
-   ^^ ( openssl mbedtls )
-   pkcs11? ( !mbedtls )
-   !plugins? ( !pam !down-root )
-   inotify? ( plugins )
-   dco? ( !iproute2 )
-"
-
-CDEPEND="
-   kernel_linux? (
-   iproute2? ( sys-apps/iproute2[-minimal] )
-   )
-   lz4? ( app-arch/lz4 )
-   lzo? ( >=dev-libs/lzo-1.07 )
-   mbedtls? ( net-libs/mbedtls:= )
-   openssl? ( >=dev-libs/openssl-1.0.2:0= )
-   pam? ( sys-libs/pam )
-   pkcs11? ( >=dev-libs/pkcs11-helper-1.11 )
-   systemd? ( sys-apps/systemd )
-   dco? ( >=net-vpn/ovpn-dco-0.2 >=dev-libs/libnl-3.2.29:= )
-   sys-libs/libcap-ng:=
-"
-
-BDEPEND="
-   virtual/pkgconfig
-"
-
-DEPEND="
-   ${CDEPEND}
-   test? ( dev-util/cmocka )
-"
-RDEPEND="
-   ${CDEPEND}
-   acct-group/openvpn
-   acct-user/openvpn
-   selinux? ( sec-policy/selinux-openvpn )
-"
-
-if [[ ${PV} = "" ]]; then
-   BDEPEND+=" dev-python/docutils"
-fi
-
-pkg_setup() {
-   local CONFIG_CHECK="~TUN"
-   linux-info_pkg_setup
-}
-
-src_prepare() {
-   default
-
-   eautoreconf
-}
-
-src_configure() {
-   local -a myeconfargs
-
-   if ! use mbedtls; then
-   myeconfargs+=(
-   $(use_enable pkcs11)
-   )
-   fi
-
-   myeconfargs+=(
-   

[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2024-02-15 Thread William Hubbs
commit: 3c496c8c5e5de193773958b58aa77ec971818bf9
Author: William Hubbs  gentoo  org>
AuthorDate: Thu Feb 15 20:44:19 2024 +
Commit: William Hubbs  gentoo  org>
CommitDate: Thu Feb 15 20:44:46 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c496c8c

net-vpn/openvpn: add 2.6.9

Signed-off-by: William Hubbs  gentoo.org>

 net-vpn/openvpn/Manifest |   1 +
 net-vpn/openvpn/openvpn-2.6.9.ebuild | 199 +++
 2 files changed, 200 insertions(+)

diff --git a/net-vpn/openvpn/Manifest b/net-vpn/openvpn/Manifest
index 97687540f401..3354604a25a9 100644
--- a/net-vpn/openvpn/Manifest
+++ b/net-vpn/openvpn/Manifest
@@ -4,3 +4,4 @@ DIST openvpn-2.5.7.tar.xz 1150476 BLAKE2B 
e8d24a8be8ff97072ef3b76dbec15cd6e7097e
 DIST openvpn-2.6.4.tar.gz 1861178 BLAKE2B 
584fc3950732d6a1db417811f6e330a154537207f6c9543ab03b1c1a886a98a0aee7d1649055a9f7944555ae8865602be15fd8e23b67258917f1adebde050099
 SHA512 
903ac41691c26e8e4ad65c9b6fb5e75db2caf2e4079d3c4cb61a44e51be9991508f53a1dd8b4b863b4ac86088ad1a705d22131df1e25612560c9f4276d8190ec
 DIST openvpn-2.6.7.tar.gz 1895682 BLAKE2B 
58d5f2e16fc30f8533c9b18f8b63ead67782b50fdd7c09a903bd9a0d13762e4356f49393ebd7778ce68881fdd58c7564adf114230e46f811963b941a788e42e9
 SHA512 
759a2ba1d14425cab202b9c050b8f4452da61776d213de4c64c4f6e0b07313756865d97c152b26fcd334d238684ffdbf60ef28131df463f37fa318b9c8cb10b0
 DIST openvpn-2.6.8.tar.gz 1896563 BLAKE2B 
70373bcfa29bbec17a94c3129ea030539a165be9626201e1f2827f8f37f114835f9a42a42adffd86e675977ac35076660de36ad76724b0f3cadaaba476a929fc
 SHA512 
deff168f6c4988091eb8ab4d1ab525b5d0e94c4b9ce5cfec00fa9a1a87da338a198067d6386ccc3a7c84761a9e4250804cb3602fb4a2b1f016ba6102db86cfe7
+DIST openvpn-2.6.9.tar.gz 1901193 BLAKE2B 
22289b32f2b9afc2aed59f6fc66dc25b3043b8c82858b7857e4f904a25c6cf0f21a41551ed4f8d8869c0e7248e4e060779f760dd606e99cdc02203fbff886536
 SHA512 
095508b98b76f4bdf4e4dc8832dcff6ba8a2ddaadb5a8e65cd56f28d6f5694ee394210f991f5301e436fcc1b7880a7c8b59d27089d21a5672eeb79cabc243b21

diff --git a/net-vpn/openvpn/openvpn-2.6.9.ebuild 
b/net-vpn/openvpn/openvpn-2.6.9.ebuild
new file mode 100644
index ..ebad808e6e1f
--- /dev/null
+++ b/net-vpn/openvpn/openvpn-2.6.9.ebuild
@@ -0,0 +1,199 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools systemd linux-info tmpfiles
+
+DESCRIPTION="Robust and highly flexible tunneling application compatible with 
many OSes"
+HOMEPAGE="https://openvpn.net/;
+
+if [[ ${PV} == "" ]]; then
+   EGIT_REPO_URI="https://github.com/OpenVPN/${PN}.git;
+   inherit git-r3
+else
+   SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.gz;
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+
+IUSE="dco down-root examples inotify iproute2 +lz4 +lzo mbedtls +openssl"
+IUSE+=" pam pkcs11 +plugins selinux systemd test"
+
+RESTRICT="!test? ( test )"
+REQUIRED_USE="
+   ^^ ( openssl mbedtls )
+   pkcs11? ( !mbedtls )
+   !plugins? ( !pam !down-root )
+   inotify? ( plugins )
+   dco? ( !iproute2 )
+"
+
+COMMON_DEPEND="
+   kernel_linux? (
+   iproute2? ( sys-apps/iproute2[-minimal] )
+   )
+   lz4? ( app-arch/lz4 )
+   lzo? ( >=dev-libs/lzo-1.07 )
+   mbedtls? ( net-libs/mbedtls:= )
+   openssl? ( >=dev-libs/openssl-1.0.2:0= )
+   pam? ( sys-libs/pam )
+   pkcs11? ( >=dev-libs/pkcs11-helper-1.11 )
+   systemd? ( sys-apps/systemd )
+   dco? ( >=net-vpn/ovpn-dco-0.2 >=dev-libs/libnl-3.2.29:= )
+   sys-libs/libcap-ng:=
+"
+
+BDEPEND="
+   virtual/pkgconfig
+"
+
+DEPEND="
+   ${COMMON_DEPEND}
+   test? ( dev-util/cmocka )
+"
+RDEPEND="
+   ${COMMON_DEPEND}
+   acct-group/openvpn
+   acct-user/openvpn
+   selinux? ( sec-policy/selinux-openvpn )
+"
+
+if [[ ${PV} = "" ]]; then
+   BDEPEND+=" dev-python/docutils"
+fi
+
+pkg_setup() {
+   local CONFIG_CHECK="~TUN"
+   linux-info_pkg_setup
+}
+
+src_prepare() {
+   default
+
+   eautoreconf
+}
+
+src_configure() {
+   local -a myeconfargs
+
+   if ! use mbedtls; then
+   myeconfargs+=(
+   $(use_enable pkcs11)
+   )
+   fi
+
+   myeconfargs+=(
+   $(use_enable inotify async-push)
+   --with-crypto-library=$(usex mbedtls mbedtls openssl)
+   $(use_enable lz4)
+   $(use_enable lzo)
+   $(use_enable plugins)
+   $(use_enable iproute2)
+   $(use_enable pam plugin-auth-pam)
+   $(use_enable down-root plugin-down-root)
+   $(use_enable systemd)
+   $(use_enable dco)
+   )
+
+   SYSTEMD_UNIT_DIR=$(systemd_get_systemunitdir) \
+   TMPFILES_DIR="/usr/lib/tmpfiles.d" \
+   IPROUTE=$(usex iproute2 '/bin/ip' '') \

[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2024-01-23 Thread Ionen Wolkens
commit: 9d826bb8c3699b254fdf36c330b0dc2bb1a4e79f
Author: Matoro Mahri  matoro  tk>
AuthorDate: Tue Jan 23 22:36:56 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Wed Jan 24 04:56:15 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d826bb8

net-vpn/openvpn: Stabilize 2.6.8 x86, #921375

Signed-off-by: Matoro Mahri  matoro.tk>
Signed-off-by: Ionen Wolkens  gentoo.org>

 net-vpn/openvpn/openvpn-2.6.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/openvpn/openvpn-2.6.8.ebuild 
b/net-vpn/openvpn/openvpn-2.6.8.ebuild
index 788dfdc39c72..a454e266b420 100644
--- a/net-vpn/openvpn/openvpn-2.6.8.ebuild
+++ b/net-vpn/openvpn/openvpn-2.6.8.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.gz;
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv 
~sparc ~x86"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv 
~sparc x86"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2024-01-23 Thread Ionen Wolkens
commit: 572d34cd076953dd4a83683bfbc5e046aa8db696
Author: Matoro Mahri  matoro  tk>
AuthorDate: Tue Jan 23 22:32:26 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Wed Jan 24 04:56:14 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=572d34cd

net-vpn/openvpn: Stabilize 2.6.8 amd64, #921375

Signed-off-by: Matoro Mahri  matoro.tk>
Signed-off-by: Ionen Wolkens  gentoo.org>

 net-vpn/openvpn/openvpn-2.6.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/openvpn/openvpn-2.6.8.ebuild 
b/net-vpn/openvpn/openvpn-2.6.8.ebuild
index 61664f558fc8..788dfdc39c72 100644
--- a/net-vpn/openvpn/openvpn-2.6.8.ebuild
+++ b/net-vpn/openvpn/openvpn-2.6.8.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.gz;
-   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv 
~sparc ~x86"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv 
~sparc ~x86"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2024-01-21 Thread Sam James
commit: 5ff52deaea23e5b29706a728662b56a52dd729a4
Author: Sam James  gentoo  org>
AuthorDate: Sun Jan 21 10:05:29 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jan 21 10:05:29 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ff52dea

net-vpn/openvpn: Stabilize 2.6.8 arm64, #921375

Signed-off-by: Sam James  gentoo.org>

 net-vpn/openvpn/openvpn-2.6.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/openvpn/openvpn-2.6.8.ebuild 
b/net-vpn/openvpn/openvpn-2.6.8.ebuild
index 0201450642a8..64f8bc7cd503 100644
--- a/net-vpn/openvpn/openvpn-2.6.8.ebuild
+++ b/net-vpn/openvpn/openvpn-2.6.8.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.gz;
-   KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86"
+   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv 
~sparc ~x86"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2024-01-21 Thread Sam James
commit: bb9877afc87f4e4cef1b2c376f0ff34480ea6813
Author: Sam James  gentoo  org>
AuthorDate: Sun Jan 21 10:05:31 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jan 21 10:05:31 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb9877af

net-vpn/openvpn: Stabilize 2.6.8 ppc64, #921375

Signed-off-by: Sam James  gentoo.org>

 net-vpn/openvpn/openvpn-2.6.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/openvpn/openvpn-2.6.8.ebuild 
b/net-vpn/openvpn/openvpn-2.6.8.ebuild
index 64f8bc7cd503..b32dbc008ac8 100644
--- a/net-vpn/openvpn/openvpn-2.6.8.ebuild
+++ b/net-vpn/openvpn/openvpn-2.6.8.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.gz;
-   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv 
~sparc ~x86"
+   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~loong ~mips ~ppc ppc64 ~riscv 
~sparc ~x86"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2024-01-21 Thread Sam James
commit: 27f839e4dcad579a57ed098e4811d1aa3e0e53f3
Author: Sam James  gentoo  org>
AuthorDate: Sun Jan 21 10:05:28 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jan 21 10:05:28 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27f839e4

net-vpn/openvpn: Stabilize 2.6.8 arm, #921375

Signed-off-by: Sam James  gentoo.org>

 net-vpn/openvpn/openvpn-2.6.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/openvpn/openvpn-2.6.8.ebuild 
b/net-vpn/openvpn/openvpn-2.6.8.ebuild
index ebad808e6e1f..0201450642a8 100644
--- a/net-vpn/openvpn/openvpn-2.6.8.ebuild
+++ b/net-vpn/openvpn/openvpn-2.6.8.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.gz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86"
+   KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2024-01-20 Thread Arthur Zamarin
commit: 70c56cee45d06acaae645a16a69cb9695c6185f2
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Jan 20 20:15:46 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Jan 20 20:15:46 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70c56cee

net-vpn/openvpn: Stabilize 2.6.4 ppc, #908984

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-vpn/openvpn/openvpn-2.6.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/openvpn/openvpn-2.6.4.ebuild 
b/net-vpn/openvpn/openvpn-2.6.4.ebuild
index 95e425fa0386..5bc085c9c209 100644
--- a/net-vpn/openvpn/openvpn-2.6.4.ebuild
+++ b/net-vpn/openvpn/openvpn-2.6.4.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.gz;
-   KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv x86"
+   KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv x86"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2024-01-12 Thread Arthur Zamarin
commit: f225341617cb7a2030f75280cdae01cae50f7c14
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Jan 12 08:34:59 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Jan 12 08:34:59 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2253416

net-vpn/openvpn: Stabilize 2.6.4 arm, #908984

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-vpn/openvpn/openvpn-2.6.4.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-vpn/openvpn/openvpn-2.6.4.ebuild 
b/net-vpn/openvpn/openvpn-2.6.4.ebuild
index f847206de2f2..95e425fa0386 100644
--- a/net-vpn/openvpn/openvpn-2.6.4.ebuild
+++ b/net-vpn/openvpn/openvpn-2.6.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -13,7 +13,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.gz;
-   KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ppc64 ~riscv x86"
+   KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv x86"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2024-01-04 Thread Sam James
commit: fa82e5ca6c5ccdee72b6c8373491b447f5a86807
Author: Sam James  gentoo  org>
AuthorDate: Fri Jan  5 07:36:29 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jan  5 07:36:29 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa82e5ca

net-vpn/openvpn: add 2.6.8

Fixes a critical crash in 2.6.7.

Bug: https://bugs.gentoo.org/917272
Signed-off-by: Sam James  gentoo.org>

 net-vpn/openvpn/Manifest   |  1 +
 .../openvpn/{openvpn-.ebuild => openvpn-2.6.8.ebuild}  | 14 +-
 net-vpn/openvpn/openvpn-.ebuild| 14 +-
 3 files changed, 19 insertions(+), 10 deletions(-)

diff --git a/net-vpn/openvpn/Manifest b/net-vpn/openvpn/Manifest
index 0a76261da2d4..97687540f401 100644
--- a/net-vpn/openvpn/Manifest
+++ b/net-vpn/openvpn/Manifest
@@ -3,3 +3,4 @@ DIST openvpn-2.5.6.tar.xz 1150352 BLAKE2B 
509821eca9d40c5579700e05e560b906ddee5a
 DIST openvpn-2.5.7.tar.xz 1150476 BLAKE2B 
e8d24a8be8ff97072ef3b76dbec15cd6e7097ebe99f680d759f213cb5643d7b4a29664d2a96e6efe1d6ee858a6d6b3f23c6d12cf74f202fbe8cc48642f18dba6
 SHA512 
9a3234b479f5bab12b8c3af7691f175f8cd32f2929dd27efc16e96e14dbb8e07421e623869ad5ffc2d7e65f2266817d1583723033f3646b9913b10ec6d014b44
 DIST openvpn-2.6.4.tar.gz 1861178 BLAKE2B 
584fc3950732d6a1db417811f6e330a154537207f6c9543ab03b1c1a886a98a0aee7d1649055a9f7944555ae8865602be15fd8e23b67258917f1adebde050099
 SHA512 
903ac41691c26e8e4ad65c9b6fb5e75db2caf2e4079d3c4cb61a44e51be9991508f53a1dd8b4b863b4ac86088ad1a705d22131df1e25612560c9f4276d8190ec
 DIST openvpn-2.6.7.tar.gz 1895682 BLAKE2B 
58d5f2e16fc30f8533c9b18f8b63ead67782b50fdd7c09a903bd9a0d13762e4356f49393ebd7778ce68881fdd58c7564adf114230e46f811963b941a788e42e9
 SHA512 
759a2ba1d14425cab202b9c050b8f4452da61776d213de4c64c4f6e0b07313756865d97c152b26fcd334d238684ffdbf60ef28131df463f37fa318b9c8cb10b0
+DIST openvpn-2.6.8.tar.gz 1896563 BLAKE2B 
70373bcfa29bbec17a94c3129ea030539a165be9626201e1f2827f8f37f114835f9a42a42adffd86e675977ac35076660de36ad76724b0f3cadaaba476a929fc
 SHA512 
deff168f6c4988091eb8ab4d1ab525b5d0e94c4b9ce5cfec00fa9a1a87da338a198067d6386ccc3a7c84761a9e4250804cb3602fb4a2b1f016ba6102db86cfe7

diff --git a/net-vpn/openvpn/openvpn-.ebuild 
b/net-vpn/openvpn/openvpn-2.6.8.ebuild
similarity index 97%
copy from net-vpn/openvpn/openvpn-.ebuild
copy to net-vpn/openvpn/openvpn-2.6.8.ebuild
index 957b6246fb6c..ebad808e6e1f 100644
--- a/net-vpn/openvpn/openvpn-.ebuild
+++ b/net-vpn/openvpn/openvpn-2.6.8.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -31,7 +31,7 @@ REQUIRED_USE="
dco? ( !iproute2 )
 "
 
-CDEPEND="
+COMMON_DEPEND="
kernel_linux? (
iproute2? ( sys-apps/iproute2[-minimal] )
)
@@ -46,12 +46,16 @@ CDEPEND="
sys-libs/libcap-ng:=
 "
 
-BDEPEND="virtual/pkgconfig"
+BDEPEND="
+   virtual/pkgconfig
+"
 
-DEPEND="${CDEPEND}
+DEPEND="
+   ${COMMON_DEPEND}
test? ( dev-util/cmocka )
 "
-RDEPEND="${CDEPEND}
+RDEPEND="
+   ${COMMON_DEPEND}
acct-group/openvpn
acct-user/openvpn
selinux? ( sec-policy/selinux-openvpn )

diff --git a/net-vpn/openvpn/openvpn-.ebuild 
b/net-vpn/openvpn/openvpn-.ebuild
index 957b6246fb6c..ebad808e6e1f 100644
--- a/net-vpn/openvpn/openvpn-.ebuild
+++ b/net-vpn/openvpn/openvpn-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -31,7 +31,7 @@ REQUIRED_USE="
dco? ( !iproute2 )
 "
 
-CDEPEND="
+COMMON_DEPEND="
kernel_linux? (
iproute2? ( sys-apps/iproute2[-minimal] )
)
@@ -46,12 +46,16 @@ CDEPEND="
sys-libs/libcap-ng:=
 "
 
-BDEPEND="virtual/pkgconfig"
+BDEPEND="
+   virtual/pkgconfig
+"
 
-DEPEND="${CDEPEND}
+DEPEND="
+   ${COMMON_DEPEND}
test? ( dev-util/cmocka )
 "
-RDEPEND="${CDEPEND}
+RDEPEND="
+   ${COMMON_DEPEND}
acct-group/openvpn
acct-user/openvpn
selinux? ( sec-policy/selinux-openvpn )



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2023-11-14 Thread Patrick McLean
commit: 630de2aacf3afee6021cc99d9652ae61cfbd0046
Author: Patrick McLean  gentoo  org>
AuthorDate: Tue Nov 14 17:29:19 2023 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Tue Nov 14 17:29:36 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=630de2aa

net-vpn/openvpn: add 2.6.7

Closes: https://bugs.gentoo.org/909376
Signed-off-by: Patrick McLean  gentoo.org>

 net-vpn/openvpn/Manifest |   1 +
 net-vpn/openvpn/openvpn-2.6.7.ebuild | 199 +++
 2 files changed, 200 insertions(+)

diff --git a/net-vpn/openvpn/Manifest b/net-vpn/openvpn/Manifest
index 00d142186b29..0a76261da2d4 100644
--- a/net-vpn/openvpn/Manifest
+++ b/net-vpn/openvpn/Manifest
@@ -2,3 +2,4 @@ DIST openvpn-2.5.2.tar.xz 1134644 BLAKE2B 
59aa0c540894de4cfb37ad4c3139eb69a35d31
 DIST openvpn-2.5.6.tar.xz 1150352 BLAKE2B 
509821eca9d40c5579700e05e560b906ddee5abb0c51a9a210e2e998cdd9606f734d43d3bec8c473cc4f0aaa1e265e7f05202aa606247ebde8844c0243165fac
 SHA512 
f0f0600df013431af804ace70ea86ac064917acdeaad3759b5d5eaa4a8dc3738d6da6df4c16bbb23443e3493487541cb8b10b89f9f0b40a17caa6e6fc46e0adb
 DIST openvpn-2.5.7.tar.xz 1150476 BLAKE2B 
e8d24a8be8ff97072ef3b76dbec15cd6e7097ebe99f680d759f213cb5643d7b4a29664d2a96e6efe1d6ee858a6d6b3f23c6d12cf74f202fbe8cc48642f18dba6
 SHA512 
9a3234b479f5bab12b8c3af7691f175f8cd32f2929dd27efc16e96e14dbb8e07421e623869ad5ffc2d7e65f2266817d1583723033f3646b9913b10ec6d014b44
 DIST openvpn-2.6.4.tar.gz 1861178 BLAKE2B 
584fc3950732d6a1db417811f6e330a154537207f6c9543ab03b1c1a886a98a0aee7d1649055a9f7944555ae8865602be15fd8e23b67258917f1adebde050099
 SHA512 
903ac41691c26e8e4ad65c9b6fb5e75db2caf2e4079d3c4cb61a44e51be9991508f53a1dd8b4b863b4ac86088ad1a705d22131df1e25612560c9f4276d8190ec
+DIST openvpn-2.6.7.tar.gz 1895682 BLAKE2B 
58d5f2e16fc30f8533c9b18f8b63ead67782b50fdd7c09a903bd9a0d13762e4356f49393ebd7778ce68881fdd58c7564adf114230e46f811963b941a788e42e9
 SHA512 
759a2ba1d14425cab202b9c050b8f4452da61776d213de4c64c4f6e0b07313756865d97c152b26fcd334d238684ffdbf60ef28131df463f37fa318b9c8cb10b0

diff --git a/net-vpn/openvpn/openvpn-2.6.7.ebuild 
b/net-vpn/openvpn/openvpn-2.6.7.ebuild
new file mode 100644
index ..c446a6a84a09
--- /dev/null
+++ b/net-vpn/openvpn/openvpn-2.6.7.ebuild
@@ -0,0 +1,199 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools systemd linux-info tmpfiles
+
+DESCRIPTION="Robust and highly flexible tunneling application compatible with 
many OSes"
+HOMEPAGE="https://openvpn.net/;
+
+if [[ ${PV} == "" ]]; then
+   EGIT_REPO_URI="https://github.com/OpenVPN/${PN}.git;
+   inherit git-r3
+else
+   SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.gz;
+   KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+
+IUSE="dco down-root examples inotify iproute2 +lz4 +lzo mbedtls +openssl"
+IUSE+=" pam pkcs11 +plugins selinux systemd test"
+
+RESTRICT="!test? ( test )"
+REQUIRED_USE="
+   ^^ ( openssl mbedtls )
+   pkcs11? ( !mbedtls )
+   !plugins? ( !pam !down-root )
+   inotify? ( plugins )
+   dco? ( !iproute2 )
+"
+
+CDEPEND="
+   kernel_linux? (
+   iproute2? ( sys-apps/iproute2[-minimal] )
+   )
+   lz4? ( app-arch/lz4 )
+   lzo? ( >=dev-libs/lzo-1.07 )
+   mbedtls? ( net-libs/mbedtls:= )
+   openssl? ( >=dev-libs/openssl-1.0.2:0= )
+   pam? ( sys-libs/pam )
+   pkcs11? ( >=dev-libs/pkcs11-helper-1.11 )
+   systemd? ( sys-apps/systemd )
+   dco? ( >=net-vpn/ovpn-dco-0.2 >=dev-libs/libnl-3.2.29:= )
+   sys-libs/libcap-ng:=
+"
+
+BDEPEND="
+   virtual/pkgconfig
+"
+
+DEPEND="
+   ${CDEPEND}
+   test? ( dev-util/cmocka )
+"
+RDEPEND="
+   ${CDEPEND}
+   acct-group/openvpn
+   acct-user/openvpn
+   selinux? ( sec-policy/selinux-openvpn )
+"
+
+if [[ ${PV} = "" ]]; then
+   BDEPEND+=" dev-python/docutils"
+fi
+
+pkg_setup() {
+   local CONFIG_CHECK="~TUN"
+   linux-info_pkg_setup
+}
+
+src_prepare() {
+   default
+
+   eautoreconf
+}
+
+src_configure() {
+   local -a myeconfargs
+
+   if ! use mbedtls; then
+   myeconfargs+=(
+   $(use_enable pkcs11)
+   )
+   fi
+
+   myeconfargs+=(
+   $(use_enable inotify async-push)
+   --with-crypto-library=$(usex mbedtls mbedtls openssl)
+   $(use_enable lz4)
+   $(use_enable lzo)
+   $(use_enable plugins)
+   $(use_enable iproute2)
+   $(use_enable pam plugin-auth-pam)
+   $(use_enable down-root plugin-down-root)
+   $(use_enable systemd)
+   $(use_enable dco)
+   )
+
+   SYSTEMD_UNIT_DIR=$(systemd_get_systemunitdir) \
+   TMPFILES_DIR="/usr/lib/tmpfiles.d" \
+   IPROUTE=$(usex iproute2 '/bin/ip' '') \
+  

[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2023-06-30 Thread Arthur Zamarin
commit: 4cbf03ea449348bc9bb36ef895522602f3983ccf
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Jun 30 06:34:45 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Jun 30 06:34:45 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cbf03ea

net-vpn/openvpn: Stabilize 2.6.4 amd64, #908984

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-vpn/openvpn/openvpn-2.6.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/openvpn/openvpn-2.6.4.ebuild 
b/net-vpn/openvpn/openvpn-2.6.4.ebuild
index 445c20fe660e..8106d2d58fba 100644
--- a/net-vpn/openvpn/openvpn-2.6.4.ebuild
+++ b/net-vpn/openvpn/openvpn-2.6.4.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.gz;
-   KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ppc64 ~riscv x86"
+   KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc ppc64 ~riscv x86"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2023-06-30 Thread Arthur Zamarin
commit: db2ac9291437228a996c7775f1108b1538891051
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Jun 30 06:34:44 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Jun 30 06:34:44 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db2ac929

net-vpn/openvpn: Stabilize 2.6.4 x86, #908984

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-vpn/openvpn/openvpn-2.6.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/openvpn/openvpn-2.6.4.ebuild 
b/net-vpn/openvpn/openvpn-2.6.4.ebuild
index 9f7b516d02a3..445c20fe660e 100644
--- a/net-vpn/openvpn/openvpn-2.6.4.ebuild
+++ b/net-vpn/openvpn/openvpn-2.6.4.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.gz;
-   KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ppc64 ~riscv ~x86"
+   KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ppc64 ~riscv x86"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2023-06-29 Thread Sam James
commit: f29889f3998b0f84a5901390fd03429f223b6752
Author: Sam James  gentoo  org>
AuthorDate: Fri Jun 30 02:37:53 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jun 30 02:37:53 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f29889f3

net-vpn/openvpn: Stabilize 2.6.4 ppc64, #908984

Signed-off-by: Sam James  gentoo.org>

 net-vpn/openvpn/openvpn-2.6.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/openvpn/openvpn-2.6.4.ebuild 
b/net-vpn/openvpn/openvpn-2.6.4.ebuild
index 2e3a4971d7e6..9f7b516d02a3 100644
--- a/net-vpn/openvpn/openvpn-2.6.4.ebuild
+++ b/net-vpn/openvpn/openvpn-2.6.4.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.gz;
-   KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
+   KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ppc64 ~riscv ~x86"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2023-06-29 Thread Sam James
commit: e89f0c3c4d5b9ae2fbeed135c87b4c59a8c1a025
Author: Sam James  gentoo  org>
AuthorDate: Thu Jun 29 11:27:28 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jun 29 11:27:28 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e89f0c3c

net-vpn/openvpn: Keyword 2.6.4 ppc, #907389

Signed-off-by: Sam James  gentoo.org>

 net-vpn/openvpn/openvpn-2.6.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/openvpn/openvpn-2.6.4.ebuild 
b/net-vpn/openvpn/openvpn-2.6.4.ebuild
index 4f4041eedf67..2e3a4971d7e6 100644
--- a/net-vpn/openvpn/openvpn-2.6.4.ebuild
+++ b/net-vpn/openvpn/openvpn-2.6.4.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.gz;
-   KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+   KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2023-06-29 Thread Sam James
commit: 05127fbd915a3a15cf540a480fb992a2184458a2
Author: Sam James  gentoo  org>
AuthorDate: Thu Jun 29 11:27:25 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jun 29 11:27:25 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05127fbd

net-vpn/openvpn: Keyword 2.6.4 ppc64, #907389

Signed-off-by: Sam James  gentoo.org>

 net-vpn/openvpn/openvpn-2.6.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/openvpn/openvpn-2.6.4.ebuild 
b/net-vpn/openvpn/openvpn-2.6.4.ebuild
index 91dab5b17769..4f4041eedf67 100644
--- a/net-vpn/openvpn/openvpn-2.6.4.ebuild
+++ b/net-vpn/openvpn/openvpn-2.6.4.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.gz;
-   KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86"
+   KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2023-06-21 Thread Sam James
commit: 2129ffc0a5c7995d5d5f98edede71f6c36737020
Author: Sam James  gentoo  org>
AuthorDate: Thu Jun 22 05:17:48 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jun 22 05:18:05 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2129ffc0

net-vpn/openvpn: Stabilize 2.5.7-r1 arm64, #906746

Signed-off-by: Sam James  gentoo.org>

 net-vpn/openvpn/openvpn-2.5.7-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/openvpn/openvpn-2.5.7-r1.ebuild 
b/net-vpn/openvpn/openvpn-2.5.7-r1.ebuild
index c1d0aa0fd6a0..ad3a7b0a3abd 100644
--- a/net-vpn/openvpn/openvpn-2.5.7-r1.ebuild
+++ b/net-vpn/openvpn/openvpn-2.5.7-r1.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~loong ~mips ppc ~ppc64 ~riscv 
~sparc x86"
+   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~loong ~mips ppc ~ppc64 ~riscv 
~sparc x86"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2023-06-21 Thread Sam James
commit: e45aaa6471ca8fea0904b07a6ec8a67572fb1fc6
Author: Sam James  gentoo  org>
AuthorDate: Thu Jun 22 05:17:51 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jun 22 05:18:06 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e45aaa64

net-vpn/openvpn: Stabilize 2.5.7-r1 amd64, #906746

Signed-off-by: Sam James  gentoo.org>

 net-vpn/openvpn/openvpn-2.5.7-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/openvpn/openvpn-2.5.7-r1.ebuild 
b/net-vpn/openvpn/openvpn-2.5.7-r1.ebuild
index 5c45778d1892..d4f1ab61a2e6 100644
--- a/net-vpn/openvpn/openvpn-2.5.7-r1.ebuild
+++ b/net-vpn/openvpn/openvpn-2.5.7-r1.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv 
~sparc x86"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv 
~sparc x86"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2023-06-21 Thread Sam James
commit: cbc1237c066cdd758f21d7e4faf095ad9c4fb3c4
Author: Sam James  gentoo  org>
AuthorDate: Thu Jun 22 05:17:50 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jun 22 05:18:05 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbc1237c

net-vpn/openvpn: Stabilize 2.5.7-r1 ppc64, #906746

Signed-off-by: Sam James  gentoo.org>

 net-vpn/openvpn/openvpn-2.5.7-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/openvpn/openvpn-2.5.7-r1.ebuild 
b/net-vpn/openvpn/openvpn-2.5.7-r1.ebuild
index ad3a7b0a3abd..5c45778d1892 100644
--- a/net-vpn/openvpn/openvpn-2.5.7-r1.ebuild
+++ b/net-vpn/openvpn/openvpn-2.5.7-r1.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~loong ~mips ppc ~ppc64 ~riscv 
~sparc x86"
+   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv 
~sparc x86"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2023-06-21 Thread Sam James
commit: 2d782607e0fbabf6d8b3e685519fb4a7708a96e9
Author: Sam James  gentoo  org>
AuthorDate: Thu Jun 22 05:17:45 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jun 22 05:18:02 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d782607

net-vpn/openvpn: Stabilize 2.5.7-r1 ppc, #906746

Signed-off-by: Sam James  gentoo.org>

 net-vpn/openvpn/openvpn-2.5.7-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/openvpn/openvpn-2.5.7-r1.ebuild 
b/net-vpn/openvpn/openvpn-2.5.7-r1.ebuild
index ad3dc19877e0..1f92eb0cdfd0 100644
--- a/net-vpn/openvpn/openvpn-2.5.7-r1.ebuild
+++ b/net-vpn/openvpn/openvpn-2.5.7-r1.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ppc ~ppc64 
~riscv ~sparc ~x86"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2023-06-21 Thread Sam James
commit: 572a74fe7fbc65111689193cfcaf129183f29132
Author: Sam James  gentoo  org>
AuthorDate: Thu Jun 22 05:17:47 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jun 22 05:18:04 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=572a74fe

net-vpn/openvpn: Stabilize 2.5.7-r1 arm, #906746

Signed-off-by: Sam James  gentoo.org>

 net-vpn/openvpn/openvpn-2.5.7-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/openvpn/openvpn-2.5.7-r1.ebuild 
b/net-vpn/openvpn/openvpn-2.5.7-r1.ebuild
index e325a7bf1154..c1d0aa0fd6a0 100644
--- a/net-vpn/openvpn/openvpn-2.5.7-r1.ebuild
+++ b/net-vpn/openvpn/openvpn-2.5.7-r1.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ppc ~ppc64 
~riscv ~sparc x86"
+   KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~loong ~mips ppc ~ppc64 ~riscv 
~sparc x86"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2023-06-21 Thread Sam James
commit: 3dfd88837dd3e82d5facffb05c3d165a2bac90de
Author: Sam James  gentoo  org>
AuthorDate: Thu Jun 22 05:17:46 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jun 22 05:18:03 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3dfd8883

net-vpn/openvpn: Stabilize 2.5.7-r1 x86, #906746

Signed-off-by: Sam James  gentoo.org>

 net-vpn/openvpn/openvpn-2.5.7-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/openvpn/openvpn-2.5.7-r1.ebuild 
b/net-vpn/openvpn/openvpn-2.5.7-r1.ebuild
index 1f92eb0cdfd0..e325a7bf1154 100644
--- a/net-vpn/openvpn/openvpn-2.5.7-r1.ebuild
+++ b/net-vpn/openvpn/openvpn-2.5.7-r1.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ppc ~ppc64 
~riscv ~sparc ~x86"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ppc ~ppc64 
~riscv ~sparc x86"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2023-06-20 Thread Fabian Groffen
commit: 3cac361206f51b91780d3bcc50a41f98f0e191f1
Author: Fabian Groffen  gentoo  org>
AuthorDate: Tue Jun 20 09:11:45 2023 +
Commit: Fabian Groffen  gentoo  org>
CommitDate: Tue Jun 20 09:11:45 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cac3612

net-vpn/openvpn: dekeyword *-linux

Bug: https://bugs.gentoo.org/907389
Signed-off-by: Fabian Groffen  gentoo.org>

 net-vpn/openvpn/openvpn-2.5.2-r3.ebuild | 2 +-
 net-vpn/openvpn/openvpn-2.5.6-r1.ebuild | 2 +-
 net-vpn/openvpn/openvpn-2.5.7-r1.ebuild | 2 +-
 net-vpn/openvpn/openvpn-.ebuild | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/net-vpn/openvpn/openvpn-2.5.2-r3.ebuild 
b/net-vpn/openvpn/openvpn-2.5.2-r3.ebuild
index d325b9e801cf..e44ea7ef4373 100644
--- a/net-vpn/openvpn/openvpn-2.5.2-r3.ebuild
+++ b/net-vpn/openvpn/openvpn-2.5.2-r3.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.xz;
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~sparc 
x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~sparc 
x86"
 fi
 
 LICENSE="GPL-2"

diff --git a/net-vpn/openvpn/openvpn-2.5.6-r1.ebuild 
b/net-vpn/openvpn/openvpn-2.5.6-r1.ebuild
index 7c022a608176..3636e8880907 100644
--- a/net-vpn/openvpn/openvpn-2.5.6-r1.ebuild
+++ b/net-vpn/openvpn/openvpn-2.5.6-r1.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.xz;
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~sparc 
x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~sparc 
x86"
 fi
 
 LICENSE="GPL-2"

diff --git a/net-vpn/openvpn/openvpn-2.5.7-r1.ebuild 
b/net-vpn/openvpn/openvpn-2.5.7-r1.ebuild
index ac181bd5f6cd..ad3dc19877e0 100644
--- a/net-vpn/openvpn/openvpn-2.5.7-r1.ebuild
+++ b/net-vpn/openvpn/openvpn-2.5.7-r1.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86"
 fi
 
 LICENSE="GPL-2"

diff --git a/net-vpn/openvpn/openvpn-.ebuild 
b/net-vpn/openvpn/openvpn-.ebuild
index 1ff132e17f58..957b6246fb6c 100644
--- a/net-vpn/openvpn/openvpn-.ebuild
+++ b/net-vpn/openvpn/openvpn-.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.gz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2023-06-18 Thread Arthur Zamarin
commit: d802b290fe94120e41ff7189c7acb2522c38b8f7
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Jun 18 16:48:35 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Jun 18 16:48:48 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d802b290

net-vpn/openvpn: dekeyword s390

Bug: https://bugs.gentoo.org/907389
Signed-off-by: Arthur Zamarin  gentoo.org>

 net-vpn/openvpn/openvpn-2.5.2-r3.ebuild | 2 +-
 net-vpn/openvpn/openvpn-2.5.6-r1.ebuild | 2 +-
 net-vpn/openvpn/openvpn-2.5.7-r1.ebuild | 2 +-
 net-vpn/openvpn/openvpn-.ebuild | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/net-vpn/openvpn/openvpn-2.5.2-r3.ebuild 
b/net-vpn/openvpn/openvpn-2.5.2-r3.ebuild
index d2ee032e43ee..d325b9e801cf 100644
--- a/net-vpn/openvpn/openvpn-2.5.2-r3.ebuild
+++ b/net-vpn/openvpn/openvpn-2.5.2-r3.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.xz;
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~s390 
~sparc x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~sparc 
x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="GPL-2"

diff --git a/net-vpn/openvpn/openvpn-2.5.6-r1.ebuild 
b/net-vpn/openvpn/openvpn-2.5.6-r1.ebuild
index 526d3ea82657..7c022a608176 100644
--- a/net-vpn/openvpn/openvpn-2.5.6-r1.ebuild
+++ b/net-vpn/openvpn/openvpn-2.5.6-r1.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.xz;
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~s390 
~sparc x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~sparc 
x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="GPL-2"

diff --git a/net-vpn/openvpn/openvpn-2.5.7-r1.ebuild 
b/net-vpn/openvpn/openvpn-2.5.7-r1.ebuild
index f199793df070..ac181bd5f6cd 100644
--- a/net-vpn/openvpn/openvpn-2.5.7-r1.ebuild
+++ b/net-vpn/openvpn/openvpn-2.5.7-r1.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="GPL-2"

diff --git a/net-vpn/openvpn/openvpn-.ebuild 
b/net-vpn/openvpn/openvpn-.ebuild
index 884ae8c35a63..1ff132e17f58 100644
--- a/net-vpn/openvpn/openvpn-.ebuild
+++ b/net-vpn/openvpn/openvpn-.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.gz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2023-06-13 Thread Arthur Zamarin
commit: 1c721ffcc692345acff3d54bfa6435cf59ed4a1b
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Jun 13 18:25:32 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Jun 13 18:25:32 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c721ffc

net-vpn/openvpn: Keyword 2.6.4 x86, #907389

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-vpn/openvpn/openvpn-2.6.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/openvpn/openvpn-2.6.4.ebuild 
b/net-vpn/openvpn/openvpn-2.6.4.ebuild
index 47dae2a3064e..91dab5b17769 100644
--- a/net-vpn/openvpn/openvpn-2.6.4.ebuild
+++ b/net-vpn/openvpn/openvpn-2.6.4.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.gz;
-   KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv"
+   KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2023-06-13 Thread Arthur Zamarin
commit: cf16242980c4d314159462d369bbee8ed7ce4f68
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Jun 13 18:12:11 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Jun 13 18:12:14 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf162429

net-vpn/openvpn: Keyword 2.6.4 arm64, #907389

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-vpn/openvpn/openvpn-2.6.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/openvpn/openvpn-2.6.4.ebuild 
b/net-vpn/openvpn/openvpn-2.6.4.ebuild
index d66acb952bf3..47dae2a3064e 100644
--- a/net-vpn/openvpn/openvpn-2.6.4.ebuild
+++ b/net-vpn/openvpn/openvpn-2.6.4.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.gz;
-   KEYWORDS="~amd64 ~arm ~loong ~riscv"
+   KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2023-06-13 Thread Arthur Zamarin
commit: 1960126c0c109477b924832345de728587303d0c
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Jun 13 17:58:02 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Jun 13 17:58:15 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1960126c

net-vpn/openvpn: dekeyword ia64

Bug: https://bugs.gentoo.org/907389
Signed-off-by: Arthur Zamarin  gentoo.org>

 net-vpn/openvpn/openvpn-2.5.2-r3.ebuild | 4 ++--
 net-vpn/openvpn/openvpn-2.5.6-r1.ebuild | 4 ++--
 net-vpn/openvpn/openvpn-2.5.7-r1.ebuild | 4 ++--
 net-vpn/openvpn/openvpn-.ebuild | 2 +-
 4 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/net-vpn/openvpn/openvpn-2.5.2-r3.ebuild 
b/net-vpn/openvpn/openvpn-2.5.2-r3.ebuild
index de73a33181b3..d2ee032e43ee 100644
--- a/net-vpn/openvpn/openvpn-2.5.2-r3.ebuild
+++ b/net-vpn/openvpn/openvpn-2.5.2-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -15,7 +15,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.xz;
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv 
~s390 ~sparc x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~s390 
~sparc x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="GPL-2"

diff --git a/net-vpn/openvpn/openvpn-2.5.6-r1.ebuild 
b/net-vpn/openvpn/openvpn-2.5.6-r1.ebuild
index 3942cd63a328..526d3ea82657 100644
--- a/net-vpn/openvpn/openvpn-2.5.6-r1.ebuild
+++ b/net-vpn/openvpn/openvpn-2.5.6-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -15,7 +15,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.xz;
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv 
~s390 ~sparc x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~s390 
~sparc x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="GPL-2"

diff --git a/net-vpn/openvpn/openvpn-2.5.7-r1.ebuild 
b/net-vpn/openvpn/openvpn-2.5.7-r1.ebuild
index 54dbaa5b93e0..f199793df070 100644
--- a/net-vpn/openvpn/openvpn-2.5.7-r1.ebuild
+++ b/net-vpn/openvpn/openvpn-2.5.7-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -15,7 +15,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="GPL-2"

diff --git a/net-vpn/openvpn/openvpn-.ebuild 
b/net-vpn/openvpn/openvpn-.ebuild
index 6dc536051832..884ae8c35a63 100644
--- a/net-vpn/openvpn/openvpn-.ebuild
+++ b/net-vpn/openvpn/openvpn-.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.gz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2023-06-03 Thread WANG Xuerui
commit: c59527cb36ebdde844aeb4e4a4a5ddcc90d099bd
Author: WANG Xuerui  gentoo  org>
AuthorDate: Sat Jun  3 07:23:20 2023 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Sat Jun  3 07:39:51 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c59527cb

net-vpn/openvpn: keyword 2.6.4 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 net-vpn/openvpn/openvpn-2.6.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/openvpn/openvpn-2.6.4.ebuild 
b/net-vpn/openvpn/openvpn-2.6.4.ebuild
index fc5254d70651..2981e5ec4de3 100644
--- a/net-vpn/openvpn/openvpn-2.6.4.ebuild
+++ b/net-vpn/openvpn/openvpn-2.6.4.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.gz;
-   KEYWORDS="~amd64 ~riscv"
+   KEYWORDS="~amd64 ~loong ~riscv"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2023-05-30 Thread Yixun Lan
commit: 74e0ded2f0dbf171bacc5bb8761d27e7752fe6f4
Author: Yixun Lan  gentoo  org>
AuthorDate: Tue May 30 12:16:55 2023 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Tue May 30 12:16:55 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74e0ded2

net-vpn/openvpn: Keyword 2.6.4 riscv, #907389

Signed-off-by: Yixun Lan  gentoo.org>

 net-vpn/openvpn/openvpn-2.6.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/openvpn/openvpn-2.6.4.ebuild 
b/net-vpn/openvpn/openvpn-2.6.4.ebuild
index 7e5e2daf32c1..fc5254d70651 100644
--- a/net-vpn/openvpn/openvpn-2.6.4.ebuild
+++ b/net-vpn/openvpn/openvpn-2.6.4.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.gz;
-   KEYWORDS="~amd64"
+   KEYWORDS="~amd64 ~riscv"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2023-05-29 Thread William Hubbs
commit: 59877ebce3b218c415651c7b93dbc57806be3a5e
Author: Timo Rothenpieler  rothenpieler  org>
AuthorDate: Mon May  1 17:04:00 2023 +
Commit: William Hubbs  gentoo  org>
CommitDate: Mon May 29 23:31:47 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59877ebc

net-vpn/openvpn-: Sync with 2.6.4

Signed-off-by: William Hubbs  gentoo.org>

 net-vpn/openvpn/openvpn-.ebuild | 27 ---
 1 file changed, 12 insertions(+), 15 deletions(-)

diff --git a/net-vpn/openvpn/openvpn-.ebuild 
b/net-vpn/openvpn/openvpn-.ebuild
index b8189f16f79b..6dc536051832 100644
--- a/net-vpn/openvpn/openvpn-.ebuild
+++ b/net-vpn/openvpn/openvpn-.ebuild
@@ -1,27 +1,25 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-inherit autotools flag-o-matic systemd linux-info tmpfiles
+inherit autotools systemd linux-info tmpfiles
 
 DESCRIPTION="Robust and highly flexible tunneling application compatible with 
many OSes"
 HOMEPAGE="https://openvpn.net/;
 
 if [[ ${PV} == "" ]]; then
EGIT_REPO_URI="https://github.com/OpenVPN/${PN}.git;
-   EGIT_SUBMODULES=(-cmocka)
-
inherit git-r3
 else
-   SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+   SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.gz;
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="GPL-2"
 SLOT="0"
 
-IUSE="down-root examples inotify iproute2 +lz4 +lzo mbedtls +openssl"
+IUSE="dco down-root examples inotify iproute2 +lz4 +lzo mbedtls +openssl"
 IUSE+=" pam pkcs11 +plugins selinux systemd test"
 
 RESTRICT="!test? ( test )"
@@ -30,6 +28,7 @@ REQUIRED_USE="
pkcs11? ( !mbedtls )
!plugins? ( !pam !down-root )
inotify? ( plugins )
+   dco? ( !iproute2 )
 "
 
 CDEPEND="
@@ -39,10 +38,12 @@ CDEPEND="
lz4? ( app-arch/lz4 )
lzo? ( >=dev-libs/lzo-1.07 )
mbedtls? ( net-libs/mbedtls:= )
-   openssl? ( >=dev-libs/openssl-0.9.8:0= )
+   openssl? ( >=dev-libs/openssl-1.0.2:0= )
pam? ( sys-libs/pam )
pkcs11? ( >=dev-libs/pkcs11-helper-1.11 )
systemd? ( sys-apps/systemd )
+   dco? ( >=net-vpn/ovpn-dco-0.2 >=dev-libs/libnl-3.2.29:= )
+   sys-libs/libcap-ng:=
 "
 
 BDEPEND="virtual/pkgconfig"
@@ -60,11 +61,6 @@ if [[ ${PV} = "" ]]; then
BDEPEND+=" dev-python/docutils"
 fi
 
-PATCHES=(
-   "${FILESDIR}"/openvpn-2.5.0-auth-pam-missing-header.patch
-   "${FILESDIR}"/openvpn-2.5.2-detect-python-rst2man.patch
-)
-
 pkg_setup() {
local CONFIG_CHECK="~TUN"
linux-info_pkg_setup
@@ -95,6 +91,7 @@ src_configure() {
$(use_enable pam plugin-auth-pam)
$(use_enable down-root plugin-down-root)
$(use_enable systemd)
+   $(use_enable dco)
)
 
SYSTEMD_UNIT_DIR=$(systemd_get_systemunitdir) \
@@ -121,7 +118,7 @@ src_install() {
find "${ED}/usr" -name '*.la' -delete || die
 
# install documentation
-   dodoc AUTHORS ChangeLog PORTS README README.IPv6
+   dodoc AUTHORS ChangeLog PORTS README
 
# Install some helper scripts
keepdir /etc/openvpn



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2023-05-29 Thread William Hubbs
commit: b1f5868a872dd089b583b0ad3f1e9156ba99fd88
Author: Timo Rothenpieler  rothenpieler  org>
AuthorDate: Mon May  1 17:02:31 2023 +
Commit: William Hubbs  gentoo  org>
CommitDate: Mon May 29 23:31:47 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1f5868a

net-vpn/openvpn: Bump to 2.6.4

Bug: https://bugs.gentoo.org/show_bug.cgi?id=879549
Signed-off-by: William Hubbs  gentoo.org>

 net-vpn/openvpn/Manifest |   1 +
 net-vpn/openvpn/metadata.xml |   1 +
 net-vpn/openvpn/openvpn-2.6.4.ebuild | 195 +++
 3 files changed, 197 insertions(+)

diff --git a/net-vpn/openvpn/Manifest b/net-vpn/openvpn/Manifest
index a9466b552aa3..00d142186b29 100644
--- a/net-vpn/openvpn/Manifest
+++ b/net-vpn/openvpn/Manifest
@@ -1,3 +1,4 @@
 DIST openvpn-2.5.2.tar.xz 1134644 BLAKE2B 
59aa0c540894de4cfb37ad4c3139eb69a35d317e3de490f71b185a979989c1253221091a30bfb2ee5243fcfae190605e9787051de079eee79e57bd63392c42d5
 SHA512 
ae2cac00ae4b9e06e7e70b268ed47d36bbb45409650175e507d5bfa12b0a4f24bccc64f2494d1563f9269c8076d0f753a492f01ea33ce376ba00b7cdcb5c7bd0
 DIST openvpn-2.5.6.tar.xz 1150352 BLAKE2B 
509821eca9d40c5579700e05e560b906ddee5abb0c51a9a210e2e998cdd9606f734d43d3bec8c473cc4f0aaa1e265e7f05202aa606247ebde8844c0243165fac
 SHA512 
f0f0600df013431af804ace70ea86ac064917acdeaad3759b5d5eaa4a8dc3738d6da6df4c16bbb23443e3493487541cb8b10b89f9f0b40a17caa6e6fc46e0adb
 DIST openvpn-2.5.7.tar.xz 1150476 BLAKE2B 
e8d24a8be8ff97072ef3b76dbec15cd6e7097ebe99f680d759f213cb5643d7b4a29664d2a96e6efe1d6ee858a6d6b3f23c6d12cf74f202fbe8cc48642f18dba6
 SHA512 
9a3234b479f5bab12b8c3af7691f175f8cd32f2929dd27efc16e96e14dbb8e07421e623869ad5ffc2d7e65f2266817d1583723033f3646b9913b10ec6d014b44
+DIST openvpn-2.6.4.tar.gz 1861178 BLAKE2B 
584fc3950732d6a1db417811f6e330a154537207f6c9543ab03b1c1a886a98a0aee7d1649055a9f7944555ae8865602be15fd8e23b67258917f1adebde050099
 SHA512 
903ac41691c26e8e4ad65c9b6fb5e75db2caf2e4079d3c4cb61a44e51be9991508f53a1dd8b4b863b4ac86088ad1a705d22131df1e25612560c9f4276d8190ec

diff --git a/net-vpn/openvpn/metadata.xml b/net-vpn/openvpn/metadata.xml
index 8e2bb32b6432..f3e8394e706a 100644
--- a/net-vpn/openvpn/metadata.xml
+++ b/net-vpn/openvpn/metadata.xml
@@ -13,6 +13,7 @@
 configurable VPN daemon which can be used to securely link two or more
 networks using an encrypted tunnel.
   
+Enable support for kernel data channel offload
 Enable the down-root plugin
 Enabled iproute2 support instead of net-tools
 Use mbed TLS as the backend crypto library

diff --git a/net-vpn/openvpn/openvpn-2.6.4.ebuild 
b/net-vpn/openvpn/openvpn-2.6.4.ebuild
new file mode 100644
index ..7e5e2daf32c1
--- /dev/null
+++ b/net-vpn/openvpn/openvpn-2.6.4.ebuild
@@ -0,0 +1,195 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools systemd linux-info tmpfiles
+
+DESCRIPTION="Robust and highly flexible tunneling application compatible with 
many OSes"
+HOMEPAGE="https://openvpn.net/;
+
+if [[ ${PV} == "" ]]; then
+   EGIT_REPO_URI="https://github.com/OpenVPN/${PN}.git;
+   inherit git-r3
+else
+   SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.gz;
+   KEYWORDS="~amd64"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+
+IUSE="dco down-root examples inotify iproute2 +lz4 +lzo mbedtls +openssl"
+IUSE+=" pam pkcs11 +plugins selinux systemd test"
+
+RESTRICT="!test? ( test )"
+REQUIRED_USE="
+   ^^ ( openssl mbedtls )
+   pkcs11? ( !mbedtls )
+   !plugins? ( !pam !down-root )
+   inotify? ( plugins )
+   dco? ( !iproute2 )
+"
+
+CDEPEND="
+   kernel_linux? (
+   iproute2? ( sys-apps/iproute2[-minimal] )
+   )
+   lz4? ( app-arch/lz4 )
+   lzo? ( >=dev-libs/lzo-1.07 )
+   mbedtls? ( net-libs/mbedtls:= )
+   openssl? ( >=dev-libs/openssl-1.0.2:0= )
+   pam? ( sys-libs/pam )
+   pkcs11? ( >=dev-libs/pkcs11-helper-1.11 )
+   systemd? ( sys-apps/systemd )
+   dco? ( >=net-vpn/ovpn-dco-0.2 >=dev-libs/libnl-3.2.29:= )
+   sys-libs/libcap-ng:=
+"
+
+BDEPEND="virtual/pkgconfig"
+
+DEPEND="${CDEPEND}
+   test? ( dev-util/cmocka )
+"
+RDEPEND="${CDEPEND}
+   acct-group/openvpn
+   acct-user/openvpn
+   selinux? ( sec-policy/selinux-openvpn )
+"
+
+if [[ ${PV} = "" ]]; then
+   BDEPEND+=" dev-python/docutils"
+fi
+
+pkg_setup() {
+   local CONFIG_CHECK="~TUN"
+   linux-info_pkg_setup
+}
+
+src_prepare() {
+   default
+
+   eautoreconf
+}
+
+src_configure() {
+   local -a myeconfargs
+
+   if ! use mbedtls; then
+   myeconfargs+=(
+   $(use_enable pkcs11)
+   )
+   fi
+
+   myeconfargs+=(
+   $(use_enable inotify async-push)
+   --with-crypto-library=$(usex mbedtls mbedtls openssl)
+   $(use_enable lz4)
+   $(use_enable lzo)
+   

[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/, net-vpn/openvpn/files/

2023-03-11 Thread Sam James
commit: da23c443933f51b4a9fd9ff98175f804dc52af37
Author: Azamat H. Hackimov  gmail  com>
AuthorDate: Mon Feb 20 14:35:51 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Mar 11 16:25:50 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da23c443

net-vpn/openvpn: fix crushing multiple instances

In environment with multiple openvpn's instances if one of them get
crushed, trying to restart it will result to stoping ALL of other
openvpn instances. Introduced `--config "${VPNCONF}"` option to prevent
it as suggested by Zhixu Liu.

Closes: https://bugs.gentoo.org/829949
Suggested-by: Zhixu Liu  gmail.com>
Signed-off-by: Azamat H. Hackimov  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/29685
Signed-off-by: Sam James  gentoo.org>

 net-vpn/openvpn/files/openvpn-2.1.init   | 5 +++--
 net-vpn/openvpn/{openvpn-2.5.2-r2.ebuild => openvpn-2.5.2-r3.ebuild} | 0
 net-vpn/openvpn/{openvpn-2.5.6.ebuild => openvpn-2.5.6-r1.ebuild}| 0
 net-vpn/openvpn/{openvpn-2.5.7.ebuild => openvpn-2.5.7-r1.ebuild}| 0
 4 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/net-vpn/openvpn/files/openvpn-2.1.init 
b/net-vpn/openvpn/files/openvpn-2.1.init
index ba05689a1e09..3af33f5e6392 100644
--- a/net-vpn/openvpn/files/openvpn-2.1.init
+++ b/net-vpn/openvpn/files/openvpn-2.1.init
@@ -1,5 +1,5 @@
 #!/sbin/openrc-run
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 VPNDIR=${VPNDIR:-/etc/openvpn}
@@ -126,7 +126,8 @@ stop() {
 
ebegin "Stopping ${SVCNAME}"
start-stop-daemon --stop --quiet \
-   --exec /usr/sbin/openvpn --pidfile "${VPNPID}"
+   --exec /usr/sbin/openvpn --pidfile "${VPNPID}" \
+   -- --config "${VPNCONF}"
eend $?
 }
 

diff --git a/net-vpn/openvpn/openvpn-2.5.2-r2.ebuild 
b/net-vpn/openvpn/openvpn-2.5.2-r3.ebuild
similarity index 100%
rename from net-vpn/openvpn/openvpn-2.5.2-r2.ebuild
rename to net-vpn/openvpn/openvpn-2.5.2-r3.ebuild

diff --git a/net-vpn/openvpn/openvpn-2.5.6.ebuild 
b/net-vpn/openvpn/openvpn-2.5.6-r1.ebuild
similarity index 100%
rename from net-vpn/openvpn/openvpn-2.5.6.ebuild
rename to net-vpn/openvpn/openvpn-2.5.6-r1.ebuild

diff --git a/net-vpn/openvpn/openvpn-2.5.7.ebuild 
b/net-vpn/openvpn/openvpn-2.5.7-r1.ebuild
similarity index 100%
rename from net-vpn/openvpn/openvpn-2.5.7.ebuild
rename to net-vpn/openvpn/openvpn-2.5.7-r1.ebuild



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2022-11-29 Thread WANG Xuerui
commit: d4df477ec9ef91d735a6b5873ef2792a8f7a1c6f
Author: WANG Xuerui  gentoo  org>
AuthorDate: Tue Nov 29 16:26:40 2022 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Tue Nov 29 18:04:45 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4df477e

net-vpn/openvpn: keyword 2.5.7 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 net-vpn/openvpn/openvpn-2.5.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/openvpn/openvpn-2.5.7.ebuild 
b/net-vpn/openvpn/openvpn-2.5.7.ebuild
index 1459060f693e..54dbaa5b93e0 100644
--- a/net-vpn/openvpn/openvpn-2.5.7.ebuild
+++ b/net-vpn/openvpn/openvpn-2.5.7.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2022-08-18 Thread Sam James
commit: b28972951f6a6169989f54508cc41d830422156d
Author: Sam James  gentoo  org>
AuthorDate: Fri Aug 19 04:02:39 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Aug 19 04:04:30 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2897295

net-vpn/openvpn: add github upstream metadata

Signed-off-by: Sam James  gentoo.org>

 net-vpn/openvpn/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net-vpn/openvpn/metadata.xml b/net-vpn/openvpn/metadata.xml
index d50cf81a3e8a..8e2bb32b6432 100644
--- a/net-vpn/openvpn/metadata.xml
+++ b/net-vpn/openvpn/metadata.xml
@@ -22,5 +22,6 @@ networks using an encrypted tunnel.
   
   
 cpe:/a:openvpn:openvpn
+OpenVPN/openvpn
   
 



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2022-08-09 Thread William Hubbs
commit: 06a24c2675fc025b8df27a1609915ed60f664fb5
Author: William Hubbs  gentoo  org>
AuthorDate: Tue Aug  9 22:07:47 2022 +
Commit: William Hubbs  gentoo  org>
CommitDate: Tue Aug  9 22:08:14 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06a24c26

net-vpn/openvpn: add 2.5.7

Closes: https://bugs.gentoo.org/853970
Signed-off-by: William Hubbs  gentoo.org>

 net-vpn/openvpn/Manifest |   1 +
 net-vpn/openvpn/openvpn-2.5.7.ebuild | 193 +++
 2 files changed, 194 insertions(+)

diff --git a/net-vpn/openvpn/Manifest b/net-vpn/openvpn/Manifest
index be9d4195a36c..a9466b552aa3 100644
--- a/net-vpn/openvpn/Manifest
+++ b/net-vpn/openvpn/Manifest
@@ -1,2 +1,3 @@
 DIST openvpn-2.5.2.tar.xz 1134644 BLAKE2B 
59aa0c540894de4cfb37ad4c3139eb69a35d317e3de490f71b185a979989c1253221091a30bfb2ee5243fcfae190605e9787051de079eee79e57bd63392c42d5
 SHA512 
ae2cac00ae4b9e06e7e70b268ed47d36bbb45409650175e507d5bfa12b0a4f24bccc64f2494d1563f9269c8076d0f753a492f01ea33ce376ba00b7cdcb5c7bd0
 DIST openvpn-2.5.6.tar.xz 1150352 BLAKE2B 
509821eca9d40c5579700e05e560b906ddee5abb0c51a9a210e2e998cdd9606f734d43d3bec8c473cc4f0aaa1e265e7f05202aa606247ebde8844c0243165fac
 SHA512 
f0f0600df013431af804ace70ea86ac064917acdeaad3759b5d5eaa4a8dc3738d6da6df4c16bbb23443e3493487541cb8b10b89f9f0b40a17caa6e6fc46e0adb
+DIST openvpn-2.5.7.tar.xz 1150476 BLAKE2B 
e8d24a8be8ff97072ef3b76dbec15cd6e7097ebe99f680d759f213cb5643d7b4a29664d2a96e6efe1d6ee858a6d6b3f23c6d12cf74f202fbe8cc48642f18dba6
 SHA512 
9a3234b479f5bab12b8c3af7691f175f8cd32f2929dd27efc16e96e14dbb8e07421e623869ad5ffc2d7e65f2266817d1583723033f3646b9913b10ec6d014b44

diff --git a/net-vpn/openvpn/openvpn-2.5.7.ebuild 
b/net-vpn/openvpn/openvpn-2.5.7.ebuild
new file mode 100644
index ..1459060f693e
--- /dev/null
+++ b/net-vpn/openvpn/openvpn-2.5.7.ebuild
@@ -0,0 +1,193 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools flag-o-matic systemd linux-info tmpfiles
+
+DESCRIPTION="Robust and highly flexible tunneling application compatible with 
many OSes"
+HOMEPAGE="https://openvpn.net/;
+
+if [[ ${PV} == "" ]]; then
+   EGIT_REPO_URI="https://github.com/OpenVPN/${PN}.git;
+   EGIT_SUBMODULES=(-cmocka)
+
+   inherit git-r3
+else
+   SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.xz;
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+
+IUSE="down-root examples inotify iproute2 +lz4 +lzo mbedtls +openssl"
+IUSE+=" pam pkcs11 +plugins selinux systemd test"
+
+RESTRICT="!test? ( test )"
+REQUIRED_USE="
+   ^^ ( openssl mbedtls )
+   pkcs11? ( !mbedtls )
+   !plugins? ( !pam !down-root )
+   inotify? ( plugins )
+"
+
+CDEPEND="
+   kernel_linux? (
+   iproute2? ( sys-apps/iproute2[-minimal] )
+   )
+   lz4? ( app-arch/lz4 )
+   lzo? ( >=dev-libs/lzo-1.07 )
+   mbedtls? ( net-libs/mbedtls:= )
+   openssl? ( >=dev-libs/openssl-0.9.8:0= )
+   pam? ( sys-libs/pam )
+   pkcs11? ( >=dev-libs/pkcs11-helper-1.11 )
+   systemd? ( sys-apps/systemd )
+"
+
+BDEPEND="virtual/pkgconfig"
+
+DEPEND="${CDEPEND}
+   test? ( dev-util/cmocka )
+"
+RDEPEND="${CDEPEND}
+   acct-group/openvpn
+   acct-user/openvpn
+   selinux? ( sec-policy/selinux-openvpn )
+"
+
+if [[ ${PV} = "" ]]; then
+   BDEPEND+=" dev-python/docutils"
+fi
+
+pkg_setup() {
+   local CONFIG_CHECK="~TUN"
+   linux-info_pkg_setup
+}
+
+src_prepare() {
+   default
+
+   eautoreconf
+}
+
+src_configure() {
+   local -a myeconfargs
+
+   if ! use mbedtls; then
+   myeconfargs+=(
+   $(use_enable pkcs11)
+   )
+   fi
+
+   myeconfargs+=(
+   $(use_enable inotify async-push)
+   --with-crypto-library=$(usex mbedtls mbedtls openssl)
+   $(use_enable lz4)
+   $(use_enable lzo)
+   $(use_enable plugins)
+   $(use_enable iproute2)
+   $(use_enable pam plugin-auth-pam)
+   $(use_enable down-root plugin-down-root)
+   $(use_enable systemd)
+   )
+
+   SYSTEMD_UNIT_DIR=$(systemd_get_systemunitdir) \
+   TMPFILES_DIR="/usr/lib/tmpfiles.d" \
+   IPROUTE=$(usex iproute2 '/bin/ip' '') \
+   econf "${myeconfargs[@]}"
+}
+
+src_test() {
+   local -x RUN_SUDO=false
+
+   elog "Running top-level tests"
+   emake check
+
+   pushd tests/unit_tests &>/dev/null || die
+   elog "Running unit tests"
+   emake check
+   popd &>/dev/null || die
+}
+
+src_install() {
+   default
+
+   find "${ED}/usr" -name '*.la' -delete || die
+
+   # install documentation
+   dodoc AUTHORS ChangeLog PORTS README README.IPv6
+
+

[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2022-06-06 Thread Jakov Smolić
commit: da27c5d92d1642a42917c20679b4cf219439c886
Author: Jakov Smolić  gentoo  org>
AuthorDate: Mon Jun  6 07:02:18 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Mon Jun  6 07:02:18 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da27c5d9

net-vpn/openvpn: Stabilize 2.5.6 arm64, #848969

Signed-off-by: Jakov Smolić  gentoo.org>

 net-vpn/openvpn/openvpn-2.5.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/openvpn/openvpn-2.5.6.ebuild 
b/net-vpn/openvpn/openvpn-2.5.6.ebuild
index c0f788a7fb65..b50f99f9d573 100644
--- a/net-vpn/openvpn/openvpn-2.5.6.ebuild
+++ b/net-vpn/openvpn/openvpn-2.5.6.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.xz;
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv 
~s390 ~sparc x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv 
~s390 ~sparc x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2022-06-06 Thread Jakov Smolić
commit: 7a2df27e385aba6acf187cc7b240958d524f1931
Author: Jakov Smolić  gentoo  org>
AuthorDate: Mon Jun  6 07:02:19 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Mon Jun  6 07:02:19 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a2df27e

net-vpn/openvpn: Stabilize 2.5.6 arm, #848969

Signed-off-by: Jakov Smolić  gentoo.org>

 net-vpn/openvpn/openvpn-2.5.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/openvpn/openvpn-2.5.6.ebuild 
b/net-vpn/openvpn/openvpn-2.5.6.ebuild
index b50f99f9d573..3942cd63a328 100644
--- a/net-vpn/openvpn/openvpn-2.5.6.ebuild
+++ b/net-vpn/openvpn/openvpn-2.5.6.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.xz;
-   KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv 
~s390 ~sparc x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv 
~s390 ~sparc x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2022-06-06 Thread Jakov Smolić
commit: 1c1c02820db0e6acfb99219b4d56dbf9255ae5fe
Author: Jakov Smolić  gentoo  org>
AuthorDate: Mon Jun  6 06:53:14 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Mon Jun  6 06:53:14 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c1c0282

net-vpn/openvpn: Stabilize 2.5.6 ppc64, #848969

Signed-off-by: Jakov Smolić  gentoo.org>

 net-vpn/openvpn/openvpn-2.5.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/openvpn/openvpn-2.5.6.ebuild 
b/net-vpn/openvpn/openvpn-2.5.6.ebuild
index d0aaca1bda27..c0f788a7fb65 100644
--- a/net-vpn/openvpn/openvpn-2.5.6.ebuild
+++ b/net-vpn/openvpn/openvpn-2.5.6.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.xz;
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~riscv 
~s390 ~sparc x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv 
~s390 ~sparc x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2022-06-06 Thread Jakov Smolić
commit: 7f4e9d8eea9fb6a7228d6211708b5c0487426cab
Author: Jakov Smolić  gentoo  org>
AuthorDate: Mon Jun  6 06:37:39 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Mon Jun  6 06:37:39 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f4e9d8e

net-vpn/openvpn: Stabilize 2.5.6 ppc, #848969

Signed-off-by: Jakov Smolić  gentoo.org>

 net-vpn/openvpn/openvpn-2.5.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/openvpn/openvpn-2.5.6.ebuild 
b/net-vpn/openvpn/openvpn-2.5.6.ebuild
index 39d22ed1ca3b..d0aaca1bda27 100644
--- a/net-vpn/openvpn/openvpn-2.5.6.ebuild
+++ b/net-vpn/openvpn/openvpn-2.5.6.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.xz;
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~riscv 
~s390 ~sparc x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2022-06-06 Thread Jakov Smolić
commit: cdf875306b0480c336c5a19b3d3e403099dd77fd
Author: Jakov Smolić  gentoo  org>
AuthorDate: Mon Jun  6 06:27:56 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Mon Jun  6 06:27:56 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdf87530

net-vpn/openvpn: Stabilize 2.5.6 amd64, #848969

Signed-off-by: Jakov Smolić  gentoo.org>

 net-vpn/openvpn/openvpn-2.5.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/openvpn/openvpn-2.5.6.ebuild 
b/net-vpn/openvpn/openvpn-2.5.6.ebuild
index f1ed13a93e3f..39d22ed1ca3b 100644
--- a/net-vpn/openvpn/openvpn-2.5.6.ebuild
+++ b/net-vpn/openvpn/openvpn-2.5.6.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2022-06-06 Thread Jakov Smolić
commit: f305df853aac961977c7b6ac70a4d086765c88c1
Author: Jakov Smolić  gentoo  org>
AuthorDate: Mon Jun  6 06:27:16 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Mon Jun  6 06:27:16 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f305df85

net-vpn/openvpn: Stabilize 2.5.6 x86, #848969

Signed-off-by: Jakov Smolić  gentoo.org>

 net-vpn/openvpn/openvpn-2.5.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/openvpn/openvpn-2.5.6.ebuild 
b/net-vpn/openvpn/openvpn-2.5.6.ebuild
index 00da7d3f6645..f1ed13a93e3f 100644
--- a/net-vpn/openvpn/openvpn-2.5.6.ebuild
+++ b/net-vpn/openvpn/openvpn-2.5.6.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2022-04-22 Thread Sam James
commit: d85036d80926637fb9170e9a02ca9c6f3f35086b
Author: Tomáš Mózes  gmail  com>
AuthorDate: Tue Apr 19 22:41:00 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Apr 23 01:22:45 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d85036d8

net-vpn/openvpn: bump to 2.5.6

Bug: https://bugs.gentoo.org/835514
Closes: https://bugs.gentoo.org/818436
Signed-off-by: Tomáš Mózes  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/25120
Signed-off-by: Sam James  gentoo.org>

 net-vpn/openvpn/Manifest |   1 +
 net-vpn/openvpn/openvpn-2.5.6.ebuild | 197 +++
 2 files changed, 198 insertions(+)

diff --git a/net-vpn/openvpn/Manifest b/net-vpn/openvpn/Manifest
index cf7424f32f94..be9d4195a36c 100644
--- a/net-vpn/openvpn/Manifest
+++ b/net-vpn/openvpn/Manifest
@@ -1 +1,2 @@
 DIST openvpn-2.5.2.tar.xz 1134644 BLAKE2B 
59aa0c540894de4cfb37ad4c3139eb69a35d317e3de490f71b185a979989c1253221091a30bfb2ee5243fcfae190605e9787051de079eee79e57bd63392c42d5
 SHA512 
ae2cac00ae4b9e06e7e70b268ed47d36bbb45409650175e507d5bfa12b0a4f24bccc64f2494d1563f9269c8076d0f753a492f01ea33ce376ba00b7cdcb5c7bd0
+DIST openvpn-2.5.6.tar.xz 1150352 BLAKE2B 
509821eca9d40c5579700e05e560b906ddee5abb0c51a9a210e2e998cdd9606f734d43d3bec8c473cc4f0aaa1e265e7f05202aa606247ebde8844c0243165fac
 SHA512 
f0f0600df013431af804ace70ea86ac064917acdeaad3759b5d5eaa4a8dc3738d6da6df4c16bbb23443e3493487541cb8b10b89f9f0b40a17caa6e6fc46e0adb

diff --git a/net-vpn/openvpn/openvpn-2.5.6.ebuild 
b/net-vpn/openvpn/openvpn-2.5.6.ebuild
new file mode 100644
index ..00da7d3f6645
--- /dev/null
+++ b/net-vpn/openvpn/openvpn-2.5.6.ebuild
@@ -0,0 +1,197 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools flag-o-matic systemd linux-info tmpfiles
+
+DESCRIPTION="Robust and highly flexible tunneling application compatible with 
many OSes"
+HOMEPAGE="https://openvpn.net/;
+
+if [[ ${PV} == "" ]]; then
+   EGIT_REPO_URI="https://github.com/OpenVPN/${PN}.git;
+   EGIT_SUBMODULES=(-cmocka)
+
+   inherit git-r3
+else
+   SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.xz;
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+
+IUSE="down-root examples inotify iproute2 +lz4 +lzo mbedtls +openssl"
+IUSE+=" pam pkcs11 +plugins selinux systemd test"
+
+RESTRICT="!test? ( test )"
+REQUIRED_USE="
+   ^^ ( openssl mbedtls )
+   pkcs11? ( !mbedtls )
+   !plugins? ( !pam !down-root )
+   inotify? ( plugins )
+"
+
+CDEPEND="
+   kernel_linux? (
+   iproute2? ( sys-apps/iproute2[-minimal] )
+   )
+   lz4? ( app-arch/lz4 )
+   lzo? ( >=dev-libs/lzo-1.07 )
+   mbedtls? ( net-libs/mbedtls:= )
+   openssl? ( >=dev-libs/openssl-0.9.8:0= )
+   pam? ( sys-libs/pam )
+   pkcs11? ( >=dev-libs/pkcs11-helper-1.11 )
+   systemd? ( sys-apps/systemd )
+"
+
+BDEPEND="virtual/pkgconfig"
+
+DEPEND="${CDEPEND}
+   test? ( dev-util/cmocka )
+"
+RDEPEND="${CDEPEND}
+   acct-group/openvpn
+   acct-user/openvpn
+   selinux? ( sec-policy/selinux-openvpn )
+"
+
+if [[ ${PV} = "" ]]; then
+   BDEPEND+=" dev-python/docutils"
+fi
+
+PATCHES=(
+   "${FILESDIR}"/openvpn-2.5.0-auth-pam-missing-header.patch
+)
+
+pkg_setup() {
+   local CONFIG_CHECK="~TUN"
+   linux-info_pkg_setup
+}
+
+src_prepare() {
+   default
+
+   eautoreconf
+}
+
+src_configure() {
+   local -a myeconfargs
+
+   if ! use mbedtls; then
+   myeconfargs+=(
+   $(use_enable pkcs11)
+   )
+   fi
+
+   myeconfargs+=(
+   $(use_enable inotify async-push)
+   --with-crypto-library=$(usex mbedtls mbedtls openssl)
+   $(use_enable lz4)
+   $(use_enable lzo)
+   $(use_enable plugins)
+   $(use_enable iproute2)
+   $(use_enable pam plugin-auth-pam)
+   $(use_enable down-root plugin-down-root)
+   $(use_enable systemd)
+   )
+
+   SYSTEMD_UNIT_DIR=$(systemd_get_systemunitdir) \
+   TMPFILES_DIR="/usr/lib/tmpfiles.d" \
+   IPROUTE=$(usex iproute2 '/bin/ip' '') \
+   econf "${myeconfargs[@]}"
+}
+
+src_test() {
+   local -x RUN_SUDO=false
+
+   elog "Running top-level tests"
+   emake check
+
+   pushd tests/unit_tests &>/dev/null || die
+   elog "Running unit tests"
+   emake check
+   popd &>/dev/null || die
+}
+
+src_install() {
+   default
+
+   find "${ED}/usr" -name '*.la' -delete || die
+
+   # install documentation
+   dodoc AUTHORS ChangeLog PORTS README README.IPv6
+
+   # Install some helper scripts
+   keepdir /etc/openvpn
+   exeinto /etc/openvpn
+   doexe 

[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2022-04-12 Thread Sam James
commit: e05ed59f418b7cd4cda269cb585c62531becfe5f
Author: Sam James  gentoo  org>
AuthorDate: Tue Apr 12 12:22:53 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Apr 12 21:03:56 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e05ed59f

net-vpn/openvpn: switch to xz

Smaller tarballs.

Signed-off-by: Sam James  gentoo.org>

 net-vpn/openvpn/Manifest| 2 +-
 net-vpn/openvpn/openvpn-2.5.2-r2.ebuild | 2 +-
 net-vpn/openvpn/openvpn-.ebuild | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/net-vpn/openvpn/Manifest b/net-vpn/openvpn/Manifest
index 63f99fb3f7f9..cf7424f32f94 100644
--- a/net-vpn/openvpn/Manifest
+++ b/net-vpn/openvpn/Manifest
@@ -1 +1 @@
-DIST openvpn-2.5.2.tar.gz 1830763 BLAKE2B 
d1c5fa97b3a9168e8715a7cf926b581e054d1d8ac905dcb78e91b9e7f2ea2abf2f03a02e6b4ee10184e810ebb871f4fc638834848eb3b4a9122b177705382fe8
 SHA512 
5811d26b32e7f258dc1f7ed704d28f9eb03200b54a128e4cb5dfa37ace5113d7841830fc04e1c5f69a138141d0f6f0ca6cb7fc3c39d67456e476eb4c45102be1
+DIST openvpn-2.5.2.tar.xz 1134644 BLAKE2B 
59aa0c540894de4cfb37ad4c3139eb69a35d317e3de490f71b185a979989c1253221091a30bfb2ee5243fcfae190605e9787051de079eee79e57bd63392c42d5
 SHA512 
ae2cac00ae4b9e06e7e70b268ed47d36bbb45409650175e507d5bfa12b0a4f24bccc64f2494d1563f9269c8076d0f753a492f01ea33ce376ba00b7cdcb5c7bd0

diff --git a/net-vpn/openvpn/openvpn-2.5.2-r2.ebuild 
b/net-vpn/openvpn/openvpn-2.5.2-r2.ebuild
index 005ac8cef337..de73a33181b3 100644
--- a/net-vpn/openvpn/openvpn-2.5.2-r2.ebuild
+++ b/net-vpn/openvpn/openvpn-2.5.2-r2.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} == "" ]]; then
 
inherit git-r3
 else
-   SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.gz;
+   SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.xz;
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv 
~s390 ~sparc x86 ~amd64-linux ~x86-linux"
 fi
 

diff --git a/net-vpn/openvpn/openvpn-.ebuild 
b/net-vpn/openvpn/openvpn-.ebuild
index cec8d0d00572..b8189f16f79b 100644
--- a/net-vpn/openvpn/openvpn-.ebuild
+++ b/net-vpn/openvpn/openvpn-.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} == "" ]]; then
 
inherit git-r3
 else
-   SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.gz;
+   SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.xz;
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
 fi
 



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2022-01-06 Thread David Seifert
commit: a498c2d0952cde0135a798eec6f28fdfc80ee9fa
Author: David Seifert  gentoo  org>
AuthorDate: Thu Jan  6 09:07:08 2022 +
Commit: David Seifert  gentoo  org>
CommitDate: Thu Jan  6 09:07:08 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a498c2d0

net-vpn/openvpn: remove userland_BSD

Signed-off-by: David Seifert  gentoo.org>

 net-vpn/openvpn/openvpn-2.5.2-r2.ebuild | 4 ++--
 net-vpn/openvpn/openvpn-.ebuild | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/net-vpn/openvpn/openvpn-2.5.2-r2.ebuild 
b/net-vpn/openvpn/openvpn-2.5.2-r2.ebuild
index f3520516410b..005ac8cef337 100644
--- a/net-vpn/openvpn/openvpn-2.5.2-r2.ebuild
+++ b/net-vpn/openvpn/openvpn-2.5.2-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -22,7 +22,7 @@ LICENSE="GPL-2"
 SLOT="0"
 
 IUSE="down-root examples inotify iproute2 +lz4 +lzo mbedtls +openssl"
-IUSE+=" pam pkcs11 +plugins selinux systemd test userland_BSD"
+IUSE+=" pam pkcs11 +plugins selinux systemd test"
 
 RESTRICT="!test? ( test )"
 REQUIRED_USE="

diff --git a/net-vpn/openvpn/openvpn-.ebuild 
b/net-vpn/openvpn/openvpn-.ebuild
index 1dfab6f2d9f7..cec8d0d00572 100644
--- a/net-vpn/openvpn/openvpn-.ebuild
+++ b/net-vpn/openvpn/openvpn-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -22,7 +22,7 @@ LICENSE="GPL-2"
 SLOT="0"
 
 IUSE="down-root examples inotify iproute2 +lz4 +lzo mbedtls +openssl"
-IUSE+=" pam pkcs11 +plugins selinux systemd test userland_BSD"
+IUSE+=" pam pkcs11 +plugins selinux systemd test"
 
 RESTRICT="!test? ( test )"
 REQUIRED_USE="



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2021-11-05 Thread Sam James
commit: 94d7465f40784afb9ac634314540a327a69a443a
Author: Sam James  gentoo  org>
AuthorDate: Sat Nov  6 04:37:36 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Nov  6 04:37:36 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94d7465f

net-vpn/openvpn: use 'emake', not 'make'

Signed-off-by: Sam James  gentoo.org>

 net-vpn/openvpn/openvpn-2.5.2-r2.ebuild | 14 ++
 net-vpn/openvpn/openvpn-.ebuild | 15 +++
 2 files changed, 21 insertions(+), 8 deletions(-)

diff --git a/net-vpn/openvpn/openvpn-2.5.2-r2.ebuild 
b/net-vpn/openvpn/openvpn-2.5.2-r2.ebuild
index e09e6ac634d..f3520516410 100644
--- a/net-vpn/openvpn/openvpn-2.5.2-r2.ebuild
+++ b/net-vpn/openvpn/openvpn-2.5.2-r2.ebuild
@@ -72,6 +72,7 @@ pkg_setup() {
 
 src_prepare() {
default
+
eautoreconf
 }
 
@@ -83,6 +84,7 @@ src_configure() {
$(use_enable pkcs11)
)
fi
+
myeconfargs+=(
$(use_enable inotify async-push)
--with-crypto-library=$(usex mbedtls mbedtls openssl)
@@ -94,6 +96,7 @@ src_configure() {
$(use_enable down-root plugin-down-root)
$(use_enable systemd)
)
+
SYSTEMD_UNIT_DIR=$(systemd_get_systemunitdir) \
TMPFILES_DIR="/usr/lib/tmpfiles.d" \
IPROUTE=$(usex iproute2 '/bin/ip' '') \
@@ -103,9 +106,12 @@ src_configure() {
 src_test() {
local -x RUN_SUDO=false
 
-   make check || die "top-level tests failed"
+   elog "Running top-level tests"
+   emake check
+
pushd tests/unit_tests &>/dev/null || die
-   make check || die "unit tests failed"
+   elog "Running unit tests"
+   emake check
popd &>/dev/null || die
 }
 
@@ -142,12 +148,12 @@ src_install() {
 pkg_postinst() {
tmpfiles_process openvpn.conf
 
-   if use x64-macos; then
+   if use x64-macos ; then
elog "You might want to install tuntaposx for TAP interface 
support:"
elog "http://tuntaposx.sourceforge.net;
fi
 
-   if systemd_is_booted ||  has_version sys-apps/systemd; then
+   if systemd_is_booted || has_version sys-apps/systemd ; then
elog "In order to use OpenVPN with systemd please use the 
correct systemd service file."
elog  ""
elog "server:"

diff --git a/net-vpn/openvpn/openvpn-.ebuild 
b/net-vpn/openvpn/openvpn-.ebuild
index d5d643edb2f..1dfab6f2d9f 100644
--- a/net-vpn/openvpn/openvpn-.ebuild
+++ b/net-vpn/openvpn/openvpn-.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.gz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="GPL-2"
@@ -72,6 +72,7 @@ pkg_setup() {
 
 src_prepare() {
default
+
eautoreconf
 }
 
@@ -83,6 +84,7 @@ src_configure() {
$(use_enable pkcs11)
)
fi
+
myeconfargs+=(
$(use_enable inotify async-push)
--with-crypto-library=$(usex mbedtls mbedtls openssl)
@@ -94,6 +96,7 @@ src_configure() {
$(use_enable down-root plugin-down-root)
$(use_enable systemd)
)
+
SYSTEMD_UNIT_DIR=$(systemd_get_systemunitdir) \
TMPFILES_DIR="/usr/lib/tmpfiles.d" \
IPROUTE=$(usex iproute2 '/bin/ip' '') \
@@ -103,9 +106,12 @@ src_configure() {
 src_test() {
local -x RUN_SUDO=false
 
-   make check || die "top-level tests failed"
+   elog "Running top-level tests"
+   emake check
+
pushd tests/unit_tests &>/dev/null || die
-   make check || die "unit tests failed"
+   elog "Running unit tests"
+   emake check
popd &>/dev/null || die
 }
 
@@ -129,7 +135,8 @@ src_install() {
 
# install examples, controlled by the respective useflag
if use examples ; then
-   # dodoc does not supportly support directory traversal, #15193
+   # (is the below comment relevant anymore?)
+   ## dodoc does not supportly support directory traversal, #15193
docinto examples
dodoc -r sample contrib
fi



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2021-07-31 Thread Sam James
commit: d3f64760c2dbf2283babe27722192dbca8612c89
Author: Sam James  gentoo  org>
AuthorDate: Sat Jul 31 03:07:34 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jul 31 22:13:37 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3f64760

net-vpn/openvpn: [QA] call tmpfiles_process in pkg_postinst

This is needed to actually apply the tmpfiles configuration
we've installed in the ebuild. See tmpfiles.eclass documentation.

Revbump because the new tmpfiles inherit adds a new dependency
(virtual/tmpfiles).

Signed-off-by: Sam James  gentoo.org>

 net-vpn/openvpn/{openvpn-2.5.2-r1.ebuild => openvpn-2.5.2-r2.ebuild} | 4 +++-
 net-vpn/openvpn/openvpn-.ebuild  | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/net-vpn/openvpn/openvpn-2.5.2-r1.ebuild 
b/net-vpn/openvpn/openvpn-2.5.2-r2.ebuild
similarity index 98%
rename from net-vpn/openvpn/openvpn-2.5.2-r1.ebuild
rename to net-vpn/openvpn/openvpn-2.5.2-r2.ebuild
index b446547b08c..e09e6ac634d 100644
--- a/net-vpn/openvpn/openvpn-2.5.2-r1.ebuild
+++ b/net-vpn/openvpn/openvpn-2.5.2-r2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit autotools flag-o-matic systemd linux-info
+inherit autotools flag-o-matic systemd linux-info tmpfiles
 
 DESCRIPTION="Robust and highly flexible tunneling application compatible with 
many OSes"
 HOMEPAGE="https://openvpn.net/;
@@ -140,6 +140,8 @@ src_install() {
 }
 
 pkg_postinst() {
+   tmpfiles_process openvpn.conf
+
if use x64-macos; then
elog "You might want to install tuntaposx for TAP interface 
support:"
elog "http://tuntaposx.sourceforge.net;

diff --git a/net-vpn/openvpn/openvpn-.ebuild 
b/net-vpn/openvpn/openvpn-.ebuild
index ac64c3e3d3c..d5d643edb2f 100644
--- a/net-vpn/openvpn/openvpn-.ebuild
+++ b/net-vpn/openvpn/openvpn-.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit autotools flag-o-matic systemd linux-info
+inherit autotools flag-o-matic systemd linux-info tmpfiles
 
 DESCRIPTION="Robust and highly flexible tunneling application compatible with 
many OSes"
 HOMEPAGE="https://openvpn.net/;
@@ -139,6 +139,8 @@ src_install() {
 }
 
 pkg_postinst() {
+   tmpfiles_process openvpn.conf
+
if use x64-macos ; then
elog "You might want to install tuntaposx for TAP interface 
support:"
elog "http://tuntaposx.sourceforge.net;



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2021-07-28 Thread Sam James
commit: 0b8706bb865e5437bdf48e6680738c9dfccc3f20
Author: Sam James  gentoo  org>
AuthorDate: Thu Jul 29 02:04:18 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jul 29 02:05:45 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b8706bb

net-vpn/openvpn: fix docinto argument (avoid double 'prefix')

Signed-off-by: Sam James  gentoo.org>

 net-vpn/openvpn/{openvpn-2.5.2.ebuild => openvpn-2.5.2-r1.ebuild} | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/net-vpn/openvpn/openvpn-2.5.2.ebuild 
b/net-vpn/openvpn/openvpn-2.5.2-r1.ebuild
similarity index 97%
rename from net-vpn/openvpn/openvpn-2.5.2.ebuild
rename to net-vpn/openvpn/openvpn-2.5.2-r1.ebuild
index 97c64cdc1ea..b446547b08c 100644
--- a/net-vpn/openvpn/openvpn-2.5.2.ebuild
+++ b/net-vpn/openvpn/openvpn-2.5.2-r1.ebuild
@@ -129,8 +129,9 @@ src_install() {
 
# install examples, controlled by the respective useflag
if use examples ; then
-   # dodoc does not supportly support directory traversal, #15193
-   docinto /usr/share/doc/${PF}/examples
+   # (is the below comment relevant anymore?)
+   ## dodoc does not supportly support directory traversal, #15193
+   docinto examples
dodoc -r sample contrib
fi
 



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2021-07-24 Thread Marek Szuba
commit: 8ad320e0ad5d4bac7c0cfcea00b30344f25e03da
Author: Marek Szuba  gentoo  org>
AuthorDate: Sat Jul 24 21:09:49 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Sat Jul 24 23:02:26 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ad320e0

net-vpn/openvpn: keyword 2.5.2 for ~riscv

Signed-off-by: Marek Szuba  gentoo.org>

 net-vpn/openvpn/openvpn-2.5.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/openvpn/openvpn-2.5.2.ebuild 
b/net-vpn/openvpn/openvpn-2.5.2.ebuild
index 757421b6009..97c64cdc1ea 100644
--- a/net-vpn/openvpn/openvpn-2.5.2.ebuild
+++ b/net-vpn/openvpn/openvpn-2.5.2.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.gz;
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 
~sparc x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv 
~s390 ~sparc x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2021-05-28 Thread David Seifert
commit: 144e82183ea79ff7123dca2c62ab70f6a7a13fac
Author: Sam James  gentoo  org>
AuthorDate: Fri May 28 15:57:12 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Fri May 28 15:57:12 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=144e8218

net-vpn/openvpn: fix docinto argument (avoid double 'prefix')

Signed-off-by: Sam James  gentoo.org>
Signed-off-by: David Seifert  gentoo.org>

 net-vpn/openvpn/openvpn-.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/net-vpn/openvpn/openvpn-.ebuild 
b/net-vpn/openvpn/openvpn-.ebuild
index 20cd58c60ee..ac64c3e3d3c 100644
--- a/net-vpn/openvpn/openvpn-.ebuild
+++ b/net-vpn/openvpn/openvpn-.ebuild
@@ -130,7 +130,7 @@ src_install() {
# install examples, controlled by the respective useflag
if use examples ; then
# dodoc does not supportly support directory traversal, #15193
-   docinto /usr/share/doc/${PF}/examples
+   docinto examples
dodoc -r sample contrib
fi
 
@@ -139,12 +139,12 @@ src_install() {
 }
 
 pkg_postinst() {
-   if use x64-macos; then
+   if use x64-macos ; then
elog "You might want to install tuntaposx for TAP interface 
support:"
elog "http://tuntaposx.sourceforge.net;
fi
 
-   if systemd_is_booted ||  has_version sys-apps/systemd; then
+   if systemd_is_booted || has_version sys-apps/systemd ; then
elog "In order to use OpenVPN with systemd please use the 
correct systemd service file."
elog  ""
elog "server:"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2021-05-23 Thread Thomas Deutschmann
commit: a0f872033e85edb4868f76650fa205cd7d10bd07
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Mon May 24 01:16:04 2021 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Mon May 24 01:19:18 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0f87203

net-vpn/openvpn: security cleanup

Bug: https://bugs.gentoo.org/785115
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Thomas Deutschmann  gentoo.org>

 net-vpn/openvpn/Manifest|   3 -
 net-vpn/openvpn/openvpn-2.4.9.ebuild| 170 ---
 net-vpn/openvpn/openvpn-2.5.0-r1.ebuild | 169 ---
 net-vpn/openvpn/openvpn-2.5.1-r1.ebuild | 171 
 4 files changed, 513 deletions(-)

diff --git a/net-vpn/openvpn/Manifest b/net-vpn/openvpn/Manifest
index 109a33040d1..63f99fb3f7f 100644
--- a/net-vpn/openvpn/Manifest
+++ b/net-vpn/openvpn/Manifest
@@ -1,4 +1 @@
-DIST openvpn-2.4.9.tar.gz 1000602 BLAKE2B 
4a10ec76d1a816f9184dd33e4384623e011a1af40ea38ad56cc06f70ab2c911b6fd92cf8ffcd2ec3ab4179fef87feb187fc9df61c5bea92b1c69ee4113093866
 SHA512 
7683dfb93592968459f080a07ea750992b7444708cdb1a5aafc0118ab8528fc488f2b9fbd7d042e57ad1811303208875237ae9decf0bb4977c45cd30da53751b
-DIST openvpn-2.5.0-r1.tar.gz 1815964 BLAKE2B 
cca1c1ec4fbfe0c337c14525cf706280c9d961c4bba992dfa0b13c9f96e00092864301138037485095716c746ef6ff3473a2085780b3ef77183bf4a6f1c602ae
 SHA512 
3deb55973b87cc95c0437ab9ce6c43fdc246aa7e42e3e68bd6a5651deffa798b6750f625917cb2aaa2c82f0b3a0805bcf206a2aa8e2c735fd24e6bd38f736562
-DIST openvpn-2.5.1.tar.gz 1827517 BLAKE2B 
068af9313c9b2b93dcaa06f82ad66489154ce04973e323af07f38f209b4be77b7b785046aa31559a9f744b4b8c6976acd3e644d5a573f3c5511dc11f5bab3dce
 SHA512 
eb85d14eeb383bed09670941451328db38feacc0b8b7b960840a3f465de83a7527de7d183e66344011da3a3655d558483c569d096b36964209a23418f89052e2
 DIST openvpn-2.5.2.tar.gz 1830763 BLAKE2B 
d1c5fa97b3a9168e8715a7cf926b581e054d1d8ac905dcb78e91b9e7f2ea2abf2f03a02e6b4ee10184e810ebb871f4fc638834848eb3b4a9122b177705382fe8
 SHA512 
5811d26b32e7f258dc1f7ed704d28f9eb03200b54a128e4cb5dfa37ace5113d7841830fc04e1c5f69a138141d0f6f0ca6cb7fc3c39d67456e476eb4c45102be1

diff --git a/net-vpn/openvpn/openvpn-2.4.9.ebuild 
b/net-vpn/openvpn/openvpn-2.4.9.ebuild
deleted file mode 100644
index fa2a4e2f026..000
--- a/net-vpn/openvpn/openvpn-2.4.9.ebuild
+++ /dev/null
@@ -1,170 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools flag-o-matic systemd linux-info
-
-DESCRIPTION="Robust and highly flexible tunneling application compatible with 
many OSes"
-SRC_URI="https://github.com/OpenVPN/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-HOMEPAGE="https://openvpn.net/;
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sparc x86 
~amd64-linux ~x86-linux"
-
-IUSE="down-root examples inotify iproute2 +lz4 +lzo mbedtls pam"
-IUSE+=" pkcs11 +plugins selinux +ssl systemd test userland_BSD"
-
-RESTRICT="!test? ( test )"
-REQUIRED_USE="pkcs11? ( ssl )
-   !plugins? ( !pam !down-root )
-   inotify? ( plugins )
-"
-
-CDEPEND="
-   kernel_linux? (
-   iproute2? ( sys-apps/iproute2[-minimal] )
-   !iproute2? ( >=sys-apps/net-tools-1.60_p20160215155418 )
-   )
-   pam? ( sys-libs/pam )
-   ssl? (
-   !mbedtls? ( >=dev-libs/openssl-0.9.8:0= )
-   mbedtls? ( net-libs/mbedtls:= )
-   )
-   lz4? ( app-arch/lz4 )
-   lzo? ( >=dev-libs/lzo-1.07 )
-   pkcs11? ( >=dev-libs/pkcs11-helper-1.11 )
-   systemd? ( sys-apps/systemd )
-"
-DEPEND="${CDEPEND}
-   test? ( dev-util/cmocka )
-"
-RDEPEND="${CDEPEND}
-   acct-group/openvpn
-   acct-user/openvpn
-   selinux? ( sec-policy/selinux-openvpn )
-"
-
-CONFIG_CHECK="~TUN"
-
-pkg_setup() {
-   linux-info_pkg_setup
-}
-
-src_prepare() {
-   default
-   eautoreconf
-}
-
-src_configure() {
-   local myeconfargs=(
-   $(use_enable inotify async-push)
-   $(use_enable ssl crypto)
-   )
-   if use ssl; then
-   myeconfargs+=(
-   $(use_with ssl crypto-library $(usex mbedtls mbedtls 
openssl))
-   )
-   if ! use mbedtls; then
-   myeconfargs+=(
-   $(use_enable pkcs11)
-   )
-   fi
-   fi
-   myeconfargs+=(
-   $(use_enable lz4)
-   $(use_enable lzo)
-   $(use_enable plugins)
-   $(use_enable iproute2)
-   $(use_enable pam plugin-auth-pam)
-   $(use_enable down-root plugin-down-root)
-   $(use_enable systemd)
-   )
-   SYSTEMD_UNIT_DIR=$(systemd_get_systemunitdir) \
-   TMPFILES_DIR="/usr/lib/tmpfiles.d" \
-   IFCONFIG=/bin/ifconfig \
-   

[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2021-05-01 Thread Sam James
commit: dce9219bd6643bea6313cdcd811ad63958ef0b63
Author: Sam James  gentoo  org>
AuthorDate: Sat May  1 17:13:54 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat May  1 17:13:54 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dce9219b

net-vpn/openvpn: Stabilize 2.5.2 amd64, #785115

Signed-off-by: Sam James  gentoo.org>

 net-vpn/openvpn/openvpn-2.5.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/openvpn/openvpn-2.5.2.ebuild 
b/net-vpn/openvpn/openvpn-2.5.2.ebuild
index e5ab63ab7b5..5573529f069 100644
--- a/net-vpn/openvpn/openvpn-2.5.2.ebuild
+++ b/net-vpn/openvpn/openvpn-2.5.2.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.gz;
-   KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 
~sparc x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 
~sparc x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2021-05-01 Thread Sam James
commit: 333cdef95d11f68a7935273ef60c4981ee1274e2
Author: Sam James  gentoo  org>
AuthorDate: Sat May  1 17:12:34 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat May  1 17:12:34 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=333cdef9

net-vpn/openvpn: Stabilize 2.5.2 ppc, #785115

Signed-off-by: Sam James  gentoo.org>

 net-vpn/openvpn/openvpn-2.5.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/openvpn/openvpn-2.5.2.ebuild 
b/net-vpn/openvpn/openvpn-2.5.2.ebuild
index 52869eaf604..e5ab63ab7b5 100644
--- a/net-vpn/openvpn/openvpn-2.5.2.ebuild
+++ b/net-vpn/openvpn/openvpn-2.5.2.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.gz;
-   KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~s390 
~sparc x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 
~sparc x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2021-05-01 Thread Sam James
commit: d3dfbd36d6bdacc37dfdc9ef61aa02b11b1e6e64
Author: Sam James  gentoo  org>
AuthorDate: Sat May  1 17:12:13 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat May  1 17:12:13 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3dfbd36

net-vpn/openvpn: Stabilize 2.5.2 ppc64, #785115

Signed-off-by: Sam James  gentoo.org>

 net-vpn/openvpn/openvpn-2.5.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/openvpn/openvpn-2.5.2.ebuild 
b/net-vpn/openvpn/openvpn-2.5.2.ebuild
index ab995ba3662..52869eaf604 100644
--- a/net-vpn/openvpn/openvpn-2.5.2.ebuild
+++ b/net-vpn/openvpn/openvpn-2.5.2.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.gz;
-   KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 
~sparc x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~s390 
~sparc x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2021-05-01 Thread Sam James
commit: d40fde041bc5ef34ad57c9820363d7eafedd52b7
Author: Sam James  gentoo  org>
AuthorDate: Sat May  1 14:07:14 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat May  1 14:07:14 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d40fde04

net-vpn/openvpn: Stabilize 2.5.2 x86, #785115

Signed-off-by: Sam James  gentoo.org>

 net-vpn/openvpn/openvpn-2.5.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/openvpn/openvpn-2.5.2.ebuild 
b/net-vpn/openvpn/openvpn-2.5.2.ebuild
index e8157606265..ab995ba3662 100644
--- a/net-vpn/openvpn/openvpn-2.5.2.ebuild
+++ b/net-vpn/openvpn/openvpn-2.5.2.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.gz;
-   KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 
~sparc x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2021-05-01 Thread Sam James
commit: 639aebe714d6ac61904a5465e36041c3cbec10e3
Author: Sam James  gentoo  org>
AuthorDate: Sat May  1 14:05:57 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat May  1 14:05:57 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=639aebe7

net-vpn/openvpn: Stabilize 2.5.2 arm64, #785115

Signed-off-by: Sam James  gentoo.org>

 net-vpn/openvpn/openvpn-2.5.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/openvpn/openvpn-2.5.2.ebuild 
b/net-vpn/openvpn/openvpn-2.5.2.ebuild
index 20cd58c60ee..e8157606265 100644
--- a/net-vpn/openvpn/openvpn-2.5.2.ebuild
+++ b/net-vpn/openvpn/openvpn-2.5.2.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.gz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/files/, net-vpn/openvpn/

2021-04-30 Thread Thomas Deutschmann
commit: c86a486ae4e9a65297ef3d6025873a014a8a4c20
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Fri Apr 30 18:53:40 2021 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Fri Apr 30 18:58:35 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c86a486a

net-vpn/openvpn: update live ebuild

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Thomas Deutschmann  gentoo.org>

 .../openvpn-2.5.2-detect-python-rst2man.patch  | 14 
 net-vpn/openvpn/openvpn-2.5.2.ebuild   | 19 -
 net-vpn/openvpn/openvpn-.ebuild| 94 ++
 3 files changed, 89 insertions(+), 38 deletions(-)

diff --git a/net-vpn/openvpn/files/openvpn-2.5.2-detect-python-rst2man.patch 
b/net-vpn/openvpn/files/openvpn-2.5.2-detect-python-rst2man.patch
new file mode 100644
index 000..d2060bbff4b
--- /dev/null
+++ b/net-vpn/openvpn/files/openvpn-2.5.2-detect-python-rst2man.patch
@@ -0,0 +1,14 @@
+--- a/configure.ac
 b/configure.ac
+@@ -376,8 +376,8 @@ AC_DEFINE_UNQUOTED([SYSTEMD_ASK_PASSWORD_PATH], 
["$SYSTEMD_ASK_PASSWORD"], [Path
+ #
+ AC_ARG_VAR([RST2MAN], [path to rst2man utility])
+ AC_ARG_VAR([RST2HTML], [path to rst2html utility])
+-AC_CHECK_PROGS([RST2MAN], [rst2man])
+-AC_CHECK_PROGS([RST2HTML], [rst2html])
++AC_CHECK_PROGS([RST2MAN], [rst2man rst2man.py])
++AC_CHECK_PROGS([RST2HTML], [rst2html rst2html.py])
+ AM_CONDITIONAL([HAVE_PYDOCUTILS], [test "${RST2MAN}" -a "${RST2HTML}"])
+ 
+ # Set -std=c99 unless user already specified a -std=
+ 

diff --git a/net-vpn/openvpn/openvpn-2.5.2.ebuild 
b/net-vpn/openvpn/openvpn-2.5.2.ebuild
index 83cf65e13cb..20cd58c60ee 100644
--- a/net-vpn/openvpn/openvpn-2.5.2.ebuild
+++ b/net-vpn/openvpn/openvpn-2.5.2.ebuild
@@ -6,12 +6,20 @@ EAPI=7
 inherit autotools flag-o-matic systemd linux-info
 
 DESCRIPTION="Robust and highly flexible tunneling application compatible with 
many OSes"
-SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.gz;
 HOMEPAGE="https://openvpn.net/;
 
+if [[ ${PV} == "" ]]; then
+   EGIT_REPO_URI="https://github.com/OpenVPN/${PN}.git;
+   EGIT_SUBMODULES=(-cmocka)
+
+   inherit git-r3
+else
+   SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.gz;
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux"
+fi
+
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux"
 
 IUSE="down-root examples inotify iproute2 +lz4 +lzo mbedtls +openssl"
 IUSE+=" pam pkcs11 +plugins selinux systemd test userland_BSD"
@@ -48,8 +56,13 @@ RDEPEND="${CDEPEND}
selinux? ( sec-policy/selinux-openvpn )
 "
 
+if [[ ${PV} = "" ]]; then
+   BDEPEND+=" dev-python/docutils"
+fi
+
 PATCHES=(
-   "${FILESDIR}/openvpn-2.5.0-auth-pam-missing-header.patch"
+   "${FILESDIR}"/openvpn-2.5.0-auth-pam-missing-header.patch
+   "${FILESDIR}"/openvpn-2.5.2-detect-python-rst2man.patch
 )
 
 pkg_setup() {

diff --git a/net-vpn/openvpn/openvpn-.ebuild 
b/net-vpn/openvpn/openvpn-.ebuild
index dd958ea3cc0..20cd58c60ee 100644
--- a/net-vpn/openvpn/openvpn-.ebuild
+++ b/net-vpn/openvpn/openvpn-.ebuild
@@ -3,22 +3,31 @@
 
 EAPI=7
 
-inherit autotools flag-o-matic systemd linux-info git-r3
+inherit autotools flag-o-matic systemd linux-info
 
 DESCRIPTION="Robust and highly flexible tunneling application compatible with 
many OSes"
-EGIT_REPO_URI="https://github.com/OpenVPN/${PN}.git;
-EGIT_SUBMODULES=(-cmocka)
 HOMEPAGE="https://openvpn.net/;
 
+if [[ ${PV} == "" ]]; then
+   EGIT_REPO_URI="https://github.com/OpenVPN/${PN}.git;
+   EGIT_SUBMODULES=(-cmocka)
+
+   inherit git-r3
+else
+   SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.gz;
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux"
+fi
+
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS=""
 
-IUSE="down-root examples inotify iproute2 +lz4 +lzo mbedtls pam"
-IUSE+=" pkcs11 +plugins selinux +ssl systemd test userland_BSD"
+IUSE="down-root examples inotify iproute2 +lz4 +lzo mbedtls +openssl"
+IUSE+=" pam pkcs11 +plugins selinux systemd test userland_BSD"
 
 RESTRICT="!test? ( test )"
-REQUIRED_USE="pkcs11? ( ssl )
+REQUIRED_USE="
+   ^^ ( openssl mbedtls )
+   pkcs11? ( !mbedtls )
!plugins? ( !pam !down-root )
inotify? ( plugins )
 "
@@ -26,18 +35,18 @@ REQUIRED_USE="pkcs11? ( ssl )
 CDEPEND="
kernel_linux? (
iproute2? ( sys-apps/iproute2[-minimal] )
-   !iproute2? ( >=sys-apps/net-tools-1.60_p20160215155418 )
-   )
-   pam? ( sys-libs/pam )
-   ssl? (
-   !mbedtls? ( >=dev-libs/openssl-0.9.8:0= )
-   mbedtls? ( net-libs/mbedtls:= )
)
lz4? ( app-arch/lz4 )
lzo? ( >=dev-libs/lzo-1.07 )
+   mbedtls? ( net-libs/mbedtls:= 

[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/files/

2021-04-30 Thread Thomas Deutschmann
commit: 1f8b4d1f8eaeb437a12b4cbd520199596bf80c55
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Fri Apr 30 18:15:06 2021 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Fri Apr 30 18:58:34 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f8b4d1f

net-vpn/openvpn: runscript: use /run instead of /var/run

Closes: https://bugs.gentoo.org/685316
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Thomas Deutschmann  gentoo.org>

 net-vpn/openvpn/files/openvpn-2.1.init | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/net-vpn/openvpn/files/openvpn-2.1.init 
b/net-vpn/openvpn/files/openvpn-2.1.init
index b42aa13d20d..ba05689a1e0 100644
--- a/net-vpn/openvpn/files/openvpn-2.1.init
+++ b/net-vpn/openvpn/files/openvpn-2.1.init
@@ -1,13 +1,13 @@
 #!/sbin/openrc-run
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 VPNDIR=${VPNDIR:-/etc/openvpn}
 VPN=${SVCNAME#*.}
 if [ -n "${VPN}" ] && [ ${SVCNAME} != "openvpn" ]; then
-   VPNPID="/var/run/openvpn.${VPN}.pid"
+   VPNPID="/run/openvpn.${VPN}.pid"
 else
-   VPNPID="/var/run/openvpn.pid"
+   VPNPID="/run/openvpn.pid"
 fi
 VPNCONF="${VPNDIR}/${VPN}.conf"
 



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2021-04-30 Thread Thomas Deutschmann
commit: 0355870fe3eb0f5d105bca9404a21a34e5649256
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Fri Apr 30 18:12:50 2021 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Fri Apr 30 18:58:34 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0355870f

net-vpn/openvpn: bump to v2.5.2

Bug: https://bugs.gentoo.org/785115
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Thomas Deutschmann  gentoo.org>

 net-vpn/openvpn/Manifest |   1 +
 net-vpn/openvpn/openvpn-2.5.2.ebuild | 174 +++
 2 files changed, 175 insertions(+)

diff --git a/net-vpn/openvpn/Manifest b/net-vpn/openvpn/Manifest
index 7c142523829..109a33040d1 100644
--- a/net-vpn/openvpn/Manifest
+++ b/net-vpn/openvpn/Manifest
@@ -1,3 +1,4 @@
 DIST openvpn-2.4.9.tar.gz 1000602 BLAKE2B 
4a10ec76d1a816f9184dd33e4384623e011a1af40ea38ad56cc06f70ab2c911b6fd92cf8ffcd2ec3ab4179fef87feb187fc9df61c5bea92b1c69ee4113093866
 SHA512 
7683dfb93592968459f080a07ea750992b7444708cdb1a5aafc0118ab8528fc488f2b9fbd7d042e57ad1811303208875237ae9decf0bb4977c45cd30da53751b
 DIST openvpn-2.5.0-r1.tar.gz 1815964 BLAKE2B 
cca1c1ec4fbfe0c337c14525cf706280c9d961c4bba992dfa0b13c9f96e00092864301138037485095716c746ef6ff3473a2085780b3ef77183bf4a6f1c602ae
 SHA512 
3deb55973b87cc95c0437ab9ce6c43fdc246aa7e42e3e68bd6a5651deffa798b6750f625917cb2aaa2c82f0b3a0805bcf206a2aa8e2c735fd24e6bd38f736562
 DIST openvpn-2.5.1.tar.gz 1827517 BLAKE2B 
068af9313c9b2b93dcaa06f82ad66489154ce04973e323af07f38f209b4be77b7b785046aa31559a9f744b4b8c6976acd3e644d5a573f3c5511dc11f5bab3dce
 SHA512 
eb85d14eeb383bed09670941451328db38feacc0b8b7b960840a3f465de83a7527de7d183e66344011da3a3655d558483c569d096b36964209a23418f89052e2
+DIST openvpn-2.5.2.tar.gz 1830763 BLAKE2B 
d1c5fa97b3a9168e8715a7cf926b581e054d1d8ac905dcb78e91b9e7f2ea2abf2f03a02e6b4ee10184e810ebb871f4fc638834848eb3b4a9122b177705382fe8
 SHA512 
5811d26b32e7f258dc1f7ed704d28f9eb03200b54a128e4cb5dfa37ace5113d7841830fc04e1c5f69a138141d0f6f0ca6cb7fc3c39d67456e476eb4c45102be1

diff --git a/net-vpn/openvpn/openvpn-2.5.2.ebuild 
b/net-vpn/openvpn/openvpn-2.5.2.ebuild
new file mode 100644
index 000..3f04ecb8b50
--- /dev/null
+++ b/net-vpn/openvpn/openvpn-2.5.2.ebuild
@@ -0,0 +1,174 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools flag-o-matic systemd linux-info
+
+DESCRIPTION="Robust and highly flexible tunneling application compatible with 
many OSes"
+SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.gz;
+HOMEPAGE="https://openvpn.net/;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux"
+
+IUSE="down-root examples inotify iproute2 +lz4 +lzo mbedtls +openssl"
+IUSE+=" pam pkcs11 +plugins selinux systemd test userland_BSD"
+
+RESTRICT="!test? ( test )"
+REQUIRED_USE="
+   ^^ ( openssl mbedtls )
+   pkcs11? ( !mbedtls )
+   !plugins? ( !pam !down-root )
+   inotify? ( plugins )
+"
+
+CDEPEND="
+   kernel_linux? (
+   iproute2? ( sys-apps/iproute2[-minimal] )
+   )
+   lz4? ( app-arch/lz4 )
+   lzo? ( >=dev-libs/lzo-1.07 )
+   mbedtls? ( net-libs/mbedtls:= )
+   openssl? ( >=dev-libs/openssl-0.9.8:0= )
+   pam? ( sys-libs/pam )
+   pkcs11? ( >=dev-libs/pkcs11-helper-1.11 )
+   systemd? ( sys-apps/systemd )
+"
+
+BDEPEND="virtual/pkgconfig"
+
+DEPEND="${CDEPEND}
+   test? ( dev-util/cmocka )
+"
+RDEPEND="${CDEPEND}
+   acct-group/openvpn
+   acct-user/openvpn
+   selinux? ( sec-policy/selinux-openvpn )
+"
+
+PATCHES=(
+   "${FILESDIR}/openvpn-2.5.0-auth-pam-missing-header.patch"
+)
+
+pkg_setup() {
+   local CONFIG_CHECK="~TUN"
+   linux-info_pkg_setup
+}
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   local -a myeconfargs
+
+   if ! use mbedtls; then
+   myeconfargs+=(
+   $(use_enable pkcs11)
+   )
+   fi
+   myeconfargs+=(
+   $(use_enable inotify async-push)
+   --with-crypto-library=$(usex mbedtls mbedtls openssl)
+   $(use_enable lz4)
+   $(use_enable lzo)
+   $(use_enable plugins)
+   $(use_enable iproute2)
+   $(use_enable pam plugin-auth-pam)
+   $(use_enable down-root plugin-down-root)
+   $(use_enable systemd)
+   )
+   SYSTEMD_UNIT_DIR=$(systemd_get_systemunitdir) \
+   TMPFILES_DIR="/usr/lib/tmpfiles.d" \
+   IPROUTE=$(usex iproute2 '/bin/ip' '') \
+   econf "${myeconfargs[@]}"
+}
+
+src_test() {
+   make check || die "top-level tests failed"
+   pushd tests/unit_tests &>/dev/null || die
+   make check || die "unit tests failed"
+   popd &>/dev/null || die
+}
+
+src_install() {
+   default
+
+   

[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2021-04-30 Thread Thomas Deutschmann
commit: 06d9e6289bb487379e33712bb06f78fcd1b9e365
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Fri Apr 30 18:34:24 2021 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Fri Apr 30 18:58:35 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06d9e628

net-vpn/openvpn: don't call sudo during test phase

Closes: https://bugs.gentoo.org/757330
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Thomas Deutschmann  gentoo.org>

 net-vpn/openvpn/openvpn-2.5.2.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/net-vpn/openvpn/openvpn-2.5.2.ebuild 
b/net-vpn/openvpn/openvpn-2.5.2.ebuild
index 3f04ecb8b50..83cf65e13cb 100644
--- a/net-vpn/openvpn/openvpn-2.5.2.ebuild
+++ b/net-vpn/openvpn/openvpn-2.5.2.ebuild
@@ -88,6 +88,8 @@ src_configure() {
 }
 
 src_test() {
+   local -x RUN_SUDO=false
+
make check || die "top-level tests failed"
pushd tests/unit_tests &>/dev/null || die
make check || die "unit tests failed"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2021-04-30 Thread Mikle Kolyada
commit: e5bd558bfaf1b1bb87c39426237de389c6f31662
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Fri Apr 30 11:00:59 2021 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Fri Apr 30 11:01:22 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5bd558b

net-vpn/openvpn: remove libressl logic

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Mikle Kolyada  gentoo.org>

 net-vpn/openvpn/openvpn-2.4.9.ebuild| 2 +-
 net-vpn/openvpn/openvpn-2.5.0-r1.ebuild | 2 +-
 net-vpn/openvpn/openvpn-2.5.1-r1.ebuild | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/net-vpn/openvpn/openvpn-2.4.9.ebuild 
b/net-vpn/openvpn/openvpn-2.4.9.ebuild
index b29d88937b0..fa2a4e2f026 100644
--- a/net-vpn/openvpn/openvpn-2.4.9.ebuild
+++ b/net-vpn/openvpn/openvpn-2.4.9.ebuild
@@ -66,7 +66,7 @@ src_configure() {
myeconfargs+=(
$(use_with ssl crypto-library $(usex mbedtls mbedtls 
openssl))
)
-   if use libressl || ! use mbedtls; then
+   if ! use mbedtls; then
myeconfargs+=(
$(use_enable pkcs11)
)

diff --git a/net-vpn/openvpn/openvpn-2.5.0-r1.ebuild 
b/net-vpn/openvpn/openvpn-2.5.0-r1.ebuild
index f0b8f56f6fc..8ee40bcb156 100644
--- a/net-vpn/openvpn/openvpn-2.5.0-r1.ebuild
+++ b/net-vpn/openvpn/openvpn-2.5.0-r1.ebuild
@@ -62,7 +62,7 @@ src_prepare() {
 src_configure() {
local -a myeconfargs
 
-   if use libressl || ! use mbedtls; then
+   if ! use mbedtls; then
myeconfargs+=(
$(use_enable pkcs11)
)

diff --git a/net-vpn/openvpn/openvpn-2.5.1-r1.ebuild 
b/net-vpn/openvpn/openvpn-2.5.1-r1.ebuild
index 5234e90577c..f6859b6c7e0 100644
--- a/net-vpn/openvpn/openvpn-2.5.1-r1.ebuild
+++ b/net-vpn/openvpn/openvpn-2.5.1-r1.ebuild
@@ -62,7 +62,7 @@ src_prepare() {
 src_configure() {
local -a myeconfargs
 
-   if use libressl || ! use mbedtls; then
+   if ! use mbedtls; then
myeconfargs+=(
$(use_enable pkcs11)
)



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2021-04-30 Thread Mikle Kolyada
commit: ec170227d5fcde74bdae7583fc2665f3a5d11750
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Fri Apr 30 10:49:09 2021 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Fri Apr 30 10:49:09 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec170227

net-vpn/openvpn: remove libressl support

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Mikle Kolyada  gentoo.org>

 net-vpn/openvpn/metadata.xml| 1 -
 net-vpn/openvpn/openvpn-2.4.9.ebuild| 7 ++-
 net-vpn/openvpn/openvpn-2.5.0-r1.ebuild | 7 ++-
 net-vpn/openvpn/openvpn-2.5.1-r1.ebuild | 7 ++-
 net-vpn/openvpn/openvpn-.ebuild | 7 ++-
 5 files changed, 8 insertions(+), 21 deletions(-)

diff --git a/net-vpn/openvpn/metadata.xml b/net-vpn/openvpn/metadata.xml
index caa9b97acdf..699f7fa4ff8 100644
--- a/net-vpn/openvpn/metadata.xml
+++ b/net-vpn/openvpn/metadata.xml
@@ -17,7 +17,6 @@ networks using an encrypted tunnel.
 Enabled iproute2 support instead of net-tools
 Use mbed TLS as the backend crypto library
 Use OpenSSL as the backend crypto library
-Use OpenSSL as the backend crypto library
 Enable PKCS#11 smartcard support
 Enable the OpenVPN plugin system
   

diff --git a/net-vpn/openvpn/openvpn-2.4.9.ebuild 
b/net-vpn/openvpn/openvpn-2.4.9.ebuild
index 6d6d5d7a02d..b29d88937b0 100644
--- a/net-vpn/openvpn/openvpn-2.4.9.ebuild
+++ b/net-vpn/openvpn/openvpn-2.4.9.ebuild
@@ -13,7 +13,7 @@ LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sparc x86 
~amd64-linux ~x86-linux"
 
-IUSE="down-root examples inotify iproute2 libressl +lz4 +lzo mbedtls pam"
+IUSE="down-root examples inotify iproute2 +lz4 +lzo mbedtls pam"
 IUSE+=" pkcs11 +plugins selinux +ssl systemd test userland_BSD"
 
 RESTRICT="!test? ( test )"
@@ -29,10 +29,7 @@ CDEPEND="
)
pam? ( sys-libs/pam )
ssl? (
-   !mbedtls? (
-   !libressl? ( >=dev-libs/openssl-0.9.8:0= )
-   libressl? ( dev-libs/libressl:0= )
-   )
+   !mbedtls? ( >=dev-libs/openssl-0.9.8:0= )
mbedtls? ( net-libs/mbedtls:= )
)
lz4? ( app-arch/lz4 )

diff --git a/net-vpn/openvpn/openvpn-2.5.0-r1.ebuild 
b/net-vpn/openvpn/openvpn-2.5.0-r1.ebuild
index 2744ace9271..f0b8f56f6fc 100644
--- a/net-vpn/openvpn/openvpn-2.5.0-r1.ebuild
+++ b/net-vpn/openvpn/openvpn-2.5.0-r1.ebuild
@@ -13,7 +13,7 @@ LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux"
 
-IUSE="down-root examples inotify iproute2 libressl +lz4 +lzo mbedtls +openssl"
+IUSE="down-root examples inotify iproute2 +lz4 +lzo mbedtls +openssl"
 IUSE+=" pam pkcs11 +plugins selinux systemd test userland_BSD"
 
 RESTRICT="!test? ( test )"
@@ -31,10 +31,7 @@ CDEPEND="
lz4? ( app-arch/lz4 )
lzo? ( >=dev-libs/lzo-1.07 )
mbedtls? ( net-libs/mbedtls:= )
-   openssl? (
-   !libressl? ( >=dev-libs/openssl-0.9.8:0= )
-   libressl? ( dev-libs/libressl:0= )
-   )
+   openssl? ( >=dev-libs/openssl-0.9.8:0= )
pam? ( sys-libs/pam )
pkcs11? ( >=dev-libs/pkcs11-helper-1.11 )
systemd? ( sys-apps/systemd )

diff --git a/net-vpn/openvpn/openvpn-2.5.1-r1.ebuild 
b/net-vpn/openvpn/openvpn-2.5.1-r1.ebuild
index 5d4782a0359..5234e90577c 100644
--- a/net-vpn/openvpn/openvpn-2.5.1-r1.ebuild
+++ b/net-vpn/openvpn/openvpn-2.5.1-r1.ebuild
@@ -13,7 +13,7 @@ LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux"
 
-IUSE="down-root examples inotify iproute2 libressl +lz4 +lzo mbedtls +openssl"
+IUSE="down-root examples inotify iproute2 +lz4 +lzo mbedtls +openssl"
 IUSE+=" pam pkcs11 +plugins selinux systemd test userland_BSD"
 
 RESTRICT="!test? ( test )"
@@ -31,10 +31,7 @@ CDEPEND="
lz4? ( app-arch/lz4 )
lzo? ( >=dev-libs/lzo-1.07 )
mbedtls? ( net-libs/mbedtls:= )
-   openssl? (
-   !libressl? ( >=dev-libs/openssl-0.9.8:0= )
-   libressl? ( dev-libs/libressl:0= )
-   )
+   openssl? ( >=dev-libs/openssl-0.9.8:0= )
pam? ( sys-libs/pam )
pkcs11? ( >=dev-libs/pkcs11-helper-1.11 )
systemd? ( sys-apps/systemd )

diff --git a/net-vpn/openvpn/openvpn-.ebuild 
b/net-vpn/openvpn/openvpn-.ebuild
index b2945c23a0f..dd958ea3cc0 100644
--- a/net-vpn/openvpn/openvpn-.ebuild
+++ b/net-vpn/openvpn/openvpn-.ebuild
@@ -14,7 +14,7 @@ LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS=""
 
-IUSE="down-root examples inotify iproute2 libressl +lz4 +lzo mbedtls pam"
+IUSE="down-root examples inotify iproute2 +lz4 +lzo mbedtls pam"
 IUSE+=" pkcs11 +plugins selinux +ssl systemd test userland_BSD"
 
 RESTRICT="!test? ( test )"
@@ -30,10 +30,7 @@ CDEPEND="
)
pam? ( sys-libs/pam )
ssl? (
-   

[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2021-04-15 Thread Mikle Kolyada
commit: a6703cb464ead520b9556916a1b6112196914349
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Thu Apr 15 18:52:28 2021 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Thu Apr 15 18:54:00 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6703cb4

net-vpn/openvpn: minor improvements

* enable lz4 USE by default (pipular option)
* improve postinst to include systemd instructions

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Mikle Kolyada  gentoo.org>

 net-vpn/openvpn/openvpn-2.4.9.ebuild| 44 ++---
 net-vpn/openvpn/openvpn-2.5.0-r1.ebuild | 44 ++---
 net-vpn/openvpn/openvpn-2.5.1-r1.ebuild |  8 +++---
 net-vpn/openvpn/openvpn-.ebuild | 44 ++---
 4 files changed, 94 insertions(+), 46 deletions(-)

diff --git a/net-vpn/openvpn/openvpn-2.4.9.ebuild 
b/net-vpn/openvpn/openvpn-2.4.9.ebuild
index 9ee9208aa81..6d6d5d7a02d 100644
--- a/net-vpn/openvpn/openvpn-2.4.9.ebuild
+++ b/net-vpn/openvpn/openvpn-2.4.9.ebuild
@@ -13,7 +13,7 @@ LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sparc x86 
~amd64-linux ~x86-linux"
 
-IUSE="down-root examples inotify iproute2 libressl lz4 +lzo mbedtls pam"
+IUSE="down-root examples inotify iproute2 libressl +lz4 +lzo mbedtls pam"
 IUSE+=" pkcs11 +plugins selinux +ssl systemd test userland_BSD"
 
 RESTRICT="!test? ( test )"
@@ -128,19 +128,35 @@ pkg_postinst() {
elog "http://tuntaposx.sourceforge.net;
fi
 
-   elog "The openvpn init script expects to find the configuration file"
-   elog "openvpn.conf in /etc/openvpn along with any extra files it may 
need."
-   elog ""
-   elog "To create more VPNs, simply create a new .conf file for it and"
-   elog "then create a symlink to the openvpn init script from a link 
called"
-   elog "openvpn.newconfname - like so"
-   elog "   cd /etc/openvpn"
-   elog "   ${EDITOR##*/} foo.conf"
-   elog "   cd /etc/init.d"
-   elog "   ln -s openvpn openvpn.foo"
-   elog ""
-   elog "You can then treat openvpn.foo as any other service, so you can"
-   elog "stop one vpn and start another if you need to."
+   if systemd_is_booted ||  has_version sys-apps/systemd; then
+   elog "In order to use OpenVPN with systemd please use the 
correct systemd service file."
+   elog  ""
+   elog "server:"
+   elog ""
+   elog "- Place your server configuration file in 
/etc/openvpn/server"
+   elog "- Use the openvpn-server@.service like so"
+   elog "systemctl start openvpn-server@{Server-config}"
+   elog ""
+   elog "client:"
+   elog ""
+   elog "- Place your client configuration file in 
/etc/openvpn/client"
+   elog "- Use the openvpn-client@.service like so:"
+   elog "systemctl start openvpn-client@{Client-config}"
+   else
+   elog "The openvpn init script expects to find the configuration 
file"
+   elog "openvpn.conf in /etc/openvpn along with any extra files 
it may need."
+   elog ""
+   elog "To create more VPNs, simply create a new .conf file for 
it and"
+   elog "then create a symlink to the openvpn init script from a 
link called"
+   elog "openvpn.newconfname - like so"
+   elog "   cd /etc/openvpn"
+   elog "   ${EDITOR##*/} foo.conf"
+   elog "   cd /etc/init.d"
+   elog "   ln -s openvpn openvpn.foo"
+   elog ""
+   elog "You can then treat openvpn.foo as any other service, so 
you can"
+   elog "stop one vpn and start another if you need to."
+   fi
 
if grep -Eq "^[ \t]*(up|down)[ \t].*" "${ROOT}/etc/openvpn"/*.conf 
2>/dev/null ; then
ewarn ""

diff --git a/net-vpn/openvpn/openvpn-2.5.0-r1.ebuild 
b/net-vpn/openvpn/openvpn-2.5.0-r1.ebuild
index fe802877755..2744ace9271 100644
--- a/net-vpn/openvpn/openvpn-2.5.0-r1.ebuild
+++ b/net-vpn/openvpn/openvpn-2.5.0-r1.ebuild
@@ -13,7 +13,7 @@ LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux"
 
-IUSE="down-root examples inotify iproute2 libressl lz4 +lzo mbedtls +openssl"
+IUSE="down-root examples inotify iproute2 libressl +lz4 +lzo mbedtls +openssl"
 IUSE+=" pam pkcs11 +plugins selinux systemd test userland_BSD"
 
 RESTRICT="!test? ( test )"
@@ -127,19 +127,35 @@ pkg_postinst() {
elog "http://tuntaposx.sourceforge.net;
fi
 
-   elog "The openvpn init script expects to find the configuration file"
-   elog "openvpn.conf in /etc/openvpn along with any extra files it may 
need."
-   elog ""
-   elog "To create more VPNs, simply create a new .conf file for it 

[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2021-04-15 Thread Mikle Kolyada
commit: 8946fbbf38a3b721f74d00d5fbb64bfbb5465acb
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Thu Apr 15 12:16:26 2021 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Thu Apr 15 12:17:04 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8946fbbf

net-vpn/openvpn: fix inherits

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Mikle Kolyada  gentoo.org>

 net-vpn/openvpn/Manifest  | 2 +-
 net-vpn/openvpn/{openvpn-2.5.1.ebuild => openvpn-2.5.1-r1.ebuild} | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/net-vpn/openvpn/Manifest b/net-vpn/openvpn/Manifest
index c1b710300da..7c142523829 100644
--- a/net-vpn/openvpn/Manifest
+++ b/net-vpn/openvpn/Manifest
@@ -1,3 +1,3 @@
 DIST openvpn-2.4.9.tar.gz 1000602 BLAKE2B 
4a10ec76d1a816f9184dd33e4384623e011a1af40ea38ad56cc06f70ab2c911b6fd92cf8ffcd2ec3ab4179fef87feb187fc9df61c5bea92b1c69ee4113093866
 SHA512 
7683dfb93592968459f080a07ea750992b7444708cdb1a5aafc0118ab8528fc488f2b9fbd7d042e57ad1811303208875237ae9decf0bb4977c45cd30da53751b
 DIST openvpn-2.5.0-r1.tar.gz 1815964 BLAKE2B 
cca1c1ec4fbfe0c337c14525cf706280c9d961c4bba992dfa0b13c9f96e00092864301138037485095716c746ef6ff3473a2085780b3ef77183bf4a6f1c602ae
 SHA512 
3deb55973b87cc95c0437ab9ce6c43fdc246aa7e42e3e68bd6a5651deffa798b6750f625917cb2aaa2c82f0b3a0805bcf206a2aa8e2c735fd24e6bd38f736562
-DIST openvpn-2.5.1-r1.tar.gz 1827517 BLAKE2B 
068af9313c9b2b93dcaa06f82ad66489154ce04973e323af07f38f209b4be77b7b785046aa31559a9f744b4b8c6976acd3e644d5a573f3c5511dc11f5bab3dce
 SHA512 
eb85d14eeb383bed09670941451328db38feacc0b8b7b960840a3f465de83a7527de7d183e66344011da3a3655d558483c569d096b36964209a23418f89052e2
+DIST openvpn-2.5.1.tar.gz 1827517 BLAKE2B 
068af9313c9b2b93dcaa06f82ad66489154ce04973e323af07f38f209b4be77b7b785046aa31559a9f744b4b8c6976acd3e644d5a573f3c5511dc11f5bab3dce
 SHA512 
eb85d14eeb383bed09670941451328db38feacc0b8b7b960840a3f465de83a7527de7d183e66344011da3a3655d558483c569d096b36964209a23418f89052e2

diff --git a/net-vpn/openvpn/openvpn-2.5.1.ebuild 
b/net-vpn/openvpn/openvpn-2.5.1-r1.ebuild
similarity index 98%
rename from net-vpn/openvpn/openvpn-2.5.1.ebuild
rename to net-vpn/openvpn/openvpn-2.5.1-r1.ebuild
index ce0ea90c92b..990ee902239 100644
--- a/net-vpn/openvpn/openvpn-2.5.1.ebuild
+++ b/net-vpn/openvpn/openvpn-2.5.1-r1.ebuild
@@ -3,10 +3,10 @@
 
 EAPI=7
 
-inherit autotools flag-o-matic systemd linux-info systemd
+inherit autotools flag-o-matic systemd linux-info
 
 DESCRIPTION="Robust and highly flexible tunneling application compatible with 
many OSes"
-SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.gz -> 
${P}-r1.tar.gz"
+SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.gz;
 HOMEPAGE="https://openvpn.net/;
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2021-04-15 Thread Mikle Kolyada
commit: b9ace390cb345e03f1c7ef6a5a3d4b42bfff1201
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Thu Apr 15 11:12:57 2021 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Thu Apr 15 11:13:56 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9ace390

net-vpn/openvpn: Version bump (v2.5.1)

- non-maintainer commit (blame be)
- enable lz4 by default (quite popular option)
- improve postinst messages (add systemd)

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Mikle Kolyada  gentoo.org>

 net-vpn/openvpn/Manifest |   1 +
 net-vpn/openvpn/openvpn-2.5.1.ebuild | 174 +++
 2 files changed, 175 insertions(+)

diff --git a/net-vpn/openvpn/Manifest b/net-vpn/openvpn/Manifest
index f363aa40fd1..c1b710300da 100644
--- a/net-vpn/openvpn/Manifest
+++ b/net-vpn/openvpn/Manifest
@@ -1,2 +1,3 @@
 DIST openvpn-2.4.9.tar.gz 1000602 BLAKE2B 
4a10ec76d1a816f9184dd33e4384623e011a1af40ea38ad56cc06f70ab2c911b6fd92cf8ffcd2ec3ab4179fef87feb187fc9df61c5bea92b1c69ee4113093866
 SHA512 
7683dfb93592968459f080a07ea750992b7444708cdb1a5aafc0118ab8528fc488f2b9fbd7d042e57ad1811303208875237ae9decf0bb4977c45cd30da53751b
 DIST openvpn-2.5.0-r1.tar.gz 1815964 BLAKE2B 
cca1c1ec4fbfe0c337c14525cf706280c9d961c4bba992dfa0b13c9f96e00092864301138037485095716c746ef6ff3473a2085780b3ef77183bf4a6f1c602ae
 SHA512 
3deb55973b87cc95c0437ab9ce6c43fdc246aa7e42e3e68bd6a5651deffa798b6750f625917cb2aaa2c82f0b3a0805bcf206a2aa8e2c735fd24e6bd38f736562
+DIST openvpn-2.5.1-r1.tar.gz 1827517 BLAKE2B 
068af9313c9b2b93dcaa06f82ad66489154ce04973e323af07f38f209b4be77b7b785046aa31559a9f744b4b8c6976acd3e644d5a573f3c5511dc11f5bab3dce
 SHA512 
eb85d14eeb383bed09670941451328db38feacc0b8b7b960840a3f465de83a7527de7d183e66344011da3a3655d558483c569d096b36964209a23418f89052e2

diff --git a/net-vpn/openvpn/openvpn-2.5.1.ebuild 
b/net-vpn/openvpn/openvpn-2.5.1.ebuild
new file mode 100644
index 000..ce0ea90c92b
--- /dev/null
+++ b/net-vpn/openvpn/openvpn-2.5.1.ebuild
@@ -0,0 +1,174 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools flag-o-matic systemd linux-info systemd
+
+DESCRIPTION="Robust and highly flexible tunneling application compatible with 
many OSes"
+SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.gz -> 
${P}-r1.tar.gz"
+HOMEPAGE="https://openvpn.net/;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux"
+
+IUSE="down-root examples inotify iproute2 libressl +lz4 +lzo mbedtls +openssl"
+IUSE+=" pam pkcs11 +plugins selinux systemd test userland_BSD"
+
+RESTRICT="!test? ( test )"
+REQUIRED_USE="
+   ^^ ( openssl mbedtls )
+   pkcs11? ( !mbedtls )
+   !plugins? ( !pam !down-root )
+   inotify? ( plugins )
+"
+
+CDEPEND="
+   kernel_linux? (
+   iproute2? ( sys-apps/iproute2[-minimal] )
+   )
+   lz4? ( app-arch/lz4 )
+   lzo? ( >=dev-libs/lzo-1.07 )
+   mbedtls? ( net-libs/mbedtls:= )
+   openssl? (
+   !libressl? ( >=dev-libs/openssl-0.9.8:0= )
+   libressl? ( dev-libs/libressl:0= )
+   )
+   pam? ( sys-libs/pam )
+   pkcs11? ( >=dev-libs/pkcs11-helper-1.11 )
+   systemd? ( sys-apps/systemd )
+"
+DEPEND="${CDEPEND}
+   test? ( dev-util/cmocka )
+"
+RDEPEND="${CDEPEND}
+   acct-group/openvpn
+   acct-user/openvpn
+   selinux? ( sec-policy/selinux-openvpn )
+"
+
+PATCHES=(
+   "${FILESDIR}/openvpn-2.5.0-auth-pam-missing-header.patch"
+)
+
+pkg_setup() {
+   local CONFIG_CHECK="~TUN"
+   linux-info_pkg_setup
+}
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   local -a myeconfargs
+
+   if use libressl || ! use mbedtls; then
+   myeconfargs+=(
+   $(use_enable pkcs11)
+   )
+   fi
+   myeconfargs+=(
+   $(use_enable inotify async-push)
+   --with-crypto-library=$(usex mbedtls mbedtls openssl)
+   $(use_enable lz4)
+   $(use_enable lzo)
+   $(use_enable plugins)
+   $(use_enable iproute2)
+   $(use_enable pam plugin-auth-pam)
+   $(use_enable down-root plugin-down-root)
+   $(use_enable systemd)
+   )
+   SYSTEMD_UNIT_DIR=$(systemd_get_systemunitdir) \
+   TMPFILES_DIR="/usr/lib/tmpfiles.d" \
+   IPROUTE=$(usex iproute2 '/bin/ip' '') \
+   econf "${myeconfargs[@]}"
+}
+
+src_test() {
+   make check || die "top-level tests failed"
+   pushd tests/unit_tests > /dev/null || die
+   make check || die "unit tests failed"
+   popd > /dev/null || die
+}
+
+src_install() {
+   default
+   find "${ED}/usr" -name '*.la' -delete
+   # install documentation
+   dodoc AUTHORS ChangeLog PORTS README 

[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2021-01-06 Thread Fabian Groffen
commit: 182f9fc3525654575d1b01593ad4911fc6192611
Author: Fabian Groffen  gentoo  org>
AuthorDate: Wed Jan  6 14:52:10 2021 +
Commit: Fabian Groffen  gentoo  org>
CommitDate: Wed Jan  6 15:06:41 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=182f9fc3

net-vpn/openvpn: drop x86-macos

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Fabian Groffen  gentoo.org>

 net-vpn/openvpn/openvpn-2.4.9.ebuild| 4 ++--
 net-vpn/openvpn/openvpn-2.5.0-r1.ebuild | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/net-vpn/openvpn/openvpn-2.4.9.ebuild 
b/net-vpn/openvpn/openvpn-2.4.9.ebuild
index 9e3998296da..9ee9208aa81 100644
--- a/net-vpn/openvpn/openvpn-2.4.9.ebuild
+++ b/net-vpn/openvpn/openvpn-2.4.9.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -11,7 +11,7 @@ HOMEPAGE="https://openvpn.net/;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sparc x86 
~amd64-linux ~x86-linux ~x86-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sparc x86 
~amd64-linux ~x86-linux"
 
 IUSE="down-root examples inotify iproute2 libressl lz4 +lzo mbedtls pam"
 IUSE+=" pkcs11 +plugins selinux +ssl systemd test userland_BSD"

diff --git a/net-vpn/openvpn/openvpn-2.5.0-r1.ebuild 
b/net-vpn/openvpn/openvpn-2.5.0-r1.ebuild
index aebab4d4ab6..fe802877755 100644
--- a/net-vpn/openvpn/openvpn-2.5.0-r1.ebuild
+++ b/net-vpn/openvpn/openvpn-2.5.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -11,7 +11,7 @@ HOMEPAGE="https://openvpn.net/;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux ~x86-macos"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux"
 
 IUSE="down-root examples inotify iproute2 libressl lz4 +lzo mbedtls +openssl"
 IUSE+=" pam pkcs11 +plugins selinux systemd test userland_BSD"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2020-11-27 Thread Patrick McLean
commit: 8de0bd0885c48a3260ab1db1faafd53a5f60ad7d
Author: Stefan Strogin  gentoo  org>
AuthorDate: Fri Nov 27 02:25:26 2020 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Fri Nov 27 19:01:41 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8de0bd08

net-vpn/openvpn: fix USE=libressl logic, remove it from REQUIRED_USE

Package-Manager: Portage-3.0.10, Repoman-3.0.2
Signed-off-by: Stefan Strogin  gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/18422
Signed-off-by: Patrick McLean  gentoo.org>

 net-vpn/openvpn/openvpn-2.5.0-r1.ebuild | 8 +---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/net-vpn/openvpn/openvpn-2.5.0-r1.ebuild 
b/net-vpn/openvpn/openvpn-2.5.0-r1.ebuild
index 575fb576481..aebab4d4ab6 100644
--- a/net-vpn/openvpn/openvpn-2.5.0-r1.ebuild
+++ b/net-vpn/openvpn/openvpn-2.5.0-r1.ebuild
@@ -18,7 +18,7 @@ IUSE+=" pam pkcs11 +plugins selinux systemd test userland_BSD"
 
 RESTRICT="!test? ( test )"
 REQUIRED_USE="
-   ^^ ( openssl libressl mbedtls )
+   ^^ ( openssl mbedtls )
pkcs11? ( !mbedtls )
!plugins? ( !pam !down-root )
inotify? ( plugins )
@@ -28,11 +28,13 @@ CDEPEND="
kernel_linux? (
iproute2? ( sys-apps/iproute2[-minimal] )
)
-   libressl? ( dev-libs/libressl:0= )
lz4? ( app-arch/lz4 )
lzo? ( >=dev-libs/lzo-1.07 )
mbedtls? ( net-libs/mbedtls:= )
-   openssl? ( >=dev-libs/openssl-0.9.8:0= )
+   openssl? (
+   !libressl? ( >=dev-libs/openssl-0.9.8:0= )
+   libressl? ( dev-libs/libressl:0= )
+   )
pam? ( sys-libs/pam )
pkcs11? ( >=dev-libs/pkcs11-helper-1.11 )
systemd? ( sys-apps/systemd )



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/, net-vpn/openvpn/files/

2020-11-25 Thread Patrick McLean
commit: 754719bf31995aef24556009bc2a422262655bad
Author: Patrick McLean  sony  com>
AuthorDate: Thu Nov 26 02:10:37 2020 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Thu Nov 26 02:10:51 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=754719bf

net-vpn/openvpn-2.5.0-r1: Add patch to fix libressl (bug #651228)

Closes: https://bugs.gentoo.org/651228
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-3.0.10, Repoman-3.0.2
Signed-off-by: Patrick McLean  gentoo.org>

 .../files/openvpn-2.5.0-auth-pam-missing-header.patch| 12 
 net-vpn/openvpn/openvpn-2.5.0-r1.ebuild  |  5 -
 2 files changed, 16 insertions(+), 1 deletion(-)

diff --git a/net-vpn/openvpn/files/openvpn-2.5.0-auth-pam-missing-header.patch 
b/net-vpn/openvpn/files/openvpn-2.5.0-auth-pam-missing-header.patch
new file mode 100644
index 000..2e48bd6b387
--- /dev/null
+++ b/net-vpn/openvpn/files/openvpn-2.5.0-auth-pam-missing-header.patch
@@ -0,0 +1,12 @@
+diff --git a/src/plugins/auth-pam/auth-pam.c b/src/plugins/auth-pam/auth-pam.c
+index f537652e..29306310 100644
+--- a/src/plugins/auth-pam/auth-pam.c
 b/src/plugins/auth-pam/auth-pam.c
+@@ -47,6 +47,7 @@
+ #include 
+ #include 
+ #include 
++#include 
+ #include "utils.h"
+ 
+ #include 

diff --git a/net-vpn/openvpn/openvpn-2.5.0-r1.ebuild 
b/net-vpn/openvpn/openvpn-2.5.0-r1.ebuild
index 35f18565020..575fb576481 100644
--- a/net-vpn/openvpn/openvpn-2.5.0-r1.ebuild
+++ b/net-vpn/openvpn/openvpn-2.5.0-r1.ebuild
@@ -46,9 +46,12 @@ RDEPEND="${CDEPEND}
selinux? ( sec-policy/selinux-openvpn )
 "
 
-CONFIG_CHECK="~TUN"
+PATCHES=(
+   "${FILESDIR}/openvpn-2.5.0-auth-pam-missing-header.patch"
+)
 
 pkg_setup() {
+   local CONFIG_CHECK="~TUN"
linux-info_pkg_setup
 }
 



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2020-11-25 Thread Patrick McLean
commit: ba43e6af9c155f5d2b0db0150a61832c6418ad2e
Author: Patrick McLean  sony  com>
AuthorDate: Wed Nov 25 23:11:20 2020 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Wed Nov 25 23:11:27 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba43e6af

net-vpn/openvpn-1.5.0-r1: Remove the "ssl" USE flag again

Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-3.0.10, Repoman-3.0.2
Signed-off-by: Patrick McLean  gentoo.org>

 net-vpn/openvpn/openvpn-2.5.0-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-vpn/openvpn/openvpn-2.5.0-r1.ebuild 
b/net-vpn/openvpn/openvpn-2.5.0-r1.ebuild
index 094213d0203..35f18565020 100644
--- a/net-vpn/openvpn/openvpn-2.5.0-r1.ebuild
+++ b/net-vpn/openvpn/openvpn-2.5.0-r1.ebuild
@@ -13,8 +13,8 @@ LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux ~x86-macos"
 
-IUSE="down-root examples inotify iproute2 libressl lz4 +lzo mbedtls +openssl 
pam"
-IUSE+=" pkcs11 +plugins selinux +ssl systemd test userland_BSD"
+IUSE="down-root examples inotify iproute2 libressl lz4 +lzo mbedtls +openssl"
+IUSE+=" pam pkcs11 +plugins selinux systemd test userland_BSD"
 
 RESTRICT="!test? ( test )"
 REQUIRED_USE="



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2020-11-25 Thread Patrick McLean
commit: 257ea49e037b735ee3afbb39316747b38efb559f
Author: Patrick McLean  sony  com>
AuthorDate: Wed Nov 25 21:30:45 2020 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Wed Nov 25 21:30:52 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=257ea49e

net-vpn/openvpn-1.5.0-r1: Restore + on openssl USE flag

Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-3.0.10, Repoman-3.0.2
Signed-off-by: Patrick McLean  gentoo.org>

 net-vpn/openvpn/openvpn-2.5.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/openvpn/openvpn-2.5.0-r1.ebuild 
b/net-vpn/openvpn/openvpn-2.5.0-r1.ebuild
index 7c17301343a..094213d0203 100644
--- a/net-vpn/openvpn/openvpn-2.5.0-r1.ebuild
+++ b/net-vpn/openvpn/openvpn-2.5.0-r1.ebuild
@@ -13,7 +13,7 @@ LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux ~x86-macos"
 
-IUSE="down-root examples inotify iproute2 libressl lz4 +lzo mbedtls openssl 
pam"
+IUSE="down-root examples inotify iproute2 libressl lz4 +lzo mbedtls +openssl 
pam"
 IUSE+=" pkcs11 +plugins selinux +ssl systemd test userland_BSD"
 
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2020-11-25 Thread Patrick McLean
commit: f119185766e42ad104fe5da7338612c7ea6f4ddd
Author: Patrick McLean  sony  com>
AuthorDate: Wed Nov 25 19:18:05 2020 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Wed Nov 25 19:18:29 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1191857

net-vpn/openvpn-2.5.0-r1: revbump, use alternate tarball (bug #755680)

Bug: https://bugs.gentoo.org/755680
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-3.0.10, Repoman-3.0.2
Signed-off-by: Patrick McLean  gentoo.org>

 net-vpn/openvpn/Manifest | 2 +-
 .../openvpn/{openvpn-2.5.0.ebuild => openvpn-2.5.0-r1.ebuild}| 9 ++---
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/net-vpn/openvpn/Manifest b/net-vpn/openvpn/Manifest
index 1a66bc36661..f363aa40fd1 100644
--- a/net-vpn/openvpn/Manifest
+++ b/net-vpn/openvpn/Manifest
@@ -1,2 +1,2 @@
 DIST openvpn-2.4.9.tar.gz 1000602 BLAKE2B 
4a10ec76d1a816f9184dd33e4384623e011a1af40ea38ad56cc06f70ab2c911b6fd92cf8ffcd2ec3ab4179fef87feb187fc9df61c5bea92b1c69ee4113093866
 SHA512 
7683dfb93592968459f080a07ea750992b7444708cdb1a5aafc0118ab8528fc488f2b9fbd7d042e57ad1811303208875237ae9decf0bb4977c45cd30da53751b
-DIST openvpn-2.5.0.tar.gz 1167549 BLAKE2B 
273fb3d887c3afb1a94a00f8ee6c7f03dc470f0dc1ccc27e9811c70d79d258b30988b7c559ae739208a69fee670332215cc8aab5a6cd66ff5f4793935e1cf0ce
 SHA512 
9f81558071da874554e4d174671b49d5fa61707108e79daee096106166c9a865b3cd955ce627951276c20bf16019f8ac055c553d789982a8a22e8ea53124a4ce
+DIST openvpn-2.5.0-r1.tar.gz 1815964 BLAKE2B 
cca1c1ec4fbfe0c337c14525cf706280c9d961c4bba992dfa0b13c9f96e00092864301138037485095716c746ef6ff3473a2085780b3ef77183bf4a6f1c602ae
 SHA512 
3deb55973b87cc95c0437ab9ce6c43fdc246aa7e42e3e68bd6a5651deffa798b6750f625917cb2aaa2c82f0b3a0805bcf206a2aa8e2c735fd24e6bd38f736562

diff --git a/net-vpn/openvpn/openvpn-2.5.0.ebuild 
b/net-vpn/openvpn/openvpn-2.5.0-r1.ebuild
similarity index 94%
rename from net-vpn/openvpn/openvpn-2.5.0.ebuild
rename to net-vpn/openvpn/openvpn-2.5.0-r1.ebuild
index 15d5564e760..7c17301343a 100644
--- a/net-vpn/openvpn/openvpn-2.5.0.ebuild
+++ b/net-vpn/openvpn/openvpn-2.5.0-r1.ebuild
@@ -6,15 +6,15 @@ EAPI=7
 inherit autotools flag-o-matic systemd linux-info
 
 DESCRIPTION="Robust and highly flexible tunneling application compatible with 
many OSes"
-SRC_URI="https://github.com/OpenVPN/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://build.openvpn.net/downloads/releases/${P}.tar.gz -> 
${P}-r1.tar.gz"
 HOMEPAGE="https://openvpn.net/;
 
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux ~x86-macos"
 
-IUSE="down-root examples inotify iproute2 libressl lz4 +lzo mbedtls +openssl
-   pam pkcs11 +plugins selinux systemd test userland_BSD"
+IUSE="down-root examples inotify iproute2 libressl lz4 +lzo mbedtls openssl 
pam"
+IUSE+=" pkcs11 +plugins selinux +ssl systemd test userland_BSD"
 
 RESTRICT="!test? ( test )"
 REQUIRED_USE="
@@ -111,6 +111,9 @@ src_install() {
docinto /usr/share/doc/${PF}/examples
dodoc -r sample contrib
fi
+
+   # https://bugs.gentoo.org/755680#c3
+   doman doc/openvpn.8
 }
 
 pkg_postinst() {



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2020-11-24 Thread Patrick McLean
commit: eb95b6a6e783c5ee05e0b079d7ad2a110a268e9c
Author: Patrick McLean  sony  com>
AuthorDate: Wed Nov 25 06:40:40 2020 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Wed Nov 25 06:40:40 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb95b6a6

net-vpn/openvpn-2.5.0: Version bump (bug #755659)

Closes: https://bugs.gentoo.org/755659
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-3.0.10, Repoman-3.0.2
Signed-off-by: Patrick McLean  gentoo.org>

 net-vpn/openvpn/Manifest |   1 +
 net-vpn/openvpn/metadata.xml |   4 +-
 net-vpn/openvpn/openvpn-2.5.0.ebuild | 148 +++
 3 files changed, 152 insertions(+), 1 deletion(-)

diff --git a/net-vpn/openvpn/Manifest b/net-vpn/openvpn/Manifest
index 1a742621c67..1a66bc36661 100644
--- a/net-vpn/openvpn/Manifest
+++ b/net-vpn/openvpn/Manifest
@@ -1 +1,2 @@
 DIST openvpn-2.4.9.tar.gz 1000602 BLAKE2B 
4a10ec76d1a816f9184dd33e4384623e011a1af40ea38ad56cc06f70ab2c911b6fd92cf8ffcd2ec3ab4179fef87feb187fc9df61c5bea92b1c69ee4113093866
 SHA512 
7683dfb93592968459f080a07ea750992b7444708cdb1a5aafc0118ab8528fc488f2b9fbd7d042e57ad1811303208875237ae9decf0bb4977c45cd30da53751b
+DIST openvpn-2.5.0.tar.gz 1167549 BLAKE2B 
273fb3d887c3afb1a94a00f8ee6c7f03dc470f0dc1ccc27e9811c70d79d258b30988b7c559ae739208a69fee670332215cc8aab5a6cd66ff5f4793935e1cf0ce
 SHA512 
9f81558071da874554e4d174671b49d5fa61707108e79daee096106166c9a865b3cd955ce627951276c20bf16019f8ac055c553d789982a8a22e8ea53124a4ce

diff --git a/net-vpn/openvpn/metadata.xml b/net-vpn/openvpn/metadata.xml
index 4d0024cb2ed..caa9b97acdf 100644
--- a/net-vpn/openvpn/metadata.xml
+++ b/net-vpn/openvpn/metadata.xml
@@ -15,7 +15,9 @@ networks using an encrypted tunnel.
   
 Enable the down-root plugin
 Enabled iproute2 support instead of net-tools
-Use mbed TLS instead of OpenSSL
+Use mbed TLS as the backend crypto library
+Use OpenSSL as the backend crypto library
+Use OpenSSL as the backend crypto library
 Enable PKCS#11 smartcard support
 Enable the OpenVPN plugin system
   

diff --git a/net-vpn/openvpn/openvpn-2.5.0.ebuild 
b/net-vpn/openvpn/openvpn-2.5.0.ebuild
new file mode 100644
index 000..15d5564e760
--- /dev/null
+++ b/net-vpn/openvpn/openvpn-2.5.0.ebuild
@@ -0,0 +1,148 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools flag-o-matic systemd linux-info
+
+DESCRIPTION="Robust and highly flexible tunneling application compatible with 
many OSes"
+SRC_URI="https://github.com/OpenVPN/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+HOMEPAGE="https://openvpn.net/;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux ~x86-macos"
+
+IUSE="down-root examples inotify iproute2 libressl lz4 +lzo mbedtls +openssl
+   pam pkcs11 +plugins selinux systemd test userland_BSD"
+
+RESTRICT="!test? ( test )"
+REQUIRED_USE="
+   ^^ ( openssl libressl mbedtls )
+   pkcs11? ( !mbedtls )
+   !plugins? ( !pam !down-root )
+   inotify? ( plugins )
+"
+
+CDEPEND="
+   kernel_linux? (
+   iproute2? ( sys-apps/iproute2[-minimal] )
+   )
+   libressl? ( dev-libs/libressl:0= )
+   lz4? ( app-arch/lz4 )
+   lzo? ( >=dev-libs/lzo-1.07 )
+   mbedtls? ( net-libs/mbedtls:= )
+   openssl? ( >=dev-libs/openssl-0.9.8:0= )
+   pam? ( sys-libs/pam )
+   pkcs11? ( >=dev-libs/pkcs11-helper-1.11 )
+   systemd? ( sys-apps/systemd )
+"
+DEPEND="${CDEPEND}
+   test? ( dev-util/cmocka )
+"
+RDEPEND="${CDEPEND}
+   acct-group/openvpn
+   acct-user/openvpn
+   selinux? ( sec-policy/selinux-openvpn )
+"
+
+CONFIG_CHECK="~TUN"
+
+pkg_setup() {
+   linux-info_pkg_setup
+}
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   local -a myeconfargs
+
+   if use libressl || ! use mbedtls; then
+   myeconfargs+=(
+   $(use_enable pkcs11)
+   )
+   fi
+   myeconfargs+=(
+   $(use_enable inotify async-push)
+   --with-crypto-library=$(usex mbedtls mbedtls openssl)
+   $(use_enable lz4)
+   $(use_enable lzo)
+   $(use_enable plugins)
+   $(use_enable iproute2)
+   $(use_enable pam plugin-auth-pam)
+   $(use_enable down-root plugin-down-root)
+   $(use_enable systemd)
+   )
+   SYSTEMD_UNIT_DIR=$(systemd_get_systemunitdir) \
+   TMPFILES_DIR="/usr/lib/tmpfiles.d" \
+   IPROUTE=$(usex iproute2 '/bin/ip' '') \
+   econf "${myeconfargs[@]}"
+}
+
+src_test() {
+   make check || die "top-level tests failed"
+   pushd tests/unit_tests > /dev/null || die
+   make check || die "unit tests failed"
+   popd > /dev/null || die
+}
+

[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/files/

2020-05-04 Thread William Hubbs
commit: 90d274133863371fb7ed0ff537f9fdc0384e4b59
Author: William Hubbs  gentoo  org>
AuthorDate: Mon May  4 13:24:51 2020 +
Commit: William Hubbs  gentoo  org>
CommitDate: Mon May  4 13:24:51 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90d27413

net-vpn/openvpn: remove unused patches

Signed-off-by: William Hubbs  gentoo.org>

 .../files/openvpn-2.4.5-libressl-macro-fix.patch   | 63 -
 net-vpn/openvpn/files/openvpn-2.4.7-libressl.patch | 49 
 .../files/openvpn-2.5-external-cmocka.patch| 65 --
 .../openvpn/files/openvpn-external-cmocka.patch| 62 -
 4 files changed, 239 deletions(-)

diff --git a/net-vpn/openvpn/files/openvpn-2.4.5-libressl-macro-fix.patch 
b/net-vpn/openvpn/files/openvpn-2.4.5-libressl-macro-fix.patch
deleted file mode 100644
index 13b97600952..000
--- a/net-vpn/openvpn/files/openvpn-2.4.5-libressl-macro-fix.patch
+++ /dev/null
@@ -1,63 +0,0 @@
-diff --git a/configure.ac b/configure.ac
-index 626b4dd..2a8e87f 100644
 a/configure.ac
-+++ b/configure.ac
-@@ -948,6 +948,18 @@ if test "${with_crypto_library}" = "openssl"; then
-   EC_GROUP_order_bits
-   ]
-   )
-+  AC_CHECK_DECLS(
-+  [
-+  SSL_CTX_get_min_proto_version,
-+  SSL_CTX_get_max_proto_version,
-+  SSL_CTX_set_min_proto_version,
-+  SSL_CTX_set_max_proto_version,
-+  ],
-+  ,
-+  ,
-+  [[#include ]]
-+
-+  )
- 
-   CFLAGS="${saved_CFLAGS}"
-   LIBS="${saved_LIBS}"
-diff --git a/src/openvpn/openssl_compat.h b/src/openvpn/openssl_compat.h
-index d375fab..340d452 100644
 a/src/openvpn/openssl_compat.h
-+++ b/src/openvpn/openssl_compat.h
-@@ -661,7 +661,7 @@ EC_GROUP_order_bits(const EC_GROUP *group)
- #define RSA_F_RSA_OSSL_PRIVATE_ENCRYPT   RSA_F_RSA_EAY_PRIVATE_ENCRYPT
- #endif
- 
--#ifndef SSL_CTX_get_min_proto_version
-+#if !HAVE_DECL_SSL_CTX_GET_MIN_PROTO_VERSION
- /** Return the min SSL protocol version currently enabled in the context.
-  *  If no valid version >= TLS1.0 is found, return 0. */
- static inline int
-@@ -684,7 +684,7 @@ SSL_CTX_get_min_proto_version(SSL_CTX *ctx)
- }
- #endif /* SSL_CTX_get_min_proto_version */
- 
--#ifndef SSL_CTX_get_max_proto_version
-+#if !HAVE_DECL_SSL_CTX_GET_MAX_PROTO_VERSION
- /** Return the max SSL protocol version currently enabled in the context.
-  *  If no valid version >= TLS1.0 is found, return 0. */
- static inline int
-@@ -707,7 +707,7 @@ SSL_CTX_get_max_proto_version(SSL_CTX *ctx)
- }
- #endif /* SSL_CTX_get_max_proto_version */
- 
--#ifndef SSL_CTX_set_min_proto_version
-+#if !HAVE_DECL_SSL_CTX_SET_MIN_PROTO_VERSION
- /** Mimics SSL_CTX_set_min_proto_version for OpenSSL < 1.1 */
- static inline int
- SSL_CTX_set_min_proto_version(SSL_CTX *ctx, long tls_ver_min)
-@@ -736,7 +736,7 @@ SSL_CTX_set_min_proto_version(SSL_CTX *ctx, long 
tls_ver_min)
- }
- #endif /* SSL_CTX_set_min_proto_version */
- 
--#ifndef SSL_CTX_set_max_proto_version
-+#if !HAVE_DECL_SSL_CTX_SET_MAX_PROTO_VERSION
- /** Mimics SSL_CTX_set_max_proto_version for OpenSSL < 1.1 */
- static inline int
- SSL_CTX_set_max_proto_version(SSL_CTX *ctx, long tls_ver_max)

diff --git a/net-vpn/openvpn/files/openvpn-2.4.7-libressl.patch 
b/net-vpn/openvpn/files/openvpn-2.4.7-libressl.patch
deleted file mode 100644
index 210189cd4d4..000
--- a/net-vpn/openvpn/files/openvpn-2.4.7-libressl.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-From 4faf695e3c42a81131c2aae96c4a60228aa237a5 Mon Sep 17 00:00:00 2001
-From: Stefan Strogin 
-Date: Sat, 23 Feb 2019 20:13:41 +0200
-Subject: [PATCH] Fix compilation with LibreSSL
-
-TLS 1.3 is not ready yet in LibreSSL.
-Also SSL_get1_supported_ciphers() has been just added into master (not yet
-released).
-
-Upstream-Status: Submitted [https://github.com/OpenVPN/openvpn/pull/123]
-Signed-off-by: Stefan Strogin 

- src/openvpn/ssl_openssl.c | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/src/openvpn/ssl_openssl.c b/src/openvpn/ssl_openssl.c
-index a78dae99..6a8fcef3 100644
 a/src/openvpn/ssl_openssl.c
-+++ b/src/openvpn/ssl_openssl.c
-@@ -459,7 +459,7 @@ tls_ctx_restrict_ciphers_tls13(struct tls_root_ctx *ctx, 
const char *ciphers)
- return;
- }
- 
--#if (OPENSSL_VERSION_NUMBER < 0x1010100fL)
-+#if (OPENSSL_VERSION_NUMBER < 0x1010100fL) || defined(LIBRESSL_VERSION_NUMBER)
- crypto_msg(M_WARN, "Not compiled with OpenSSL 1.1.1 or higher. "
-"Ignoring TLS 1.3 only tls-ciphersuites '%s' setting.",
- ciphers);
-@@ -1846,7 +1846,7 @@ show_available_tls_ciphers_list(const char *cipher_list,
- crypto_msg(M_FATAL, "Cannot create SSL_CTX object");
- }
- 
--#if (OPENSSL_VERSION_NUMBER >= 0x1010100fL)
-+#if (OPENSSL_VERSION_NUMBER >= 0x1010100fL && 

[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2020-05-03 Thread Aaron Bauman
commit: b91fcf19d5da0efd91a6bfa1f9240f9042eb9df1
Author: Aaron Bauman  gentoo  org>
AuthorDate: Mon May  4 02:17:05 2020 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Mon May  4 02:17:27 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b91fcf19

net-vpn/openvpn: drop vulnerable

Bug: https://bugs.gentoo.org/717978
Signed-off-by: Aaron Bauman  gentoo.org>

 net-vpn/openvpn/Manifest|   4 -
 net-vpn/openvpn/openvpn-2.4.6-r1.ebuild | 156 ---
 net-vpn/openvpn/openvpn-2.4.6.ebuild| 156 ---
 net-vpn/openvpn/openvpn-2.4.7-r1.ebuild | 157 
 net-vpn/openvpn/openvpn-2.4.8.ebuild| 145 -
 5 files changed, 618 deletions(-)

diff --git a/net-vpn/openvpn/Manifest b/net-vpn/openvpn/Manifest
index 2ba62782fbd..1a742621c67 100644
--- a/net-vpn/openvpn/Manifest
+++ b/net-vpn/openvpn/Manifest
@@ -1,5 +1 @@
-DIST mock_msg.h 1356 BLAKE2B 
da7585cfeee89c0a4d3aa6326de6e2324804ed2a57a0e8bf7c2e51b25a91a8e1fcf9d29bba90fe58e40bf0197793a76fc1e83d8b6d677228cdc5e5333253b1a3
 SHA512 
930775a5837bc7f97a26817ea028782d555e0e71ba06b04c39941f4c01bbc3ca0a5dc63bcf19dc694e0e746b3a382f22daf6a6373a3443c5afd7398cbaaef6ea
-DIST openvpn-2.4.6.tar.gz 1431971 BLAKE2B 
1ab0746a845fc56bf738c1730cc187c27f61d5bb763df149640978f0bf87450a01e3e40372265440f1aae4e1c58b6d9a1ee1f2aade970d19fd8e8813e0b487a7
 SHA512 
cdd70bfd03177bc6cb70d0d614e40389df00816b7097740b4cda9d7bee094d1463fdb5afeaf604c52c7b3167d1edb098a2e095e131a8b9fed0ed8b29da90cbe8
-DIST openvpn-2.4.7.tar.gz 998094 BLAKE2B 
90f91d74279a547b49704cd14d9ac3dde26c522cd77eb851ea603addb1b220eda9be4de6cf5d74fe7717f34b3ff5fc802ca977a1402c5ed75616139d449fceb0
 SHA512 
ba9bc08c02fad85ba05c27488b0bfcb3540ba9c625c42334e24cb1d5e253b91c518c02641d755e03b8747ae8c2ebd340c55d51f7aedbbf2550ee4e4b79823c9c
-DIST openvpn-2.4.8.tar.gz 997417 BLAKE2B 
1c56d25c125039b9f0723d8f498c9cc7233c9da940d961a430c82a3c41448c0c4fc64255adad59513d4e39b8e778cf58ced965e1501793c47bc73d211c339e4e
 SHA512 
6a5f6f6a55011019e64ed452ad395942b751589893bd6fd3159b20577d734f2fe35d2f51f30303adee3a21e67da6d25369ea4421288ba7c2e09445e2c001
 DIST openvpn-2.4.9.tar.gz 1000602 BLAKE2B 
4a10ec76d1a816f9184dd33e4384623e011a1af40ea38ad56cc06f70ab2c911b6fd92cf8ffcd2ec3ab4179fef87feb187fc9df61c5bea92b1c69ee4113093866
 SHA512 
7683dfb93592968459f080a07ea750992b7444708cdb1a5aafc0118ab8528fc488f2b9fbd7d042e57ad1811303208875237ae9decf0bb4977c45cd30da53751b

diff --git a/net-vpn/openvpn/openvpn-2.4.6-r1.ebuild 
b/net-vpn/openvpn/openvpn-2.4.6-r1.ebuild
deleted file mode 100644
index 3c4d220281f..000
--- a/net-vpn/openvpn/openvpn-2.4.6-r1.ebuild
+++ /dev/null
@@ -1,156 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools flag-o-matic user systemd linux-info
-
-DESCRIPTION="Robust and highly flexible tunneling application compatible with 
many OSes"
-SRC_URI="https://swupdate.openvpn.net/community/releases/${P}.tar.gz
-   test? ( 
https://raw.githubusercontent.com/OpenVPN/${PN}/v${PV}/tests/unit_tests/${PN}/mock_msg.h
 )"
-HOMEPAGE="https://openvpn.net/;
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux ~x86-macos"
-
-IUSE="down-root examples inotify iproute2 libressl lz4 +lzo mbedtls pam"
-IUSE+=" pkcs11 +plugins selinux +ssl systemd test userland_BSD"
-
-RESTRICT="!test? ( test )"
-REQUIRED_USE="pkcs11? ( ssl )
-   !plugins? ( !pam !down-root )
-   inotify? ( plugins )"
-
-CDEPEND="
-   kernel_linux? (
-   iproute2? ( sys-apps/iproute2[-minimal] )
-   !iproute2? ( >=sys-apps/net-tools-1.60_p20160215155418 )
-   )
-   pam? ( sys-libs/pam )
-   ssl? (
-   !mbedtls? (
-   !libressl? ( >=dev-libs/openssl-0.9.8:0= )
-   libressl? ( dev-libs/libressl:0= )
-   )
-   mbedtls? ( net-libs/mbedtls )
-   )
-   lz4? ( app-arch/lz4 )
-   lzo? ( >=dev-libs/lzo-1.07 )
-   pkcs11? ( >=dev-libs/pkcs11-helper-1.11 )
-   systemd? ( sys-apps/systemd )"
-DEPEND="${CDEPEND}
-   test? ( dev-util/cmocka )"
-RDEPEND="${CDEPEND}
-   selinux? ( sec-policy/selinux-openvpn )"
-
-CONFIG_CHECK="~TUN"
-
-PATCHES=(
-   "${FILESDIR}/${PN}-external-cmocka.patch"
-   "${FILESDIR}/${PN}-2.4.5-libressl-macro-fix.patch"
-)
-
-pkg_setup() {
-   linux-info_pkg_setup
-}
-
-src_prepare() {
-   default
-   eautoreconf
-
-   if use test; then
-   cp "${DISTDIR}/mock_msg.h" tests/unit_tests/${PN} || die
-   fi
-}
-
-src_configure() {
-   SYSTEMD_UNIT_DIR=$(systemd_get_systemunitdir) \
-   TMPFILES_DIR="/usr/lib/tmpfiles.d" \
-   IFCONFIG=/bin/ifconfig \
-   ROUTE=/bin/route \
-   econf \
-   $(use_enable inotify 

[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2020-04-26 Thread William Hubbs
commit: 30f1e199eff80a08bc75f7a11a969dc6134bdd88
Author: William Hubbs  gentoo  org>
AuthorDate: Mon Apr 27 03:16:18 2020 +
Commit: William Hubbs  gentoo  org>
CommitDate: Mon Apr 27 03:17:49 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30f1e199

fix build failures

Closes: https://bugs.gentoo.org/704070
Closes: https://bugs.gentoo.org/719716
Signed-off-by: William Hubbs  gentoo.org>

 net-vpn/openvpn/openvpn-2.4.9.ebuild | 36 
 1 file changed, 24 insertions(+), 12 deletions(-)

diff --git a/net-vpn/openvpn/openvpn-2.4.9.ebuild 
b/net-vpn/openvpn/openvpn-2.4.9.ebuild
index 684a4871fe8..ab73cf1183c 100644
--- a/net-vpn/openvpn/openvpn-2.4.9.ebuild
+++ b/net-vpn/openvpn/openvpn-2.4.9.ebuild
@@ -61,22 +61,34 @@ src_prepare() {
 }
 
 src_configure() {
+   local myeconfargs=(
+   $(use_enable inotify async-push)
+   $(use_enable ssl crypto)
+   )
+   if use ssl; then
+   myeconfargs+=(
+   $(use_with ssl crypto-library $(usex mbedtls mbedtls 
openssl))
+   )
+   if use libressl || ! use mbedtls; then
+   myeconfargs+=(
+   $(use_enable pkcs11)
+   )
+   fi
+   fi
+   myeconfargs+=(
+   $(use_enable lz4)
+   $(use_enable lzo)
+   $(use_enable plugins)
+   $(use_enable iproute2)
+   $(use_enable pam plugin-auth-pam)
+   $(use_enable down-root plugin-down-root)
+   $(use_enable systemd)
+   )
SYSTEMD_UNIT_DIR=$(systemd_get_systemunitdir) \
TMPFILES_DIR="/usr/lib/tmpfiles.d" \
IFCONFIG=/bin/ifconfig \
ROUTE=/bin/route \
-   econf \
-   $(use_enable inotify async-push) \
-   $(use_enable ssl crypto) \
-   $(use_with ssl crypto-library $(usex mbedtls mbedtls openssl)) \
-   $(use_enable lz4) \
-   $(use_enable lzo) \
-   $(use_enable pkcs11) \
-   $(use_enable plugins) \
-   $(use_enable iproute2) \
-   $(use_enable pam plugin-auth-pam) \
-   $(use_enable down-root plugin-down-root) \
-   $(use_enable systemd)
+   econf "${myeconfargs[@]}"
 }
 
 src_test() {



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2020-04-23 Thread Agostino Sarubbo
commit: 9ff5a753aed0a870ae4049a95008d8006ac12884
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Apr 23 10:41:43 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Apr 23 10:41:43 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ff5a753

net-vpn/openvpn: x86 stable wrt bug #717978

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-vpn/openvpn/openvpn-2.4.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/openvpn/openvpn-2.4.9.ebuild 
b/net-vpn/openvpn/openvpn-2.4.9.ebuild
index d3d5f37948d..684a4871fe8 100644
--- a/net-vpn/openvpn/openvpn-2.4.9.ebuild
+++ b/net-vpn/openvpn/openvpn-2.4.9.ebuild
@@ -11,7 +11,7 @@ HOMEPAGE="https://openvpn.net/;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux ~x86-macos"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sparc x86 
~amd64-linux ~x86-linux ~x86-macos"
 
 IUSE="down-root examples inotify iproute2 libressl lz4 +lzo mbedtls pam"
 IUSE+=" pkcs11 +plugins selinux +ssl systemd test userland_BSD"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2020-04-23 Thread Agostino Sarubbo
commit: 93fa4c3734e93d8f843953431d53e0e385181af3
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Apr 23 10:40:08 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Apr 23 10:40:08 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93fa4c37

net-vpn/openvpn: ppc64 stable wrt bug #717978

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-vpn/openvpn/openvpn-2.4.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/openvpn/openvpn-2.4.9.ebuild 
b/net-vpn/openvpn/openvpn-2.4.9.ebuild
index da9d2e62665..d3d5f37948d 100644
--- a/net-vpn/openvpn/openvpn-2.4.9.ebuild
+++ b/net-vpn/openvpn/openvpn-2.4.9.ebuild
@@ -11,7 +11,7 @@ HOMEPAGE="https://openvpn.net/;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux ~x86-macos"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux ~x86-macos"
 
 IUSE="down-root examples inotify iproute2 libressl lz4 +lzo mbedtls pam"
 IUSE+=" pkcs11 +plugins selinux +ssl systemd test userland_BSD"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2020-04-23 Thread Agostino Sarubbo
commit: a94cb335d309d0110cf3124709a48d828fd17d67
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Apr 23 10:39:15 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Apr 23 10:39:15 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a94cb335

net-vpn/openvpn: ppc stable wrt bug #717978

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-vpn/openvpn/openvpn-2.4.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/openvpn/openvpn-2.4.9.ebuild 
b/net-vpn/openvpn/openvpn-2.4.9.ebuild
index ef3af287a6f..da9d2e62665 100644
--- a/net-vpn/openvpn/openvpn-2.4.9.ebuild
+++ b/net-vpn/openvpn/openvpn-2.4.9.ebuild
@@ -11,7 +11,7 @@ HOMEPAGE="https://openvpn.net/;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux ~x86-macos"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux ~x86-macos"
 
 IUSE="down-root examples inotify iproute2 libressl lz4 +lzo mbedtls pam"
 IUSE+=" pkcs11 +plugins selinux +ssl systemd test userland_BSD"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2020-04-23 Thread Agostino Sarubbo
commit: 06ca78a2095f3d3e1a011f7f5932a2cc06b98f80
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Apr 23 10:09:21 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Apr 23 10:09:21 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06ca78a2

net-vpn/openvpn: arm stable wrt bug #717978

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="arm"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-vpn/openvpn/openvpn-2.4.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/openvpn/openvpn-2.4.9.ebuild 
b/net-vpn/openvpn/openvpn-2.4.9.ebuild
index 3ebd410daf6..ef3af287a6f 100644
--- a/net-vpn/openvpn/openvpn-2.4.9.ebuild
+++ b/net-vpn/openvpn/openvpn-2.4.9.ebuild
@@ -11,7 +11,7 @@ HOMEPAGE="https://openvpn.net/;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux ~x86-macos"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux ~x86-macos"
 
 IUSE="down-root examples inotify iproute2 libressl lz4 +lzo mbedtls pam"
 IUSE+=" pkcs11 +plugins selinux +ssl systemd test userland_BSD"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2020-04-22 Thread William Hubbs
commit: 5a7e94d940f6be5b3e03d83d276e31ca1fc2878e
Author: William Hubbs  gentoo  org>
AuthorDate: Wed Apr 22 23:50:41 2020 +
Commit: William Hubbs  gentoo  org>
CommitDate: Wed Apr 22 23:53:32 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a7e94d9

net-vpn/openvpn: stable 2.4.9 on amd64

Bug: https://bugs.gentoo.org/717978
Signed-off-by: William Hubbs  gentoo.org>

 net-vpn/openvpn/openvpn-2.4.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/openvpn/openvpn-2.4.9.ebuild 
b/net-vpn/openvpn/openvpn-2.4.9.ebuild
index 0310e511f60..3ebd410daf6 100644
--- a/net-vpn/openvpn/openvpn-2.4.9.ebuild
+++ b/net-vpn/openvpn/openvpn-2.4.9.ebuild
@@ -11,7 +11,7 @@ HOMEPAGE="https://openvpn.net/;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux ~x86-macos"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux ~x86-macos"
 
 IUSE="down-root examples inotify iproute2 libressl lz4 +lzo mbedtls pam"
 IUSE+=" pkcs11 +plugins selinux +ssl systemd test userland_BSD"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2020-04-22 Thread William Hubbs
commit: a5155d66ff678c8aab40a6c710133314b176d3e4
Author: William Hubbs  gentoo  org>
AuthorDate: Wed Apr 22 23:36:53 2020 +
Commit: William Hubbs  gentoo  org>
CommitDate: Wed Apr 22 23:38:44 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5155d66

net-vpn/openvpn: 2.4.9 bump

Signed-off-by: William Hubbs  gentoo.org>

 net-vpn/openvpn/Manifest |   1 +
 net-vpn/openvpn/openvpn-2.4.9.ebuild | 145 +++
 2 files changed, 146 insertions(+)

diff --git a/net-vpn/openvpn/Manifest b/net-vpn/openvpn/Manifest
index 6d128f74611..2ba62782fbd 100644
--- a/net-vpn/openvpn/Manifest
+++ b/net-vpn/openvpn/Manifest
@@ -2,3 +2,4 @@ DIST mock_msg.h 1356 BLAKE2B 
da7585cfeee89c0a4d3aa6326de6e2324804ed2a57a0e8bf7c2
 DIST openvpn-2.4.6.tar.gz 1431971 BLAKE2B 
1ab0746a845fc56bf738c1730cc187c27f61d5bb763df149640978f0bf87450a01e3e40372265440f1aae4e1c58b6d9a1ee1f2aade970d19fd8e8813e0b487a7
 SHA512 
cdd70bfd03177bc6cb70d0d614e40389df00816b7097740b4cda9d7bee094d1463fdb5afeaf604c52c7b3167d1edb098a2e095e131a8b9fed0ed8b29da90cbe8
 DIST openvpn-2.4.7.tar.gz 998094 BLAKE2B 
90f91d74279a547b49704cd14d9ac3dde26c522cd77eb851ea603addb1b220eda9be4de6cf5d74fe7717f34b3ff5fc802ca977a1402c5ed75616139d449fceb0
 SHA512 
ba9bc08c02fad85ba05c27488b0bfcb3540ba9c625c42334e24cb1d5e253b91c518c02641d755e03b8747ae8c2ebd340c55d51f7aedbbf2550ee4e4b79823c9c
 DIST openvpn-2.4.8.tar.gz 997417 BLAKE2B 
1c56d25c125039b9f0723d8f498c9cc7233c9da940d961a430c82a3c41448c0c4fc64255adad59513d4e39b8e778cf58ced965e1501793c47bc73d211c339e4e
 SHA512 
6a5f6f6a55011019e64ed452ad395942b751589893bd6fd3159b20577d734f2fe35d2f51f30303adee3a21e67da6d25369ea4421288ba7c2e09445e2c001
+DIST openvpn-2.4.9.tar.gz 1000602 BLAKE2B 
4a10ec76d1a816f9184dd33e4384623e011a1af40ea38ad56cc06f70ab2c911b6fd92cf8ffcd2ec3ab4179fef87feb187fc9df61c5bea92b1c69ee4113093866
 SHA512 
7683dfb93592968459f080a07ea750992b7444708cdb1a5aafc0118ab8528fc488f2b9fbd7d042e57ad1811303208875237ae9decf0bb4977c45cd30da53751b

diff --git a/net-vpn/openvpn/openvpn-2.4.9.ebuild 
b/net-vpn/openvpn/openvpn-2.4.9.ebuild
new file mode 100644
index 000..0310e511f60
--- /dev/null
+++ b/net-vpn/openvpn/openvpn-2.4.9.ebuild
@@ -0,0 +1,145 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools flag-o-matic systemd linux-info
+
+DESCRIPTION="Robust and highly flexible tunneling application compatible with 
many OSes"
+SRC_URI="https://github.com/OpenVPN/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+HOMEPAGE="https://openvpn.net/;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux ~x86-macos"
+
+IUSE="down-root examples inotify iproute2 libressl lz4 +lzo mbedtls pam"
+IUSE+=" pkcs11 +plugins selinux +ssl systemd test userland_BSD"
+
+RESTRICT="!test? ( test )"
+REQUIRED_USE="pkcs11? ( ssl )
+   !plugins? ( !pam !down-root )
+   inotify? ( plugins )
+"
+
+CDEPEND="
+   kernel_linux? (
+   iproute2? ( sys-apps/iproute2[-minimal] )
+   !iproute2? ( >=sys-apps/net-tools-1.60_p20160215155418 )
+   )
+   pam? ( sys-libs/pam )
+   ssl? (
+   !mbedtls? (
+   !libressl? ( >=dev-libs/openssl-0.9.8:0= )
+   libressl? ( dev-libs/libressl:0= )
+   )
+   mbedtls? ( net-libs/mbedtls:= )
+   )
+   lz4? ( app-arch/lz4 )
+   lzo? ( >=dev-libs/lzo-1.07 )
+   pkcs11? ( >=dev-libs/pkcs11-helper-1.11 )
+   systemd? ( sys-apps/systemd )
+"
+DEPEND="${CDEPEND}
+   test? ( dev-util/cmocka )
+"
+RDEPEND="${CDEPEND}
+   acct-group/openvpn
+   acct-user/openvpn
+   selinux? ( sec-policy/selinux-openvpn )
+"
+
+CONFIG_CHECK="~TUN"
+
+pkg_setup() {
+   linux-info_pkg_setup
+}
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   SYSTEMD_UNIT_DIR=$(systemd_get_systemunitdir) \
+   TMPFILES_DIR="/usr/lib/tmpfiles.d" \
+   IFCONFIG=/bin/ifconfig \
+   ROUTE=/bin/route \
+   econf \
+   $(use_enable inotify async-push) \
+   $(use_enable ssl crypto) \
+   $(use_with ssl crypto-library $(usex mbedtls mbedtls openssl)) \
+   $(use_enable lz4) \
+   $(use_enable lzo) \
+   $(use_enable pkcs11) \
+   $(use_enable plugins) \
+   $(use_enable iproute2) \
+   $(use_enable pam plugin-auth-pam) \
+   $(use_enable down-root plugin-down-root) \
+   $(use_enable systemd)
+}
+
+src_test() {
+   make check || die "top-level tests failed"
+   pushd tests/unit_tests > /dev/null || die
+   make check || die "unit tests failed"
+   popd > /dev/null || die
+}
+
+src_install() {
+   default
+   find "${ED}/usr" -name '*.la' -delete
+   # install 

[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2020-04-12 Thread Sergei Trofimovich
commit: 44263049d4ec816b4450bdc5c84de8252aa1b25f
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Sun Apr 12 10:37:28 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Apr 12 11:02:42 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44263049

net-vpn/openvpn: drop to ~hppa

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 net-vpn/openvpn/openvpn-2.4.6.ebuild| 2 +-
 net-vpn/openvpn/openvpn-2.4.7-r1.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-vpn/openvpn/openvpn-2.4.6.ebuild 
b/net-vpn/openvpn/openvpn-2.4.6.ebuild
index 8e5698ea16b..eb359996e00 100644
--- a/net-vpn/openvpn/openvpn-2.4.6.ebuild
+++ b/net-vpn/openvpn/openvpn-2.4.6.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://openvpn.net/;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 ~sparc x86 
~amd64-linux ~x86-linux ~x86-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sparc x86 
~amd64-linux ~x86-linux ~x86-macos"
 
 IUSE="down-root examples inotify iproute2 libressl lz4 +lzo mbedtls pam"
 IUSE+=" pkcs11 +plugins selinux +ssl systemd test userland_BSD"

diff --git a/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild 
b/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild
index afb115a1fda..845ec4ad7b0 100644
--- a/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild
+++ b/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://openvpn.net/;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 ~sparc x86 
~amd64-linux ~x86-linux ~x86-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sparc x86 
~amd64-linux ~x86-linux ~x86-macos"
 
 IUSE="down-root examples inotify iproute2 libressl lz4 +lzo mbedtls pam"
 IUSE+=" pkcs11 +plugins selinux +ssl systemd test userland_BSD"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2020-03-11 Thread Patrick McLean
commit: 8e3b4abba8e585c09b9fcc1146fb2b6cfa49a0c4
Author: Patrick McLean  sony  com>
AuthorDate: Thu Mar 12 00:25:37 2020 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Thu Mar 12 00:25:55 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e3b4abb

net-vpn/openvpn-: Sync with 2.4.8

Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Patrick McLean  gentoo.org>

 net-vpn/openvpn/openvpn-.ebuild | 42 ++---
 1 file changed, 21 insertions(+), 21 deletions(-)

diff --git a/net-vpn/openvpn/openvpn-.ebuild 
b/net-vpn/openvpn/openvpn-.ebuild
index 19122b752be..8ea466d6754 100644
--- a/net-vpn/openvpn/openvpn-.ebuild
+++ b/net-vpn/openvpn/openvpn-.ebuild
@@ -1,9 +1,9 @@
 # Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-inherit autotools flag-o-matic user systemd linux-info git-r3
+inherit autotools flag-o-matic systemd linux-info git-r3
 
 DESCRIPTION="Robust and highly flexible tunneling application compatible with 
many OSes"
 EGIT_REPO_URI="https://github.com/OpenVPN/${PN}.git;
@@ -18,14 +18,15 @@ IUSE="down-root examples inotify iproute2 libressl lz4 +lzo 
mbedtls pam"
 IUSE+=" pkcs11 +plugins selinux +ssl systemd test userland_BSD"
 
 RESTRICT="!test? ( test )"
-REQUIRED_USE="lzo? ( !lz4 )
+REQUIRED_USE="pkcs11? ( ssl )
!plugins? ( !pam !down-root )
-   inotify? ( plugins )"
+   inotify? ( plugins )
+"
 
 CDEPEND="
kernel_linux? (
iproute2? ( sys-apps/iproute2[-minimal] )
-   !iproute2? ( sys-apps/net-tools )
+   !iproute2? ( >=sys-apps/net-tools-1.60_p20160215155418 )
)
pam? ( sys-libs/pam )
ssl? (
@@ -38,18 +39,19 @@ CDEPEND="
lz4? ( app-arch/lz4 )
lzo? ( >=dev-libs/lzo-1.07 )
pkcs11? ( >=dev-libs/pkcs11-helper-1.11 )
-   systemd? ( sys-apps/systemd )"
+   systemd? ( sys-apps/systemd )
+"
 DEPEND="${CDEPEND}
-   test? ( dev-util/cmocka )"
+   test? ( dev-util/cmocka )
+"
 RDEPEND="${CDEPEND}
-   selinux? ( sec-policy/selinux-openvpn )"
+   acct-group/openvpn
+   acct-user/openvpn
+   selinux? ( sec-policy/selinux-openvpn )
+"
 
 CONFIG_CHECK="~TUN"
 
-PATCHES=(
-   "${FILESDIR}/${PN}-2.5-external-cmocka.patch"
-)
-
 pkg_setup() {
linux-info_pkg_setup
 }
@@ -74,7 +76,6 @@ src_configure() {
$(use_enable iproute2) \
$(use_enable pam plugin-auth-pam) \
$(use_enable down-root plugin-down-root) \
-   $(use_enable test tests) \
$(use_enable systemd)
 }
 
@@ -104,17 +105,16 @@ src_install() {
# install examples, controlled by the respective useflag
if use examples ; then
# dodoc does not supportly support directory traversal, #15193
-   insinto /usr/share/doc/${PF}/examples
-   doins -r sample contrib
+   docinto /usr/share/doc/${PF}/examples
+   dodoc -r sample contrib
fi
 }
 
 pkg_postinst() {
-   # Add openvpn user so openvpn servers can drop privs
-   # Clients should run as root so they can change ip addresses,
-   # dns information and other such things.
-   enewgroup openvpn
-   enewuser openvpn "" "" "" openvpn
+   if use x64-macos; then
+   elog "You might want to install tuntaposx for TAP interface 
support:"
+   elog "http://tuntaposx.sourceforge.net;
+   fi
 
elog "The openvpn init script expects to find the configuration file"
elog "openvpn.conf in /etc/openvpn along with any extra files it may 
need."
@@ -140,7 +140,7 @@ pkg_postinst() {
 
if use plugins ; then
einfo ""
-   einfo "plugins have been installed into 
/usr/$(get_libdir)/${PN}"
+   einfo "plugins have been installed into 
/usr/$(get_libdir)/${PN}/plugins"
fi
 
ewarn ""



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2020-03-11 Thread Patrick McLean
commit: 6d7c55bdf5afaf6a66dccb3c7eb27f724805892e
Author: Patrick McLean  sony  com>
AuthorDate: Thu Mar 12 00:23:22 2020 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Thu Mar 12 00:25:54 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d7c55bd

net-vpn/openvpn-2.4.8: Version bump

Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Patrick McLean  gentoo.org>

 net-vpn/openvpn/Manifest |   1 +
 net-vpn/openvpn/openvpn-2.4.8.ebuild | 145 +++
 2 files changed, 146 insertions(+)

diff --git a/net-vpn/openvpn/Manifest b/net-vpn/openvpn/Manifest
index c8d11c05c86..6d128f74611 100644
--- a/net-vpn/openvpn/Manifest
+++ b/net-vpn/openvpn/Manifest
@@ -1,3 +1,4 @@
 DIST mock_msg.h 1356 BLAKE2B 
da7585cfeee89c0a4d3aa6326de6e2324804ed2a57a0e8bf7c2e51b25a91a8e1fcf9d29bba90fe58e40bf0197793a76fc1e83d8b6d677228cdc5e5333253b1a3
 SHA512 
930775a5837bc7f97a26817ea028782d555e0e71ba06b04c39941f4c01bbc3ca0a5dc63bcf19dc694e0e746b3a382f22daf6a6373a3443c5afd7398cbaaef6ea
 DIST openvpn-2.4.6.tar.gz 1431971 BLAKE2B 
1ab0746a845fc56bf738c1730cc187c27f61d5bb763df149640978f0bf87450a01e3e40372265440f1aae4e1c58b6d9a1ee1f2aade970d19fd8e8813e0b487a7
 SHA512 
cdd70bfd03177bc6cb70d0d614e40389df00816b7097740b4cda9d7bee094d1463fdb5afeaf604c52c7b3167d1edb098a2e095e131a8b9fed0ed8b29da90cbe8
 DIST openvpn-2.4.7.tar.gz 998094 BLAKE2B 
90f91d74279a547b49704cd14d9ac3dde26c522cd77eb851ea603addb1b220eda9be4de6cf5d74fe7717f34b3ff5fc802ca977a1402c5ed75616139d449fceb0
 SHA512 
ba9bc08c02fad85ba05c27488b0bfcb3540ba9c625c42334e24cb1d5e253b91c518c02641d755e03b8747ae8c2ebd340c55d51f7aedbbf2550ee4e4b79823c9c
+DIST openvpn-2.4.8.tar.gz 997417 BLAKE2B 
1c56d25c125039b9f0723d8f498c9cc7233c9da940d961a430c82a3c41448c0c4fc64255adad59513d4e39b8e778cf58ced965e1501793c47bc73d211c339e4e
 SHA512 
6a5f6f6a55011019e64ed452ad395942b751589893bd6fd3159b20577d734f2fe35d2f51f30303adee3a21e67da6d25369ea4421288ba7c2e09445e2c001

diff --git a/net-vpn/openvpn/openvpn-2.4.8.ebuild 
b/net-vpn/openvpn/openvpn-2.4.8.ebuild
new file mode 100644
index 000..395ba5e6873
--- /dev/null
+++ b/net-vpn/openvpn/openvpn-2.4.8.ebuild
@@ -0,0 +1,145 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools flag-o-matic systemd linux-info
+
+DESCRIPTION="Robust and highly flexible tunneling application compatible with 
many OSes"
+SRC_URI="https://github.com/OpenVPN/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+HOMEPAGE="https://openvpn.net/;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos"
+
+IUSE="down-root examples inotify iproute2 libressl lz4 +lzo mbedtls pam"
+IUSE+=" pkcs11 +plugins selinux +ssl systemd test userland_BSD"
+
+RESTRICT="!test? ( test )"
+REQUIRED_USE="pkcs11? ( ssl )
+   !plugins? ( !pam !down-root )
+   inotify? ( plugins )
+"
+
+CDEPEND="
+   kernel_linux? (
+   iproute2? ( sys-apps/iproute2[-minimal] )
+   !iproute2? ( >=sys-apps/net-tools-1.60_p20160215155418 )
+   )
+   pam? ( sys-libs/pam )
+   ssl? (
+   !mbedtls? (
+   !libressl? ( >=dev-libs/openssl-0.9.8:0= )
+   libressl? ( dev-libs/libressl:0= )
+   )
+   mbedtls? ( net-libs/mbedtls:= )
+   )
+   lz4? ( app-arch/lz4 )
+   lzo? ( >=dev-libs/lzo-1.07 )
+   pkcs11? ( >=dev-libs/pkcs11-helper-1.11 )
+   systemd? ( sys-apps/systemd )
+"
+DEPEND="${CDEPEND}
+   test? ( dev-util/cmocka )
+"
+RDEPEND="${CDEPEND}
+   acct-group/openvpn
+   acct-user/openvpn
+   selinux? ( sec-policy/selinux-openvpn )
+"
+
+CONFIG_CHECK="~TUN"
+
+pkg_setup() {
+   linux-info_pkg_setup
+}
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   SYSTEMD_UNIT_DIR=$(systemd_get_systemunitdir) \
+   TMPFILES_DIR="/usr/lib/tmpfiles.d" \
+   IFCONFIG=/bin/ifconfig \
+   ROUTE=/bin/route \
+   econf \
+   $(use_enable inotify async-push) \
+   $(use_enable ssl crypto) \
+   $(use_with ssl crypto-library $(usex mbedtls mbedtls openssl)) \
+   $(use_enable lz4) \
+   $(use_enable lzo) \
+   $(use_enable pkcs11) \
+   $(use_enable plugins) \
+   $(use_enable iproute2) \
+   $(use_enable pam plugin-auth-pam) \
+   $(use_enable down-root plugin-down-root) \
+   $(use_enable systemd)
+}
+
+src_test() {
+   make check || die "top-level tests failed"
+   pushd tests/unit_tests > /dev/null || die
+   make check || die "unit tests failed"
+   popd > /dev/null || die
+}
+
+src_install() {
+   default
+   find "${ED}/usr" -name '*.la' -delete
+   # 

[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2020-03-02 Thread Sergei Trofimovich
commit: 663f2319190529eb02b5ed6f058639e123af96d8
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Mon Mar  2 14:38:26 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Mar  2 14:38:26 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=663f2319

net-vpn/openvpn: drop broken USE=static flag, bug #704100

'-Xcompiler -static' is understood by libtool, but not gcc directly.
That makes 'append-ldflags -Xcompiler -static' call always fail ./configure
as:

```
configure: error: C compiler cannot create executables
See `config.log' for more details
```

Reported-by: Rolf Eike Beer
Closes: https://bugs.gentoo.org/704100
Package-Manager: Portage-2.3.88, Repoman-2.3.20
Signed-off-by: Sergei Trofimovich  gentoo.org>

 net-vpn/openvpn/openvpn-2.4.6-r1.ebuild | 6 ++
 net-vpn/openvpn/openvpn-2.4.6.ebuild| 6 ++
 net-vpn/openvpn/openvpn-2.4.7-r1.ebuild | 6 ++
 net-vpn/openvpn/openvpn-.ebuild | 6 ++
 4 files changed, 8 insertions(+), 16 deletions(-)

diff --git a/net-vpn/openvpn/openvpn-2.4.6-r1.ebuild 
b/net-vpn/openvpn/openvpn-2.4.6-r1.ebuild
index 0c785a1bb8e..da73ce7b6eb 100644
--- a/net-vpn/openvpn/openvpn-2.4.6-r1.ebuild
+++ b/net-vpn/openvpn/openvpn-2.4.6-r1.ebuild
@@ -15,11 +15,10 @@ SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos"
 
 IUSE="down-root examples inotify iproute2 libressl lz4 +lzo mbedtls pam"
-IUSE+=" pkcs11 +plugins selinux +ssl static systemd test userland_BSD"
+IUSE+=" pkcs11 +plugins selinux +ssl systemd test userland_BSD"
 
 RESTRICT="!test? ( test )"
-REQUIRED_USE="static? ( !plugins !pkcs11 )
-   pkcs11? ( ssl )
+REQUIRED_USE="pkcs11? ( ssl )
!plugins? ( !pam !down-root )
inotify? ( plugins )"
 
@@ -66,7 +65,6 @@ src_prepare() {
 }
 
 src_configure() {
-   use static && append-ldflags -Xcompiler -static
SYSTEMD_UNIT_DIR=$(systemd_get_systemunitdir) \
TMPFILES_DIR="/usr/lib/tmpfiles.d" \
IFCONFIG=/bin/ifconfig \

diff --git a/net-vpn/openvpn/openvpn-2.4.6.ebuild 
b/net-vpn/openvpn/openvpn-2.4.6.ebuild
index 90fc9bfde65..f7489160c24 100644
--- a/net-vpn/openvpn/openvpn-2.4.6.ebuild
+++ b/net-vpn/openvpn/openvpn-2.4.6.ebuild
@@ -15,11 +15,10 @@ SLOT="0"
 KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc 
x86 ~amd64-linux ~x86-linux ~x86-macos"
 
 IUSE="down-root examples inotify iproute2 libressl lz4 +lzo mbedtls pam"
-IUSE+=" pkcs11 +plugins selinux +ssl static systemd test userland_BSD"
+IUSE+=" pkcs11 +plugins selinux +ssl systemd test userland_BSD"
 
 RESTRICT="!test? ( test )"
-REQUIRED_USE="static? ( !plugins !pkcs11 )
-   pkcs11? ( ssl )
+REQUIRED_USE="pkcs11? ( ssl )
!plugins? ( !pam !down-root )
inotify? ( plugins )"
 
@@ -66,7 +65,6 @@ src_prepare() {
 }
 
 src_configure() {
-   use static && append-ldflags -Xcompiler -static
SYSTEMD_UNIT_DIR=$(systemd_get_systemunitdir) \
TMPFILES_DIR="/usr/lib/tmpfiles.d" \
IFCONFIG=/bin/ifconfig \

diff --git a/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild 
b/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild
index 7463968b82f..7c4fa29d886 100644
--- a/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild
+++ b/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild
@@ -15,11 +15,10 @@ SLOT="0"
 KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc 
x86 ~amd64-linux ~x86-linux ~x86-macos"
 
 IUSE="down-root examples inotify iproute2 libressl lz4 +lzo mbedtls pam"
-IUSE+=" pkcs11 +plugins selinux +ssl static systemd test userland_BSD"
+IUSE+=" pkcs11 +plugins selinux +ssl systemd test userland_BSD"
 
 RESTRICT="!test? ( test )"
-REQUIRED_USE="static? ( !plugins !pkcs11 )
-   pkcs11? ( ssl )
+REQUIRED_USE="pkcs11? ( ssl )
!plugins? ( !pam !down-root )
inotify? ( plugins )"
 
@@ -67,7 +66,6 @@ src_prepare() {
 }
 
 src_configure() {
-   use static && append-ldflags -Xcompiler -static
SYSTEMD_UNIT_DIR=$(systemd_get_systemunitdir) \
TMPFILES_DIR="/usr/lib/tmpfiles.d" \
IFCONFIG=/bin/ifconfig \

diff --git a/net-vpn/openvpn/openvpn-.ebuild 
b/net-vpn/openvpn/openvpn-.ebuild
index bd047290162..19122b752be 100644
--- a/net-vpn/openvpn/openvpn-.ebuild
+++ b/net-vpn/openvpn/openvpn-.ebuild
@@ -15,11 +15,10 @@ SLOT="0"
 KEYWORDS=""
 
 IUSE="down-root examples inotify iproute2 libressl lz4 +lzo mbedtls pam"
-IUSE+=" pkcs11 +plugins selinux +ssl static systemd test userland_BSD"
+IUSE+=" pkcs11 +plugins selinux +ssl systemd test userland_BSD"
 
 RESTRICT="!test? ( test )"
-REQUIRED_USE="static? ( !inotify !plugins !pkcs11 )
-   lzo? ( !lz4 )
+REQUIRED_USE="lzo? ( !lz4 )
!plugins? ( !pam !down-root )
inotify? ( plugins )"
 
@@ -61,7 +60,6 @@ src_prepare() {
 }
 
 src_configure() {
-   use static && append-ldflags -Xcompiler -static
SYSTEMD_UNIT_DIR=$(systemd_get_systemunitdir) \

[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2020-03-02 Thread Sergei Trofimovich
commit: ad5bba6e9f879f19c31a5bb99447f90af07c9f0b
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Mon Mar  2 11:45:53 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Mar  2 11:45:53 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad5bba6e

net-vpn/openvpn: stable 2.4.7-r1 for hppa, bug #700656

Package-Manager: Portage-2.3.88, Repoman-2.3.20
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 net-vpn/openvpn/openvpn-2.4.7-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild 
b/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild
index 437d41a2b48..7463968b82f 100644
--- a/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild
+++ b/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://openvpn.net/;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc 
x86 ~amd64-linux ~x86-linux ~x86-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc 
x86 ~amd64-linux ~x86-linux ~x86-macos"
 
 IUSE="down-root examples inotify iproute2 libressl lz4 +lzo mbedtls pam"
 IUSE+=" pkcs11 +plugins selinux +ssl static systemd test userland_BSD"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2020-02-26 Thread Ben Kohler
commit: 4cb34901d569abfb69e6eef5566e7886391666bb
Author: Ben Kohler  gentoo  org>
AuthorDate: Wed Feb 26 15:24:58 2020 +
Commit: Ben Kohler  gentoo  org>
CommitDate: Wed Feb 26 15:25:28 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cb34901

net-vpn/openvpn: add slot operator dep on mbedtls

https://bugs.gentoo.org/705054

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Ben Kohler  gentoo.org>

 net-vpn/openvpn/openvpn-2.4.7-r1.ebuild | 2 +-
 net-vpn/openvpn/openvpn-.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild 
b/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild
index 83b30dc4f57..437d41a2b48 100644
--- a/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild
+++ b/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild
@@ -34,7 +34,7 @@ CDEPEND="
!libressl? ( >=dev-libs/openssl-0.9.8:0= )
libressl? ( dev-libs/libressl:0= )
)
-   mbedtls? ( net-libs/mbedtls )
+   mbedtls? ( net-libs/mbedtls:= )
)
lz4? ( app-arch/lz4 )
lzo? ( >=dev-libs/lzo-1.07 )

diff --git a/net-vpn/openvpn/openvpn-.ebuild 
b/net-vpn/openvpn/openvpn-.ebuild
index c1dca100545..bd047290162 100644
--- a/net-vpn/openvpn/openvpn-.ebuild
+++ b/net-vpn/openvpn/openvpn-.ebuild
@@ -34,7 +34,7 @@ CDEPEND="
!libressl? ( >=dev-libs/openssl-0.9.8:0= )
libressl? ( dev-libs/libressl:0= )
)
-   mbedtls? ( net-libs/mbedtls )
+   mbedtls? ( net-libs/mbedtls:= )
)
lz4? ( app-arch/lz4 )
lzo? ( >=dev-libs/lzo-1.07 )



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2019-12-28 Thread Mikle Kolyada
commit: 968806cd1ce260a0fde67583c6387d58f004aa7c
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat Dec 28 15:45:47 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat Dec 28 15:45:47 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=968806cd

net-vpn/openvpn: alpha stable wrt bug #700656

Package-Manager: Portage-2.3.79, Repoman-2.3.16
RepoMan-Options: --include-arches="alpha"
Signed-off-by: Mikle Kolyada  gentoo.org>

 net-vpn/openvpn/openvpn-2.4.7-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild 
b/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild
index 58fd59819aa..eb39228f15d 100644
--- a/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild
+++ b/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://openvpn.net/;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc 
x86 ~amd64-linux ~x86-linux ~x86-macos"
+KEYWORDS="alpha amd64 arm arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc 
x86 ~amd64-linux ~x86-linux ~x86-macos"
 
 IUSE="down-root examples inotify iproute2 libressl lz4 +lzo mbedtls pam"
 IUSE+=" pkcs11 +plugins selinux +ssl static systemd test userland_BSD"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2019-12-24 Thread Mikle Kolyada
commit: e19f172e72febf1e5fcd595bc91c777ce5e66be3
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Tue Dec 24 14:12:05 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Tue Dec 24 14:12:05 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e19f172e

net-vpn/openvpn: arm stable wrt bug #700656

Package-Manager: Portage-2.3.79, Repoman-2.3.16
RepoMan-Options: --include-arches="arm"
Signed-off-by: Mikle Kolyada  gentoo.org>

 net-vpn/openvpn/openvpn-2.4.7-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild 
b/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild
index 15cd58064e0..58fd59819aa 100644
--- a/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild
+++ b/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://openvpn.net/;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc 
x86 ~amd64-linux ~x86-linux ~x86-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc 
x86 ~amd64-linux ~x86-linux ~x86-macos"
 
 IUSE="down-root examples inotify iproute2 libressl lz4 +lzo mbedtls pam"
 IUSE+=" pkcs11 +plugins selinux +ssl static systemd test userland_BSD"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2019-12-15 Thread Aaron Bauman
commit: 5782cbc431ca2224477c6f16e278c134e5a5fef4
Author: Aaron Bauman  gentoo  org>
AuthorDate: Mon Dec 16 01:24:37 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Mon Dec 16 01:24:37 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5782cbc4

net-vpn/openvpn: arm64 stable (bug #700656)

Signed-off-by: Aaron Bauman  gentoo.org>
Package-Manager: Portage-2.3.82, Repoman-2.3.20

 net-vpn/openvpn/openvpn-2.4.7-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild 
b/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild
index 09518d64afe..15cd58064e0 100644
--- a/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild
+++ b/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://openvpn.net/;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc 
x86 ~amd64-linux ~x86-linux ~x86-macos"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc 
x86 ~amd64-linux ~x86-linux ~x86-macos"
 
 IUSE="down-root examples inotify iproute2 libressl lz4 +lzo mbedtls pam"
 IUSE+=" pkcs11 +plugins selinux +ssl static systemd test userland_BSD"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2019-12-15 Thread Agostino Sarubbo
commit: 3a40a5847ded6999dce92ce520bc5150860dfad4
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Dec 15 14:45:52 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Dec 15 14:45:52 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a40a584

net-vpn/openvpn: x86 stable wrt bug #700656

Package-Manager: Portage-2.3.79, Repoman-2.3.16
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-vpn/openvpn/openvpn-2.4.7-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild 
b/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild
index 161e42d2b10..09518d64afe 100644
--- a/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild
+++ b/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://openvpn.net/;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc 
~x86 ~amd64-linux ~x86-linux ~x86-macos"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc 
x86 ~amd64-linux ~x86-linux ~x86-macos"
 
 IUSE="down-root examples inotify iproute2 libressl lz4 +lzo mbedtls pam"
 IUSE+=" pkcs11 +plugins selinux +ssl static systemd test userland_BSD"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2019-12-15 Thread Agostino Sarubbo
commit: d36ef0f7d91f361a51f579bac9b90e37667d3ffd
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Dec 15 14:14:20 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Dec 15 14:14:20 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d36ef0f7

net-vpn/openvpn: ppc64 stable wrt bug #700656

Package-Manager: Portage-2.3.79, Repoman-2.3.16
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-vpn/openvpn/openvpn-2.4.7-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild 
b/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild
index a6a8a3a4de9..161e42d2b10 100644
--- a/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild
+++ b/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://openvpn.net/;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ia64 ~mips ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc 
~x86 ~amd64-linux ~x86-linux ~x86-macos"
 
 IUSE="down-root examples inotify iproute2 libressl lz4 +lzo mbedtls pam"
 IUSE+=" pkcs11 +plugins selinux +ssl static systemd test userland_BSD"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2019-12-15 Thread Agostino Sarubbo
commit: 3fc31bfa58ae06c11b6c89b4a860582f087edcb1
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Dec 15 14:05:31 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Dec 15 14:07:16 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fc31bfa

net-vpn/openvpn: ppc stable wrt bug #700656

Package-Manager: Portage-2.3.79, Repoman-2.3.16
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-vpn/openvpn/openvpn-2.4.7-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild 
b/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild
index 6b417cdff70..a6a8a3a4de9 100644
--- a/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild
+++ b/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://openvpn.net/;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ia64 ~mips ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos"
 
 IUSE="down-root examples inotify iproute2 libressl lz4 +lzo mbedtls pam"
 IUSE+=" pkcs11 +plugins selinux +ssl static systemd test userland_BSD"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2019-12-15 Thread Sergei Trofimovich
commit: a3cbb1a1cd4b71a1bdefd959a81018217a3b
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Dec 15 13:36:23 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Dec 15 13:36:23 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3cbb1a1

net-vpn/openvpn: stable 2.4.7-r1 for ia64, bug #700656

Package-Manager: Portage-2.3.81, Repoman-2.3.20
RepoMan-Options: --include-arches="ia64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 net-vpn/openvpn/openvpn-2.4.7-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild 
b/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild
index 2d1e5fe5e61..6b417cdff70 100644
--- a/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild
+++ b/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://openvpn.net/;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos"
 
 IUSE="down-root examples inotify iproute2 libressl lz4 +lzo mbedtls pam"
 IUSE+=" pkcs11 +plugins selinux +ssl static systemd test userland_BSD"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2019-12-15 Thread Agostino Sarubbo
commit: bfc9c44cd441ea1ec9e57988111dc713cf4df319
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Dec 15 12:41:28 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Dec 15 12:41:28 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bfc9c44c

net-vpn/openvpn: amd64 stable wrt bug #700656

Package-Manager: Portage-2.3.79, Repoman-2.3.16
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-vpn/openvpn/openvpn-2.4.7-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild 
b/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild
index d9a5e0f5908..2d1e5fe5e61 100644
--- a/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild
+++ b/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://openvpn.net/;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos"
 
 IUSE="down-root examples inotify iproute2 libressl lz4 +lzo mbedtls pam"
 IUSE+=" pkcs11 +plugins selinux +ssl static systemd test userland_BSD"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2019-12-11 Thread Michał Górny
commit: b1b900539bcff0c35e46fcdc84379d1dd59ce05d
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Dec 11 14:17:04 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Dec 11 14:18:26 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1b90053

net-vpn/openvpn: [QA] Fix MissingTestRestrict

Signed-off-by: Michał Górny  gentoo.org>

 net-vpn/openvpn/openvpn-2.4.6-r1.ebuild | 1 +
 net-vpn/openvpn/openvpn-2.4.6.ebuild| 1 +
 net-vpn/openvpn/openvpn-2.4.7-r1.ebuild | 1 +
 net-vpn/openvpn/openvpn-.ebuild | 1 +
 4 files changed, 4 insertions(+)

diff --git a/net-vpn/openvpn/openvpn-2.4.6-r1.ebuild 
b/net-vpn/openvpn/openvpn-2.4.6-r1.ebuild
index 69eaf0a206a..8f487942c24 100644
--- a/net-vpn/openvpn/openvpn-2.4.6-r1.ebuild
+++ b/net-vpn/openvpn/openvpn-2.4.6-r1.ebuild
@@ -17,6 +17,7 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc 
~ppc64 ~s390 ~sh ~spa
 IUSE="down-root examples inotify iproute2 libressl lz4 +lzo mbedtls pam"
 IUSE+=" pkcs11 +plugins selinux +ssl static systemd test userland_BSD"
 
+RESTRICT="!test? ( test )"
 REQUIRED_USE="static? ( !plugins !pkcs11 )
pkcs11? ( ssl )
!plugins? ( !pam !down-root )

diff --git a/net-vpn/openvpn/openvpn-2.4.6.ebuild 
b/net-vpn/openvpn/openvpn-2.4.6.ebuild
index 5ef21b855e4..9d52310dcb5 100644
--- a/net-vpn/openvpn/openvpn-2.4.6.ebuild
+++ b/net-vpn/openvpn/openvpn-2.4.6.ebuild
@@ -17,6 +17,7 @@ KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 
~s390 ~sh ~sparc x86 ~
 IUSE="down-root examples inotify iproute2 libressl lz4 +lzo mbedtls pam"
 IUSE+=" pkcs11 +plugins selinux +ssl static systemd test userland_BSD"
 
+RESTRICT="!test? ( test )"
 REQUIRED_USE="static? ( !plugins !pkcs11 )
pkcs11? ( ssl )
!plugins? ( !pam !down-root )

diff --git a/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild 
b/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild
index cc69013ad76..d9a5e0f5908 100644
--- a/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild
+++ b/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild
@@ -17,6 +17,7 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc 
~ppc64 ~s390 ~sh ~spa
 IUSE="down-root examples inotify iproute2 libressl lz4 +lzo mbedtls pam"
 IUSE+=" pkcs11 +plugins selinux +ssl static systemd test userland_BSD"
 
+RESTRICT="!test? ( test )"
 REQUIRED_USE="static? ( !plugins !pkcs11 )
pkcs11? ( ssl )
!plugins? ( !pam !down-root )

diff --git a/net-vpn/openvpn/openvpn-.ebuild 
b/net-vpn/openvpn/openvpn-.ebuild
index 543d67a230e..b2305248d44 100644
--- a/net-vpn/openvpn/openvpn-.ebuild
+++ b/net-vpn/openvpn/openvpn-.ebuild
@@ -17,6 +17,7 @@ KEYWORDS=""
 IUSE="down-root examples inotify iproute2 libressl lz4 +lzo mbedtls pam"
 IUSE+=" pkcs11 +plugins selinux +ssl static systemd test userland_BSD"
 
+RESTRICT="!test? ( test )"
 REQUIRED_USE="static? ( !inotify !plugins !pkcs11 )
lzo? ( !lz4 )
!plugins? ( !pam !down-root )



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2019-10-12 Thread Mikle Kolyada
commit: c3860ed57159c77aa47bc6f28760157ded1c29b8
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat Oct 12 19:12:08 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat Oct 12 19:12:08 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3860ed5

net-vpn/openvpn: migrate to sys-libs/pam

Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Mikle Kolyada  gentoo.org>

 net-vpn/openvpn/openvpn-2.4.6-r1.ebuild | 2 +-
 net-vpn/openvpn/openvpn-2.4.6.ebuild| 2 +-
 net-vpn/openvpn/openvpn-2.4.7-r1.ebuild | 2 +-
 net-vpn/openvpn/openvpn-.ebuild | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/net-vpn/openvpn/openvpn-2.4.6-r1.ebuild 
b/net-vpn/openvpn/openvpn-2.4.6-r1.ebuild
index 8bfbaa482d6..69eaf0a206a 100644
--- a/net-vpn/openvpn/openvpn-2.4.6-r1.ebuild
+++ b/net-vpn/openvpn/openvpn-2.4.6-r1.ebuild
@@ -27,7 +27,7 @@ CDEPEND="
iproute2? ( sys-apps/iproute2[-minimal] )
!iproute2? ( >=sys-apps/net-tools-1.60_p20160215155418 )
)
-   pam? ( virtual/pam )
+   pam? ( sys-libs/pam )
ssl? (
!mbedtls? (
!libressl? ( >=dev-libs/openssl-0.9.8:0= )

diff --git a/net-vpn/openvpn/openvpn-2.4.6.ebuild 
b/net-vpn/openvpn/openvpn-2.4.6.ebuild
index feb002fa2f3..5ef21b855e4 100644
--- a/net-vpn/openvpn/openvpn-2.4.6.ebuild
+++ b/net-vpn/openvpn/openvpn-2.4.6.ebuild
@@ -27,7 +27,7 @@ CDEPEND="
iproute2? ( sys-apps/iproute2[-minimal] )
!iproute2? ( >=sys-apps/net-tools-1.60_p20160215155418 )
)
-   pam? ( virtual/pam )
+   pam? ( sys-libs/pam )
ssl? (
!mbedtls? (
!libressl? ( >=dev-libs/openssl-0.9.8:0= )

diff --git a/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild 
b/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild
index 15054ac24c6..cc69013ad76 100644
--- a/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild
+++ b/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild
@@ -27,7 +27,7 @@ CDEPEND="
iproute2? ( sys-apps/iproute2[-minimal] )
!iproute2? ( >=sys-apps/net-tools-1.60_p20160215155418 )
)
-   pam? ( virtual/pam )
+   pam? ( sys-libs/pam )
ssl? (
!mbedtls? (
!libressl? ( >=dev-libs/openssl-0.9.8:0= )

diff --git a/net-vpn/openvpn/openvpn-.ebuild 
b/net-vpn/openvpn/openvpn-.ebuild
index 8cf7c4dc809..543d67a230e 100644
--- a/net-vpn/openvpn/openvpn-.ebuild
+++ b/net-vpn/openvpn/openvpn-.ebuild
@@ -27,7 +27,7 @@ CDEPEND="
iproute2? ( sys-apps/iproute2[-minimal] )
!iproute2? ( sys-apps/net-tools )
)
-   pam? ( virtual/pam )
+   pam? ( sys-libs/pam )
ssl? (
!mbedtls? (
!libressl? ( >=dev-libs/openssl-0.9.8:0= )



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/, net-vpn/httptunnel/

2019-10-11 Thread Michał Górny
commit: 8120c3a1140e24fae24fc093542b3ea8712a76ac
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Oct 11 15:37:20 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Oct 11 15:37:20 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8120c3a1

net-vpn: Remove *-fbsd KEYWORDS

Signed-off-by: Michał Górny  gentoo.org>

 net-vpn/httptunnel/httptunnel-3.3-r2.ebuild | 2 +-
 net-vpn/openvpn/openvpn-2.4.6-r1.ebuild | 2 +-
 net-vpn/openvpn/openvpn-2.4.6.ebuild| 2 +-
 net-vpn/openvpn/openvpn-2.4.7-r1.ebuild | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/net-vpn/httptunnel/httptunnel-3.3-r2.ebuild 
b/net-vpn/httptunnel/httptunnel-3.3-r2.ebuild
index 74bc2848e25..f5232f19e9f 100644
--- a/net-vpn/httptunnel/httptunnel-3.3-r2.ebuild
+++ b/net-vpn/httptunnel/httptunnel-3.3-r2.ebuild
@@ -9,7 +9,7 @@ DESCRIPTION="httptunnel can create IP tunnels through 
firewalls/proxies using HT
 HOMEPAGE="http://www.nocrew.org/software/httptunnel.html;
 SRC_URI="http://www.nocrew.org/software/${PN}/${P}.tar.gz;
 LICENSE="GPL-2"
-KEYWORDS="amd64 ppc x86 ~x86-fbsd"
+KEYWORDS="amd64 ppc x86"
 IUSE=""
 SLOT="0"
 

diff --git a/net-vpn/openvpn/openvpn-2.4.6-r1.ebuild 
b/net-vpn/openvpn/openvpn-2.4.6-r1.ebuild
index d90a72c8b4e..8bfbaa482d6 100644
--- a/net-vpn/openvpn/openvpn-2.4.6-r1.ebuild
+++ b/net-vpn/openvpn/openvpn-2.4.6-r1.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://openvpn.net/;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos"
 
 IUSE="down-root examples inotify iproute2 libressl lz4 +lzo mbedtls pam"
 IUSE+=" pkcs11 +plugins selinux +ssl static systemd test userland_BSD"

diff --git a/net-vpn/openvpn/openvpn-2.4.6.ebuild 
b/net-vpn/openvpn/openvpn-2.4.6.ebuild
index 015f8bcb94b..feb002fa2f3 100644
--- a/net-vpn/openvpn/openvpn-2.4.6.ebuild
+++ b/net-vpn/openvpn/openvpn-2.4.6.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://openvpn.net/;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 
~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 
~amd64-linux ~x86-linux ~x86-macos"
 
 IUSE="down-root examples inotify iproute2 libressl lz4 +lzo mbedtls pam"
 IUSE+=" pkcs11 +plugins selinux +ssl static systemd test userland_BSD"

diff --git a/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild 
b/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild
index 47ecc313e5d..15054ac24c6 100644
--- a/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild
+++ b/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://openvpn.net/;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos"
 
 IUSE="down-root examples inotify iproute2 libressl lz4 +lzo mbedtls pam"
 IUSE+=" pkcs11 +plugins selinux +ssl static systemd test userland_BSD"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2019-05-24 Thread Aaron Bauman
commit: 7752b56c32d6f0db05dd0743336a64bfa2bb9d3a
Author: Aaron Bauman  gentoo  org>
AuthorDate: Fri May 24 20:42:46 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Fri May 24 20:48:10 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7752b56c

net-vpn/openvpn: arm64 stable

Signed-off-by: Aaron Bauman  gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.12
RepoMan-Options: --include-arches="arm64"

 net-vpn/openvpn/openvpn-2.4.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/openvpn/openvpn-2.4.6.ebuild 
b/net-vpn/openvpn/openvpn-2.4.6.ebuild
index 41badc7b079..015f8bcb94b 100644
--- a/net-vpn/openvpn/openvpn-2.4.6.ebuild
+++ b/net-vpn/openvpn/openvpn-2.4.6.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://openvpn.net/;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc 
x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 
~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos"
 
 IUSE="down-root examples inotify iproute2 libressl lz4 +lzo mbedtls pam"
 IUSE+=" pkcs11 +plugins selinux +ssl static systemd test userland_BSD"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/

2019-04-27 Thread David Seifert
commit: fa508597570deec743b18a1d5d0405c1c970c222
Author: David Seifert  gentoo  org>
AuthorDate: Sat Apr 27 16:35:03 2019 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Apr 27 20:27:48 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa508597

net-vpn/openvpn: [QA] Fix USE=libressl semantics

Closes: https://bugs.gentoo.org/683990
Package-Manager: Portage-2.3.64, Repoman-2.3.12
Signed-off-by: David Seifert  gentoo.org>

 net-vpn/openvpn/openvpn-2.4.6-r1.ebuild | 3 +--
 net-vpn/openvpn/openvpn-2.4.6.ebuild| 9 -
 net-vpn/openvpn/openvpn-2.4.7-r1.ebuild | 3 +--
 net-vpn/openvpn/openvpn-.ebuild | 4 ++--
 4 files changed, 8 insertions(+), 11 deletions(-)

diff --git a/net-vpn/openvpn/openvpn-2.4.6-r1.ebuild 
b/net-vpn/openvpn/openvpn-2.4.6-r1.ebuild
index 81d3d655a38..d90a72c8b4e 100644
--- a/net-vpn/openvpn/openvpn-2.4.6-r1.ebuild
+++ b/net-vpn/openvpn/openvpn-2.4.6-r1.ebuild
@@ -18,7 +18,6 @@ IUSE="down-root examples inotify iproute2 libressl lz4 +lzo 
mbedtls pam"
 IUSE+=" pkcs11 +plugins selinux +ssl static systemd test userland_BSD"
 
 REQUIRED_USE="static? ( !plugins !pkcs11 )
-   mbedtls? ( ssl !libressl )
pkcs11? ( ssl )
!plugins? ( !pam !down-root )
inotify? ( plugins )"
@@ -72,9 +71,9 @@ src_configure() {
IFCONFIG=/bin/ifconfig \
ROUTE=/bin/route \
econf \
-   $(usex mbedtls '--with-crypto-library=mbedtls' '') \
$(use_enable inotify async-push) \
$(use_enable ssl crypto) \
+   $(use_with ssl crypto-library $(usex mbedtls mbedtls openssl)) \
$(use_enable lz4) \
$(use_enable lzo) \
$(use_enable pkcs11) \

diff --git a/net-vpn/openvpn/openvpn-2.4.6.ebuild 
b/net-vpn/openvpn/openvpn-2.4.6.ebuild
index 09a11b23f04..41badc7b079 100644
--- a/net-vpn/openvpn/openvpn-2.4.6.ebuild
+++ b/net-vpn/openvpn/openvpn-2.4.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -18,7 +18,6 @@ IUSE="down-root examples inotify iproute2 libressl lz4 +lzo 
mbedtls pam"
 IUSE+=" pkcs11 +plugins selinux +ssl static systemd test userland_BSD"
 
 REQUIRED_USE="static? ( !plugins !pkcs11 )
-   mbedtls? ( ssl !libressl )
pkcs11? ( ssl )
!plugins? ( !pam !down-root )
inotify? ( plugins )"
@@ -31,8 +30,8 @@ CDEPEND="
pam? ( virtual/pam )
ssl? (
!mbedtls? (
-   !libressl? ( >=dev-libs/openssl-0.9.8:* )
-   libressl? ( dev-libs/libressl )
+   !libressl? ( >=dev-libs/openssl-0.9.8:0= )
+   libressl? ( dev-libs/libressl:0= )
)
mbedtls? ( net-libs/mbedtls )
)
@@ -72,9 +71,9 @@ src_configure() {
IFCONFIG=/bin/ifconfig \
ROUTE=/bin/route \
econf \
-   $(usex mbedtls '--with-crypto-library=mbedtls' '') \
$(use_enable inotify async-push) \
$(use_enable ssl crypto) \
+   $(use_with ssl crypto-library $(usex mbedtls mbedtls openssl)) \
$(use_enable lz4) \
$(use_enable lzo) \
$(use_enable pkcs11) \

diff --git a/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild 
b/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild
index 0ae13d41d8c..47ecc313e5d 100644
--- a/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild
+++ b/net-vpn/openvpn/openvpn-2.4.7-r1.ebuild
@@ -18,7 +18,6 @@ IUSE="down-root examples inotify iproute2 libressl lz4 +lzo 
mbedtls pam"
 IUSE+=" pkcs11 +plugins selinux +ssl static systemd test userland_BSD"
 
 REQUIRED_USE="static? ( !plugins !pkcs11 )
-   mbedtls? ( ssl !libressl )
pkcs11? ( ssl )
!plugins? ( !pam !down-root )
inotify? ( plugins )"
@@ -73,9 +72,9 @@ src_configure() {
IFCONFIG=/bin/ifconfig \
ROUTE=/bin/route \
econf \
-   $(usex mbedtls '--with-crypto-library=mbedtls' '') \
$(use_enable inotify async-push) \
$(use_enable ssl crypto) \
+   $(use_with ssl crypto-library $(usex mbedtls mbedtls openssl)) \
$(use_enable lz4) \
$(use_enable lzo) \
$(use_enable pkcs11) \

diff --git a/net-vpn/openvpn/openvpn-.ebuild 
b/net-vpn/openvpn/openvpn-.ebuild
index 8ad3d42ffc3..8cf7c4dc809 100644
--- a/net-vpn/openvpn/openvpn-.ebuild
+++ b/net-vpn/openvpn/openvpn-.ebuild
@@ -64,10 +64,10 @@ src_configure() {
SYSTEMD_UNIT_DIR=$(systemd_get_systemunitdir) \
TMPFILES_DIR="/usr/lib/tmpfiles.d" \
econf \
-   --with-plugindir="${ROOT}/usr/$(get_libdir)/$PN" \
-   $(usex mbedtls 'with-crypto-library' 'mbedtls' '' '') \
+   --with-plugindir="${EPREFIX}/usr/$(get_libdir)/$PN" \

[gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/files/, net-vpn/openvpn/

2019-03-13 Thread Patrick McLean
commit: 5d0eadbc6aabbd869d57e042ab41563e888e6e2c
Author: Patrick McLean  gentoo  org>
AuthorDate: Wed Mar 13 21:51:45 2019 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Wed Mar 13 21:53:23 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d0eadbc

net-vpn/openvpn: Revert LibreSSL patch (bug #680184)

This reverts commit c16af66cd6e5903520a80e73c6f594449e654a5f.

The patch doesn't apply

Closes: https://bugs.gentoo.org/680184
Signed-off-By: Patrick McLean  gentoo.org>

 net-vpn/openvpn/files/openvpn-2.4.7-libressl.patch | 133 -
 ...vpn-2.4.7-r2.ebuild => openvpn-2.4.7-r1.ebuild} |   0
 2 files changed, 20 insertions(+), 113 deletions(-)

diff --git a/net-vpn/openvpn/files/openvpn-2.4.7-libressl.patch 
b/net-vpn/openvpn/files/openvpn-2.4.7-libressl.patch
index 414f132b336..210189cd4d4 100644
--- a/net-vpn/openvpn/files/openvpn-2.4.7-libressl.patch
+++ b/net-vpn/openvpn/files/openvpn-2.4.7-libressl.patch
@@ -1,142 +1,49 @@
-From a47508606be2c6359d4b27c3b65b72dfe4786222 Mon Sep 17 00:00:00 2001
+From 4faf695e3c42a81131c2aae96c4a60228aa237a5 Mon Sep 17 00:00:00 2001
 From: Stefan Strogin 
-Date: Mon, 25 Feb 2019 20:35:31 +0200
-Subject: [PATCH] Use correct ifdefs for LibreSSL support
+Date: Sat, 23 Feb 2019 20:13:41 +0200
+Subject: [PATCH] Fix compilation with LibreSSL
 
-- TLS 1.3 is not ready yet in LibreSSL. Also there is a theoretical
-possibility of OpenSSL >=1.1.1 built without TLS 1.3 support.
-- EC_KEY_METHOD API and SSL_get1_supported_ciphers are added into LibreSSL
-master (not yet released in 2.9.0).
-- Some methods that are available since LibreSSL 2.7.0 were thrown away
-in ssl_openssl.c regardless of LibreSSL version. Use them with newer
-LibreSSL.
+TLS 1.3 is not ready yet in LibreSSL.
+Also SSL_get1_supported_ciphers() has been just added into master (not yet
+released).
 
+Upstream-Status: Submitted [https://github.com/OpenVPN/openvpn/pull/123]
 Signed-off-by: Stefan Strogin 
-Acked-by: Arne Schwabe 
-Message-Id: <20190225183531.27399-1-stefan.stro...@gmail.com>
-URL: 
https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg18239.html
-Signed-off-by: Gert Doering 
-Upstream-Status: Accepted
-[https://github.com/OpenVPN/openvpn/commit/a47508606be2c6359d4b27c3b65b72dfe4786222]
 ---
- src/openvpn/ssl_openssl.c | 33 +
- 1 file changed, 21 insertions(+), 12 deletions(-)
+ src/openvpn/ssl_openssl.c | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
 
 diff --git a/src/openvpn/ssl_openssl.c b/src/openvpn/ssl_openssl.c
-index ddb78da7..8bcebac4 100644
+index a78dae99..6a8fcef3 100644
 --- a/src/openvpn/ssl_openssl.c
 +++ b/src/openvpn/ssl_openssl.c
-@@ -465,7 +465,7 @@ tls_ctx_restrict_ciphers_tls13(struct tls_root_ctx *ctx, 
const char *ciphers)
+@@ -459,7 +459,7 @@ tls_ctx_restrict_ciphers_tls13(struct tls_root_ctx *ctx, 
const char *ciphers)
  return;
  }
  
 -#if (OPENSSL_VERSION_NUMBER < 0x1010100fL)
-+#if !defined(TLS1_3_VERSION)
- crypto_msg(M_WARN, "Not compiled with OpenSSL 1.1.1 or higher. "
-"Ignoring TLS 1.3 only tls-ciphersuites '%s' setting.",
-ciphers);
-@@ -526,7 +526,8 @@ tls_ctx_check_cert_time(const struct tls_root_ctx *ctx)
- 
- ASSERT(ctx);
- 
--#if OPENSSL_VERSION_NUMBER >= 0x10002000L && !defined(LIBRESSL_VERSION_NUMBER)
-+#if (OPENSSL_VERSION_NUMBER >= 0x10002000L && 
!defined(LIBRESSL_VERSION_NUMBER)) \
-+|| LIBRESSL_VERSION_NUMBER >= 0x207fL
- /* OpenSSL 1.0.2 and up */
- cert = SSL_CTX_get0_certificate(ctx->ctx);
- #else
-@@ -561,7 +562,8 @@ tls_ctx_check_cert_time(const struct tls_root_ctx *ctx)
- }
- 
- cleanup:
--#if OPENSSL_VERSION_NUMBER < 0x10002000L || defined(LIBRESSL_VERSION_NUMBER)
-+#if OPENSSL_VERSION_NUMBER < 0x10002000L \
-+|| (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 
0x207fL)
- SSL_free(ssl);
- #endif
- return;
-@@ -1209,7 +1211,9 @@ err:
- return 0;
- }
- 
--#if OPENSSL_VERSION_NUMBER > 0x1010L && !defined(OPENSSL_NO_EC) && 
!defined(LIBRESSL_VERSION_NUMBER)
-+#if ((OPENSSL_VERSION_NUMBER > 0x1010L && 
!defined(LIBRESSL_VERSION_NUMBER)) \
-+ || LIBRESSL_VERSION_NUMBER > 0x209fL) \
-+&& !defined(OPENSSL_NO_EC)
- 
- /* called when EC_KEY is destroyed */
- static void
-@@ -1331,7 +1335,7 @@ err:
- }
- return 0;
- }
--#endif /* OPENSSL_VERSION_NUMBER > 1.1.0 dev */
-+#endif /* OPENSSL_VERSION_NUMBER > 1.1.0 dev && !defined(OPENSSL_NO_EC) */
- 
- int
- tls_ctx_use_management_external_key(struct tls_root_ctx *ctx)
-@@ -1340,7 +1344,8 @@ tls_ctx_use_management_external_key(struct tls_root_ctx 
*ctx)
- 
- ASSERT(NULL != ctx);
- 
--#if OPENSSL_VERSION_NUMBER >= 0x10002000L && !defined(LIBRESSL_VERSION_NUMBER)
-+#if (OPENSSL_VERSION_NUMBER >= 0x10002000L && 
!defined(LIBRESSL_VERSION_NUMBER)) \
-+|| LIBRESSL_VERSION_NUMBER >= 0x207fL
- /* OpenSSL 1.0.2 and up */
- X509 *cert = 

  1   2   >