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