summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2019-02-26 02:44:16 +0200
committerMart Raudsepp <leio@gentoo.org>2019-02-26 02:44:16 +0200
commit51f351f2d8f01d0a59808ce5c1615f48321f81b3 (patch)
treec8a94668523834e23f9ac9e1dd8e4d3e632b6ab4 /net-vpn
parentnet-misc/networkmanager-libreswan: pkgmove to net-vpn/networkmanager-libreswan (diff)
downloadgentoo-51f351f2d8f01d0a59808ce5c1615f48321f81b3.tar.gz
gentoo-51f351f2d8f01d0a59808ce5c1615f48321f81b3.tar.bz2
gentoo-51f351f2d8f01d0a59808ce5c1615f48321f81b3.zip
net-misc/networkmanager-openconnect: pkgmove to net-vpn/networkmanager-openconnect
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
Diffstat (limited to 'net-vpn')
-rw-r--r--net-vpn/networkmanager-openconnect/Manifest1
-rw-r--r--net-vpn/networkmanager-openconnect/metadata.xml8
-rw-r--r--net-vpn/networkmanager-openconnect/networkmanager-openconnect-1.2.4-r1.ebuild49
3 files changed, 58 insertions, 0 deletions
diff --git a/net-vpn/networkmanager-openconnect/Manifest b/net-vpn/networkmanager-openconnect/Manifest
new file mode 100644
index 000000000000..8f2ba5ee2ae9
--- /dev/null
+++ b/net-vpn/networkmanager-openconnect/Manifest
@@ -0,0 +1 @@
+DIST NetworkManager-openconnect-1.2.4.tar.xz 647944 BLAKE2B a2a096224a42e5ab55743e46d9030eb036cb0d8d43a957c2b7f056f7de8763ec8d2de84701ac59951540aceefd0329614eb50aa5c57600b3e72fbce0118fe431 SHA512 203652a468525c3f6d374ce7fbf2f5b904a13b5e74fb3898dbfeec863c64a60fd9826fc5d9edb52c3e75b9871f49cb78580914e37a3522e4676ca1c29102d0a2
diff --git a/net-vpn/networkmanager-openconnect/metadata.xml b/net-vpn/networkmanager-openconnect/metadata.xml
new file mode 100644
index 000000000000..996e7cacd217
--- /dev/null
+++ b/net-vpn/networkmanager-openconnect/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-openconnect/networkmanager-openconnect-1.2.4-r1.ebuild b/net-vpn/networkmanager-openconnect/networkmanager-openconnect-1.2.4-r1.ebuild
new file mode 100644
index 000000000000..8f36b8bad8c6
--- /dev/null
+++ b/net-vpn/networkmanager-openconnect/networkmanager-openconnect-1.2.4-r1.ebuild
@@ -0,0 +1,49 @@
+# 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 OpenConnect plugin"
+HOMEPAGE="https://wiki.gnome.org/Projects/NetworkManager"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ~arm x86"
+IUSE="gtk"
+
+RDEPEND="
+ >=net-misc/networkmanager-1.2:=
+ >=dev-libs/glib-2.32:2
+ >=dev-libs/dbus-glib-0.74
+ dev-libs/libxml2:2
+ >=net-vpn/openconnect-3.02:=
+ gtk? (
+ >=app-crypt/libsecret-0.18
+ >=x11-libs/gtk+-3.4:3 )
+"
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+ dev-util/intltool
+ virtual/pkgconfig
+"
+
+src_configure() {
+ # We cannot drop libnm-glib support yet (--without-libnm-glib)
+ # because gnome-shell wasn't ported yet:
+ # https://bugzilla.redhat.com/show_bug.cgi?id=1394977
+ # https://bugzilla.redhat.com/show_bug.cgi?id=1398425
+ gnome2_src_configure \
+ --disable-more-warnings \
+ --disable-static \
+ $(use_with gtk gnome) \
+ $(use_with gtk authdlg)
+}
+
+pkg_postinst() {
+ gnome2_pkg_postinst
+ enewgroup nm-openconnect
+ enewuser nm-openconnect -1 -1 -1 nm-openconnect
+}