summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2019-02-11 21:20:49 +0200
committerMart Raudsepp <leio@gentoo.org>2019-02-11 21:24:47 +0200
commit60ad8b005ecf814843438844e3f2f9616c9bc2e2 (patch)
tree5a5f76ef7a095f9048f36416f09c848e7fe14cb9 /net-misc
parentgnome-extra/nm-applet: bump to 1.8.20 (diff)
downloadgentoo-60ad8b005ecf814843438844e3f2f9616c9bc2e2.tar.gz
gentoo-60ad8b005ecf814843438844e3f2f9616c9bc2e2.tar.bz2
gentoo-60ad8b005ecf814843438844e3f2f9616c9bc2e2.zip
net-misc/networkmanager-openvpn: bump to 1.8.10
Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Mart Raudsepp <leio@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/networkmanager-openvpn/Manifest1
-rw-r--r--net-misc/networkmanager-openvpn/networkmanager-openvpn-1.8.10.ebuild56
2 files changed, 57 insertions, 0 deletions
diff --git a/net-misc/networkmanager-openvpn/Manifest b/net-misc/networkmanager-openvpn/Manifest
index 7b70de4350e5..24540b690b89 100644
--- a/net-misc/networkmanager-openvpn/Manifest
+++ b/net-misc/networkmanager-openvpn/Manifest
@@ -1 +1,2 @@
+DIST NetworkManager-openvpn-1.8.10.tar.xz 564540 BLAKE2B e117395b91efbd0ee10bdefe0aaff8a39fdd1fe232dc1543224be7dfd9bb18729ad873091301e6348f8955f28579e106f5565c7138309571e06598aa35dc5bba SHA512 f710848fccf21ac4554a2b46e80cf890c011edc6d64d9a49d6d8669f3ff71f7990e11e6f4681bb85d30238ec05f2fc79c4619983f6860c6ab0d714f941a3dfcc
DIST NetworkManager-openvpn-1.8.8.tar.xz 562748 BLAKE2B 8c75d30a8865d41cd564e719f08522482b0d6901a8e812dec5f5b9fd8c8c2839663d078148e9d505ee7b7fc6e5c96fda8c3c0a0390837211a1fe9689f01fd27d SHA512 8ed7612bcf727b540a74807ccc7ea7460dba3923a052e8716338bf2c852b6c027fd7547793af1b032a3c2348f9ffc579d1071aad2833baa37784bb5a17af1574
diff --git a/net-misc/networkmanager-openvpn/networkmanager-openvpn-1.8.10.ebuild b/net-misc/networkmanager-openvpn/networkmanager-openvpn-1.8.10.ebuild
new file mode 100644
index 000000000000..be8cb945aed3
--- /dev/null
+++ b/net-misc/networkmanager-openvpn/networkmanager-openvpn-1.8.10.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+GNOME_ORG_MODULE="NetworkManager-${PN##*-}"
+
+inherit gnome2 user
+
+DESCRIPTION="NetworkManager OpenVPN plugin"
+HOMEPAGE="https://wiki.gnome.org/Projects/NetworkManager"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="gtk test"
+
+RDEPEND="
+ >=dev-libs/glib-2.32:2
+ >=net-misc/networkmanager-1.7.0:=
+ >=net-vpn/openvpn-2.1
+ gtk? (
+ >=app-crypt/libsecret-0.18
+ >=gnome-extra/nm-applet-1.7.0
+ >=x11-libs/gtk+-3.4:3
+ )
+"
+DEPEND="${RDEPEND}
+ dev-libs/libxml2:2
+ sys-devel/gettext
+ >=dev-util/intltool-0.35
+ virtual/pkgconfig
+"
+
+pkg_setup() {
+ enewgroup nm-openvpn
+ enewuser nm-openvpn -1 -1 -1 nm-openvpn
+}
+
+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)
+}