Gentoo Archives: gentoo-commits

From: "Dror Levin (spatz)" <spatz@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/curl: ChangeLog curl-7.21.0.ebuild curl-7.20.0.ebuild curl-7.20.0-r1.ebuild curl-7.19.7.ebuild
Date: Thu, 01 Jul 2010 20:15:26
Message-Id: 20100701201455.41B2A2C621@corvid.gentoo.org
1 spatz 10/07/01 20:14:55
2
3 Modified: ChangeLog
4 Added: curl-7.21.0.ebuild
5 Removed: curl-7.20.0.ebuild curl-7.20.0-r1.ebuild
6 curl-7.19.7.ebuild
7 Log:
8 Version bump, bug 324295.
9 (Portage version: 2.2_rc67/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.161 net-misc/curl/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/curl/ChangeLog?rev=1.161&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/curl/ChangeLog?rev=1.161&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/curl/ChangeLog?r1=1.160&r2=1.161
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-misc/curl/ChangeLog,v
21 retrieving revision 1.160
22 retrieving revision 1.161
23 diff -u -r1.160 -r1.161
24 --- ChangeLog 22 May 2010 20:59:55 -0000 1.160
25 +++ ChangeLog 1 Jul 2010 20:14:54 -0000 1.161
26 @@ -1,6 +1,12 @@
27 # ChangeLog for net-misc/curl
28 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/net-misc/curl/ChangeLog,v 1.160 2010/05/22 20:59:55 arfrever Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/net-misc/curl/ChangeLog,v 1.161 2010/07/01 20:14:54 spatz Exp $
31 +
32 +*curl-7.21.0 (01 Jul 2010)
33 +
34 + 01 Jul 2010; Dror Levin <spatz@g.o> -curl-7.19.7.ebuild,
35 + -curl-7.20.0.ebuild, -curl-7.20.0-r1.ebuild, +curl-7.21.0.ebuild:
36 + Version bump, bug 324295.
37
38 22 May 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
39 curl-7.20.0-r2.ebuild:
40
41
42
43 1.1 net-misc/curl/curl-7.21.0.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/curl/curl-7.21.0.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/curl/curl-7.21.0.ebuild?rev=1.1&content-type=text/plain
47
48 Index: curl-7.21.0.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-misc/curl/curl-7.21.0.ebuild,v 1.1 2010/07/01 20:14:54 spatz Exp $
53
54 # NOTE: If you bump this ebuild, make sure you bump dev-python/pycurl!
55
56 EAPI=2
57
58 inherit multilib eutils
59
60 #MY_P=${P/_pre/-}
61 DESCRIPTION="A Client that groks URLs"
62 HOMEPAGE="http://curl.haxx.se/ http://curl.planetmirror.com"
63 #SRC_URI="http://cool.haxx.se/curl-daily/${MY_P}.tar.bz2"
64 #SRC_URI="http://curl.planetmirror.com/download/${P}.tar.bz2"
65 SRC_URI="http://curl.haxx.se/download/${P}.tar.bz2"
66
67 LICENSE="MIT"
68 SLOT="0"
69 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
70 IUSE="ares gnutls idn ipv6 kerberos ldap libssh2 nss ssl test threads"
71
72 RDEPEND="ldap? ( net-nds/openldap )
73 ssl? (
74 gnutls? ( net-libs/gnutls app-misc/ca-certificates )
75 nss? ( !gnutls? ( dev-libs/nss app-misc/ca-certificates ) )
76 !gnutls? ( !nss? ( dev-libs/openssl ) )
77 )
78 idn? ( net-dns/libidn )
79 ares? ( >=net-dns/c-ares-1.4.0 )
80 kerberos? ( virtual/krb5 )
81 libssh2? ( >=net-libs/libssh2-0.16 )"
82
83 # fbopenssl (not in gentoo) --with-spnego
84 # krb4 http://web.mit.edu/kerberos/www/krb4-end-of-life.html
85
86 DEPEND="${RDEPEND}
87 test? (
88 sys-apps/diffutils
89 dev-lang/perl
90 )"
91 # used - but can do without in self test: net-misc/stunnel
92
93 pkg_setup() {
94 if ! use ssl && ( use gnutls || use nss ) ; then
95 ewarn "USE='gnutls nss' are ignored without USE='ssl'."
96 ewarn "Please review the local USE flags for this package."
97 fi
98 if use ares && use threads; then
99 eerror "USE flags 'ares' and 'threads' are mutually exclusive,"
100 eerror "please disable one of them."
101 eerror
102 die "USE flags 'ares' and 'threads' both enabled"
103 fi
104 }
105
106 src_prepare() {
107 epatch "${FILESDIR}"/${PN}-7.20.0-strip-ldflags.patch \
108 "${FILESDIR}"/${PN}-7.19.7-test241.patch
109 }
110
111 src_configure() {
112 myconf="$(use_enable ldap)
113 $(use_enable ldap ldaps)
114 $(use_with idn libidn)
115 $(use_with kerberos gssapi /usr)
116 $(use_with libssh2)
117 $(use_enable ipv6)
118 $(use_enable ares)
119 $(use_enable threads threaded-resolver)
120 --enable-http
121 --enable-ftp
122 --enable-gopher
123 --enable-file
124 --enable-dict
125 --enable-manual
126 --enable-telnet
127 --enable-smtp
128 --enable-pop3
129 --enable-imap
130 --enable-rtsp
131 --enable-nonblocking
132 --enable-largefile
133 --enable-maintainer-mode
134 --disable-sspi
135 --without-krb4
136 --without-spnego"
137
138 if use ssl ; then
139 if use gnutls; then
140 myconf="${myconf} --without-ssl --with-gnutls --without-nss"
141 myconf="${myconf} --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt"
142 elif use nss; then
143 myconf="${myconf} --without-ssl --without-gnutls --with-nss"
144 myconf="${myconf} --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt"
145 else
146 myconf="${myconf} --without-gnutls --without-nss --with-ssl"
147 myconf="${myconf} --without-ca-bundle --with-ca-path=/etc/ssl/certs"
148 fi
149 else
150 myconf="${myconf} --without-gnutls --without-nss --without-ssl"
151 fi
152
153 econf ${myconf} || die 'configure failed'
154 }
155
156 src_install() {
157 emake DESTDIR="${D}" install || die "installed failed for current version"
158 rm -rf "${D}"/etc/
159
160 # https://sourceforge.net/tracker/index.php?func=detail&aid=1705197&group_id=976&atid=350976
161 insinto /usr/share/aclocal
162 doins docs/libcurl/libcurl.m4 || die
163
164 dodoc CHANGES README || die
165 dodoc docs/FEATURES docs/INTERNALS || die
166 dodoc docs/MANUAL docs/FAQ docs/BUGS docs/CONTRIBUTE || die
167 }