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, 12 Dec 2017 09:17:24
Message-Id: 1513070224.55f919c8f16ef5be41231d934a17e47112054f4e.blueness@gentoo
1 commit: 55f919c8f16ef5be41231d934a17e47112054f4e
2 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 12 09:17:04 2017 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 12 09:17:04 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55f919c8
7
8 net-libs/libmicrohttpd: version bump to 0.9.58
9
10 Package-Manager: Portage-2.3.13, Repoman-2.3.3
11
12 net-libs/libmicrohttpd/Manifest | 1 +
13 net-libs/libmicrohttpd/libmicrohttpd-0.9.58.ebuild | 60 ++++++++++++++++++++++
14 2 files changed, 61 insertions(+)
15
16 diff --git a/net-libs/libmicrohttpd/Manifest b/net-libs/libmicrohttpd/Manifest
17 index d22606a9c98..1ac4cb0df9c 100644
18 --- a/net-libs/libmicrohttpd/Manifest
19 +++ b/net-libs/libmicrohttpd/Manifest
20 @@ -4,3 +4,4 @@ DIST libmicrohttpd-0.9.53.tar.gz 1301214 BLAKE2B cc1bfdfc56873ee8f1a31d292accfd0
21 DIST libmicrohttpd-0.9.54.tar.gz 1309560 BLAKE2B dc78b18fba42473078bdfeb30c976354600dd69cbac3827aaf6a0cc00a4b8a5dc7861f41abd72ff40be16cd00379fb87f1518255d7b89e3e83b7ed64a005e740 SHA512 d3276ad3af123aacc5ff885786861ccc94397576b81999974456b9b803fe5d911115f6595281ffce2240087f98a6527a840506eabeec9f2589d555fd235b6c89
22 DIST libmicrohttpd-0.9.55.tar.gz 1308328 BLAKE2B 5189bcaf2f29fdff9fdd3d7dfddd1b5e5abbca016c4f55a7e0a176b505cd6e3aa5868260615c922937856cfb9c6fd77a4edeab829c669b4f7751d5512e8c538b SHA512 b410e7253d7c98c40b5e8b8dcd1f93bcbb05c88717190e8dae73073d36465e8e5cfa53c6c5098de60051a5ec64dc423fd94f4b06537d8146b744aa99f5a0b173
23 DIST libmicrohttpd-0.9.57.tar.gz 1332713 BLAKE2B 52e46726b220229ae722b4b94478bcd657e5edf1a836fa412b3365d8a2ca651887e62badd095f42f4fe41ad92f07e4147c812aef1c03dd6fba72a4acc6b1581a SHA512 996a59b1bc950320f21df095d3e24e1e6a6e4204095eb84e7dc5e5ed296b1dbe553459b227ba6cc93f60721f1975f778ece8c7c1c10e9168d030fba46675eed3
24 +DIST libmicrohttpd-0.9.58.tar.gz 1333687 BLAKE2B ef3dfb4684f2c387399d9044eb46de70c387b89bc4600529a9cdad7f2f31a25e0b0996b91d03cf42421979279781161b72d35eeb94d4bb101dd4d73bb6181bb7 SHA512 f68268bb0a0776ac0654a682fc598f4778561c2cc775e7315505c0e2f26f0633590d01f157984d348fdcedfb63d31d39add760a4ddb041694330015293d161b6
25
26 diff --git a/net-libs/libmicrohttpd/libmicrohttpd-0.9.58.ebuild b/net-libs/libmicrohttpd/libmicrohttpd-0.9.58.ebuild
27 new file mode 100644
28 index 00000000000..e5946aac12b
29 --- /dev/null
30 +++ b/net-libs/libmicrohttpd/libmicrohttpd-0.9.58.ebuild
31 @@ -0,0 +1,60 @@
32 +# Copyright 1999-2017 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI="6"
36 +
37 +inherit multilib-minimal
38 +
39 +MY_P="${P/_/}"
40 +
41 +DESCRIPTION="Small C library to run an HTTP server as part of another application"
42 +HOMEPAGE="https://www.gnu.org/software/libmicrohttpd/"
43 +SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.gz"
44 +
45 +LICENSE="LGPL-2.1"
46 +SLOT="0/12"
47 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
48 +IUSE="epoll messages ssl static-libs test"
49 +
50 +RDEPEND="ssl? (
51 + dev-libs/libgcrypt:0=
52 + net-libs/gnutls
53 + )"
54 +
55 +# We disable tests below because they're broken,
56 +# but if enabled, we'll need this.
57 +DEPEND="${RDEPEND}
58 + test? (
59 + ssl? ( net-misc/curl[ssl] )
60 + )"
61 +
62 +S=${WORKDIR}/${MY_P}
63 +
64 +DOCS="AUTHORS NEWS README ChangeLog"
65 +
66 +multilib_src_configure() {
67 + ECONF_SOURCE="${S}" \
68 + econf \
69 + --enable-bauth \
70 + --enable-dauth \
71 + --disable-examples \
72 + --enable-postprocessor \
73 + --disable-thread-names \
74 + $(use_enable epoll) \
75 + $(use_enable test curl) \
76 + $(use_enable messages) \
77 + $(use_enable ssl https) \
78 + $(use_with ssl gnutls) \
79 + $(use_enable static-libs static)
80 +}
81 +
82 +# tests are broken in the portage environment.
83 +src_test() {
84 + :
85 +}
86 +
87 +multilib_src_install_all() {
88 + default
89 +
90 + use static-libs || find "${ED}" -name '*.la' -delete
91 +}