net-misc/networkmanager-openvpn: Version bump to 1.2.8
authorPatrick McLean <chutzpah@gentoo.org>
Thu, 2 Mar 2017 21:07:53 +0000 (13:07 -0800)
committerPatrick McLean <chutzpah@gentoo.org>
Thu, 2 Mar 2017 21:07:53 +0000 (13:07 -0800)
Package-Manager: Portage-2.3.3, Repoman-2.3.1

net-misc/networkmanager-openvpn/Manifest
net-misc/networkmanager-openvpn/networkmanager-openvpn-1.2.8.ebuild [new file with mode: 0644]

index ef50e5fca481853d0e68be8549822e2645ce1871..f350ff60f0405ccaf9d8404e7db0dc1b5cc3177b 100644 (file)
@@ -1 +1,2 @@
 DIST NetworkManager-openvpn-1.2.6.tar.xz 494132 SHA256 2373e2bb0a8a876cb2997cd8b0e3d6e10012d9bef3705ea3ac21f6394b3f1fb0 SHA512 973b13937bd14891181cfac4b3c8df891bbbd8aad31769130d7acd6f3c41e23fb3359a49a750c885e2c72c94aaf357ff1e326ece7a304b2154c6b33c35118a05 WHIRLPOOL b99542e3529b73d21770dc1ca492e29131f04de0336b6a53f58ed9a4e1f886e04bbebd32b33dc3a1b11483dd6a73779964af3a64d06edd8fb6f4c759c021cc2a
+DIST NetworkManager-openvpn-1.2.8.tar.xz 498732 SHA256 3e0b4007f248d96df4b8eb5d0f937536044af7053debbbf525e67c9bc5d30654 SHA512 e6d64106cd93f91d292a6b2346dc31317e1056d2bbaf09a376c84ffaaa8fd584f92999865bdf52531b44de7ae144e1ae9271b9efc564d99f8569b0d059ab8019 WHIRLPOOL ead14f8ca4e194c0ff2b9b2151b44e3a2d97c81a4c89187c701090ce891861ba0f5a947e4b132bb2c70a28647ddb976d3989b1a3f54be87a22e983afad49f161
diff --git a/net-misc/networkmanager-openvpn/networkmanager-openvpn-1.2.8.ebuild b/net-misc/networkmanager-openvpn/networkmanager-openvpn-1.2.8.ebuild
new file mode 100644 (file)
index 0000000..20783d7
--- /dev/null
@@ -0,0 +1,55 @@
+# Copyright 1999-2017 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.2.0:=
+       >=net-misc/openvpn-2.1_rc9
+       gtk? (
+               >=app-crypt/libsecret-0.18
+               >=gnome-extra/nm-applet-1.2.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)
+}