diff options
author | Christopher Byrne <salah.coronya@gmail.com> | 2024-07-08 21:03:56 -0500 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2024-07-27 10:06:43 +0300 |
commit | 493702ded6c3029dc766e025dc02a01a0abe4c8f (patch) | |
tree | c4ecdd46876e70eac53f331c74dfa2450df82029 /net-vpn/networkmanager-l2tp | |
parent | sys-fs/mount-zip: Upgrade to mount-zip 1.0.15 (diff) | |
download | gentoo-493702ded6c3029dc766e025dc02a01a0abe4c8f.tar.gz gentoo-493702ded6c3029dc766e025dc02a01a0abe4c8f.tar.bz2 gentoo-493702ded6c3029dc766e025dc02a01a0abe4c8f.zip |
net-vpn/networkmanager-l2tp: add 1.20.16
Signed-off-by: Christopher Byrne <salah.coronya@gmail.com>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-vpn/networkmanager-l2tp')
-rw-r--r-- | net-vpn/networkmanager-l2tp/Manifest | 1 | ||||
-rw-r--r-- | net-vpn/networkmanager-l2tp/networkmanager-l2tp-1.20.16.ebuild | 69 |
2 files changed, 70 insertions, 0 deletions
diff --git a/net-vpn/networkmanager-l2tp/Manifest b/net-vpn/networkmanager-l2tp/Manifest index add183aa4208..6028f10104a1 100644 --- a/net-vpn/networkmanager-l2tp/Manifest +++ b/net-vpn/networkmanager-l2tp/Manifest @@ -1 +1,2 @@ +DIST NetworkManager-l2tp-1.20.16.tar.xz 498140 BLAKE2B 0990a2b8a99e602302725f81e08a134779df1e0fbccd96cf2b7626c112578bb8ff8a4421d2641ec659a11482d20ade3fee87fc0c32acbf7bc3d598507a4640ef SHA512 d1a8364bae0116d556e1b554846df4efa415c0b84fa667181daae50ea706f7f62fa016290c35985667e9bda7ac237198575083dc816c05f16d6ac997da02aa7d DIST NetworkManager-l2tp-1.20.8.tar.xz 487316 BLAKE2B 97a0b13a56babee47c2fd57b4bb655b79b96206eb3a51dacef642812fdf9059483fb7176f2be6ba86fc286cb6d1efdbada2c3dc8564e89598670781786e76011 SHA512 6ed2ab401821878bf775a27d43e540acce0ea6504a1a4bac436164776ef9e0eacef7963f0362691ef4ad7304e30e2c3199ba4fb41e24918b83aab88b34f7bb6a diff --git a/net-vpn/networkmanager-l2tp/networkmanager-l2tp-1.20.16.ebuild b/net-vpn/networkmanager-l2tp/networkmanager-l2tp-1.20.16.ebuild new file mode 100644 index 000000000000..4bdc18405f6a --- /dev/null +++ b/net-vpn/networkmanager-l2tp/networkmanager-l2tp-1.20.16.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PN="NetworkManager-l2tp" +MY_P="${MY_PN}-${PV}" +inherit gnome.org + +DESCRIPTION="NetworkManager L2TP plugin" +HOMEPAGE="https://github.com/nm-l2tp/NetworkManager-l2tp" +SRC_URI="https://github.com/nm-l2tp/${MY_PN}/releases/download/${PV}/${MY_P}.tar.xz" + +S="${WORKDIR}/${MY_P}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="gtk" + +COMMON_DEPEND="dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + dev-libs/openssl:= + net-dialup/ppp:=[eap-tls(+)] + net-dialup/xl2tpd + >=net-misc/networkmanager-1.20[ppp] + || ( + net-vpn/strongswan + net-vpn/libreswan + ) + gtk? ( + app-crypt/libsecret + gnome-extra/nm-applet + media-libs/harfbuzz:= + net-libs/libnma + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:3 + x11-libs/pango + )" +DEPEND="${COMMON_DEPEND} + x11-base/xorg-proto" +RDEPEND="${COMMON_DEPEND} + dev-libs/dbus-glib" +BDEPEND="dev-util/gdbus-codegen + dev-util/intltool + sys-devel/gettext + virtual/pkgconfig" + +src_configure() { + local PPPD_VER=$(best_version net-dialup/ppp) + PPPD_VER=${PPPD_VER#*/*-} # reduce it to ${PV}-${PR} + PPPD_VER=${PPPD_VER%%[_-]*} # main version without beta/pre/patch/revision + + local myeconfargs=( + --localstatedir=/var + --with-pppd-plugin-dir=/usr/$(get_libdir)/pppd/${PPPD_VER} + $(use_with gtk gnome) + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die +} |