1 |
commit: 9a48321c66aeaa7df7fbfa15fe492b6e59893ce2 |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Apr 8 21:15:41 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=9a48321c |
7 |
|
8 |
net-vpn/networkmanager-sstp: Version bump to 1.2.6 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/608902 |
11 |
Closes: https://bugs.gentoo.org/741108 |
12 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
13 |
|
14 |
net-vpn/networkmanager-sstp/Manifest | 1 + |
15 |
.../networkmanager-sstp-1.2.6.ebuild | 60 ++++++++++++++++++++++ |
16 |
2 files changed, 61 insertions(+) |
17 |
|
18 |
diff --git a/net-vpn/networkmanager-sstp/Manifest b/net-vpn/networkmanager-sstp/Manifest |
19 |
index 90ed8233902a..6bf141bbaa3d 100644 |
20 |
--- a/net-vpn/networkmanager-sstp/Manifest |
21 |
+++ b/net-vpn/networkmanager-sstp/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST NetworkManager-sstp-1.2.0.tar.bz2 440695 BLAKE2B 170221842c25945da09f94364642be94993ac4ef7bbaffebefc463e18eeff78f3a58d95607a6f0be9fb5ecdabee244d64abb02eb56deb213ac089019089821f4 SHA512 31c7f61c2d0326c2ddc681690d4a9e0a25f29b3b5f51c44ea196cd74aab1002a6eb66bd06bddd8218961b18e666d5c28e57cfe0b2694a686ea8eb4195fcd9776 |
24 |
+DIST NetworkManager-sstp-1.2.6.tar.bz2 450813 BLAKE2B 9eefc73a676c825fd56b36085385fc382616059b82f8c14394e315b657162baa608f15046cad584d088774af1432a4e4d3751ecbecc6e779af7080c4bec9034f SHA512 60f5636e73d40ad3e16e5751a22ec12616e8d1fcffe63cba2ae1d04a13edd553c8c72a336ec52d353be6df5431a8a27a74e6e056b1a1a18ed050d5ec226bbe8e |
25 |
|
26 |
diff --git a/net-vpn/networkmanager-sstp/networkmanager-sstp-1.2.6.ebuild b/net-vpn/networkmanager-sstp/networkmanager-sstp-1.2.6.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..9d5cf1c5a99e |
29 |
--- /dev/null |
30 |
+++ b/net-vpn/networkmanager-sstp/networkmanager-sstp-1.2.6.ebuild |
31 |
@@ -0,0 +1,60 @@ |
32 |
+# Copyright 1999-2022 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+ |
37 |
+MY_PN="NetworkManager-sstp" |
38 |
+MY_P="${MY_PN}-${PV}" |
39 |
+ |
40 |
+DESCRIPTION="Client for the proprietary Microsoft Secure Socket Tunneling Protocol(SSTP)" |
41 |
+HOMEPAGE="https://sourceforge.net/projects/sstp-client/" |
42 |
+SRC_URI="mirror://sourceforge/project/sstp-client/network-manager-sstp//${MY_P}.tar.bz2" |
43 |
+ |
44 |
+LICENSE="GPL-2" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~x86" |
47 |
+IUSE="gtk" |
48 |
+ |
49 |
+RDEPEND=" |
50 |
+ >=dev-libs/glib-2.32:2 |
51 |
+ net-misc/sstp-client |
52 |
+ >=net-misc/networkmanager-1.1.0 |
53 |
+ net-dialup/ppp:= |
54 |
+ gtk? ( |
55 |
+ >=x11-libs/gtk+-3.4:3 |
56 |
+ >=net-libs/libnma-1.2.0 |
57 |
+ >=app-crypt/libsecret-0.18 |
58 |
+ ) |
59 |
+" |
60 |
+DEPEND="${RDEPEND}" |
61 |
+BDEPEND=" |
62 |
+ dev-util/gdbus-codegen |
63 |
+ virtual/pkgconfig |
64 |
+ sys-devel/gettext |
65 |
+ dev-util/intltool |
66 |
+" |
67 |
+ |
68 |
+S="${WORKDIR}/${MY_P}" |
69 |
+ |
70 |
+src_prepare() { |
71 |
+ # Bug #741108 |
72 |
+ sed -i 's|/appdata|/metainfo|g' Makefile.{in,am} || die |
73 |
+ |
74 |
+ default |
75 |
+} |
76 |
+ |
77 |
+src_configure() { |
78 |
+ local PPPD_VERSION="$(echo $(best_version net-dialup/ppp) | sed -e 's:net-dialup/ppp-\(.*\):\1:' -e 's:-r.*$::')" |
79 |
+ econf \ |
80 |
+ --disable-more-warnings \ |
81 |
+ --disable-static \ |
82 |
+ --with-dist-version=Gentoo \ |
83 |
+ --with-pppd-plugin-dir="${EPREFIX}/usr/$(get_libdir)/pppd/${PPPD_VERSION}" \ |
84 |
+ $(use_with gtk gnome) \ |
85 |
+ --without-libnm-glib |
86 |
+} |
87 |
+ |
88 |
+src_install() { |
89 |
+ default |
90 |
+ find "${ED}" -type f -name '*.la' -delete || die |
91 |
+} |