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 Oct 2015 07:14:01
Message-Id: 1443770354.a423872522d39b90567c537ef67feb87c139214d.blueness@gentoo
1 commit: a423872522d39b90567c537ef67feb87c139214d
2 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
3 AuthorDate: Fri Oct 2 07:18:35 2015 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 2 07:19:14 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4238725
7
8 net-libs/libmicrohttpd: version bump to 0.9.44
9
10 Package-Manager: portage-2.2.20.1
11
12 net-libs/libmicrohttpd/Manifest | 1 +
13 net-libs/libmicrohttpd/libmicrohttpd-0.9.44.ebuild | 51 ++++++++++++++++++++++
14 2 files changed, 52 insertions(+)
15
16 diff --git a/net-libs/libmicrohttpd/Manifest b/net-libs/libmicrohttpd/Manifest
17 index b52117e..45108a0 100644
18 --- a/net-libs/libmicrohttpd/Manifest
19 +++ b/net-libs/libmicrohttpd/Manifest
20 @@ -1,2 +1,3 @@
21 DIST libmicrohttpd-0.9.39.tar.gz 1205722 SHA256 4f937b6065c366d776be86b1d24b8fc400ebc7ea006a9d77c49a8f2f0cd7e373 SHA512 f7a526803fd5bbd28c817836340f91569542c3f8db6f04ffc8e60cf794cd5a7f1da3beda782fa80b2f6c07bb48cd09454c5bbcae1ad81b00f0df2985740a927a WHIRLPOOL a2dc5f2303bf7fd042d9f5ca58f946e0e506232870b00d7a7cb65127cc1769fdbc9a5b12145d47d7ab4d32d48ab6b311f320c350adbc071d18aae810156073c0
22 DIST libmicrohttpd-0.9.42.tar.gz 1232516 SHA256 00352073367003da40607319e4090a6a8308748b59246ae80e9871f34dad7d5b SHA512 6516f545a5b81aa23bb0d22582f6d7e7f028069d94e0d33d9d6f929e111a3c0e0432eb43b26b4eec87860e8b9f50de38f1b5e6e20cd8faf30512e4891f29b9f3 WHIRLPOOL 9d42c08ee37042debf2e16ddd244c91375e4cecb9843e08d58581a9838677148d90d469bcd4890d4a0680a62e691c659394067da1c7060f7c4e49b309be4417c
23 +DIST libmicrohttpd-0.9.44.tar.gz 1244988 SHA256 f2739cc05112dc00a5ebe1a470174970ca3a3fd71dcd67fb7539af9d83b8411e SHA512 4f8e679e70e95411f762615593fcf2271df542ffab2ddd89f2c435215590ffe375c8e8c1e09cc2d21389d335cad2062944d65591b9478ea26e65123ed5dd56d9 WHIRLPOOL 8cfce79be2c8c6683a8c1b5f1c2d749a6a598346b032726e4f045dda86074fc3a4b44083385a9117eab9a1f85104962aefa2c8e805bb16104e18f6e3c0646cdf
24
25 diff --git a/net-libs/libmicrohttpd/libmicrohttpd-0.9.44.ebuild b/net-libs/libmicrohttpd/libmicrohttpd-0.9.44.ebuild
26 new file mode 100644
27 index 0000000..738da03
28 --- /dev/null
29 +++ b/net-libs/libmicrohttpd/libmicrohttpd-0.9.44.ebuild
30 @@ -0,0 +1,51 @@
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 +DEPEND="${RDEPEND}
54 + test? (
55 + ssl? ( >=net-misc/curl-7.25.0-r1[ssl] )
56 + )"
57 +
58 +S=${WORKDIR}/${MY_P}
59 +
60 +DOCS="AUTHORS NEWS README ChangeLog"
61 +
62 +src_configure() {
63 + econf \
64 + --enable-bauth \
65 + --enable-dauth \
66 + --disable-examples \
67 + --disable-spdy \
68 + --enable-postprocessor \
69 + $(use_enable epoll) \
70 + $(use_enable test curl) \
71 + $(use_enable messages) \
72 + $(use_enable ssl https) \
73 + $(use_with ssl gnutls) \
74 + $(use_enable static-libs static)
75 +}
76 +
77 +src_install() {
78 + default
79 +
80 + use static-libs || find "${ED}" -name '*.la' -delete
81 +}