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: Mon, 28 Oct 2019 17:35:35
Message-Id: 1572284125.dcfeb165fb214a1eee2692cf247a79f25e1aee2e.blueness@gentoo
1 commit: dcfeb165fb214a1eee2692cf247a79f25e1aee2e
2 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
3 AuthorDate: Mon Oct 28 17:35:12 2019 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 28 17:35:25 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcfeb165
7
8 net-libs/libmicrohttpd: version bump to 0.9.68
9
10 Package-Manager: Portage-2.3.76, Repoman-2.3.16
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.68.ebuild | 60 ++++++++++++++++++++++
15 2 files changed, 61 insertions(+)
16
17 diff --git a/net-libs/libmicrohttpd/Manifest b/net-libs/libmicrohttpd/Manifest
18 index cd14d94b2c5..487c1a9a971 100644
19 --- a/net-libs/libmicrohttpd/Manifest
20 +++ b/net-libs/libmicrohttpd/Manifest
21 @@ -3,3 +3,4 @@ DIST libmicrohttpd-0.9.64.tar.gz 1631384 BLAKE2B 15437188f0246ea0270338e45016c34
22 DIST libmicrohttpd-0.9.65.tar.gz 1633346 BLAKE2B ce6ba2b6c52e30194872c66ab5b9e358f0979dd99ef24ce59fddf9e6fc2b76b01f424f9c9b511cf88c2dde2ca98d3f6a25cbcd26bdfadf0b9db65efd36435dc7 SHA512 751b7a5970cef07f260660254bfdeda4882e9e28d5cbdfbfed50e2c4583caf8f19c96ede6d368babc4223e7fbdf85d85eec37dc96abf333377dc13d6a9c6be12
23 DIST libmicrohttpd-0.9.66.tar.gz 1877096 BLAKE2B 4788fa63b0438e250264852f291a7661ee64f4116cbe95eec0902a47115721040a9259acb9c3385d833364f9b27695a90a2cedc516a35ee89125e0852d545579 SHA512 59cc56a9511d9d1c05647a57d920a16d0aaa0d0523d0241ceb88641d18bd95fdb3bb5a60fd648ac54a6f4323a673a3145e520a2fe9e124e78973ff6dac3ad89a
24 DIST libmicrohttpd-0.9.67.tar.gz 1881973 BLAKE2B 640bc99642160adb6728dfa6ea71720e376bd0bca3b86a56424906a563b9ea1ef92d51c509d0e642c8e32f46a9044826ab41f0e5eef88ee971bde9094a961db7 SHA512 2a2a11e9a525024dada639b1622cc875bb9b59af266a53e2742d5bf92f544192713c4e1369a573b2e3796d27cf490a9a02ba360ccc91136b4780306769edb7ec
25 +DIST libmicrohttpd-0.9.68.tar.gz 1884342 BLAKE2B 3f74c48917fa19753a617242fa07b99a69510a14a802609d038964d927516f8f52b4330d0eee2c7b98096b2d840158e4945310edef290224ea256d9616fb4d94 SHA512 9daaab5fb35fef6f2a19b7e08eeb8473aeb0a67631808a8d7a7f78a09cb621ca5d32dbbbca616865a40afb92f8c6495f9e2ba1674880af8011a2bc798c070a13
26
27 diff --git a/net-libs/libmicrohttpd/libmicrohttpd-0.9.68.ebuild b/net-libs/libmicrohttpd/libmicrohttpd-0.9.68.ebuild
28 new file mode 100644
29 index 00000000000..6d9443a1237
30 --- /dev/null
31 +++ b/net-libs/libmicrohttpd/libmicrohttpd-0.9.68.ebuild
32 @@ -0,0 +1,60 @@
33 +# Copyright 1999-2019 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 +
51 +RDEPEND="ssl? (
52 + dev-libs/libgcrypt:0=
53 + net-libs/gnutls
54 + )"
55 +
56 +# We disable tests below because they're broken,
57 +# but if enabled, we'll need this.
58 +DEPEND="${RDEPEND}
59 + test? (
60 + ssl? ( net-misc/curl[ssl] )
61 + )"
62 +
63 +S=${WORKDIR}/${MY_P}
64 +
65 +DOCS="AUTHORS NEWS README ChangeLog"
66 +
67 +multilib_src_configure() {
68 + ECONF_SOURCE="${S}" \
69 + econf \
70 + --enable-bauth \
71 + --enable-dauth \
72 + --disable-examples \
73 + --enable-messages \
74 + --enable-postprocessor \
75 + --disable-thread-names \
76 + $(use_enable epoll) \
77 + $(use_enable test curl) \
78 + $(use_enable ssl https) \
79 + $(use_with ssl gnutls) \
80 + $(use_enable static-libs static)
81 +}
82 +
83 +# tests are broken in the portage environment.
84 +src_test() {
85 + :
86 +}
87 +
88 +multilib_src_install_all() {
89 + default
90 +
91 + use static-libs || find "${ED}" -name '*.la' -delete
92 +}