summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2017-05-27 17:27:53 -0400
committerMike Gilbert <floppym@gentoo.org>2017-05-27 17:29:03 -0400
commitf69b11b609413a74d1e9c8098a517b832190b024 (patch)
treef62e01891cee00c2a777d3377b8a248b355aa477 /net-misc/networkmanager-libreswan
parentprofiles: Mask USE=mtp on mips (diff)
downloadgentoo-f69b11b609413a74d1e9c8098a517b832190b024.tar.gz
gentoo-f69b11b609413a74d1e9c8098a517b832190b024.tar.bz2
gentoo-f69b11b609413a74d1e9c8098a517b832190b024.zip
net-misc/networkmanager-libreswan: new package
Replacement for networkmanager-openswan. Bug: https://bugs.gentoo.org/615142 Package-Manager: Portage-2.3.6_p1, Repoman-2.3.2_p69
Diffstat (limited to 'net-misc/networkmanager-libreswan')
-rw-r--r--net-misc/networkmanager-libreswan/Manifest1
-rw-r--r--net-misc/networkmanager-libreswan/metadata.xml8
-rw-r--r--net-misc/networkmanager-libreswan/networkmanager-libreswan-1.2.6.ebuild43
3 files changed, 52 insertions, 0 deletions
diff --git a/net-misc/networkmanager-libreswan/Manifest b/net-misc/networkmanager-libreswan/Manifest
new file mode 100644
index 000000000000..bf40abc7c8cc
--- /dev/null
+++ b/net-misc/networkmanager-libreswan/Manifest
@@ -0,0 +1 @@
+DIST NetworkManager-libreswan-1.2.6.tar.xz 348312 SHA256 604fc207598dc9bac2c37e3d242e41bd80d6a74e2a9358e66debc9b667672c96 SHA512 385b7e7cfc0720be1eae0a3c7e080efd17eb6f243d069ba881b97c9638fc3bb951b3c8f1c9b44422fe81a2dc9fc85b675f977284111aeaa6304ad31750f62798 WHIRLPOOL 533e98c552027dff94962e69d29f1009e29cc6841099171612e94ced1d4cbba20c751bed06357bba140d7878642f083c0b22323f12bd8bdfdc5765cc15655b36
diff --git a/net-misc/networkmanager-libreswan/metadata.xml b/net-misc/networkmanager-libreswan/metadata.xml
new file mode 100644
index 000000000000..de09ffd8b089
--- /dev/null
+++ b/net-misc/networkmanager-libreswan/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="person">
+ <email>floppym@gentoo.org</email>
+ <name>Mike Gilbert</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/net-misc/networkmanager-libreswan/networkmanager-libreswan-1.2.6.ebuild b/net-misc/networkmanager-libreswan/networkmanager-libreswan-1.2.6.ebuild
new file mode 100644
index 000000000000..39ef3b9d7dbe
--- /dev/null
+++ b/net-misc/networkmanager-libreswan/networkmanager-libreswan-1.2.6.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+GNOME_ORG_MODULE="NetworkManager-libreswan"
+
+inherit gnome2
+
+DESCRIPTION="NetworkManager libreswan plugin"
+HOMEPAGE="https://wiki.gnome.org/Projects/NetworkManager/VPN"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gtk"
+
+RDEPEND="
+ >=dev-libs/glib-2.32:2
+ >=dev-libs/libnl-3.2.8:3
+ >=net-misc/networkmanager-1.2.0:=
+ net-vpn/libreswan
+ gtk? (
+ app-crypt/libsecret
+ >=gnome-extra/nm-applet-1.2.0
+ >=x11-libs/gtk+-3.4:3
+ )
+ !net-misc/networkmanager-openswan
+"
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+ dev-util/intltool
+ virtual/pkgconfig
+"
+
+src_configure() {
+ local myconf=(
+ --disable-more-warnings
+ --disable-static
+ --with-dist-version=Gentoo
+ $(use_with gtk gnome)
+ )
+ gnome2_src_configure "${myconf[@]}"
+}