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.1.ebuild
Date: Mon, 30 Aug 2010 18:10:38
Message-Id: 20100830181029.D5B2020051@flycatcher.gentoo.org
1 spatz 10/08/30 18:10:29
2
3 Modified: ChangeLog
4 Added: curl-7.21.1.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2_rc72/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.168 net-misc/curl/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/curl/ChangeLog?rev=1.168&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/curl/ChangeLog?rev=1.168&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/curl/ChangeLog?r1=1.167&r2=1.168
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-misc/curl/ChangeLog,v
20 retrieving revision 1.167
21 retrieving revision 1.168
22 diff -u -r1.167 -r1.168
23 --- ChangeLog 18 Jul 2010 09:35:29 -0000 1.167
24 +++ ChangeLog 30 Aug 2010 18:10:29 -0000 1.168
25 @@ -1,6 +1,11 @@
26 # ChangeLog for net-misc/curl
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-misc/curl/ChangeLog,v 1.167 2010/07/18 09:35:29 dragonheart Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-misc/curl/ChangeLog,v 1.168 2010/08/30 18:10:29 spatz Exp $
30 +
31 +*curl-7.21.1 (30 Aug 2010)
32 +
33 + 30 Aug 2010; Dror Levin <spatz@g.o> +curl-7.21.1.ebuild:
34 + Version bump.
35
36 18 Jul 2010; Daniel Black <dragonheart@g.o> curl-7.21.0.ebuild:
37 prevent autodependency as per bug #326549. Thanks to Zeev for the bug
38
39
40
41 1.1 net-misc/curl/curl-7.21.1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/curl/curl-7.21.1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/curl/curl-7.21.1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: curl-7.21.1.ebuild
47 ===================================================================
48 # Copyright 1999-2010 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/net-misc/curl/curl-7.21.1.ebuild,v 1.1 2010/08/30 18:10:29 spatz Exp $
51
52 # NOTE: If you bump this ebuild, make sure you bump dev-python/pycurl!
53
54 EAPI=3
55
56 inherit multilib eutils libtool prefix
57
58 #MY_P=${P/_pre/-}
59 DESCRIPTION="A Client that groks URLs"
60 HOMEPAGE="http://curl.haxx.se/"
61 #SRC_URI="http://cool.haxx.se/curl-daily/${MY_P}.tar.bz2"
62 SRC_URI="http://curl.haxx.se/download/${P}.tar.bz2"
63
64 LICENSE="MIT"
65 SLOT="0"
66 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"
67 IUSE="ares gnutls idn ipv6 kerberos ldap libssh2 nss ssl test threads"
68
69 RDEPEND="ldap? ( net-nds/openldap )
70 ssl? (
71 gnutls? ( net-libs/gnutls app-misc/ca-certificates )
72 nss? ( !gnutls? ( dev-libs/nss app-misc/ca-certificates ) )
73 !gnutls? ( !nss? ( dev-libs/openssl ) )
74 )
75 idn? ( net-dns/libidn )
76 !threads? ( ares? ( >=net-dns/c-ares-1.4.0 ) )
77 kerberos? ( virtual/krb5 )
78 libssh2? ( >=net-libs/libssh2-0.16 )"
79
80 # rtmpdump ( media-video/rtmpdump ) / --with-librtmp
81 # fbopenssl (not in gentoo) --with-spnego
82 # krb4 http://web.mit.edu/kerberos/www/krb4-end-of-life.html
83
84 DEPEND="${RDEPEND}
85 test? (
86 sys-apps/diffutils
87 dev-lang/perl
88 )"
89 # used - but can do without in self test: net-misc/stunnel
90
91 pkg_setup() {
92 if ! use ssl && ( use gnutls || use nss ) ; then
93 ewarn "USE='gnutls nss' are ignored without USE='ssl'."
94 ewarn "Please review the local USE flags for this package."
95 fi
96 if use ares && use threads; then
97 ewarn "USE flags 'ares' and 'threads' are mutually exclusive,"
98 ewarn "disabling 'ares', please review and re-emerge if needed."
99 fi
100 }
101
102 src_prepare() {
103 epatch "${FILESDIR}"/${PN}-7.20.0-strip-ldflags.patch \
104 "${FILESDIR}"/${PN}-7.19.7-test241.patch \
105 "${FILESDIR}"/${PN}-7.18.2-prefix.patch
106
107 eprefixify curl-config.in
108 # for FreeMiNT
109 elibtoolize
110 }
111
112 src_configure() {
113 myconf="$(use_enable ldap)
114 $(use_enable ldap ldaps)
115 $(use_with idn libidn)
116 $(use_with kerberos gssapi "${EPREFIX}"/usr)
117 $(use_with libssh2)
118 $(use_enable ipv6)
119 $(use_enable threads threaded-resolver)
120 $(use threads && echo --disable-ares || use_enable ares)
121 --enable-http
122 --enable-ftp
123 --enable-gopher
124 --enable-file
125 --enable-dict
126 --enable-manual
127 --enable-telnet
128 --enable-smtp
129 --enable-pop3
130 --enable-imap
131 --enable-rtsp
132 --enable-nonblocking
133 --enable-largefile
134 --enable-maintainer-mode
135 --disable-sspi
136 --without-krb4
137 --without-librtmp
138 --without-spnego"
139
140 if use ssl ; then
141 if use gnutls; then
142 myconf="${myconf} --without-ssl --with-gnutls --without-nss"
143 myconf="${myconf} --with-ca-bundle=${EPREFIX}/etc/ssl/certs/ca-certificates.crt"
144 elif use nss; then
145 myconf="${myconf} --without-ssl --without-gnutls --with-nss"
146 myconf="${myconf} --with-ca-bundle=${EPREFIX}/etc/ssl/certs/ca-certificates.crt"
147 else
148 myconf="${myconf} --without-gnutls --without-nss --with-ssl"
149 myconf="${myconf} --without-ca-bundle --with-ca-path=${EPREFIX}/etc/ssl/certs"
150 fi
151 else
152 myconf="${myconf} --without-gnutls --without-nss --without-ssl"
153 fi
154
155 econf ${myconf} || die 'configure failed'
156 }
157
158 src_install() {
159 emake DESTDIR="${D}" install || die "installed failed for current version"
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 || die
165
166 dodoc CHANGES README || die
167 dodoc docs/FEATURES docs/INTERNALS || die
168 dodoc docs/MANUAL docs/FAQ docs/BUGS docs/CONTRIBUTE || die
169 }