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: Thu, 03 Dec 2015 23:38:47
Message-Id: 1449186344.3ee0085d375658e560b00f770de2d2a84af5ec42.blueness@gentoo
1 commit: 3ee0085d375658e560b00f770de2d2a84af5ec42
2 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
3 AuthorDate: Thu Dec 3 23:45:44 2015 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 3 23:45:44 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ee0085d
7
8 net-libs/libmicrohttpd: version bump to 0.9.46
9
10 Package-Manager: portage-2.2.20.1
11
12 net-libs/libmicrohttpd/Manifest | 1 +
13 net-libs/libmicrohttpd/libmicrohttpd-0.9.46.ebuild | 59 ++++++++++++++++++++++
14 2 files changed, 60 insertions(+)
15
16 diff --git a/net-libs/libmicrohttpd/Manifest b/net-libs/libmicrohttpd/Manifest
17 index 959c5c9..a9037e7 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.45.tar.gz 1246332 SHA256 1075def48da9327be22441f4a3460d24159fae2bf4bcfb4ab6e7ca5e95e54a69 SHA512 670d1d1f47ea8657d389302c9bfa8b6d8d12658fb28ce6ed7549db0d4483b1023e7e7d419651f38cef5b024f853d83f336b365624a346b811c2d94ab0d84fb01 WHIRLPOOL 691c1577fd17f6db4bd1990dcfbe4f20cb8944dd51014b349d26bfc8844e367c337eb03c91342b2d9e9923979e36e7464530ed6808636085a2daa006c5295bf6
23 +DIST libmicrohttpd-0.9.46.tar.gz 1249529 SHA256 06dbd2654f390fa1e8196fe063fc1449a6c2ed65a38199a49bf29ad8a93b8979 SHA512 d45cd6e8ca1fb0e4d42110fa6ae5b49823d1b2ce66dd82d8b68757b79bf441e4103301af9437886b2c5d3296102ed8da17933a573da9649e7359305f8e678e46 WHIRLPOOL 09413fd2f39d1da727dc8756b7487dcfd7d7d143af27ac3add70c302b6a8fe5454c328a8a341a5bd69a6a0d52c4153c1dbaad3157f731bf35e4e67a0a2b512a3
24
25 diff --git a/net-libs/libmicrohttpd/libmicrohttpd-0.9.46.ebuild b/net-libs/libmicrohttpd/libmicrohttpd-0.9.46.ebuild
26 new file mode 100644
27 index 0000000..a988b4a
28 --- /dev/null
29 +++ b/net-libs/libmicrohttpd/libmicrohttpd-0.9.46.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/12"
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 +}