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