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: Fri, 02 Feb 2018 09:27:35
Message-Id: 1517563632.f0bc3c2f0fadcbad4bb5e4dada009b52a0c6d2b6.blueness@gentoo
1 commit: f0bc3c2f0fadcbad4bb5e4dada009b52a0c6d2b6
2 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
3 AuthorDate: Fri Feb 2 09:27:12 2018 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Fri Feb 2 09:27:12 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0bc3c2f
7
8 net-libs/libmicrohttpd: version bump to 0.9.59
9
10 Package-Manager: Portage-2.3.19, Repoman-2.3.6
11
12 net-libs/libmicrohttpd/Manifest | 1 +
13 net-libs/libmicrohttpd/libmicrohttpd-0.9.59.ebuild | 60 ++++++++++++++++++++++
14 2 files changed, 61 insertions(+)
15
16 diff --git a/net-libs/libmicrohttpd/Manifest b/net-libs/libmicrohttpd/Manifest
17 index dc393ab5606..03e12113f97 100644
18 --- a/net-libs/libmicrohttpd/Manifest
19 +++ b/net-libs/libmicrohttpd/Manifest
20 @@ -2,3 +2,4 @@ DIST libmicrohttpd-0.9.52.tar.gz 1244489 BLAKE2B b8736bd50afa9531ea5377f082c8085
21 DIST libmicrohttpd-0.9.55.tar.gz 1308328 BLAKE2B 5189bcaf2f29fdff9fdd3d7dfddd1b5e5abbca016c4f55a7e0a176b505cd6e3aa5868260615c922937856cfb9c6fd77a4edeab829c669b4f7751d5512e8c538b SHA512 b410e7253d7c98c40b5e8b8dcd1f93bcbb05c88717190e8dae73073d36465e8e5cfa53c6c5098de60051a5ec64dc423fd94f4b06537d8146b744aa99f5a0b173
22 DIST libmicrohttpd-0.9.57.tar.gz 1332713 BLAKE2B 52e46726b220229ae722b4b94478bcd657e5edf1a836fa412b3365d8a2ca651887e62badd095f42f4fe41ad92f07e4147c812aef1c03dd6fba72a4acc6b1581a SHA512 996a59b1bc950320f21df095d3e24e1e6a6e4204095eb84e7dc5e5ed296b1dbe553459b227ba6cc93f60721f1975f778ece8c7c1c10e9168d030fba46675eed3
23 DIST libmicrohttpd-0.9.58.tar.gz 1333687 BLAKE2B ef3dfb4684f2c387399d9044eb46de70c387b89bc4600529a9cdad7f2f31a25e0b0996b91d03cf42421979279781161b72d35eeb94d4bb101dd4d73bb6181bb7 SHA512 f68268bb0a0776ac0654a682fc598f4778561c2cc775e7315505c0e2f26f0633590d01f157984d348fdcedfb63d31d39add760a4ddb041694330015293d161b6
24 +DIST libmicrohttpd-0.9.59.tar.gz 1396234 BLAKE2B 9cb2d52dd39bdc6c54267751e21a224ffa926f4200b392a28009c6f717b5059580884f4de1bb272f49f7c48bdae276df2832b413cc60db77222b7b1278ba6004 SHA512 2c9080ebd520631b5ab6eed42770c7911079365c7bc79ea74fc5502ebc370fdaea9a84a4d9db7cbd8ba1c4797c7531e127e3b73ad8d38601d700529f2bab84d5
25
26 diff --git a/net-libs/libmicrohttpd/libmicrohttpd-0.9.59.ebuild b/net-libs/libmicrohttpd/libmicrohttpd-0.9.59.ebuild
27 new file mode 100644
28 index 00000000000..61e4dc5d490
29 --- /dev/null
30 +++ b/net-libs/libmicrohttpd/libmicrohttpd-0.9.59.ebuild
31 @@ -0,0 +1,60 @@
32 +# Copyright 1999-2018 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 +}