summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-11-08 08:30:03 +0000
committerSam James <sam@gentoo.org>2022-11-08 08:30:13 +0000
commit9353c497b4191be5cf89bf648c6d30ec2b2ba8d3 (patch)
tree74c372e27f47aa4b02049b34397ff23c2457517b /net-vpn
parentnet-vpn/openfortivpn: add 1.19.0 (diff)
downloadgentoo-9353c497b4191be5cf89bf648c6d30ec2b2ba8d3.tar.gz
gentoo-9353c497b4191be5cf89bf648c6d30ec2b2ba8d3.tar.bz2
gentoo-9353c497b4191be5cf89bf648c6d30ec2b2ba8d3.zip
net-vpn/networkmanager-fortisslvpn: add 1.4.0
Bug: https://bugs.gentoo.org/880313 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-vpn')
-rw-r--r--net-vpn/networkmanager-fortisslvpn/Manifest1
-rw-r--r--net-vpn/networkmanager-fortisslvpn/networkmanager-fortisslvpn-1.4.0.ebuild55
2 files changed, 56 insertions, 0 deletions
diff --git a/net-vpn/networkmanager-fortisslvpn/Manifest b/net-vpn/networkmanager-fortisslvpn/Manifest
index 65f57c8aff5a..1243e04dbdac 100644
--- a/net-vpn/networkmanager-fortisslvpn/Manifest
+++ b/net-vpn/networkmanager-fortisslvpn/Manifest
@@ -1 +1,2 @@
DIST NetworkManager-fortisslvpn-1.3.90.tar.xz 375416 BLAKE2B d2e07a2f79685cb600b6c0abca52a54911ff41534c152e9c5befe25d436757ba517d84cc474ff5c200ae62ca019296871fc29dc8342788295b3e59be55fa8198 SHA512 98b3e524cbb33c8dcdb325b10d227f88534948d98ca8009f770e48b87d42637762ba5343f081ac583b77c3387cb47f2660be0f60430ede237f812a2af8d9a7aa
+DIST NetworkManager-fortisslvpn-1.4.0.tar.xz 381964 BLAKE2B 11cbcd0077a6636feaf04fc191bb78b269f1fcb13ae5ebc3f2d1fe239570e9955406b5f2ff76f6ea0f297e3425e6dac816a0a79f2c2a0723bae51e9fe42fa34d SHA512 94e96f204262825f3d525c96b5f135b31d9a3bb382bd2baf3fafdceb08768321331d4bd4f6af8879a8818e3bad854cdf057c9915e0ac9aee09d17e83b9d12d54
diff --git a/net-vpn/networkmanager-fortisslvpn/networkmanager-fortisslvpn-1.4.0.ebuild b/net-vpn/networkmanager-fortisslvpn/networkmanager-fortisslvpn-1.4.0.ebuild
new file mode 100644
index 000000000000..3dc84921087e
--- /dev/null
+++ b/net-vpn/networkmanager-fortisslvpn/networkmanager-fortisslvpn-1.4.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+GNOME_ORG_MODULE="NetworkManager-${PN##*-}"
+GNOME2_LA_PUNT="yes"
+GNOME2_EAUTORECONF="yes"
+
+inherit gnome2
+
+DESCRIPTION="NetworkManager Fortinet SSLVPN compatible plugin"
+HOMEPAGE="https://wiki.gnome.org/Projects/NetworkManager"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="gtk"
+
+DEPEND="
+ >=dev-libs/glib-2.32:2
+ >=net-misc/networkmanager-1.2:=
+ gtk? (
+ >=app-crypt/libsecret-0.18
+ gui-libs/gtk:4
+ media-libs/harfbuzz
+ >=net-libs/libnma-1.2.0
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf
+ x11-libs/pango
+ )
+"
+RDEPEND="${RDEPEND}
+ net-dialup/ppp
+ >=net-vpn/openfortivpn-1.2.0"
+BDEPEND="dev-util/gdbus-codegen
+ >=sys-devel/gettext-0.19
+ virtual/pkgconfig"
+
+src_prepare() {
+ default
+
+ # Fix deprecated location, #709450
+ sed -i 's|/appdata|/metainfo|g' Makefile.{in,am} || die
+}
+
+src_configure() {
+ CONFIG_SHELL="${BROOT}"/bin/bash gnome2_src_configure \
+ --disable-static \
+ --with-dist-version=Gentoo \
+ --localstatedir=/var \
+ $(use_with gtk gnome) \
+ $(use_with gtk gtk4) \
+ --without-libnm-glib
+}