Gentoo Archives: gentoo-commits

From: "Chi-Thanh Christopher Nguyen (chithanh)" <chithanh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-libs/libmicrohttpd: ChangeLog libmicrohttpd-0.9.3.ebuild libmicrohttpd-0.9.0.ebuild
Date: Wed, 01 Dec 2010 15:49:42
Message-Id: 20101201154925.C8AA620054@flycatcher.gentoo.org
1 chithanh 10/12/01 15:49:25
2
3 Modified: ChangeLog
4 Added: libmicrohttpd-0.9.3.ebuild
5 Removed: libmicrohttpd-0.9.0.ebuild
6 Log:
7 New upstream release. Address some test failures, bug #334067
8
9 (Portage version: 2.2.0_alpha5/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.3 net-libs/libmicrohttpd/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libmicrohttpd/ChangeLog?rev=1.3&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libmicrohttpd/ChangeLog?rev=1.3&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libmicrohttpd/ChangeLog?r1=1.2&r2=1.3
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-libs/libmicrohttpd/ChangeLog,v
21 retrieving revision 1.2
22 retrieving revision 1.3
23 diff -u -r1.2 -r1.3
24 --- ChangeLog 18 Sep 2010 22:13:05 -0000 1.2
25 +++ ChangeLog 1 Dec 2010 15:49:25 -0000 1.3
26 @@ -1,6 +1,12 @@
27 # ChangeLog for net-libs/libmicrohttpd
28 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/net-libs/libmicrohttpd/ChangeLog,v 1.2 2010/09/18 22:13:05 chithanh Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/net-libs/libmicrohttpd/ChangeLog,v 1.3 2010/12/01 15:49:25 chithanh Exp $
31 +
32 +*libmicrohttpd-0.9.3 (01 Dec 2010)
33 +
34 + 01 Dec 2010; Chí-Thanh Christopher Nguyễn <chithanh@g.o>
35 + -libmicrohttpd-0.9.0.ebuild, +libmicrohttpd-0.9.3.ebuild:
36 + New upstream release. Address some test failures, bug #334067
37
38 18 Sep 2010; Chí-Thanh Christopher Nguyễn <chithanh@g.o>
39 libmicrohttpd-0.9.0.ebuild, metadata.xml:
40
41
42
43 1.1 net-libs/libmicrohttpd/libmicrohttpd-0.9.3.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libmicrohttpd/libmicrohttpd-0.9.3.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libmicrohttpd/libmicrohttpd-0.9.3.ebuild?rev=1.1&content-type=text/plain
47
48 Index: libmicrohttpd-0.9.3.ebuild
49 ===================================================================
50 # Copyright 1999-2010 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/net-libs/libmicrohttpd/libmicrohttpd-0.9.3.ebuild,v 1.1 2010/12/01 15:49:25 chithanh Exp $
53
54 EAPI=2
55
56 MY_P=${P/_/}
57
58 DESCRIPTION="A small C library that makes it easy to run an HTTP server as part of another application."
59 HOMEPAGE="http://gnunet.org/libmicrohttpd/"
60 SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.gz"
61
62 IUSE="messages ssl test"
63 KEYWORDS="~amd64 ~x86"
64 LICENSE="LGPL-2.1"
65 SLOT="0"
66
67 RDEPEND="ssl? (
68 dev-libs/libgcrypt
69 net-libs/gnutls
70 )
71 net-misc/curl"
72 # Some tests fail if curl is built against nss, bug #334067
73 DEPEND="${RDEPEND}
74 test? (
75 ssl? ( || (
76 >=net-misc/curl-7.21[ssl,-nss]
77 >=net-misc/curl-7.21[ssl,gnutls]
78 ) )
79 )"
80
81 S=${WORKDIR}/${MY_P}
82
83 src_configure() {
84 econf \
85 --enable-curl \
86 $(use messages || use_enable messages) \
87 $(use ssl || use_enable ssl https) \
88 $(use_with ssl gnutls)
89 }
90 # SSL is disabled when --enable-https is passed
91 # messages are disabled when --enable-messages is passed
92
93 src_compile() {
94 emake || die "emake failed"
95 }
96
97 src_install() {
98 emake install DESTDIR="${D}" || die "make install failed"
99 dodoc AUTHORS NEWS README ChangeLog || die
100 }