summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2021-02-06 11:59:06 +0200
committerMart Raudsepp <leio@gentoo.org>2021-02-06 11:59:06 +0200
commit5efe99f2b87d2389ba8132f7b07228849cdeb8e9 (patch)
tree772b57b598880ebf0f0348978ce9a7faf14ec526 /net-vpn
parentgnome-extra/nm-applet: bump to 1.20.0 (diff)
downloadgentoo-5efe99f2b87d2389ba8132f7b07228849cdeb8e9.tar.gz
gentoo-5efe99f2b87d2389ba8132f7b07228849cdeb8e9.tar.bz2
gentoo-5efe99f2b87d2389ba8132f7b07228849cdeb8e9.zip
net-vpn/networkmanager-libreswan: bump to 1.2.14, supports libreswan4
Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Mart Raudsepp <leio@gentoo.org>
Diffstat (limited to 'net-vpn')
-rw-r--r--net-vpn/networkmanager-libreswan/Manifest1
-rw-r--r--net-vpn/networkmanager-libreswan/networkmanager-libreswan-1.2.14.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/net-vpn/networkmanager-libreswan/Manifest b/net-vpn/networkmanager-libreswan/Manifest
index dc0b9d2ebe10..52d63ff32ee6 100644
--- a/net-vpn/networkmanager-libreswan/Manifest
+++ b/net-vpn/networkmanager-libreswan/Manifest
@@ -1 +1,2 @@
DIST NetworkManager-libreswan-1.2.12.tar.xz 397132 BLAKE2B 2ffe269e0898954d37c417df9779ff8e4e673e6b27232119b5414ed962e49d23053df1a73183366c4d47cc2da3032a59d7cbd89494f109a7c1a726f8e974304d SHA512 11cc8c2193959ec722e960825e34f246af3a1f93126bc916c122de6fe8d3194910a65b0884483134be1f4416fa072c9c7086f82e2f95b6f0a034ef409f7ca711
+DIST NetworkManager-libreswan-1.2.14.tar.xz 402108 BLAKE2B 6be276c7fdd5dd588f0d35a1f1b1f1c8ffa902fc6b3d586c870afa2b0c44b58f55e38e55d1e12e68fdeb5fc9c16793185216e1efe3fb773ab63f240fdde9892a SHA512 4dec676c906ab67151321e29a050805c1c2b927da4f15fd3555f3f78758d416bbdd05a664a0e063089211b458abbf9904e82f230cd32cdc4fd5123a73fbe5742
diff --git a/net-vpn/networkmanager-libreswan/networkmanager-libreswan-1.2.14.ebuild b/net-vpn/networkmanager-libreswan/networkmanager-libreswan-1.2.14.ebuild
new file mode 100644
index 000000000000..0c60eeca3a24
--- /dev/null
+++ b/net-vpn/networkmanager-libreswan/networkmanager-libreswan-1.2.14.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2021 Gentoo Authors
+# 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
+ --without-libnm-glib
+ $(use_with gtk gnome)
+ )
+ gnome2_src_configure "${myconf[@]}"
+}