1 |
commit: 7d57e44f5ad77e12dc33648d9ace431d88699349 |
2 |
Author: Maxim Koltsov <maksbotan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 17 07:28:10 2019 +0000 |
4 |
Commit: Maxim Koltsov <maksbotan <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 17 07:57:17 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d57e44f |
7 |
|
8 |
net-misc/sstp-client: bump to 1.0.12 |
9 |
|
10 |
Package-Manager: Portage-2.3.71, Repoman-2.3.12 |
11 |
Signed-off-by: Maxim Koltsov <maksbotan <AT> gentoo.org> |
12 |
|
13 |
net-misc/sstp-client/Manifest | 1 + |
14 |
.../files/sstp-client-1.0.12-fix-example.patch | 16 +++++++ |
15 |
.../sstp-client-1.0.12-remove-network-test.patch | 11 +++++ |
16 |
net-misc/sstp-client/sstp-client-1.0.12.ebuild | 56 ++++++++++++++++++++++ |
17 |
4 files changed, 84 insertions(+) |
18 |
|
19 |
diff --git a/net-misc/sstp-client/Manifest b/net-misc/sstp-client/Manifest |
20 |
index 13f6d60ca4c..b52914daab1 100644 |
21 |
--- a/net-misc/sstp-client/Manifest |
22 |
+++ b/net-misc/sstp-client/Manifest |
23 |
@@ -1,2 +1,3 @@ |
24 |
DIST sstp-client-1.0.10.tar.gz 3012713 BLAKE2B 6b924c9fef4df26a9aa93dd5670cae4dbfe020f2c1bfc955f88f229414b5295864c25637bddf3b80d522dd514a4f3042522f9615fe660165b4417d6ea832e4bf SHA512 8f3e4b1b4d795015230b3a1b8aabf7d5fddd89be511bd6a59c22e5414520a392ba430f66f30aa2b982f084955e0085b0ea66d5acf5fd00414dc37c2c52a78cb7 |
25 |
DIST sstp-client-1.0.11.tar.gz 3035707 BLAKE2B f534060bc47599a372b95b25400e7cb09911eb0216b11faa5bdcf0241d7c5caabd7df6065e58dff2b6b1f6c4e416499f58f92900da024d0ad0684aa3cc4d9abd SHA512 d22b03f1bc2d5215def6ce198d6e81b08a5cebc4db9de269bc2e66785845521f0606a96af5d9d257dcf78addafee8ad3d942de0075f47038fbfe0b5051002487 |
26 |
+DIST sstp-client-1.0.12.tar.gz 468683 BLAKE2B 4bb97465ee29eb6dd816a69b45c53e58e9de2cd5d7b5c9e39ea4ebbb3c3de0c21b3d95317114ae8c93bc3be359300bd6a55fa0512540bf25405fb47f8fb4e736 SHA512 d29128e59977fa844b0f2b02580284bb4e909994e5616c4dfa150b7a9807d0f34219355abe8c315c60c5f2482e3255824ce7e05566dbea9a7f13a1739d46468f |
27 |
|
28 |
diff --git a/net-misc/sstp-client/files/sstp-client-1.0.12-fix-example.patch b/net-misc/sstp-client/files/sstp-client-1.0.12-fix-example.patch |
29 |
new file mode 100644 |
30 |
index 00000000000..f2b81174fc1 |
31 |
--- /dev/null |
32 |
+++ b/net-misc/sstp-client/files/sstp-client-1.0.12-fix-example.patch |
33 |
@@ -0,0 +1,16 @@ |
34 |
+--- a/Makefile.am 2018-02-07 21:51:10.451717813 +0100 |
35 |
++++ b/Makefile.am 2018-02-07 21:54:43.811708840 +0100 |
36 |
+@@ -7,11 +7,11 @@ |
37 |
+ include \ |
38 |
+ src |
39 |
+ |
40 |
+-docdir = $(datadir)/doc/@PACKAGE@ |
41 |
+ pkgconfigdir = $(libdir)/pkgconfig |
42 |
+ pkgconfig_DATA = sstp-client-1.0.pc |
43 |
+ |
44 |
+-doc_DATA = \ |
45 |
++examplesdir = $(docdir)/examples |
46 |
++examples_DATA = \ |
47 |
+ sstp-test.example \ |
48 |
+ sstp-test-nopty.example |
49 |
+ |
50 |
|
51 |
diff --git a/net-misc/sstp-client/files/sstp-client-1.0.12-remove-network-test.patch b/net-misc/sstp-client/files/sstp-client-1.0.12-remove-network-test.patch |
52 |
new file mode 100644 |
53 |
index 00000000000..d6868f3e26b |
54 |
--- /dev/null |
55 |
+++ b/net-misc/sstp-client/files/sstp-client-1.0.12-remove-network-test.patch |
56 |
@@ -0,0 +1,11 @@ |
57 |
+--- a/src/Makefile.am 2018-02-07 21:42:37.755739374 +0100 |
58 |
++++ b/src/Makefile.am 2018-02-07 21:45:28.855732178 +0100 |
59 |
+@@ -23,7 +23,7 @@ |
60 |
+ utest_fcs \ |
61 |
+ utest_route |
62 |
+ |
63 |
+-TESTS= $(check_PROGRAMS) |
64 |
++TESTS= utest_task utest_cmac utest_chap utest_fcs |
65 |
+ |
66 |
+ sstpc_SOURCES = \ |
67 |
+ sstp-client.c \ |
68 |
|
69 |
diff --git a/net-misc/sstp-client/sstp-client-1.0.12.ebuild b/net-misc/sstp-client/sstp-client-1.0.12.ebuild |
70 |
new file mode 100644 |
71 |
index 00000000000..767cbdd4709 |
72 |
--- /dev/null |
73 |
+++ b/net-misc/sstp-client/sstp-client-1.0.12.ebuild |
74 |
@@ -0,0 +1,56 @@ |
75 |
+# Copyright 1999-2019 Gentoo Authors |
76 |
+# Distributed under the terms of the GNU General Public License v2 |
77 |
+ |
78 |
+EAPI=6 |
79 |
+ |
80 |
+inherit autotools linux-info user |
81 |
+ |
82 |
+DESCRIPTION="A client implementation of Secure Socket Tunneling Protocol (SSTP)" |
83 |
+HOMEPAGE="http://sstp-client.sourceforge.net/" |
84 |
+SRC_URI="mirror://sourceforge/sstp-client/${P}.tar.gz" |
85 |
+ |
86 |
+LICENSE="GPL-2+-with-openssl-exception" |
87 |
+SLOT="0" |
88 |
+KEYWORDS="~amd64 ~arm ~arm64 ~x86" |
89 |
+IUSE="static" |
90 |
+ |
91 |
+RDEPEND=">=dev-libs/libevent-2.0.10 |
92 |
+ dev-libs/openssl:0= |
93 |
+ net-dialup/ppp:=" |
94 |
+DEPEND="${RDEPEND} |
95 |
+ virtual/pkgconfig" |
96 |
+ |
97 |
+CONFIG_CHECK="~NETFILTER_NETLINK" |
98 |
+ |
99 |
+PATCHES=( "${FILESDIR}/${P}-remove-network-test.patch" |
100 |
+ "${FILESDIR}/${P}-fix-example.patch" |
101 |
+) |
102 |
+DOCS=( AUTHORS ChangeLog DEVELOPERS NEWS README TODO USING ) |
103 |
+ |
104 |
+pkg_setup() { |
105 |
+ enewgroup sstpc |
106 |
+ enewuser sstpc -1 -1 -1 sstpc |
107 |
+} |
108 |
+ |
109 |
+src_prepare() { |
110 |
+ default |
111 |
+ eautoreconf |
112 |
+} |
113 |
+ |
114 |
+src_configure() { |
115 |
+ local PPPD_VER="$(best_version net-dialup/ppp)" |
116 |
+ PPPD_VER=${PPPD_VER#*/*-} # reduce it to ${PV}-${PR} |
117 |
+ PPPD_VER=${PPPD_VER%%[_-]*} # main version without beta/pre/patch/revision |
118 |
+ econf \ |
119 |
+ --enable-ppp-plugin \ |
120 |
+ --enable-group=sstpc \ |
121 |
+ --enable-user=sstpc \ |
122 |
+ --with-pppd-plugin-dir="/usr/$(get_libdir)/pppd/${PPPD_VER}" \ |
123 |
+ --with-runtime-dir="/run/sstpc" \ |
124 |
+ $(use_enable static) |
125 |
+} |
126 |
+ |
127 |
+src_install() { |
128 |
+ default |
129 |
+ find "${D}" -name '*.la' -delete || die |
130 |
+} |