summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2018-10-03 12:02:57 +0300
committerMart Raudsepp <leio@gentoo.org>2018-10-03 12:07:48 +0300
commit34f863ec6ae56f0f8f4b085b439323a7151aa9a3 (patch)
tree6a569224f762e486c5bf1d41085e2851df650d1f /net-misc/networkmanager-openvpn
parentx11-libs/libxklavier: Add explicit dep on glib-utils (diff)
downloadgentoo-34f863ec6ae56f0f8f4b085b439323a7151aa9a3.tar.gz
gentoo-34f863ec6ae56f0f8f4b085b439323a7151aa9a3.tar.bz2
gentoo-34f863ec6ae56f0f8f4b085b439323a7151aa9a3.zip
net-misc/networkmanager-openvpn: bump to 1.8.6
Signed-off-by: Mart Raudsepp <leio@gentoo.org> Package-Manager: Portage-2.3.49, Repoman-2.3.11
Diffstat (limited to 'net-misc/networkmanager-openvpn')
-rw-r--r--net-misc/networkmanager-openvpn/Manifest1
-rw-r--r--net-misc/networkmanager-openvpn/networkmanager-openvpn-1.8.6.ebuild56
2 files changed, 57 insertions, 0 deletions
diff --git a/net-misc/networkmanager-openvpn/Manifest b/net-misc/networkmanager-openvpn/Manifest
index e8860498bdc5..61ff8cf8c4b9 100644
--- a/net-misc/networkmanager-openvpn/Manifest
+++ b/net-misc/networkmanager-openvpn/Manifest
@@ -1 +1,2 @@
DIST NetworkManager-openvpn-1.8.4.tar.xz 547984 BLAKE2B bb637c824414b792c6272a1791a3e99ebb3c0fc7145b01b4fa6c9b0bc2d8a0879141b7e2d1f3157b8b05366e3d0410370d3523dbe0d2daf069e4f73cdd9cf84c SHA512 dd0381175fa6a88259726a848ac46b7a5ee07a797cbe34382d3f4c0b6d8ad3807d224bfbb53cff793f4854558484d77fc7c6a6970e5364d39d058da5c35eac5a
+DIST NetworkManager-openvpn-1.8.6.tar.xz 561652 BLAKE2B 37c47c997f68879221cb346b4afe9653d78ef21398f568469c8f511c18feec12dfcf86677d09088119a16ef30c47ab6b5b5a30f2a3c24811a12e6d58c6809f5f SHA512 a2d711be58810aad337b9c8bdead1ba6f64c1d1315a772ab79815624794c79668ab5056587be7096ac7367554c16114c2a3805a03484c2ea265ba4cd3bd54d32
diff --git a/net-misc/networkmanager-openvpn/networkmanager-openvpn-1.8.6.ebuild b/net-misc/networkmanager-openvpn/networkmanager-openvpn-1.8.6.ebuild
new file mode 100644
index 000000000000..8fb5003d6544
--- /dev/null
+++ b/net-misc/networkmanager-openvpn/networkmanager-openvpn-1.8.6.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2018 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)
+}