summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Kurakin <kuraga333@mail.ru>2021-02-26 18:10:51 +0300
committerSam James <sam@gentoo.org>2021-07-25 04:43:34 +0100
commiteef07b1c0c3a63af11ff18a1ee89fa58d9d55d96 (patch)
treeaf494da638cc209e6e7d3667139fe9a95c0cf386 /net-vpn
parentsys-devel/slibtool: Keyword 0.5.34 alpha, #777435 (diff)
downloadgentoo-eef07b1c0c3a63af11ff18a1ee89fa58d9d55d96.tar.gz
gentoo-eef07b1c0c3a63af11ff18a1ee89fa58d9d55d96.tar.bz2
gentoo-eef07b1c0c3a63af11ff18a1ee89fa58d9d55d96.zip
net-vpn/networkmanager-l2tp: version bump to 1.8.6
Bug: https://bugs.gentoo.org/773061 Signed-off-by: Alexander Kurakin <kuraga333@mail.ru> Closes: https://github.com/gentoo/gentoo/pull/19669 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-vpn')
-rw-r--r--net-vpn/networkmanager-l2tp/Manifest1
-rw-r--r--net-vpn/networkmanager-l2tp/networkmanager-l2tp-1.8.6.ebuild56
2 files changed, 57 insertions, 0 deletions
diff --git a/net-vpn/networkmanager-l2tp/Manifest b/net-vpn/networkmanager-l2tp/Manifest
index 67b29bcce3e5..ff4d2bf17572 100644
--- a/net-vpn/networkmanager-l2tp/Manifest
+++ b/net-vpn/networkmanager-l2tp/Manifest
@@ -1,2 +1,3 @@
DIST NetworkManager-l2tp-1.8.0.tar.xz 435964 BLAKE2B 05267b4bb1a824cd9478b79af4b07535b0b9245d34f49397feb778d806c814d6a7bcf723545d53b9f3d2d39e6de079fac00407e7c8d0e6389394aaf6a432b16f SHA512 8ef6732dbef2d24a51c6f70bcd98b272244dfc4d89e888e0d2c6c12b0042c1bcc750b73cdfda3489f4987af4fe85df4fc54976c48151996aa205939671d250da
DIST NetworkManager-l2tp-1.8.2.tar.xz 437032 BLAKE2B 24d3bce74d9b57228196b288406983423a98d242fc26129a14c144269a9173d5ab2b47ad9dcf7b16dde5b9f015e6f3851e34d1ebe7e5edf6769401a2377eb0b7 SHA512 fc7f4037a4e2d442231f3c72692b7d405f13507625828dc4b975fab3717c7c0daaeaa757ef2ed875f347a87ac4ccaf5a0df1834235d8879f3d1e0d1b450531b8
+DIST NetworkManager-l2tp-1.8.6.tar.xz 446780 BLAKE2B d1cc532a5aafab6c3876c74ad88387ee3a2db2d0844a4c79bea2afcd252aab9bbef1e3435075b5089d1f8471ba41b47f6054a06e1a3440cfe5fe7c432a5ee3fe SHA512 968e8c9140f800935e57e6a58fb4cc8a92385427b8a070a5106c37f5a9d05cfcc1333fe706dfa5ae79dfdcdde89e4becd7866a4e5f535b32e1edafe7171946a7
diff --git a/net-vpn/networkmanager-l2tp/networkmanager-l2tp-1.8.6.ebuild b/net-vpn/networkmanager-l2tp/networkmanager-l2tp-1.8.6.ebuild
new file mode 100644
index 000000000000..dd22005826d3
--- /dev/null
+++ b/net-vpn/networkmanager-l2tp/networkmanager-l2tp-1.8.6.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_PN="NetworkManager-l2tp"
+MY_P="${MY_PN}-${PV}"
+
+inherit eutils gnome.org autotools
+
+DESCRIPTION="NetworkManager L2TP plugin"
+HOMEPAGE="https://github.com/nm-l2tp/network-manager-l2tp"
+SRC_URI="https://github.com/nm-l2tp/${MY_PN}/releases/download/${PV}/${MY_P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gnome static-libs"
+
+RDEPEND="
+ >=net-misc/networkmanager-1.2[ppp]
+ dev-libs/dbus-glib
+ net-dialup/ppp[eap-tls]
+ net-dialup/xl2tpd
+ >=dev-libs/glib-2.32
+ || (
+ net-vpn/strongswan
+ net-vpn/libreswan
+ )
+ gnome? (
+ x11-libs/gtk+:3
+ app-crypt/libsecret
+ gnome-extra/nm-applet
+ )"
+
+BDEPEND="${RDEPEND}
+ sys-devel/gettext
+ dev-util/intltool
+ virtual/pkgconfig"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ eautoreconf
+ eapply_user
+}
+
+src_configure() {
+ local myeconfargs=(
+ --localstatedir=/var
+ $(use_with gnome)
+ $(use_enable static-libs static)
+ )
+
+ econf "${myeconfargs[@]}"
+}