Gentoo Archives: gentoo-commits

From: "Anthony G. Basile" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] dev/blueness:master commit in: net-libs/libmicrohttpd/
Date: Thu, 01 Mar 2012 02:50:06
Message-Id: 1330570182.5f4a78714184ad3c0999e77fd87b1e9a02994df9.blueness@gentoo
1 commit: 5f4a78714184ad3c0999e77fd87b1e9a02994df9
2 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
3 AuthorDate: Thu Mar 1 02:49:42 2012 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Thu Mar 1 02:49:42 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=dev/blueness.git;a=commit;h=5f4a7871
7
8 net-libs/libmicrohttpd: awaiting bump in tree, see bug #406377
9
10 (Portage version: 2.1.10.44/git/Linux x86_64, signed Manifest commit with key 0xD0455535)
11
12 ---
13 net-libs/libmicrohttpd/ChangeLog | 10 ++++
14 net-libs/libmicrohttpd/Manifest | 14 ++++++
15 net-libs/libmicrohttpd/libmicrohttpd-0.9.18.ebuild | 49 ++++++++++++++++++++
16 net-libs/libmicrohttpd/metadata.xml | 12 +++++
17 4 files changed, 85 insertions(+), 0 deletions(-)
18
19 diff --git a/net-libs/libmicrohttpd/ChangeLog b/net-libs/libmicrohttpd/ChangeLog
20 new file mode 100644
21 index 0000000..f17868e
22 --- /dev/null
23 +++ b/net-libs/libmicrohttpd/ChangeLog
24 @@ -0,0 +1,10 @@
25 +# ChangeLog for net-libs/libmicrohttpd
26 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
27 +# $Header: $
28 +
29 +*libmicrohttpd-0.9.18 (01 Mar 2012)
30 +
31 + 01 Mar 2012; Anthony G. Basile <blueness@g.o>
32 + +libmicrohttpd-0.9.18.ebuild, +metadata.xml:
33 + Awaiting bump in tree, see bug #406377
34 +
35
36 diff --git a/net-libs/libmicrohttpd/Manifest b/net-libs/libmicrohttpd/Manifest
37 new file mode 100644
38 index 0000000..6323769
39 --- /dev/null
40 +++ b/net-libs/libmicrohttpd/Manifest
41 @@ -0,0 +1,14 @@
42 +-----BEGIN PGP SIGNED MESSAGE-----
43 +Hash: SHA256
44 +
45 +DIST libmicrohttpd-0.9.18.tar.gz 814386 RMD160 1223dea62fbba8e5e6b9b345f76ee7cf7ae2ffe1 SHA1 f2b1bf54b5f6e817b3c9f00087f6cec00db54b1b SHA256 694179fb1aadd5d0feca01fdaf50c4819fe55b41d57217ff5bb5a89caf285688
46 +EBUILD libmicrohttpd-0.9.18.ebuild 1104 RMD160 e2f450eaefbd780b9fb85ed58cf320c270eac6da SHA1 a67aad4cd6a6b1961bc72d63e20f8d2c2ec8a8b1 SHA256 7417ebdcd7db03ad527b93aa64db94b8ed9c1b4f330df5f4a2a47f35f6f7406a
47 +MISC ChangeLog 304 RMD160 2ab189b2305fbdf466efd9b80c15ece44ca3c728 SHA1 99311e04794cd12ec59a6d31be075c7d92214a5b SHA256 10d2adb0c2bcb70b5091678291977e67a51c4dff7943ad2008541b32c8398bfc
48 +MISC metadata.xml 321 RMD160 f6dd3c96c4f9f2faa248bfe55e7c8e9befefe6b5 SHA1 b3bc81440d26af69e6b95a4e4bc45bcd544466c5 SHA256 d7f167025a05a1cdd7260a0168a266c8d3f7bbb5a302faa3d5d3e77dd7208d90
49 +-----BEGIN PGP SIGNATURE-----
50 +Version: GnuPG v2.0.17 (GNU/Linux)
51 +
52 +iEYEAREIAAYFAk9O48YACgkQl5yvQNBFVTXurwCfSmpbZtQq39tzVUCpCDPwAtmJ
53 +kRwAn2wCta2DM+zdCBX7OELEG1UpbKF9
54 +=M4rI
55 +-----END PGP SIGNATURE-----
56
57 diff --git a/net-libs/libmicrohttpd/libmicrohttpd-0.9.18.ebuild b/net-libs/libmicrohttpd/libmicrohttpd-0.9.18.ebuild
58 new file mode 100644
59 index 0000000..0af7511
60 --- /dev/null
61 +++ b/net-libs/libmicrohttpd/libmicrohttpd-0.9.18.ebuild
62 @@ -0,0 +1,49 @@
63 +# Copyright 1999-2012 Gentoo Foundation
64 +# Distributed under the terms of the GNU General Public License v2
65 +# $Header: /var/cvsroot/gentoo-x86/net-libs/libmicrohttpd/libmicrohttpd-0.9.15.ebuild,v 1.1 2011/10/16 01:27:10 chithanh Exp $
66 +
67 +EAPI=2
68 +
69 +MY_P=${P/_/}
70 +
71 +DESCRIPTION="A small C library that makes it easy to run an HTTP server as part of another application."
72 +HOMEPAGE="http://gnunet.org/libmicrohttpd/"
73 +SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.gz"
74 +
75 +IUSE="messages ssl test"
76 +KEYWORDS="~amd64 ~x86"
77 +LICENSE="LGPL-2.1"
78 +SLOT="0"
79 +
80 +RDEPEND="ssl? (
81 + dev-libs/libgcrypt
82 + net-libs/gnutls
83 + )
84 + net-misc/curl"
85 +# Some tests fail if curl is built against nss, bug #334067
86 +DEPEND="${RDEPEND}
87 + test? (
88 + ssl? ( || (
89 + >=net-misc/curl-7.21[ssl,-nss]
90 + >=net-misc/curl-7.21[ssl,gnutls]
91 + ) )
92 + )"
93 +
94 +S=${WORKDIR}/${MY_P}
95 +
96 +src_configure() {
97 + econf \
98 + --enable-curl \
99 + $(use_enable messages) \
100 + $(use_enable ssl https) \
101 + $(use_with ssl gnutls)
102 +}
103 +
104 +src_compile() {
105 + emake || die "emake failed"
106 +}
107 +
108 +src_install() {
109 + emake install DESTDIR="${D}" || die "make install failed"
110 + dodoc AUTHORS NEWS README ChangeLog || die
111 +}
112
113 diff --git a/net-libs/libmicrohttpd/metadata.xml b/net-libs/libmicrohttpd/metadata.xml
114 new file mode 100644
115 index 0000000..c7c12af
116 --- /dev/null
117 +++ b/net-libs/libmicrohttpd/metadata.xml
118 @@ -0,0 +1,12 @@
119 +<?xml version="1.0" encoding="UTF-8"?>
120 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
121 +<pkgmetadata>
122 + <maintainer>
123 + <email>chithanh@g.o</email>
124 + <name>Chí-Thanh Christopher Nguyễn</name>
125 + </maintainer>
126 + <use>
127 + <flag name='messages'>enable error messages</flag>
128 + </use>
129 +</pkgmetadata>
130 +