net-misc/networkmanager-pptp: Version bump
authorPacho Ramos <pacho@gentoo.org>
Sat, 5 Sep 2015 11:01:31 +0000 (13:01 +0200)
committerPacho Ramos <pacho@gentoo.org>
Sat, 5 Sep 2015 11:01:31 +0000 (13:01 +0200)
Package-Manager: portage-2.2.20.1

net-misc/networkmanager-pptp/Manifest
net-misc/networkmanager-pptp/networkmanager-pptp-1.0.6.ebuild [new file with mode: 0644]

index b8fe619348c83d34cd5d3db119e13d14490ce89c..6b9438fef2d7f6b219f4dacc4c0f1dc618a3a0b2 100644 (file)
@@ -2,3 +2,4 @@ DIST NetworkManager-pptp-0.9.10.0.tar.xz 350984 SHA256 564b16c9b2821a1d2ede06f56
 DIST NetworkManager-pptp-0.9.8.4.tar.xz 353004 SHA256 97ba8f6f726056c3b8e0e1c8d2ab3d32791cadd7c3a38e0478fb2bd3ecafdce8 SHA512 86138cb91b22596c075575cad7ad6c5c9efa3cc6d3491bb148b6ba79007968764b6043c3b89d1034b6825d25f2cf56158f9f278d5a2c12636e34c541384e5489 WHIRLPOOL 2ce9389bbc3623748f74e706389ae7b6969aa82fe0c63dcc6293721b90d373d4046a7a89c09e26a80531724b7208eba49871b139924141969dddb519f9e6884d
 DIST NetworkManager-pptp-1.0.0.tar.xz 351716 SHA256 200d5c65cdae248d3b4d0daa76a4f8bc1432376ed4da7afedd5085bb0da7ee76 SHA512 554811d19324fa73406b6a37f0bcb8694f076e25eedb8f2ba6ac4acda4d2890bb4af750d6ec14df3a0ee330f137f385f40fa8ccb579c6d712a08d9aba9080b77 WHIRLPOOL cfd0e7cce0a049123d05e60acde1122569e0f80f414f4b0b89a74107f3898db4a95205f6e0646fe687fb4a3927682faae0fa1937b7634df30bc4db65fd75e04a
 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
diff --git a/net-misc/networkmanager-pptp/networkmanager-pptp-1.0.6.ebuild b/net-misc/networkmanager-pptp/networkmanager-pptp-1.0.6.ebuild
new file mode 100644 (file)
index 0000000..0c4c40b
--- /dev/null
@@ -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}
+}