summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2019-02-26 02:55:05 +0200
committerMart Raudsepp <leio@gentoo.org>2019-02-26 02:55:16 +0200
commitfe0cd96a104864646dbe0baebc5aa639e1ee993a (patch)
tree2141a353d4c5da9aad92ea143ece1e1c6adb1657 /net-vpn
parentnet-misc/networkmanager-pptp: pkgmove to net-vpn/networkmanager-pptp (diff)
downloadgentoo-fe0cd96a104864646dbe0baebc5aa639e1ee993a.tar.gz
gentoo-fe0cd96a104864646dbe0baebc5aa639e1ee993a.tar.bz2
gentoo-fe0cd96a104864646dbe0baebc5aa639e1ee993a.zip
net-misc/networkmanager-vpnc: pkgmove to net-vpn/networkmanager-vpnc
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
Diffstat (limited to 'net-vpn')
-rw-r--r--net-vpn/networkmanager-vpnc/Manifest1
-rw-r--r--net-vpn/networkmanager-vpnc/metadata.xml8
-rw-r--r--net-vpn/networkmanager-vpnc/networkmanager-vpnc-1.2.6.ebuild49
3 files changed, 58 insertions, 0 deletions
diff --git a/net-vpn/networkmanager-vpnc/Manifest b/net-vpn/networkmanager-vpnc/Manifest
new file mode 100644
index 000000000000..59215b7298f6
--- /dev/null
+++ b/net-vpn/networkmanager-vpnc/Manifest
@@ -0,0 +1 @@
+DIST NetworkManager-vpnc-1.2.6.tar.xz 417412 BLAKE2B 00072e2f5449687a55ff4dc0382c4ef2bb2042f9b2a4437d1d6790084ff1b88210e45909808048498f315d59ed5408630ae15d09a1d22e4acbf840554e452546 SHA512 4f8adf58d73cef74a950d822c6f17cd813a1e74fcd3c0391f847541c279e448a6353b83984d593fe5e11138a37b7f1c21b9a24a6843c1d35e4cb68bc29bc3eb1
diff --git a/net-vpn/networkmanager-vpnc/metadata.xml b/net-vpn/networkmanager-vpnc/metadata.xml
new file mode 100644
index 000000000000..996e7cacd217
--- /dev/null
+++ b/net-vpn/networkmanager-vpnc/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>gnome@gentoo.org</email>
+ <name>Gentoo GNOME Desktop</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/net-vpn/networkmanager-vpnc/networkmanager-vpnc-1.2.6.ebuild b/net-vpn/networkmanager-vpnc/networkmanager-vpnc-1.2.6.ebuild
new file mode 100644
index 000000000000..112ed09512d8
--- /dev/null
+++ b/net-vpn/networkmanager-vpnc/networkmanager-vpnc-1.2.6.ebuild
@@ -0,0 +1,49 @@
+# 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
+
+DESCRIPTION="NetworkManager VPNC plugin"
+HOMEPAGE="https://wiki.gnome.org/Projects/NetworkManager"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ~arm x86"
+IUSE="gtk test"
+
+RDEPEND="
+ >=net-misc/networkmanager-1.2.0:=
+ >=dev-libs/dbus-glib-0.74
+ >=dev-libs/glib-2.32:2
+ >=net-vpn/vpnc-0.5.3_p550
+ 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
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ # Test will fail if the machine doesn't have a particular locale installed
+ # https://bugzilla.gnome.org/show_bug.cgi?id=742708
+ sed '/test_non_utf8_import (plugin/ d' \
+ -i properties/tests/test-import-export.c || die "sed failed"
+
+ gnome2_src_prepare
+}
+
+src_configure() {
+ gnome2_src_configure \
+ --disable-more-warnings \
+ --disable-static \
+ --with-dist-version=Gentoo \
+ $(use_with gtk gnome)
+}