1 |
commit: df4771bc337c195cb8f47812b6ebaa9abe02cab7 |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 7 10:09:46 2018 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 7 10:12:34 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df4771bc |
7 |
|
8 |
net-misc/networkmanager-pptp: bump to 1.2.6 |
9 |
|
10 |
Package-Manager: Portage-2.3.49, Repoman-2.3.10 |
11 |
|
12 |
net-misc/networkmanager-pptp/Manifest | 1 + |
13 |
.../networkmanager-pptp-1.2.6.ebuild | 52 ++++++++++++++++++++++ |
14 |
2 files changed, 53 insertions(+) |
15 |
|
16 |
diff --git a/net-misc/networkmanager-pptp/Manifest b/net-misc/networkmanager-pptp/Manifest |
17 |
index 37d3980f0ba..fe5d5628c97 100644 |
18 |
--- a/net-misc/networkmanager-pptp/Manifest |
19 |
+++ b/net-misc/networkmanager-pptp/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST NetworkManager-pptp-1.2.4.tar.xz 382512 BLAKE2B 94e0bcfa3d3574bad016cec571e134d713bf4df48480a3fd71d3313a7c90c76ab7e3b9c8def60ceed9fcf4e3035425e5fe9a1924694535970d6458e0d202acea SHA512 b8983c6a6415e2f8757e91dfdeba66a7ba1264c01569f39b6da830def86d2c09d1084f4b561ca5ff48511b48f83d94fa004342efd54862d235ab75a49e4e7b33 |
22 |
+DIST NetworkManager-pptp-1.2.6.tar.xz 399292 BLAKE2B 91ca52d0e4373d9273c4d19cd9dec74e30106daf9bd10b4215a998ceef1680ebd0a369d5b7c4b75e2fed0d6179ea22e4a8c1399d56e97b98cc214b4112b19986 SHA512 aaa74eba949a93a132ebb956bfec46f8cf7b9807cf984a1fd8c4f71a252709d9e2b144cd7b4ce1f560501056c758f028eeb2c53d5cccaa79f8dc6b9d595763f8 |
23 |
|
24 |
diff --git a/net-misc/networkmanager-pptp/networkmanager-pptp-1.2.6.ebuild b/net-misc/networkmanager-pptp/networkmanager-pptp-1.2.6.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..40085ef1b61 |
27 |
--- /dev/null |
28 |
+++ b/net-misc/networkmanager-pptp/networkmanager-pptp-1.2.6.ebuild |
29 |
@@ -0,0 +1,52 @@ |
30 |
+# Copyright 1999-2018 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=6 |
34 |
+GNOME_ORG_MODULE="NetworkManager-${PN##*-}" |
35 |
+ |
36 |
+inherit gnome2 |
37 |
+ |
38 |
+DESCRIPTION="NetworkManager PPTP plugin" |
39 |
+HOMEPAGE="https://wiki.gnome.org/Projects/NetworkManager" |
40 |
+ |
41 |
+LICENSE="GPL-2+" |
42 |
+SLOT="0" |
43 |
+KEYWORDS="~amd64 ~arm ~x86" |
44 |
+IUSE="gtk" |
45 |
+ |
46 |
+RDEPEND=" |
47 |
+ >=net-misc/networkmanager-1.2.0:= |
48 |
+ >=dev-libs/dbus-glib-0.74 |
49 |
+ >=dev-libs/glib-2.32:2 |
50 |
+ net-dialup/ppp:= |
51 |
+ net-dialup/pptpclient |
52 |
+ gtk? ( |
53 |
+ >=app-crypt/libsecret-0.18 |
54 |
+ >=gnome-extra/nm-applet-1.2.0 |
55 |
+ >=x11-libs/gtk+-3.4:3 |
56 |
+ ) |
57 |
+" |
58 |
+# libxml2 required for glib-compile-resources |
59 |
+DEPEND="${RDEPEND} |
60 |
+ sys-devel/gettext |
61 |
+ dev-libs/libxml2:2 |
62 |
+ dev-util/gdbus-codegen |
63 |
+ dev-util/intltool |
64 |
+ virtual/pkgconfig |
65 |
+" |
66 |
+ |
67 |
+src_configure() { |
68 |
+ local myconf |
69 |
+ # Same hack as net-dialup/pptpd to get proper plugin dir for ppp, bug #519986 |
70 |
+ local PPPD_VER=`best_version net-dialup/ppp` |
71 |
+ PPPD_VER=${PPPD_VER#*/*-} #reduce it to ${PV}-${PR} |
72 |
+ PPPD_VER=${PPPD_VER%%[_-]*} # main version without beta/pre/patch/revision |
73 |
+ myconf="${myconf} --with-pppd-plugin-dir=/usr/$(get_libdir)/pppd/${PPPD_VER}" |
74 |
+ |
75 |
+ gnome2_src_configure \ |
76 |
+ --disable-more-warnings \ |
77 |
+ --disable-static \ |
78 |
+ --with-dist-version=Gentoo \ |
79 |
+ $(use_with gtk gnome) \ |
80 |
+ ${myconf} |
81 |
+} |