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: Sat, 31 Oct 2015 18:42:26
Message-Id: 1446317270.b7658b1a3fda7337d00de712e76494ba43c8f280.blueness@gentoo
1 commit: b7658b1a3fda7337d00de712e76494ba43c8f280
2 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 31 18:47:50 2015 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 31 18:47:50 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7658b1a
7
8 net-libs/libmicrohttpd: version bump 0.9.45
9
10 Package-Manager: portage-2.2.20.1
11
12 net-libs/libmicrohttpd/Manifest | 1 +
13 net-libs/libmicrohttpd/libmicrohttpd-0.9.45.ebuild | 59 ++++++++++++++++++++++
14 2 files changed, 60 insertions(+)
15
16 diff --git a/net-libs/libmicrohttpd/Manifest b/net-libs/libmicrohttpd/Manifest
17 index 7e8d273..176a7fc 100644
18 --- a/net-libs/libmicrohttpd/Manifest
19 +++ b/net-libs/libmicrohttpd/Manifest
20 @@ -1,2 +1,3 @@
21 DIST libmicrohttpd-0.9.42.tar.gz 1232516 SHA256 00352073367003da40607319e4090a6a8308748b59246ae80e9871f34dad7d5b SHA512 6516f545a5b81aa23bb0d22582f6d7e7f028069d94e0d33d9d6f929e111a3c0e0432eb43b26b4eec87860e8b9f50de38f1b5e6e20cd8faf30512e4891f29b9f3 WHIRLPOOL 9d42c08ee37042debf2e16ddd244c91375e4cecb9843e08d58581a9838677148d90d469bcd4890d4a0680a62e691c659394067da1c7060f7c4e49b309be4417c
22 DIST libmicrohttpd-0.9.44.tar.gz 1244988 SHA256 f2739cc05112dc00a5ebe1a470174970ca3a3fd71dcd67fb7539af9d83b8411e SHA512 4f8e679e70e95411f762615593fcf2271df542ffab2ddd89f2c435215590ffe375c8e8c1e09cc2d21389d335cad2062944d65591b9478ea26e65123ed5dd56d9 WHIRLPOOL 8cfce79be2c8c6683a8c1b5f1c2d749a6a598346b032726e4f045dda86074fc3a4b44083385a9117eab9a1f85104962aefa2c8e805bb16104e18f6e3c0646cdf
23 +DIST libmicrohttpd-0.9.45.tar.gz 1246332 SHA256 1075def48da9327be22441f4a3460d24159fae2bf4bcfb4ab6e7ca5e95e54a69 SHA512 670d1d1f47ea8657d389302c9bfa8b6d8d12658fb28ce6ed7549db0d4483b1023e7e7d419651f38cef5b024f853d83f336b365624a346b811c2d94ab0d84fb01 WHIRLPOOL 691c1577fd17f6db4bd1990dcfbe4f20cb8944dd51014b349d26bfc8844e367c337eb03c91342b2d9e9923979e36e7464530ed6808636085a2daa006c5295bf6
24
25 diff --git a/net-libs/libmicrohttpd/libmicrohttpd-0.9.45.ebuild b/net-libs/libmicrohttpd/libmicrohttpd-0.9.45.ebuild
26 new file mode 100644
27 index 0000000..a5624d6
28 --- /dev/null
29 +++ b/net-libs/libmicrohttpd/libmicrohttpd-0.9.45.ebuild
30 @@ -0,0 +1,59 @@
31 +# Copyright 1999-2015 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +# $Id$
34 +
35 +EAPI="5"
36 +
37 +MY_P="${P/_/}"
38 +
39 +DESCRIPTION="A small C library that makes it easy to run an HTTP server as part of another application"
40 +HOMEPAGE="https://www.gnu.org/software/libmicrohttpd/"
41 +SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.gz"
42 +
43 +LICENSE="LGPL-2.1"
44 +SLOT="0"
45 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
46 +IUSE="epoll messages ssl static-libs test"
47 +
48 +RDEPEND="ssl? (
49 + dev-libs/libgcrypt:0=
50 + net-libs/gnutls
51 + )"
52 +
53 +# We disable tests below because they're broken,
54 +# but if enabled, we'll need this.
55 +DEPEND="${RDEPEND}
56 + test? (
57 + ssl? ( net-misc/curl[ssl] )
58 + )"
59 +
60 +S=${WORKDIR}/${MY_P}
61 +
62 +DOCS="AUTHORS NEWS README ChangeLog"
63 +
64 +src_configure() {
65 + econf \
66 + --enable-bauth \
67 + --enable-dauth \
68 + --disable-examples \
69 + --disable-spdy \
70 + --enable-postprocessor \
71 + --runstatedir=/run \
72 + $(use_enable epoll) \
73 + $(use_enable test curl) \
74 + $(use_enable messages) \
75 + $(use_enable ssl https) \
76 + $(use_with ssl gnutls) \
77 + $(use_enable static-libs static)
78 +}
79 +
80 +# tests are broken in the portage environment.
81 +src_test() {
82 + :
83 +}
84 +
85 +src_install() {
86 + default
87 +
88 + use static-libs || find "${ED}" -name '*.la' -delete
89 +}