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, 28 Dec 2021 14:44:27
Message-Id: 1640702576.f67947deb8ac4d056ee23a7f2d98355b5ca9606a.blueness@gentoo
1 commit: f67947deb8ac4d056ee23a7f2d98355b5ca9606a
2 Author: Karlson2k (Evgeny Grin) <k2k <AT> narod <DOT> ru>
3 AuthorDate: Tue Dec 28 10:00:06 2021 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 28 14:42:56 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f67947de
7
8 net-libs/libmicrohttpd: update to 0.9.75
9
10 https://git.gnunet.org/libmicrohttpd.git/tree/NEWS?h=v0.9.75#n1
11 https://git.gnunet.org/libmicrohttpd.git/tree/ChangeLog?h=v0.9.75#n1
12
13 Signed-off-by: Karlson2k (Evgeny Grin) <k2k <AT> narod.ru>
14 Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org>
15
16 net-libs/libmicrohttpd/Manifest | 1 +
17 net-libs/libmicrohttpd/libmicrohttpd-0.9.75.ebuild | 56 ++++++++++++++++++++++
18 2 files changed, 57 insertions(+)
19
20 diff --git a/net-libs/libmicrohttpd/Manifest b/net-libs/libmicrohttpd/Manifest
21 index 86e8f26e846f..a4ca0686a148 100644
22 --- a/net-libs/libmicrohttpd/Manifest
23 +++ b/net-libs/libmicrohttpd/Manifest
24 @@ -2,3 +2,4 @@ DIST libmicrohttpd-0.9.68.tar.gz 1884342 BLAKE2B 3f74c48917fa19753a617242fa07b99
25 DIST libmicrohttpd-0.9.72.tar.gz 1693553 BLAKE2B 24d9284d8cab65d4a5b6b7f3a5b860dfd8cf69b21e44ee05ae2f7561b766a72d2dbb7f57849a31c22454e211befa74e058f78814b79e7876b3d14c7252ab5800 SHA512 9695e2fb08785e4b60342226ef3a0af22da4d80f127e7db9ec80ce844f70d0d781b30af207d58d8eb691b85a5fe4691cb9ecf887ca86f5e059a05259ae041316
26 DIST libmicrohttpd-0.9.73.tar.gz 1738675 BLAKE2B 63845b1b7fa0aa8ce29e9917521e10bd59fa0d27658e87ef3273d5014adf5cd9514a2d84465a573df03b44dcd50da7d157ef9c4952107ebba49efdfb398476c2 SHA512 473996b087ac6734ab577a1c7681c6c0b0136e04e34e13c3b50fd758358c1516017ad79097e0c57792786f6dd0208834374c09238113efed13bb4be11ef649d3
27 DIST libmicrohttpd-0.9.74.tar.gz 1962057 BLAKE2B 6751696740e2893b6ad1ecf5f6e6716dc4b053f788ca1c9c76a25051437942cd975dc0ee428a65af58da04f4cca41c4ed79cdd335b3f90d1dd52651185ee42dc SHA512 86e8b88e064f17557455617975888993a285f4de6d4051cb837ef3e7328d3718001ef280473d306724dd85a01e1787fca099d4bd18e5d78b766e41a3a9f126ef
28 +DIST libmicrohttpd-0.9.75.tar.gz 1952076 BLAKE2B 419d7b7113edbcc54eec3e3b6da92d040e15b451bde4e1372b368fdd87277c85daddc295bc71d25bf02135921a8716876e9536c9dee286fa29b66bfb8167ebd2 SHA512 4dc62ed191342a61cc2767171bb1ff4050f390db14ef7100299888237b52ea0b04b939c843878fe7f5daec2b35a47b3c1b7e7c11fb32d458184fe6b19986a37c
29
30 diff --git a/net-libs/libmicrohttpd/libmicrohttpd-0.9.75.ebuild b/net-libs/libmicrohttpd/libmicrohttpd-0.9.75.ebuild
31 new file mode 100644
32 index 000000000000..0103838713fd
33 --- /dev/null
34 +++ b/net-libs/libmicrohttpd/libmicrohttpd-0.9.75.ebuild
35 @@ -0,0 +1,56 @@
36 +# Copyright 1999-2021 Gentoo Authors
37 +# Distributed under the terms of the GNU General Public License v2
38 +
39 +EAPI="8"
40 +
41 +inherit multilib-minimal
42 +
43 +MY_P="${P/_/}"
44 +
45 +DESCRIPTION="Small C library to run an HTTP server as part of another application"
46 +HOMEPAGE="https://www.gnu.org/software/libmicrohttpd/"
47 +SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.gz"
48 +S="${WORKDIR}"/${MY_P}
49 +
50 +LICENSE="LGPL-2.1+"
51 +SLOT="0/12"
52 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
53 +IUSE="+epoll ssl static-libs test +thread-names"
54 +RESTRICT="!test? ( test )"
55 +
56 +RDEPEND="ssl? ( >net-libs/gnutls-2.12.20:= )"
57 +# libcurl and the curl binary are used during tests on CHOST
58 +DEPEND="${RDEPEND}
59 + test? ( net-misc/curl[ssl?] )"
60 +BDEPEND="ssl? ( virtual/pkgconfig )"
61 +
62 +DOCS=( AUTHORS NEWS COPYING README ChangeLog )
63 +
64 +multilib_src_configure() {
65 + ECONF_SOURCE="${S}" \
66 + econf \
67 + --enable-shared \
68 + $(use_enable static-libs static) \
69 + --disable-nls \
70 + --enable-bauth \
71 + --enable-dauth \
72 + --disable-examples \
73 + --enable-messages \
74 + --enable-postprocessor \
75 + --enable-httpupgrade \
76 + --disable-experimental \
77 + --disable-heavy-tests \
78 + $(use_enable thread-names) \
79 + $(use_enable epoll) \
80 + $(use_enable test curl) \
81 + $(use_enable ssl https) \
82 + $(use_with ssl gnutls)
83 +}
84 +
85 +multilib_src_install_all() {
86 + default
87 +
88 + if ! use static-libs; then
89 + find "${ED}" -name '*.la' -delete || die
90 + fi
91 +}