summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2019-02-26 13:38:35 +0300
committerSergey Popov <pinkbyte@gentoo.org>2019-02-26 13:38:50 +0300
commita99c81cd7c05e54801dc825cb8e410a30f918345 (patch)
tree9fbef45494e56ad2d3da49703b4abbe7f9c7041f /net-vpn/networkmanager-sstp
parentdev-db/sqlcipher: version bump (diff)
downloadgentoo-a99c81cd7c05e54801dc825cb8e410a30f918345.tar.gz
gentoo-a99c81cd7c05e54801dc825cb8e410a30f918345.tar.bz2
gentoo-a99c81cd7c05e54801dc825cb8e410a30f918345.zip
net-misc/networkmanager-sstp: pkgmove to net-vpn/networkmanager-sstp
Reported-by: Mart Raudsepp <leio@gentoo.org> Signed-off-by: Sergey Popov <pinkbyte@gentoo.org>
Diffstat (limited to 'net-vpn/networkmanager-sstp')
-rw-r--r--net-vpn/networkmanager-sstp/Manifest1
-rw-r--r--net-vpn/networkmanager-sstp/metadata.xml11
-rw-r--r--net-vpn/networkmanager-sstp/networkmanager-sstp-1.2.0.ebuild52
3 files changed, 64 insertions, 0 deletions
diff --git a/net-vpn/networkmanager-sstp/Manifest b/net-vpn/networkmanager-sstp/Manifest
new file mode 100644
index 000000000000..90ed8233902a
--- /dev/null
+++ b/net-vpn/networkmanager-sstp/Manifest
@@ -0,0 +1 @@
+DIST NetworkManager-sstp-1.2.0.tar.bz2 440695 BLAKE2B 170221842c25945da09f94364642be94993ac4ef7bbaffebefc463e18eeff78f3a58d95607a6f0be9fb5ecdabee244d64abb02eb56deb213ac089019089821f4 SHA512 31c7f61c2d0326c2ddc681690d4a9e0a25f29b3b5f51c44ea196cd74aab1002a6eb66bd06bddd8218961b18e666d5c28e57cfe0b2694a686ea8eb4195fcd9776
diff --git a/net-vpn/networkmanager-sstp/metadata.xml b/net-vpn/networkmanager-sstp/metadata.xml
new file mode 100644
index 000000000000..39465ceb7743
--- /dev/null
+++ b/net-vpn/networkmanager-sstp/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>pinkbyte@gentoo.org</email>
+ <name>Sergey Popov</name>
+</maintainer>
+<upstream>
+ <remote-id type="sourceforge">sstp-client</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/net-vpn/networkmanager-sstp/networkmanager-sstp-1.2.0.ebuild b/net-vpn/networkmanager-sstp/networkmanager-sstp-1.2.0.ebuild
new file mode 100644
index 000000000000..42e7b976ce88
--- /dev/null
+++ b/net-vpn/networkmanager-sstp/networkmanager-sstp-1.2.0.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils
+
+MY_PN="NetworkManager-sstp"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Client for the proprietary Microsoft Secure Socket Tunneling Protocol(SSTP)"
+HOMEPAGE="https://sourceforge.net/projects/sstp-client/"
+SRC_URI="mirror://sourceforge/project/sstp-client/network-manager-sstp/${PV}/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gtk"
+
+RDEPEND=">=dev-libs/dbus-glib-0.74
+ net-misc/sstp-client
+ >=net-misc/networkmanager-${PV}
+ net-dialup/ppp:=
+ gtk? (
+ x11-libs/gtk+:3
+ gnome-base/gnome-keyring
+ gnome-base/libgnome-keyring
+ )
+"
+
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ sys-devel/gettext
+ dev-util/intltool
+"
+
+S="${WORKDIR}/${MY_P}"
+
+src_configure() {
+ local PPPD_VERSION="$(echo $(best_version net-dialup/ppp) | sed -e 's:net-dialup/ppp-\(.*\):\1:' -e 's:-r.*$::')"
+ econf \
+ --disable-more-warnings \
+ --disable-static \
+ --with-dist-version=Gentoo \
+ --with-pppd-plugin-dir="${EPREFIX}/usr/$(get_libdir)/pppd/${PPPD_VERSION}" \
+ $(use_with gtk gnome)
+}
+
+src_install() {
+ default
+ prune_libtool_files
+}