summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2021-08-05 12:46:39 -0700
committerMatt Turner <mattst88@gentoo.org>2021-08-05 12:47:16 -0700
commit39825d603c80c018c08d65bd9b936747a0611fe0 (patch)
tree58f39fb568cccd4c500fb7957c80734787dae801 /net-vpn
parentmedia-libs/libao: removed obsolete 1.2.2-r1 (diff)
downloadgentoo-39825d603c80c018c08d65bd9b936747a0611fe0.tar.gz
gentoo-39825d603c80c018c08d65bd9b936747a0611fe0.tar.bz2
gentoo-39825d603c80c018c08d65bd9b936747a0611fe0.zip
net-vpn/networkmanager-openvpn: Version bump to 1.8.14
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'net-vpn')
-rw-r--r--net-vpn/networkmanager-openvpn/Manifest1
-rw-r--r--net-vpn/networkmanager-openvpn/networkmanager-openvpn-1.8.14.ebuild61
2 files changed, 62 insertions, 0 deletions
diff --git a/net-vpn/networkmanager-openvpn/Manifest b/net-vpn/networkmanager-openvpn/Manifest
index 80258ec4f0c5..c2b8befac7b3 100644
--- a/net-vpn/networkmanager-openvpn/Manifest
+++ b/net-vpn/networkmanager-openvpn/Manifest
@@ -1 +1,2 @@
DIST NetworkManager-openvpn-1.8.12.tar.xz 597216 BLAKE2B 55ccb3139b1be9d1894d3651d60ce0f2167a24efbb24a9870eb4bb683a91603ae5f5149ed9aca8307cf608140c075a7b19bdfef68b1dbfe0729c117f084bb904 SHA512 1b8adf926426f866f7509a07c24203d6b584627aba4f8e2b1b00fa897bf0d7155009d566c3440565d1ee0e938694dd8d6746f37f62d493864d16eae007590b22
+DIST NetworkManager-openvpn-1.8.14.tar.xz 611084 BLAKE2B c986f85a6af93b88bc73a0e111cf712948e1434aff35b1df5c86a7afa6092acfc637e0e9031f170107c2856cf4f907bcc36543769ee531a1407bef69a9fbd0a3 SHA512 6775be9667c722cb2eec23354b950ff29b739119615a3f8c9730ad597427def716e9911a4232d014df78e88f5e4968f359e0aecacd81183db65586e2bc6ca0e7
diff --git a/net-vpn/networkmanager-openvpn/networkmanager-openvpn-1.8.14.ebuild b/net-vpn/networkmanager-openvpn/networkmanager-openvpn-1.8.14.ebuild
new file mode 100644
index 000000000000..1f43b0b4c2e5
--- /dev/null
+++ b/net-vpn/networkmanager-openvpn/networkmanager-openvpn-1.8.14.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+GNOME_ORG_MODULE="NetworkManager-${PN##*-}"
+
+inherit gnome2
+
+DESCRIPTION="NetworkManager OpenVPN plugin"
+HOMEPAGE="https://wiki.gnome.org/Projects/NetworkManager"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="gtk test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+ >=dev-libs/glib-2.32:2
+ dev-libs/libxml2:2
+ >=net-misc/networkmanager-1.7.0:=
+ >=net-vpn/openvpn-2.1
+ gtk? (
+ >=app-crypt/libsecret-0.18
+ >=net-libs/libnma-1.7.0
+ >=x11-libs/gtk+-3.4:3
+ )
+"
+
+RDEPEND="
+ ${DEPEND}
+ acct-group/nm-openvpn
+ acct-user/nm-openvpn
+"
+
+BDEPEND="
+ sys-devel/gettext
+ >=dev-util/intltool-0.35
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ # Test will fail if the machine doesn't have a particular locale installed
+ # FAIL: (tls-import-data) unexpected 'ca' secret value, upstream bug #742708
+ sed '/test_non_utf8_import (plugin, test_dir)/ d' \
+ -i properties/tests/test-import-export.c || die "sed failed"
+
+ gnome2_src_prepare
+}
+
+src_configure() {
+ # --localstatedir=/var needed per bug #536248
+ gnome2_src_configure \
+ --localstatedir=/var \
+ --disable-more-warnings \
+ --disable-static \
+ --with-dist-version=Gentoo \
+ $(use_with gtk gnome) \
+ --without-libnm-glib
+}