diff options
-rw-r--r-- | net-misc/networkmanager-pptp/Manifest | 1 | ||||
-rw-r--r-- | net-misc/networkmanager-pptp/networkmanager-pptp-1.0.8.ebuild | 51 |
2 files changed, 52 insertions, 0 deletions
diff --git a/net-misc/networkmanager-pptp/Manifest b/net-misc/networkmanager-pptp/Manifest index b00561885c73..6f86dc2f18e5 100644 --- a/net-misc/networkmanager-pptp/Manifest +++ b/net-misc/networkmanager-pptp/Manifest @@ -1,2 +1,3 @@ DIST NetworkManager-pptp-1.0.2.tar.xz 353420 SHA256 37cb7c6064d1a65ea9b67bb9d31947c2434db3cfb55a2911481fa4e48e332017 SHA512 02518ed9b38ce8fde61d254a9375b709dbca394e5037f213203ab5b58dd7525813862d5a115f036612cefc362a28063cb2fd394621a53269a315578076592bbe WHIRLPOOL ca03929b928b8830b64ee8418e28f562d85da074a293e88938289230a4feb9afd691ef79fbdac8e435cc28fc0a98bb2b1161815b8c73c2bfd80a4c007f3a9dad DIST NetworkManager-pptp-1.0.6.tar.xz 354148 SHA256 96fa456ba43e62d017890efcad018894b1c0a9168f0aab3399f673313272c1be SHA512 0219b51d4a749f4f2164e9ffb94ae1c04fee2dc3477c0d16f8ed71d71728226568d733e86e880b76040affbf279718f2eb81b86be8dc76988ef0940c315a50ec WHIRLPOOL 70d92639cc578302aa3a306952998ca965839a10f30fef7e9bceb63274aea3934a4338cd6e4171cea839c1670d37dfad00bc8707ba02d24b4c8e710651d8f64f +DIST NetworkManager-pptp-1.0.8.tar.xz 365616 SHA256 6ff031baf170d890f779cfd15533ff0429999f1513aa3903a60c9d21ae09244c SHA512 81936de51669a3cb4fc1fba9139735cecdba8ee601ba95024a83d7197061431094239dd6ef2964c3b6a82afbf4fb6a0b13fa7b5fc0728c09cfb572857888430f WHIRLPOOL 909484a6f6ea43554f7c410a8a168b373a012201bd21e6b11f00a7f53bce57bc49f030a2015946ae48155f15883c53971a0b95769deb3694762d3c50f287796b diff --git a/net-misc/networkmanager-pptp/networkmanager-pptp-1.0.8.ebuild b/net-misc/networkmanager-pptp/networkmanager-pptp-1.0.8.ebuild new file mode 100644 index 000000000000..0c4c40b78b15 --- /dev/null +++ b/net-misc/networkmanager-pptp/networkmanager-pptp-1.0.8.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +GCONF_DEBUG="no" +GNOME_ORG_MODULE="NetworkManager-${PN##*-}" + +inherit gnome2 + +DESCRIPTION="NetworkManager PPTP plugin" +HOMEPAGE="https://wiki.gnome.org/Projects/NetworkManager" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="gtk" + +RDEPEND=" + >=net-misc/networkmanager-0.9.10:= + >=dev-libs/dbus-glib-0.74 + >=dev-libs/glib-2.32:2 + net-dialup/ppp:= + net-dialup/pptpclient + gtk? ( + app-crypt/libsecret + >=gnome-extra/nm-applet-1.0.5 + >=x11-libs/gtk+-3.4:3 + ) +" +DEPEND="${RDEPEND} + sys-devel/gettext + 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} +} |