From 1b039aa23880467ce85719b028821d6b60c60dab Mon Sep 17 00:00:00 2001 From: Alexey Shvetsov Date: Wed, 17 Apr 2019 22:17:52 +0300 Subject: net-vpn/networkmanager-l2tp: Initial import Package-Manager: Portage-2.3.63, Repoman-2.3.12 Signed-off-by: Alexey Shvetsov --- net-vpn/networkmanager-l2tp/Manifest | 1 + net-vpn/networkmanager-l2tp/metadata.xml | 8 ++++ .../networkmanager-l2tp-1.2.12.ebuild | 52 ++++++++++++++++++++++ 3 files changed, 61 insertions(+) create mode 100644 net-vpn/networkmanager-l2tp/Manifest create mode 100644 net-vpn/networkmanager-l2tp/metadata.xml create mode 100644 net-vpn/networkmanager-l2tp/networkmanager-l2tp-1.2.12.ebuild (limited to 'net-vpn/networkmanager-l2tp') diff --git a/net-vpn/networkmanager-l2tp/Manifest b/net-vpn/networkmanager-l2tp/Manifest new file mode 100644 index 000000000000..a23ae6294c89 --- /dev/null +++ b/net-vpn/networkmanager-l2tp/Manifest @@ -0,0 +1 @@ +DIST NetworkManager-l2tp-1.2.12.tar.xz 397496 BLAKE2B 7ff57356dcb27d37af52d2f1778875632f65705ee2bff6a047415fef2c1d34fcc11abae08053283ba63ffe92726efc32027d703f50c82a1527f500b81305794f SHA512 b3e6ab72e81df568b77afabd91cef40b35d2b9227087495b0b44f966ef937b6c78ccc94b019102c13fc76ba443f850fffe1ad7445f5967a1737532036e632422 diff --git a/net-vpn/networkmanager-l2tp/metadata.xml b/net-vpn/networkmanager-l2tp/metadata.xml new file mode 100644 index 000000000000..086586c08a88 --- /dev/null +++ b/net-vpn/networkmanager-l2tp/metadata.xml @@ -0,0 +1,8 @@ + + + + + alexxy@gentoo.org + Alexey Shvetsov + + diff --git a/net-vpn/networkmanager-l2tp/networkmanager-l2tp-1.2.12.ebuild b/net-vpn/networkmanager-l2tp/networkmanager-l2tp-1.2.12.ebuild new file mode 100644 index 000000000000..a1b6b45566a7 --- /dev/null +++ b/net-vpn/networkmanager-l2tp/networkmanager-l2tp-1.2.12.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2019 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/libreswan + gnome? ( + x11-libs/gtk+:3 + gnome-base/libgnome-keyring + )" + +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