summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2018-05-26 03:12:42 +0200
committerManuel Rüger <mrueg@gentoo.org>2018-05-26 03:12:42 +0200
commitb33ea937becc6b6a0b7cf3050698b03058f48c78 (patch)
tree81491d868d658f23c6397debb4308d245b94b7f5 /net-misc/networkmanager-openvpn
parentapp-admin/keepass: Version bump to 2.39.1 (diff)
downloadgentoo-b33ea937becc6b6a0b7cf3050698b03058f48c78.tar.gz
gentoo-b33ea937becc6b6a0b7cf3050698b03058f48c78.tar.bz2
gentoo-b33ea937becc6b6a0b7cf3050698b03058f48c78.zip
net-misc/networkmanager-openvpn: Version bump to 1.8.4
Package-Manager: Portage-2.3.40, Repoman-2.3.9
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.4.ebuild55
2 files changed, 56 insertions, 0 deletions
diff --git a/net-misc/networkmanager-openvpn/Manifest b/net-misc/networkmanager-openvpn/Manifest
index 3d2301259dc5..8bdde4eb9236 100644
--- a/net-misc/networkmanager-openvpn/Manifest
+++ b/net-misc/networkmanager-openvpn/Manifest
@@ -1 +1,2 @@
DIST NetworkManager-openvpn-1.8.2.tar.xz 540912 BLAKE2B e972a1767fa8219aff2ecfb18c69d309f0147db16ff08db2fe50f9154defea2e805142ac38e77854902f430390f0909c692110a8bcb2e18cec27ce9661a1510c SHA512 c17f0de1d41df00b3359ab2dcce939574104b1272896bd403834b426c3fc3f177a5d2ea9cb5a1b98268f63095bc14c5904bd98c2fcf23481e78d8b8acb667927
+DIST NetworkManager-openvpn-1.8.4.tar.xz 547984 BLAKE2B bb637c824414b792c6272a1791a3e99ebb3c0fc7145b01b4fa6c9b0bc2d8a0879141b7e2d1f3157b8b05366e3d0410370d3523dbe0d2daf069e4f73cdd9cf84c SHA512 dd0381175fa6a88259726a848ac46b7a5ee07a797cbe34382d3f4c0b6d8ad3807d224bfbb53cff793f4854558484d77fc7c6a6970e5364d39d058da5c35eac5a
diff --git a/net-misc/networkmanager-openvpn/networkmanager-openvpn-1.8.4.ebuild b/net-misc/networkmanager-openvpn/networkmanager-openvpn-1.8.4.ebuild
new file mode 100644
index 000000000000..6a30526364ca
--- /dev/null
+++ b/net-misc/networkmanager-openvpn/networkmanager-openvpn-1.8.4.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2018 Gentoo Foundation
+# 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}
+ 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)
+}