A new curl version come out: 7.21.0 (today sorry). It come with a new compil option: threaded-resolver. Wich allow ms timeout. Before it need ares option to do this. Reproducible: Always Fixed in 7.21.0 - June 16 2010 Changes: * added the --proto and -proto-redir options * new configure option --enable-threaded-resolver * improve TELNET ability with libcurl * added support for PolarSSL * added support for FTP wildcard matching and downloads * added support for RTMP * introducing new LDAP code for new enough OpenLDAP * OpenLDAP support enabled for cygwin builds * added CURLINFO_PRIMARY_PORT, CURLINFO_LOCAL_IP and CURLINFO_LOCAL_PORT Bugfixes: * prevent needless reverse name lookups * detect GSS on ancient Linux distros * GnuTLS: EOF caused error when it wasn't * GnuTLS: SSL handshake phase is non-blocking * -J/--remote-header-name strips CRLF * MSVC makefiles now use ws2_32.lib instead of wsock32.lib * -O crash on windows * SSL handshake timeout underflow in libcurl-NSS * multi interface missed storing connection time * broken CRL support in libcurl-NSS * ignore response-body on redirect even if compressed * OpenSSL handshake state-machine for multi interface * TFTP timeout option sent correctly * TFTP block id wrap * curl_multi_socket_action() timeout handles inaccuracy in timers better * SCP/SFTP failure to respect the timeout * spurious SSL connection aborts with OpenSSL
Created attachment 235571 [details] ebuild proposition for net-misc/curl-7.21.0 This ebuild work for me. It should be modified to exclude ares and threaded-resolver from each other.
Please attach unified diffs (diff -u) when you did changes to an ebuild. That would be much more handy for our devs.
ok I notice the "diff -u" for the next time #diff -u /usr/portage/net-misc/curl/curl-7.20.1.ebuild /usr/local/portage/net-misc/curl/curl-7.21.0.ebuild --- /usr/portage/net-misc/curl/curl-7.20.1.ebuild 2010-04-15 22:55:42.000000000 +0200 +++ /usr/local/portage/net-misc/curl/curl-7.21.0.ebuild 2010-06-16 15:19:13.000000000 +0200 @@ -18,7 +18,7 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" -IUSE="ares gnutls idn ipv6 kerberos ldap libssh2 nss ssl test" +IUSE="ares gnutls idn ipv6 kerberos ldap libssh2 nss ssl test threaded-resolver " RDEPEND="ldap? ( net-nds/openldap ) ssl? ( @@ -61,6 +61,7 @@ $(use_with libssh2) $(use_enable ipv6) $(use_enable ares) + $(use_enable threaded-resolver) --enable-http --enable-ftp --enable-gopher
Bumped, thanks for reporting!