summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-vpn')
-rw-r--r--net-vpn/networkmanager-libreswan/Manifest1
-rw-r--r--net-vpn/networkmanager-libreswan/networkmanager-libreswan-1.2.22.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/net-vpn/networkmanager-libreswan/Manifest b/net-vpn/networkmanager-libreswan/Manifest
index 5d9a3b93026b..717b29d508bb 100644
--- a/net-vpn/networkmanager-libreswan/Manifest
+++ b/net-vpn/networkmanager-libreswan/Manifest
@@ -1 +1,2 @@
DIST NetworkManager-libreswan-1.2.16.tar.xz 406668 BLAKE2B 58008ed6b6e45a0cb26ec7cd59180f5be99bfd6959fb9cbcdf3dd62139e3fbe785fccb3fdcbe9f1d1387700b97ae539020d5036804c99d6bd95dd6fd22c625e0 SHA512 1e775a525df5ae6dafa2ccc04af345e5cc04d74ea9f532614f4fd2b388c1016940a1db8347ac670fe396f075b5c9234afea59e777ecbd6ce647db9f3247cd7ad
+DIST NetworkManager-libreswan-1.2.22.tar.xz 426628 BLAKE2B 7f4709d5ee2d44a491a5b53a441a2f8e64e7f41c8635fdc3f19cbe4af5201f073ef816e7bc8fa27aba6cb80468660a294f0d464062e88ef9e7dcc9985b8091e0 SHA512 80885a276344ab512fb7b3d4b9932525787006781f3c8e0ab93343b78172f1d971c7753df53f21db8f45ea873469d80fc1e12f8d56d6e05d31a536069ff46e16
diff --git a/net-vpn/networkmanager-libreswan/networkmanager-libreswan-1.2.22.ebuild b/net-vpn/networkmanager-libreswan/networkmanager-libreswan-1.2.22.ebuild
new file mode 100644
index 000000000000..970691dee221
--- /dev/null
+++ b/net-vpn/networkmanager-libreswan/networkmanager-libreswan-1.2.22.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+GNOME_ORG_MODULE="NetworkManager-${PN##*-}"
+
+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.36:2
+ >=dev-libs/libnl-3.2.8:3
+ >=net-misc/networkmanager-1.2.0:=
+ net-vpn/libreswan
+ gtk? (
+ app-crypt/libsecret
+
+ >=x11-libs/gtk+-3.4:3
+
+ >=gui-libs/gtk-4.0:4
+ >=gnome-extra/nm-applet-1.2.0
+ )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ 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)
+ $(use_with gtk gtk4)
+ )
+ gnome2_src_configure "${myconf[@]}"
+}