From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 8C3891384C3 for ; Sat, 5 Sep 2015 19:41:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 86C4B1424F; Sat, 5 Sep 2015 19:41:16 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2C67C1424F for ; Sat, 5 Sep 2015 19:41:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5344F340754 for ; Sat, 5 Sep 2015 19:41:15 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 59B5F161 for ; Sat, 5 Sep 2015 19:41:12 +0000 (UTC) From: "Pacho Ramos" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Pacho Ramos" Message-ID: <1441482046.17617c12dea0f3287ee2a8e18725a699ab016e02.pacho@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/networkmanager-openvpn/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/networkmanager-openvpn/networkmanager-openvpn-1.0.6-r1.ebuild X-VCS-Directories: net-misc/networkmanager-openvpn/ X-VCS-Committer: pacho X-VCS-Committer-Name: Pacho Ramos X-VCS-Revision: 17617c12dea0f3287ee2a8e18725a699ab016e02 X-VCS-Branch: master Date: Sat, 5 Sep 2015 19:41:12 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 276a2114-9a51-4679-8ff1-8ab9d9685fdd X-Archives-Hash: 228a7fecd851d5750d1f145ee63310be commit: 17617c12dea0f3287ee2a8e18725a699ab016e02 Author: Pacho Ramos gentoo org> AuthorDate: Sat Sep 5 19:39:24 2015 +0000 Commit: Pacho Ramos gentoo org> CommitDate: Sat Sep 5 19:40:46 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17617c12 net-misc/networkmanager-openvpn: An specific user and group is needed now (#559682 by Markos Chandras) Package-Manager: portage-2.2.20.1 .../networkmanager-openvpn-1.0.6-r1.ebuild | 59 ++++++++++++++++++++++ 1 file changed, 59 insertions(+) diff --git a/net-misc/networkmanager-openvpn/networkmanager-openvpn-1.0.6-r1.ebuild b/net-misc/networkmanager-openvpn/networkmanager-openvpn-1.0.6-r1.ebuild new file mode 100644 index 0000000..d7a3f60 --- /dev/null +++ b/net-misc/networkmanager-openvpn/networkmanager-openvpn-1.0.6-r1.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) +}