1 |
commit: 34f863ec6ae56f0f8f4b085b439323a7151aa9a3 |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Oct 3 09:02:57 2018 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Oct 3 09:07:48 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34f863ec |
7 |
|
8 |
net-misc/networkmanager-openvpn: bump to 1.8.6 |
9 |
|
10 |
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.49, Repoman-2.3.11 |
12 |
|
13 |
net-misc/networkmanager-openvpn/Manifest | 1 + |
14 |
.../networkmanager-openvpn-1.8.6.ebuild | 56 ++++++++++++++++++++++ |
15 |
2 files changed, 57 insertions(+) |
16 |
|
17 |
diff --git a/net-misc/networkmanager-openvpn/Manifest b/net-misc/networkmanager-openvpn/Manifest |
18 |
index e8860498bdc..61ff8cf8c4b 100644 |
19 |
--- a/net-misc/networkmanager-openvpn/Manifest |
20 |
+++ b/net-misc/networkmanager-openvpn/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST NetworkManager-openvpn-1.8.4.tar.xz 547984 BLAKE2B bb637c824414b792c6272a1791a3e99ebb3c0fc7145b01b4fa6c9b0bc2d8a0879141b7e2d1f3157b8b05366e3d0410370d3523dbe0d2daf069e4f73cdd9cf84c SHA512 dd0381175fa6a88259726a848ac46b7a5ee07a797cbe34382d3f4c0b6d8ad3807d224bfbb53cff793f4854558484d77fc7c6a6970e5364d39d058da5c35eac5a |
23 |
+DIST NetworkManager-openvpn-1.8.6.tar.xz 561652 BLAKE2B 37c47c997f68879221cb346b4afe9653d78ef21398f568469c8f511c18feec12dfcf86677d09088119a16ef30c47ab6b5b5a30f2a3c24811a12e6d58c6809f5f SHA512 a2d711be58810aad337b9c8bdead1ba6f64c1d1315a772ab79815624794c79668ab5056587be7096ac7367554c16114c2a3805a03484c2ea265ba4cd3bd54d32 |
24 |
|
25 |
diff --git a/net-misc/networkmanager-openvpn/networkmanager-openvpn-1.8.6.ebuild b/net-misc/networkmanager-openvpn/networkmanager-openvpn-1.8.6.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..8fb5003d654 |
28 |
--- /dev/null |
29 |
+++ b/net-misc/networkmanager-openvpn/networkmanager-openvpn-1.8.6.ebuild |
30 |
@@ -0,0 +1,56 @@ |
31 |
+# Copyright 1999-2018 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=6 |
35 |
+GNOME_ORG_MODULE="NetworkManager-${PN##*-}" |
36 |
+ |
37 |
+inherit gnome2 user |
38 |
+ |
39 |
+DESCRIPTION="NetworkManager OpenVPN plugin" |
40 |
+HOMEPAGE="https://wiki.gnome.org/Projects/NetworkManager" |
41 |
+ |
42 |
+LICENSE="GPL-2+" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64 ~arm ~x86" |
45 |
+IUSE="gtk test" |
46 |
+ |
47 |
+RDEPEND=" |
48 |
+ >=dev-libs/glib-2.32:2 |
49 |
+ >=net-misc/networkmanager-1.7.0:= |
50 |
+ >=net-vpn/openvpn-2.1 |
51 |
+ gtk? ( |
52 |
+ >=app-crypt/libsecret-0.18 |
53 |
+ >=gnome-extra/nm-applet-1.7.0 |
54 |
+ >=x11-libs/gtk+-3.4:3 |
55 |
+ ) |
56 |
+" |
57 |
+DEPEND="${RDEPEND} |
58 |
+ dev-libs/libxml2:2 |
59 |
+ sys-devel/gettext |
60 |
+ >=dev-util/intltool-0.35 |
61 |
+ virtual/pkgconfig |
62 |
+" |
63 |
+ |
64 |
+pkg_setup() { |
65 |
+ enewgroup nm-openvpn |
66 |
+ enewuser nm-openvpn -1 -1 -1 nm-openvpn |
67 |
+} |
68 |
+ |
69 |
+src_prepare() { |
70 |
+ # Test will fail if the machine doesn't have a particular locale installed |
71 |
+ # FAIL: (tls-import-data) unexpected 'ca' secret value, upstream bug #742708 |
72 |
+ sed '/test_non_utf8_import (plugin, test_dir)/ d' \ |
73 |
+ -i properties/tests/test-import-export.c || die "sed failed" |
74 |
+ |
75 |
+ gnome2_src_prepare |
76 |
+} |
77 |
+ |
78 |
+src_configure() { |
79 |
+ # --localstatedir=/var needed per bug #536248 |
80 |
+ gnome2_src_configure \ |
81 |
+ --localstatedir=/var \ |
82 |
+ --disable-more-warnings \ |
83 |
+ --disable-static \ |
84 |
+ --with-dist-version=Gentoo \ |
85 |
+ $(use_with gtk gnome) |
86 |
+} |