Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/curl: ChangeLog curl-7.23.1.ebuild
Date: Thu, 01 Dec 2011 18:35:19
Message-Id: 20111201183502.22BB72004B@flycatcher.gentoo.org
1 vapier 11/12/01 18:35:02
2
3 Modified: ChangeLog
4 Added: curl-7.23.1.ebuild
5 Log:
6 Version bump. Should include fix for #387641 by Tim Harder and for #382241 by Alessandro Surace.
7
8 (Portage version: 2.2.0_alpha75/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.194 net-misc/curl/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/curl/ChangeLog?rev=1.194&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/curl/ChangeLog?rev=1.194&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/curl/ChangeLog?r1=1.193&r2=1.194
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-misc/curl/ChangeLog,v
20 retrieving revision 1.193
21 retrieving revision 1.194
22 diff -u -r1.193 -r1.194
23 --- ChangeLog 14 Nov 2011 17:10:55 -0000 1.193
24 +++ ChangeLog 1 Dec 2011 18:35:02 -0000 1.194
25 @@ -1,6 +1,12 @@
26 # ChangeLog for net-misc/curl
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-misc/curl/ChangeLog,v 1.193 2011/11/14 17:10:55 angelos Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-misc/curl/ChangeLog,v 1.194 2011/12/01 18:35:02 vapier Exp $
30 +
31 +*curl-7.23.1 (01 Dec 2011)
32 +
33 + 01 Dec 2011; Mike Frysinger <vapier@g.o> +curl-7.23.1.ebuild:
34 + Version bump. Should include fix for #387641 by Tim Harder and for #382241 by
35 + Alessandro Surace.
36
37 14 Nov 2011; Christoph Mende <angelos@g.o> curl-7.22.0.ebuild:
38 Prefer openssl over nss
39
40
41
42 1.1 net-misc/curl/curl-7.23.1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/curl/curl-7.23.1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/curl/curl-7.23.1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: curl-7.23.1.ebuild
48 ===================================================================
49 # Copyright 1999-2011 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-misc/curl/curl-7.23.1.ebuild,v 1.1 2011/12/01 18:35:02 vapier Exp $
52
53 EAPI=4
54
55 inherit autotools eutils prefix
56
57 DESCRIPTION="A Client that groks URLs"
58 HOMEPAGE="http://curl.haxx.se/"
59 SRC_URI="http://curl.haxx.se/download/${P}.tar.bz2"
60
61 LICENSE="MIT"
62 SLOT="0"
63 #KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
64 IUSE="ares gnutls idn ipv6 kerberos ldap libssh2 nss ssl static-libs test threads"
65
66 RDEPEND="ldap? ( net-nds/openldap )
67 gnutls? ( net-libs/gnutls dev-libs/libgcrypt app-misc/ca-certificates )
68 ssl? ( !gnutls? ( dev-libs/openssl ) )
69 nss? ( !gnutls? ( !ssl? ( dev-libs/nss app-misc/ca-certificates ) ) )
70 idn? ( net-dns/libidn )
71 ares? ( >=net-dns/c-ares-1.6 )
72 kerberos? ( virtual/krb5 )
73 libssh2? ( >=net-libs/libssh2-0.16 )"
74
75 # rtmpdump ( media-video/rtmpdump ) / --with-librtmp
76 # fbopenssl (not in gentoo) --with-spnego
77 # krb4 http://web.mit.edu/kerberos/www/krb4-end-of-life.html
78
79 DEPEND="${RDEPEND}
80 sys-apps/ed
81 test? (
82 sys-apps/diffutils
83 dev-lang/perl
84 )"
85 # used - but can do without in self test: net-misc/stunnel
86
87 # ares must be disabled for threads and both can be disabled
88 # one can use wether gnutls or nss if ssl is enabled
89 REQUIRED_USE="threads? ( !ares )
90 nss? ( !gnutls )"
91
92 src_prepare() {
93 epatch "${FILESDIR}"/${PN}-7.20.0-strip-ldflags.patch \
94 "${FILESDIR}"/${PN}-7.19.7-test241.patch \
95 "${FILESDIR}"/${PN}-7.18.2-prefix.patch \
96 "${FILESDIR}"/${PN}-respect-cflags-3.patch
97 sed -i '/LD_LIBRARY_PATH=/d' configure.ac || die #382241
98
99 eprefixify curl-config.in
100 eautoreconf
101 }
102
103 src_configure() {
104 local myconf
105
106 if use gnutls; then
107 myconf+=" --without-ssl --with-gnutls --without-nss"
108 myconf+=" --with-ca-bundle=${EPREFIX}/etc/ssl/certs/ca-certificates.crt"
109 elif use ssl; then
110 myconf+=" --without-gnutls --without-nss --with-ssl"
111 myconf+=" --without-ca-bundle --with-ca-path=${EPREFIX}/etc/ssl/certs"
112 elif use nss; then
113 myconf+=" --without-ssl --without-gnutls --with-nss"
114 myconf+=" --with-ca-bundle=${EPREFIX}/etc/ssl/certs/ca-certificates.crt"
115 else
116 myconf+=" --without-gnutls --without-nss --without-ssl"
117 fi
118
119 econf \
120 $(use_enable ldap) \
121 $(use_enable ldap ldaps) \
122 $(use_with idn libidn) \
123 $(use_with kerberos gssapi "${EPREFIX}"/usr) \
124 $(use_with libssh2) \
125 $(use_enable static-libs static) \
126 $(use_enable ipv6) \
127 $(use_enable threads threaded-resolver) \
128 $(use_enable ares) \
129 --enable-http \
130 --enable-ftp \
131 --enable-gopher \
132 --enable-file \
133 --enable-dict \
134 --enable-manual \
135 --enable-telnet \
136 --enable-smtp \
137 --enable-pop3 \
138 --enable-imap \
139 --enable-rtsp \
140 --enable-nonblocking \
141 --enable-largefile \
142 --enable-maintainer-mode \
143 --disable-sspi \
144 --without-krb4 \
145 --without-librtmp \
146 --without-spnego \
147 ${myconf}
148 }
149
150 src_compile() {
151 default
152 ed - lib/curl_config.h < "${FILESDIR}"/config.h.ed || die
153 ed - src/curl_config.h < "${FILESDIR}"/config.h.ed || die
154 ed - include/curl/curlbuild.h < "${FILESDIR}"/curlbuild.h.ed || die
155 }
156
157 src_install() {
158 default
159 find "${ED}" -name '*.la' -delete
160 rm -rf "${ED}"/etc/
161
162 # https://sourceforge.net/tracker/index.php?func=detail&aid=1705197&group_id=976&atid=350976
163 insinto /usr/share/aclocal
164 doins docs/libcurl/libcurl.m4
165
166 dodoc CHANGES README
167 dodoc docs/FEATURES docs/INTERNALS
168 dodoc docs/MANUAL docs/FAQ docs/BUGS docs/CONTRIBUTE
169 }