diff options
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/networkmanager-openvpn/Manifest | 1 | ||||
-rw-r--r-- | net-misc/networkmanager-openvpn/networkmanager-openvpn-1.0.8.ebuild | 59 |
2 files changed, 60 insertions, 0 deletions
diff --git a/net-misc/networkmanager-openvpn/Manifest b/net-misc/networkmanager-openvpn/Manifest index 9593c1979e97..fba0fdbd06f6 100644 --- a/net-misc/networkmanager-openvpn/Manifest +++ b/net-misc/networkmanager-openvpn/Manifest @@ -1,2 +1,3 @@ DIST NetworkManager-openvpn-1.0.2.tar.xz 413496 SHA256 1643824bc7fdab42e1dab836bf81c328692295c86f146bde602eca093b394bb0 SHA512 7ee60b47ac0825e116e8c90c577fee778d2a271cdc97772aa716a9a348a576a3afb8db541473297a3cd775fd716d528df385622c54a82139b3701ebab1980a50 WHIRLPOOL fdbc330736bd8b24a834b01c5cc1dd81acaef557fa754b5668a8354ebc39c85288798259ae6c107c76d4fc329217f776057f7c50a631695d481e7ccee0ee385c DIST NetworkManager-openvpn-1.0.6.tar.xz 413464 SHA256 c982b644fa43d3019cb654a17e692bb3a7175a86d28065ea51f55ae7dfe45d8c SHA512 4ea2a6c71d73d5fd6db7a5c68b8521db6c1b24f3ae825a4db0ba540fc954408127b6e7a212b02139e518abc3e6fc715c14c7799e0e106e987e7a8c6bddffa48a WHIRLPOOL 5c9c769619bc32aa9bba42dd381c28c11f477c50077d89e6c2894548f15e2dc2e7e306411ec798b3436be7e2ce8925cc8928a5b517f801eb6ce2f73539e78ae8 +DIST NetworkManager-openvpn-1.0.8.tar.xz 428244 SHA256 1b979519d72ba4d78e729d4856c5b53fad914ca7ee3ca91209ce489ba78912ac SHA512 c641926e5593cfb46e2e1f2f1e4a244991efb2142a9ff420b3a2764692cc7b30941ee97980402a3f4911a527c06f8e8c4c9c6eabac5188837cad666b58369371 WHIRLPOOL 0fe6f54d09d2287ae0133ee2a6e78d5f7b1f7d5f0f4b584057069c8eae9f40da122aa39d7220c84a623292d62807f9c01576c771494ca81f2b38d626802dd446 diff --git a/net-misc/networkmanager-openvpn/networkmanager-openvpn-1.0.8.ebuild b/net-misc/networkmanager-openvpn/networkmanager-openvpn-1.0.8.ebuild new file mode 100644 index 000000000000..d7a3f60d48e6 --- /dev/null +++ b/net-misc/networkmanager-openvpn/networkmanager-openvpn-1.0.8.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +GCONF_DEBUG="no" +GNOME_ORG_MODULE="NetworkManager-${PN##*-}" + +inherit eutils 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/dbus-glib-0.74 + >=dev-libs/glib-2.32:2 + >=net-misc/networkmanager-0.9.10:= + >=net-misc/openvpn-2.1_rc9 + gtk? ( + app-crypt/libsecret + >=gnome-extra/nm-applet-1.0.5 + >=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) \ + $(use_with test tests) +} |