Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libmicrohttpd/
Date: Tue, 30 Jun 2020 18:36:21
Message-Id: 1593542156.a54b2bf9602081ed050eaad1d700c21f8a50de17.mattst88@gentoo
1 commit: a54b2bf9602081ed050eaad1d700c21f8a50de17
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jun 30 18:33:47 2020 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Tue Jun 30 18:35:56 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a54b2bf9
7
8 Revert "net-libs/libmicrohttpd: remove older versions"
9
10 The only stable version on sparc was removed because sparc@ was never
11 Cc'd in the stabilization bug (#725362).
12
13 This reverts commit ffb7a83f4a19f43f32c6ee3640c46917d6a31e3b.
14
15 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
16
17 net-libs/libmicrohttpd/Manifest | 3 ++
18 net-libs/libmicrohttpd/libmicrohttpd-0.9.65.ebuild | 61 ++++++++++++++++++++++
19 net-libs/libmicrohttpd/libmicrohttpd-0.9.68.ebuild | 61 ++++++++++++++++++++++
20 net-libs/libmicrohttpd/libmicrohttpd-0.9.69.ebuild | 61 ++++++++++++++++++++++
21 net-libs/libmicrohttpd/metadata.xml | 1 +
22 5 files changed, 187 insertions(+)
23
24 diff --git a/net-libs/libmicrohttpd/Manifest b/net-libs/libmicrohttpd/Manifest
25 index 9d74dc3a0a1..e30a5d051b4 100644
26 --- a/net-libs/libmicrohttpd/Manifest
27 +++ b/net-libs/libmicrohttpd/Manifest
28 @@ -1,2 +1,5 @@
29 +DIST libmicrohttpd-0.9.65.tar.gz 1633346 BLAKE2B ce6ba2b6c52e30194872c66ab5b9e358f0979dd99ef24ce59fddf9e6fc2b76b01f424f9c9b511cf88c2dde2ca98d3f6a25cbcd26bdfadf0b9db65efd36435dc7 SHA512 751b7a5970cef07f260660254bfdeda4882e9e28d5cbdfbfed50e2c4583caf8f19c96ede6d368babc4223e7fbdf85d85eec37dc96abf333377dc13d6a9c6be12
30 +DIST libmicrohttpd-0.9.68.tar.gz 1884342 BLAKE2B 3f74c48917fa19753a617242fa07b99a69510a14a802609d038964d927516f8f52b4330d0eee2c7b98096b2d840158e4945310edef290224ea256d9616fb4d94 SHA512 9daaab5fb35fef6f2a19b7e08eeb8473aeb0a67631808a8d7a7f78a09cb621ca5d32dbbbca616865a40afb92f8c6495f9e2ba1674880af8011a2bc798c070a13
31 +DIST libmicrohttpd-0.9.69.tar.gz 1884511 BLAKE2B 6470b52e58d82a7fee17d8545e546cb9d3fa38012bcf3380d238afdf0f1b5391e19df53a89ac977ac9452d23610dc851f5da5972cace8d8f1088e1040d173572 SHA512 1633d2e606f476489e8af549fff88735e3b5641c85d59071edc8b2e1177fe1b6302578b69b8ff6669d3e1954c20cf0fa1ee52b42378362edd26197d8992e469b
32 DIST libmicrohttpd-0.9.70.tar.gz 1886435 BLAKE2B 09ae33c66f151d9ce03b8333b26c32e2c0896d150441f39da632fe1316c66123f343d021d7fc9a974fbbab7e642d253138d071d4ee506477de46bffd3ce4691c SHA512 391293688d5ef51cf8d918294000384cb291f46bf767295af5a97123c06c75573d480a6c4b2486712b53636fe3e5dc1f8827ccf4335ac435ec85c3529733d8f5
33 DIST libmicrohttpd-0.9.71.tar.gz 1894695 BLAKE2B 46bee477972a1bf791f9edaa7451790e03fccfac9a8b79fd6fb4038fbd2c3c0f268df787894cd21ddba2640fa087537f681dec4765fe03064a3c9f79aa708b26 SHA512 dab92c0979f8016844970ce4e110469e608e2e15b4096cf518350541248f123e40a4c0289ba025302e318e0bf47a957e9a3dcdee6f55936504b6c1c4f02efb86
34
35 diff --git a/net-libs/libmicrohttpd/libmicrohttpd-0.9.65.ebuild b/net-libs/libmicrohttpd/libmicrohttpd-0.9.65.ebuild
36 new file mode 100644
37 index 00000000000..e8edd69c90f
38 --- /dev/null
39 +++ b/net-libs/libmicrohttpd/libmicrohttpd-0.9.65.ebuild
40 @@ -0,0 +1,61 @@
41 +# Copyright 1999-2020 Gentoo Authors
42 +# Distributed under the terms of the GNU General Public License v2
43 +
44 +EAPI="7"
45 +
46 +inherit multilib-minimal
47 +
48 +MY_P="${P/_/}"
49 +
50 +DESCRIPTION="Small C library to run an HTTP server as part of another application"
51 +HOMEPAGE="https://www.gnu.org/software/libmicrohttpd/"
52 +SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.gz"
53 +
54 +LICENSE="LGPL-2.1"
55 +SLOT="0/12"
56 +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86"
57 +IUSE="+epoll messages ssl static-libs test"
58 +RESTRICT="!test? ( test )"
59 +
60 +RDEPEND="ssl? (
61 + dev-libs/libgcrypt:0=
62 + net-libs/gnutls
63 + )"
64 +
65 +# We disable tests below because they're broken,
66 +# but if enabled, we'll need this.
67 +DEPEND="${RDEPEND}
68 + test? (
69 + ssl? ( net-misc/curl[ssl] )
70 + )"
71 +
72 +S=${WORKDIR}/${MY_P}
73 +
74 +DOCS="AUTHORS NEWS README ChangeLog"
75 +
76 +multilib_src_configure() {
77 + ECONF_SOURCE="${S}" \
78 + econf \
79 + --enable-bauth \
80 + --enable-dauth \
81 + --disable-examples \
82 + --enable-postprocessor \
83 + --disable-thread-names \
84 + $(use_enable epoll) \
85 + $(use_enable test curl) \
86 + $(use_enable messages) \
87 + $(use_enable ssl https) \
88 + $(use_with ssl gnutls) \
89 + $(use_enable static-libs static)
90 +}
91 +
92 +# tests are broken in the portage environment.
93 +src_test() {
94 + :
95 +}
96 +
97 +multilib_src_install_all() {
98 + default
99 +
100 + use static-libs || find "${ED}" -name '*.la' -delete
101 +}
102
103 diff --git a/net-libs/libmicrohttpd/libmicrohttpd-0.9.68.ebuild b/net-libs/libmicrohttpd/libmicrohttpd-0.9.68.ebuild
104 new file mode 100644
105 index 00000000000..455a6c307e1
106 --- /dev/null
107 +++ b/net-libs/libmicrohttpd/libmicrohttpd-0.9.68.ebuild
108 @@ -0,0 +1,61 @@
109 +# Copyright 1999-2020 Gentoo Authors
110 +# Distributed under the terms of the GNU General Public License v2
111 +
112 +EAPI="7"
113 +
114 +inherit multilib-minimal
115 +
116 +MY_P="${P/_/}"
117 +
118 +DESCRIPTION="Small C library to run an HTTP server as part of another application"
119 +HOMEPAGE="https://www.gnu.org/software/libmicrohttpd/"
120 +SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.gz"
121 +
122 +LICENSE="LGPL-2.1"
123 +SLOT="0/12"
124 +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~sparc x86"
125 +IUSE="+epoll ssl static-libs test"
126 +RESTRICT="!test? ( test )"
127 +
128 +RDEPEND="ssl? (
129 + dev-libs/libgcrypt:0=
130 + net-libs/gnutls
131 + )"
132 +
133 +# We disable tests below because they're broken,
134 +# but if enabled, we'll need this.
135 +DEPEND="${RDEPEND}
136 + test? (
137 + ssl? ( net-misc/curl[ssl] )
138 + )"
139 +
140 +S=${WORKDIR}/${MY_P}
141 +
142 +DOCS="AUTHORS NEWS README ChangeLog"
143 +
144 +multilib_src_configure() {
145 + ECONF_SOURCE="${S}" \
146 + econf \
147 + --enable-bauth \
148 + --enable-dauth \
149 + --disable-examples \
150 + --enable-messages \
151 + --enable-postprocessor \
152 + --disable-thread-names \
153 + $(use_enable epoll) \
154 + $(use_enable test curl) \
155 + $(use_enable ssl https) \
156 + $(use_with ssl gnutls) \
157 + $(use_enable static-libs static)
158 +}
159 +
160 +# tests are broken in the portage environment.
161 +src_test() {
162 + :
163 +}
164 +
165 +multilib_src_install_all() {
166 + default
167 +
168 + use static-libs || find "${ED}" -name '*.la' -delete
169 +}
170
171 diff --git a/net-libs/libmicrohttpd/libmicrohttpd-0.9.69.ebuild b/net-libs/libmicrohttpd/libmicrohttpd-0.9.69.ebuild
172 new file mode 100644
173 index 00000000000..c17a93c12ff
174 --- /dev/null
175 +++ b/net-libs/libmicrohttpd/libmicrohttpd-0.9.69.ebuild
176 @@ -0,0 +1,61 @@
177 +# Copyright 1999-2019 Gentoo Authors
178 +# Distributed under the terms of the GNU General Public License v2
179 +
180 +EAPI="7"
181 +
182 +inherit multilib-minimal
183 +
184 +MY_P="${P/_/}"
185 +
186 +DESCRIPTION="Small C library to run an HTTP server as part of another application"
187 +HOMEPAGE="https://www.gnu.org/software/libmicrohttpd/"
188 +SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.gz"
189 +
190 +LICENSE="LGPL-2.1"
191 +SLOT="0/12"
192 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
193 +IUSE="+epoll ssl static-libs test"
194 +RESTRICT="!test? ( test )"
195 +
196 +RDEPEND="ssl? (
197 + dev-libs/libgcrypt:0=
198 + net-libs/gnutls
199 + )"
200 +
201 +# We disable tests below because they're broken,
202 +# but if enabled, we'll need this.
203 +DEPEND="${RDEPEND}
204 + test? (
205 + ssl? ( net-misc/curl[ssl] )
206 + )"
207 +
208 +S=${WORKDIR}/${MY_P}
209 +
210 +DOCS="AUTHORS NEWS README ChangeLog"
211 +
212 +multilib_src_configure() {
213 + ECONF_SOURCE="${S}" \
214 + econf \
215 + --enable-bauth \
216 + --enable-dauth \
217 + --disable-examples \
218 + --enable-messages \
219 + --enable-postprocessor \
220 + --disable-thread-names \
221 + $(use_enable epoll) \
222 + $(use_enable test curl) \
223 + $(use_enable ssl https) \
224 + $(use_with ssl gnutls) \
225 + $(use_enable static-libs static)
226 +}
227 +
228 +# tests are broken in the portage environment.
229 +src_test() {
230 + :
231 +}
232 +
233 +multilib_src_install_all() {
234 + default
235 +
236 + use static-libs || find "${ED}" -name '*.la' -delete
237 +}
238
239 diff --git a/net-libs/libmicrohttpd/metadata.xml b/net-libs/libmicrohttpd/metadata.xml
240 index 11dcf85eaae..02fc68dc4f8 100644
241 --- a/net-libs/libmicrohttpd/metadata.xml
242 +++ b/net-libs/libmicrohttpd/metadata.xml
243 @@ -6,6 +6,7 @@
244 <name>Anthony G. Basile</name>
245 </maintainer>
246 <use>
247 + <flag name="messages">enable error messages</flag>
248 <flag name="epoll">use epoll() system call</flag>
249 </use>
250 <upstream>