summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2015-01-11 10:53:17 +0000
committerPacho Ramos <pacho@gentoo.org>2015-01-11 10:53:17 +0000
commit7b7684ac1a32d8ee324b95696d274ddf88d2c24b (patch)
tree0d13266272ab7151bcd4623ced11b19bfa571e6a /net-misc/networkmanager-openvpn
parentVersion bump mercurial to 3.2.4 (diff)
downloadgentoo-2-7b7684ac1a32d8ee324b95696d274ddf88d2c24b.tar.gz
gentoo-2-7b7684ac1a32d8ee324b95696d274ddf88d2c24b.tar.bz2
gentoo-2-7b7684ac1a32d8ee324b95696d274ddf88d2c24b.zip
-localstatedir=/var needed (#536248 by poncho)
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
Diffstat (limited to 'net-misc/networkmanager-openvpn')
-rw-r--r--net-misc/networkmanager-openvpn/ChangeLog8
-rw-r--r--net-misc/networkmanager-openvpn/networkmanager-openvpn-1.0.0-r1.ebuild54
2 files changed, 61 insertions, 1 deletions
diff --git a/net-misc/networkmanager-openvpn/ChangeLog b/net-misc/networkmanager-openvpn/ChangeLog
index b86778ad2d3e..b6676f3e6607 100644
--- a/net-misc/networkmanager-openvpn/ChangeLog
+++ b/net-misc/networkmanager-openvpn/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-misc/networkmanager-openvpn
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/networkmanager-openvpn/ChangeLog,v 1.51 2015/01/10 15:24:59 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/networkmanager-openvpn/ChangeLog,v 1.52 2015/01/11 10:53:17 pacho Exp $
+
+*networkmanager-openvpn-1.0.0-r1 (11 Jan 2015)
+
+ 11 Jan 2015; Pacho Ramos <pacho@gentoo.org>
+ +networkmanager-openvpn-1.0.0-r1.ebuild:
+ -localstatedir=/var needed (#536248 by poncho)
*networkmanager-openvpn-1.0.0 (10 Jan 2015)
diff --git a/net-misc/networkmanager-openvpn/networkmanager-openvpn-1.0.0-r1.ebuild b/net-misc/networkmanager-openvpn/networkmanager-openvpn-1.0.0-r1.ebuild
new file mode 100644
index 000000000000..20242b795a74
--- /dev/null
+++ b/net-misc/networkmanager-openvpn/networkmanager-openvpn-1.0.0-r1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/networkmanager-openvpn/networkmanager-openvpn-1.0.0-r1.ebuild,v 1.1 2015/01/11 10:53:17 pacho Exp $
+
+EAPI=5
+GCONF_DEBUG="no"
+GNOME_ORG_MODULE="NetworkManager-${PN##*-}"
+
+inherit eutils gnome2
+
+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-0.9.9.0
+ >=x11-libs/gtk+-3.4:3
+ )"
+
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+ >=dev-util/intltool-0.35
+ virtual/pkgconfig
+"
+
+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)
+}