Gentoo Archives: gentoo-commits

From: "Anthony G. Basile" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libmicrohttpd/
Date: Tue, 30 Jun 2020 17:47:06
Message-Id: 1593539079.d8cfc3aa3cb61a00a1135f15dd822d502540ba76.blueness@gentoo
1 commit: d8cfc3aa3cb61a00a1135f15dd822d502540ba76
2 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jun 30 17:44:39 2020 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Tue Jun 30 17:44:39 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8cfc3aa
7
8 net-libs/libmicrohttpd: version bump to 0.9.71
9
10 Package-Manager: Portage-2.3.99, Repoman-2.3.23
11 Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org>
12
13 net-libs/libmicrohttpd/Manifest | 1 +
14 net-libs/libmicrohttpd/libmicrohttpd-0.9.71.ebuild | 61 ++++++++++++++++++++++
15 2 files changed, 62 insertions(+)
16
17 diff --git a/net-libs/libmicrohttpd/Manifest b/net-libs/libmicrohttpd/Manifest
18 index 745d2290965..e30a5d051b4 100644
19 --- a/net-libs/libmicrohttpd/Manifest
20 +++ b/net-libs/libmicrohttpd/Manifest
21 @@ -2,3 +2,4 @@ DIST libmicrohttpd-0.9.65.tar.gz 1633346 BLAKE2B ce6ba2b6c52e30194872c66ab5b9e35
22 DIST libmicrohttpd-0.9.68.tar.gz 1884342 BLAKE2B 3f74c48917fa19753a617242fa07b99a69510a14a802609d038964d927516f8f52b4330d0eee2c7b98096b2d840158e4945310edef290224ea256d9616fb4d94 SHA512 9daaab5fb35fef6f2a19b7e08eeb8473aeb0a67631808a8d7a7f78a09cb621ca5d32dbbbca616865a40afb92f8c6495f9e2ba1674880af8011a2bc798c070a13
23 DIST libmicrohttpd-0.9.69.tar.gz 1884511 BLAKE2B 6470b52e58d82a7fee17d8545e546cb9d3fa38012bcf3380d238afdf0f1b5391e19df53a89ac977ac9452d23610dc851f5da5972cace8d8f1088e1040d173572 SHA512 1633d2e606f476489e8af549fff88735e3b5641c85d59071edc8b2e1177fe1b6302578b69b8ff6669d3e1954c20cf0fa1ee52b42378362edd26197d8992e469b
24 DIST libmicrohttpd-0.9.70.tar.gz 1886435 BLAKE2B 09ae33c66f151d9ce03b8333b26c32e2c0896d150441f39da632fe1316c66123f343d021d7fc9a974fbbab7e642d253138d071d4ee506477de46bffd3ce4691c SHA512 391293688d5ef51cf8d918294000384cb291f46bf767295af5a97123c06c75573d480a6c4b2486712b53636fe3e5dc1f8827ccf4335ac435ec85c3529733d8f5
25 +DIST libmicrohttpd-0.9.71.tar.gz 1894695 BLAKE2B 46bee477972a1bf791f9edaa7451790e03fccfac9a8b79fd6fb4038fbd2c3c0f268df787894cd21ddba2640fa087537f681dec4765fe03064a3c9f79aa708b26 SHA512 dab92c0979f8016844970ce4e110469e608e2e15b4096cf518350541248f123e40a4c0289ba025302e318e0bf47a957e9a3dcdee6f55936504b6c1c4f02efb86
26
27 diff --git a/net-libs/libmicrohttpd/libmicrohttpd-0.9.71.ebuild b/net-libs/libmicrohttpd/libmicrohttpd-0.9.71.ebuild
28 new file mode 100644
29 index 00000000000..63a50da01de
30 --- /dev/null
31 +++ b/net-libs/libmicrohttpd/libmicrohttpd-0.9.71.ebuild
32 @@ -0,0 +1,61 @@
33 +# Copyright 1999-2020 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI="7"
37 +
38 +inherit multilib-minimal
39 +
40 +MY_P="${P/_/}"
41 +
42 +DESCRIPTION="Small C library to run an HTTP server as part of another application"
43 +HOMEPAGE="https://www.gnu.org/software/libmicrohttpd/"
44 +SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.gz"
45 +
46 +LICENSE="LGPL-2.1"
47 +SLOT="0/12"
48 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
49 +IUSE="+epoll ssl static-libs test"
50 +RESTRICT="!test? ( test )"
51 +
52 +RDEPEND="ssl? (
53 + dev-libs/libgcrypt:0=
54 + net-libs/gnutls
55 + )"
56 +
57 +# We disable tests below because they're broken,
58 +# but if enabled, we'll need this.
59 +DEPEND="${RDEPEND}
60 + test? (
61 + ssl? ( net-misc/curl[ssl] )
62 + )"
63 +
64 +S=${WORKDIR}/${MY_P}
65 +
66 +DOCS="AUTHORS NEWS README ChangeLog"
67 +
68 +multilib_src_configure() {
69 + ECONF_SOURCE="${S}" \
70 + econf \
71 + --enable-bauth \
72 + --enable-dauth \
73 + --disable-examples \
74 + --enable-messages \
75 + --enable-postprocessor \
76 + --disable-thread-names \
77 + $(use_enable epoll) \
78 + $(use_enable test curl) \
79 + $(use_enable ssl https) \
80 + $(use_with ssl gnutls) \
81 + $(use_enable static-libs static)
82 +}
83 +
84 +# tests are broken in the portage environment.
85 +src_test() {
86 + :
87 +}
88 +
89 +multilib_src_install_all() {
90 + default
91 +
92 + use static-libs || find "${ED}" -name '*.la' -delete
93 +}