diff options
author | Mart Raudsepp <leio@gentoo.org> | 2019-02-26 02:53:44 +0200 |
---|---|---|
committer | Mart Raudsepp <leio@gentoo.org> | 2019-02-26 02:53:44 +0200 |
commit | 47e42989fd50cffdae935c6a5fcc8826ef1cd207 (patch) | |
tree | cbaa639bb25e001e7b7cb28994e6fab3d492295b /net-vpn | |
parent | net-misc/networkmanager-strongswan: pkgmove to net-vpn/networkmanager-strongswan (diff) | |
download | gentoo-47e42989fd50cffdae935c6a5fcc8826ef1cd207.tar.gz gentoo-47e42989fd50cffdae935c6a5fcc8826ef1cd207.tar.bz2 gentoo-47e42989fd50cffdae935c6a5fcc8826ef1cd207.zip |
net-misc/networkmanager-pptp: pkgmove to net-vpn/networkmanager-pptp
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
Diffstat (limited to 'net-vpn')
-rw-r--r-- | net-vpn/networkmanager-pptp/Manifest | 1 | ||||
-rw-r--r-- | net-vpn/networkmanager-pptp/metadata.xml | 8 | ||||
-rw-r--r-- | net-vpn/networkmanager-pptp/networkmanager-pptp-1.2.8.ebuild | 52 |
3 files changed, 61 insertions, 0 deletions
diff --git a/net-vpn/networkmanager-pptp/Manifest b/net-vpn/networkmanager-pptp/Manifest new file mode 100644 index 000000000000..a5eb2bb09e5b --- /dev/null +++ b/net-vpn/networkmanager-pptp/Manifest @@ -0,0 +1 @@ +DIST NetworkManager-pptp-1.2.8.tar.xz 401540 BLAKE2B 64b3fe344a39eb64b462bda9204fb80b95a6cb54988efef9dbd1a5a6b04b3577edee97afabef410488868736d751846bdd98f3965a96806790527434c8207ec8 SHA512 ff1bee257d6aa6750c2fbd302edc3022780e9182fde1d79d4b37246daf01b0a9e5115dd64ec70a4b128e273eff6f9bc22af87fe2b25618008be6f452bbcd41a7 diff --git a/net-vpn/networkmanager-pptp/metadata.xml b/net-vpn/networkmanager-pptp/metadata.xml new file mode 100644 index 000000000000..996e7cacd217 --- /dev/null +++ b/net-vpn/networkmanager-pptp/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>gnome@gentoo.org</email> + <name>Gentoo GNOME Desktop</name> + </maintainer> +</pkgmetadata> diff --git a/net-vpn/networkmanager-pptp/networkmanager-pptp-1.2.8.ebuild b/net-vpn/networkmanager-pptp/networkmanager-pptp-1.2.8.ebuild new file mode 100644 index 000000000000..a20000d7800e --- /dev/null +++ b/net-vpn/networkmanager-pptp/networkmanager-pptp-1.2.8.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +GNOME_ORG_MODULE="NetworkManager-${PN##*-}" + +inherit gnome2 + +DESCRIPTION="NetworkManager PPTP VPN plugin" +HOMEPAGE="https://wiki.gnome.org/Projects/NetworkManager/VPN" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="amd64 ~arm x86" +IUSE="gtk" + +RDEPEND=" + >=net-misc/networkmanager-1.2.0:= + >=dev-libs/dbus-glib-0.74 + >=dev-libs/glib-2.32:2 + net-dialup/ppp:= + net-dialup/pptpclient + gtk? ( + >=app-crypt/libsecret-0.18 + >=gnome-extra/nm-applet-1.2.0 + >=x11-libs/gtk+-3.4:3 + ) +" +# libxml2 required for glib-compile-resources +DEPEND="${RDEPEND} + sys-devel/gettext + dev-libs/libxml2:2 + dev-util/gdbus-codegen + dev-util/intltool + virtual/pkgconfig +" + +src_configure() { + local myconf + # Same hack as net-dialup/pptpd to get proper plugin dir for ppp, bug #519986 + 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 + myconf="${myconf} --with-pppd-plugin-dir=/usr/$(get_libdir)/pppd/${PPPD_VER}" + + gnome2_src_configure \ + --disable-more-warnings \ + --disable-static \ + --with-dist-version=Gentoo \ + $(use_with gtk gnome) \ + ${myconf} +} |