From f79481281254b30f80bf116dacea59a528047ad1 Mon Sep 17 00:00:00 2001 From: Piotr Karbowski Date: Tue, 3 Mar 2020 21:24:59 +0100 Subject: net-vpn/networkmanager-l2tp: 1.8.0 bump; adding myself as another maintainer. Added strongswan as alternative to libreswan that does not mantke Meraki and added dependency on gnome-extra/nm-applet as it lnks to libnma if USE=gnome. As alexxy seems to be unreachable for 2 weeks already, doing the bump and adding myself as maintainer. Closes: https://bugs.gentoo.org/711358 Signed-off-by: Piotr Karbowski --- .../networkmanager-l2tp-1.8.0.ebuild | 56 ++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 net-vpn/networkmanager-l2tp/networkmanager-l2tp-1.8.0.ebuild (limited to 'net-vpn/networkmanager-l2tp/networkmanager-l2tp-1.8.0.ebuild') diff --git a/net-vpn/networkmanager-l2tp/networkmanager-l2tp-1.8.0.ebuild b/net-vpn/networkmanager-l2tp/networkmanager-l2tp-1.8.0.ebuild new file mode 100644 index 000000000000..cf78b867850b --- /dev/null +++ b/net-vpn/networkmanager-l2tp/networkmanager-l2tp-1.8.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2020 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 + gnome-base/libgnome-keyring + 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[@]}" +} -- cgit v1.2.3-65-gdbad