From 84e6f64ef43b065d9101c8e4957eb6ad68dbbe7b Mon Sep 17 00:00:00 2001 From: Bertrand Jacquin Date: Mon, 26 Jan 2009 18:25:13 +0100 Subject: Add modify packages that don't cross compile (unzip, nspr, fontconfig, curl, squid) properly --- net-misc/curl/ChangeLog | 638 +++++++++++++++++++++ net-misc/curl/Manifest | 15 + net-misc/curl/curl-7.16.4.ebuild | 111 ++++ net-misc/curl/curl-7.17.1.ebuild | 131 +++++ net-misc/curl/curl-7.18.2.ebuild | 117 ++++ net-misc/curl/files/curl-7.15-strip-ldflags.patch | 20 + net-misc/curl/files/curl-7.15.1-test62.patch | 15 + .../curl/files/curl-7.16.2-strip-ldflags.patch | 24 + .../curl/files/curl-7.17.0-strip-ldflags.patch | 24 + .../files/curl-7.17.1-null-handler-segfault.patch | 69 +++ net-misc/curl/files/curl-7.18.2-lssl.diff | 11 + net-misc/curl/files/libcurl-gnutlscert.patch | 51 ++ net-misc/curl/metadata.xml | 13 + 13 files changed, 1239 insertions(+) create mode 100644 net-misc/curl/ChangeLog create mode 100644 net-misc/curl/Manifest create mode 100644 net-misc/curl/curl-7.16.4.ebuild create mode 100644 net-misc/curl/curl-7.17.1.ebuild create mode 100644 net-misc/curl/curl-7.18.2.ebuild create mode 100644 net-misc/curl/files/curl-7.15-strip-ldflags.patch create mode 100644 net-misc/curl/files/curl-7.15.1-test62.patch create mode 100644 net-misc/curl/files/curl-7.16.2-strip-ldflags.patch create mode 100644 net-misc/curl/files/curl-7.17.0-strip-ldflags.patch create mode 100644 net-misc/curl/files/curl-7.17.1-null-handler-segfault.patch create mode 100644 net-misc/curl/files/curl-7.18.2-lssl.diff create mode 100644 net-misc/curl/files/libcurl-gnutlscert.patch create mode 100644 net-misc/curl/metadata.xml (limited to 'net-misc') diff --git a/net-misc/curl/ChangeLog b/net-misc/curl/ChangeLog new file mode 100644 index 00000000..b4458666 --- /dev/null +++ b/net-misc/curl/ChangeLog @@ -0,0 +1,638 @@ +# ChangeLog for net-misc/curl +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/curl/ChangeLog,v 1.126 2008/08/25 20:22:46 jer Exp $ + + 25 Aug 2008; Jeroen Roovers curl-7.18.2.ebuild: + Stable for HPPA (bug #233122). + + 03 Aug 2008; Daniel Black -curl-7.15.5-r1.ebuild, + -curl-7.18.1.ebuild: + small purge since it caused problems for people + + 02 Aug 2008; Markus Rothe curl-7.18.2.ebuild: + Stable on ppc64; bug #233122 + + 01 Aug 2008; nixnut curl-7.18.2.ebuild: + Stable on ppc wrt bug 233122 + + 30 Jul 2008; Dawid Węgliński curl-7.18.2.ebuild: + Stable on amd64 (bug #233122) + + 29 Jul 2008; Raúl Porcel curl-7.18.2.ebuild: + alpha/ia64/sparc/x86 stable wrt #233122 + + 07 Jun 2008; Daniel Black curl-7.18.2.ebuild: + remove patch that was needed for bug #216096 as it is now included - thanks + mastamind - bug #225163 + +*curl-7.18.2 (07 Jun 2008) + + 07 Jun 2008; Daniel Black +curl-7.18.2.ebuild: + version bump + + 05 Apr 2008; Daniel Black curl-7.17.1.ebuild: + fix for USE=kerberos/-ldap as per bug #216273 thanks to Graham Russell. + + 04 Apr 2008; Daniel Black curl-7.18.1.ebuild: + correct compile fault with heimdal as a gssapi provider - thanks to Doug in + bug #216096 + + 02 Apr 2008; Daniel Black curl-7.18.1.ebuild: + hopefully fixed bug #215713 and bug #193149 thanks to Olivier, Rafal and + teidakankan + +*curl-7.18.1 (01 Apr 2008) + + 01 Apr 2008; Daniel Black -curl-7.17.0.ebuild, + -curl-7.17.1_pre20071013.ebuild, curl-7.17.1.ebuild, +curl-7.18.1.ebuild: + added 7.18.1 which fixes bugs #210295, #204130, #209421, #206566 and part of + bug #207653. 7.17.1 has fixes from bug #206566. Thanks to Daniel Stenberg, + Micha Kiedrowicz, Olivier Dole, and Fabrice Bacchella. Cleaned out some old + versions too + + 10 Feb 2008; Tobias Scherbaum curl-7.17.1.ebuild: + ppc stable, bug #202891 + + 05 Feb 2008; Markus Rothe curl-7.17.1.ebuild: + Stable on ppc64 + + 23 Jan 2008; Raúl Porcel curl-7.17.1.ebuild: + alpha/ia64/sparc/x86 stable + + 22 Jan 2008; Jeroen Roovers curl-7.17.1.ebuild: + Stable for HPPA (maybe bug #202891). + + 26 Dec 2007; Doug Klima curl-7.17.1.ebuild: + amd64 stable wrt bug#202891 + +*curl-7.17.1 (12 Nov 2007) + + 12 Nov 2007; Daniel Black + +files/curl-7.17.1-null-handler-segfault.patch, +curl-7.17.1.ebuild: + version bump + patch thanks to Robin - bug #198931 + + 17 Oct 2007; Daniel Black curl-7.17.0.ebuild, + curl-7.17.1_pre20071013.ebuild: + remove app-misc/ca-certificates from RDEPEND unless using a crypto USE flag + thanks to beandog + +*curl-7.17.1_pre20071013 (13 Oct 2007) + + 13 Oct 2007; Daniel Black + -curl-7.17.0_pre20070828.ebuild, -curl-7.17.0-r1.ebuild, + +curl-7.17.1_pre20071013.ebuild: + revision snapshot to fix bug #195706. thanks Christoph Mende and Daniel + Stenberg. removed older versions + + 01 Oct 2007; Roy Marples curl-7.17.0.ebuild, + curl-7.17.0-r1.ebuild: + Keyworded ~sparc-fbsd + + 14 Sep 2007; Daniel Black curl-7.17.0.ebuild: + with!= without (libssh2) thanks to Mikachu + +*curl-7.17.0-r1 (13 Sep 2007) +*curl-7.17.0 (13 Sep 2007) + + 13 Sep 2007; Daniel Black + +files/curl-7.17.0-strip-ldflags.patch, +curl-7.17.0.ebuild, + +curl-7.17.0-r1.ebuild: + version bump - -r1 added for ssh2 testing + +*curl-7.17.0_pre20070828 (28 Aug 2007) + + 28 Aug 2007; Daniel Black + +curl-7.17.0_pre20070828.ebuild: + cvs version for Phillip Berndt in bug #190504 + + 26 Aug 2007; Daniel Black + -files/curl-7.15.1-test46.patch, -files/curl-7.15-libtftp.patch, + -curl-7.15.1-r1.ebuild: + purge vulnerable versions (sec bug #184934) + + 10 Aug 2007; Christoph Mende curl-7.16.4.ebuild: + Stable on amd64 wrt bug #187731 + + 08 Aug 2007; Raúl Porcel curl-7.16.4.ebuild: + alpha/ia64 stable wrt #187731 + + 07 Aug 2007; Joseph Jezak curl-7.16.4.ebuild: + Marked ppc stable. + + 07 Aug 2007; Markus Rothe curl-7.16.4.ebuild: + Stable on ppc64; bug #187731 + + 07 Aug 2007; Gustavo Zacarias curl-7.16.4.ebuild: + Stable on sparc wrt #187731 + + 06 Aug 2007; Joshua Kinard curl-7.16.4.ebuild: + Stable on mips, per #187731. + + 05 Aug 2007; Jeroen Roovers curl-7.16.4.ebuild: + Stable for HPPA (bug #187731). + + 28 Jul 2007; Steve Dibb curl-7.15.5-r1.ebuild: + amd64 stable, security bug 184934 + + 24 Jul 2007; Gustavo Zacarias curl-7.15.5-r1.ebuild: + Stable on sparc wrt security #184934 + + 20 Jul 2007; Tobias Scherbaum + curl-7.15.5-r1.ebuild: + ppc stable, bug #184934 + + 19 Jul 2007; Raúl Porcel curl-7.15.5-r1.ebuild: + alpha/ia64/x86 stable wrt security #184934 + + 19 Jul 2007; Markus Rothe curl-7.15.5-r1.ebuild: + Stable on ppc64; bug #184934 + + 19 Jul 2007; Jeroen Roovers curl-7.15.5-r1.ebuild: + Stable for HPPA (bug #184934). + + 11 Jul 2007; Daniel Black + -files/curl-7.16.1-strip-ldflags.patch, -curl-7.15.5.ebuild, + -curl-7.16.2.ebuild, -curl-7.16.3.ebuild: + cleanout + +*curl-7.15.5-r1 (11 Jul 2007) + + 11 Jul 2007; Daniel Black +curl-7.15.5-r1.ebuild, + files/libcurl-gnutlscert.patch: + backport patch for CVE-2007-3564 + +*curl-7.16.4 (11 Jul 2007) + + 11 Jul 2007; Daniel Black +curl-7.16.4.ebuild: + version bump - security bug #184934 + + 08 Jul 2007; Daniel Black + files/curl-7.16.2-strip-ldflags.patch, curl-7.16.3.ebuild: + no LDFLAGS now - bug #183402 + +*curl-7.16.3 (25 Jun 2007) + + 25 Jun 2007; Daniel Black +curl-7.16.3.ebuild, + -curl-7.16.3_pre20070418.ebuild, -curl-7.16.3_pre20070610.ebuild: + release thanks to upstream. + +*curl-7.16.3_pre20070610 (11 Jun 2007) + + 11 Jun 2007; Daniel Black metadata.xml, + +curl-7.16.3_pre20070610.ebuild: + upstream snapshot + +*curl-7.16.3_pre20070418 (18 Apr 2007) + + 18 Apr 2007; Daniel Black + +curl-7.16.3_pre20070418.ebuild: + snapshot. still does not fix some self test fails will look later. TESTFAIL: + These test cases failed: 300 301 304 305 306 400 401 403 404 405 + +*curl-7.16.2 (14 Apr 2007) + + 14 Apr 2007; +files/curl-7.16.2-strip-ldflags.patch, + curl-7.15.1-r1.ebuild, curl-7.15.5.ebuild, -curl-7.16.0.ebuild, + -curl-7.16.1.ebuild, +curl-7.16.2.ebuild: + version bump. remove old versions. remove krb4 as per bug #173354 + 7.16.2 has broken selftests 405 534 that i'll look at later. + +*curl-7.16.1 (11 Feb 2007) + + 11 Feb 2007; Daniel Black + +files/curl-7.15.1-test62.patch, +files/curl-7.16.1-strip-ldflags.patch, + curl-7.15.1-r1.ebuild, curl-7.15.5.ebuild, curl-7.16.0.ebuild, + +curl-7.16.1.ebuild: + fix test case 62 as per bug #166289 thanks Miroslav Sulc. version bump to + 7.16.1 + +*curl-7.16.0 (09 Dec 2006) + + 09 Dec 2006; Daniel Black curl-7.15.1-r1.ebuild, + -curl-7.15.3.ebuild, -curl-7.15.4.ebuild, curl-7.15.5.ebuild, + +curl-7.16.0.ebuild: + Fixed bug #157539 thanks to Timothy - attempted installtion of non-existant + files. Fixed type that ment USE=kerberos disabled the effect of other USE + flags (thanks me). Version bump as per bug #154575 thanks Gerry - still + masked as no compatible pycurl and all other programs not tested for + compatibility + +*curl-7.15.5 (22 Oct 2006) + + 22 Oct 2006; Konstantin V. Arkhipov + +curl-7.15.5.ebuild: + Version bump, closing bug #145414. + + 04 Oct 2006; Fabian Groffen curl-7.15.1-r1.ebuild, + curl-7.15.3.ebuild, curl-7.15.4.ebuild: + Dropped ~ppc-macos, see you in prefix. + + 17 Jul 2006; Alastair Tse curl-7.15.1-r1.ebuild: + fix stupid typo + +*curl-7.15.4 (17 Jul 2006) + + 17 Jul 2006; Alastair Tse + +files/curl-7.15.1-test46.patch, +files/curl-7.15-strip-ldflags.patch, + curl-7.15.1-r1.ebuild, +curl-7.15.4.ebuild: + Added patch to fix test46 in 7.15.1 (#111555), version bumped to 7.15.4, + stripped LDFLAGS from curl-config and libcurl.pc. + + 01 Jun 2006; Daniel Black + -files/curl-7.15.0-versionnumber.patch, -curl-7.15.1.ebuild: + purge security vulnerable versions + + 02 May 2006; Diego Pettenò curl-7.15.3.ebuild: + Add elibtoolize call. + + 27 Apr 2006; Alastair Tse curl-7.15.1.ebuild, + curl-7.15.1-r1.ebuild, curl-7.15.3.ebuild: + fix kerberos dep (#109806) + + 28 Apr 2006; Joshua Kinard curl-7.15.1-r1.ebuild: + Marked stable on mips. + + 23 Apr 2006; Diego Pettenò curl-7.15.3.ebuild: + Add ~x86-fbsd keyword. + + 24 Mar 2006; Aron Griffis curl-7.15.1-r1.ebuild: + Mark 7.15.1-r1 stable on ia64. #125766 + +*curl-7.15.3 (20 Mar 2006) +*curl-7.15.1-r1 (20 Mar 2006) + + 20 Mar 2006; +files/curl-7.15-libtftp.patch, + -curl-7.13.1.ebuild, -curl-7.13.2.ebuild, -curl-7.15.0.ebuild, + +curl-7.15.1-r1.ebuild, -curl-7.15.2.ebuild, +curl-7.15.3.ebuild: + - security bump for tftp vuln. CVE-2006-1061 - bug #125766 + +*curl-7.15.2 (01 Mar 2006) + + 01 Mar 2006; Daniel Black +curl-7.15.2.ebuild: + version bump + + 26 Feb 2006; Joshua Kinard curl-7.15.1.ebuild: + Marked stable on mips. + + 15 Dec 2005; Joshua Jackson curl-7.15.1.ebuild: + Stable on x86 for security bug #114710 + + 14 Dec 2005; curl-7.15.1.ebuild: + Marked stable on amd64 per bug #114710 + + 14 Dec 2005; Gustavo Zacarias curl-7.15.1.ebuild: + Stable on sparc wrt #114710 + + 14 Dec 2005; Fernando J. Pereda curl-7.15.1.ebuild: + stable on alpha wrt bug #114710 + + 13 Dec 2005; Daniel Black +curl-7.13.1.ebuild, + +curl-7.13.2.ebuild: + overzealous pruning - depended on by pycurl - thanks MrBones + + 13 Dec 2005; Michael Hanselmann curl-7.15.1.ebuild: + Stable on hppa, ppc. See bug #114710. + + 13 Dec 2005; Markus Rothe curl-7.15.1.ebuild: + Stable on ppc64; bug #114710 + +*curl-7.15.1 (13 Dec 2005) + + 13 Dec 2005; Daniel Black -curl-7.13.1.ebuild, + -curl-7.13.2.ebuild, +curl-7.15.1.ebuild: + version bump due to sec bug #114710. old versions removed + + 20 Nov 2005; Daniel Black + +files/curl-7.15.0-versionnumber.patch, curl-7.15.0.ebuild: + fix for curl-config --vernum - bug #112759 thanks to Tupone Alfredo + + 22 Oct 2005; Fabian Groffen curl-7.15.0.ebuild: + Marked ~ppc-macos (bug #109097) + + 22 Oct 2005; Aaron Walker curl-7.15.0.ebuild: + Stable on mips for bug #109097. + + 21 Oct 2005; Bryan Østergaard curl-7.15.0.ebuild: + ~ia64 keyword. + + 20 Oct 2005; Aaron Walker curl-7.15.0.ebuild: + Added ~mips. + + 20 Oct 2005; Luis Medinas curl-7.15.0.ebuild: + Marked Stable on amd64. Bug #109097. + + 19 Oct 2005; Jose Luis Rivero curl-7.15.0.ebuild: + Stable on alpha wrt security bug #109097 + + 19 Oct 2005; Daniel Black curl-7.15.0.ebuild: + removed dual KEYWORD line + + 19 Oct 2005; Gustavo Zacarias curl-7.15.0.ebuild: + Stable on sparc wrt #109097 + + 19 Oct 2005; Brent Baude curl-7.15.0.ebuild: + Marking curl-7.15.0 ppc64 stable for bug 109097 + + 19 Oct 2005; Michael Hanselmann curl-7.15.0.ebuild: + Moved all keywords which are missing on c-ares to a new line. Stable on hppa. + Thanks to KillerFox for testing. + + 19 Oct 2005; Andrej Kacian curl-7.15.0.ebuild: + Stable on x86, security bug #109097. + + 15 Oct 2005; Daniel Black curl-7.15.0.ebuild: + libcurl.pc installed as per bug #104110 by Christoph Gysin + + 15 Oct 2005; Daniel Black + -files/curl-7.10.8-transfer-segv.patch, -files/7.12.0-no-fputc.patch, + -files/curl-7.10.5-badssl.patch, -curl-7.14.0.ebuild, curl-7.15.0.ebuild: + more cleanups. old ebuild/patches removed + +*curl-7.15.0 (15 Oct 2005) + + 15 Oct 2005; Daniel Black +curl-7.15.0.ebuild: + version bump - security bug #109097 + + 27 Aug 2005; Karol Wojtaszek curl-7.14.0.ebuild: + Added libidn support, thanks Marcin Kryczek in bug #103745 + + 17 Aug 2005; Malcolm Lashley curl-7.13.2.ebuild: + Stable on amd64 + + 05 Jul 2005; Rene Nussbaumer curl-7.13.2.ebuild: + Stable on hppa. + + 02 Jul 2005; Bryan Østergaard curl-7.13.2.ebuild: + Stable on alpha. + + 30 Jun 2005; Joseph Jezak curl-7.13.2.ebuild: + Marked ppc stable. + + 27 Jun 2005; Markus Rothe curl-7.13.2.ebuild: + Stable on ppc64 + + 25 Jun 2005; Danny van Dyk curl-7.14.0.ebuild: + Added ~s390 as of BUG #95052. + + 25 Jun 2005; Gustavo Zacarias curl-7.13.2.ebuild: + Stable on sparc + +*curl-7.14.0 (25 Jun 2005) + + 25 Jun 2005; Alastair Tse -curl-7.10.8-r1.ebuild, + -curl-7.11.0.ebuild, -curl-7.11.1.ebuild, -curl-7.12.0-r2.ebuild, + -curl-7.12.3.ebuild, curl-7.13.1.ebuild, curl-7.13.2.ebuild, + +curl-7.14.0.ebuild: + version bump. added gnutls support (#95052) + + 14 May 2005; Bryan Østergaard curl-7.13.1.ebuild: + Stable on ia64. + +*curl-7.13.2 (27 Apr 2005) + + 27 Apr 2005; Alastair Tse +curl-7.13.2.ebuild: + version bump. added c-ares support. added old library if we detect it on + compile, which stops broken dependencies on major lib upgrades from 7.11.x + to 7.12.x. + + 23 Apr 2005; Kito curl-7.13.1.ebuild: + ~ppc-macos keyword + + 22 Apr 2005; Bryan Østergaard curl-7.13.1.ebuild: + Add ~ia64 keyword. + + 16 Mar 2005; Alastair Tse curl-7.13.1.ebuild: + disabling src_test (#85403) + + 13 Mar 2005; Hardave Riar curl-7.13.1.ebuild: + Stable on mips, bug #82534. + + 12 Mar 2005; Bryan Østergaard curl-7.13.1.ebuild: + Stable on alpha, bug 82534. + + 10 Mar 2005; Gustavo Zacarias curl-7.13.1.ebuild: + Stable on sparc wrt #82534 + + 10 Mar 2005; Markus Rothe curl-7.13.1.ebuild: + Stable on ppc64; bug #82534 + + 09 Mar 2005; Jan Brinkmann curl-7.13.1.ebuild: + stable on amd64 wrt to #82534 + + 09 Mar 2005; Michael Hanselmann curl-7.13.1.ebuild: + Stable on ppc. + +*curl-7.13.1 (08 Mar 2005) + + 08 Mar 2005; Alastair Tse +curl-7.13.1.ebuild: + version bump + + 05 Feb 2005; Michael Hanselmann curl-7.12.0-r2.ebuild: + Stable on ppc. + + 12 Jan 2005; Guy Martin curl-7.12.0-r2.ebuild: + Stable on hppa. + + 29 Dec 2004; Ciaran McCreesh : + Change encoding to UTF-8 for GLEP 31 compliance + + 16 Dec 2004; Dylan Carlson curl-7.12.0-r2.ebuild: + Stable on amd64. + + 03 Nov 2004; Gustavo Zacarias curl-7.12.0-r2.ebuild: + Stable on sparc + + 31 Oct 2004; Bryan Østergaard curl-7.12.0-r2.ebuild: + Stable on alpha. + + 19 Oct 2004; Dylan Carlson curl-7.11.1.ebuild: + Stable on amd64. + + 29 Sep 2004; Jeremy Huddleston + curl-7.12.0-r2.ebuild: + get_libdir love. + + 01 Sep 2004; Mike Frysinger curl-7.12.0-r2.ebuild: + Dont define the fputc() prototype since the header files from our libc do it + for us (triggers build failure on uclibc). + +*curl-7.12.0-r2 (28 Jul 2004) + + 28 Jul 2004; Alastair Tse curl-7.12.0-r1.ebuild, + +curl-7.12.0-r2.ebuild: + third time lucky. this time i have the symlinks properly fixed. sorry :( + +*curl-7.12.0-r1 (27 Jul 2004) + + 27 Jul 2004; Alastair Tse +curl-7.12.0-r1.ebuild: + fix stupid symlink mistake by me. add comment about bumping pycurl + +*curl-7.12.0 (25 Jul 2004) + + 25 Jul 2004; Alastair Tse curl-7.12.0.ebuild: + added backward compat symlink to curl 7.12 (#58317) + + 07 Jun 2004; Bryan Østergaard curl-7.11.1.ebuild: + Stable on alpha. + + 14 May 2004; Stephen P. Becker curl-7.11.0.ebuild: + Stable on mips. + + 13 May 2004; Michael McCabe curl-7.11.1.ebuild: + Added s390 keywords + + 29 Apr 2004; Gustavo Zacarias curl-7.11.0.ebuild: + Stable on sparc + + 27 Apr 2004; Aron Griffis curl-7.10.5-r1.ebuild, + curl-7.10.8-r1.ebuild: + Add inherit eutils + +*curl-7.11.1 (26 Apr 2004) + + 26 Apr 2004; Alastair Tse curl-7.11.0.ebuild, + +curl-7.11.1.ebuild: + version bump (#48792). added --enable-manual and --enable-largefile for + safety, even those both are enabled by default. + + 30 Mar 2004; Chris Aniszczyk curl-7.11.0.ebuild: + Stable on hppa. + + 23 Mar 2004; curl-7.11.0.ebuild: + Marked stable on AMD64. + + 14 Mar 2004; Stephen P. Becker curl-7.11.0.ebuild: + Added ~mips keyword. + + 13 Mar 2004; Stephen P. Becker curl-7.10.8-r1.ebuild: + Added ~mips keyword. + + 09 Mar 2004; curl-7.10.8-r1.ebuild: + stable on alpha and ia64 + + 02 Mar 2004; Tom Gall curl-7.11.0.ebuild: + stable on ppc64 + + 06 Feb 2004; curl-7.10.8-r1.ebuild: + stable on sparc + +*curl-7.11.0 (04 Feb 2004) + + 04 Feb 2004; Alastair Tse curl-7.10.3-r1.ebuild, + curl-7.10.8-r1.ebuild, curl-7.10.8.ebuild, curl-7.11.0.ebuild: + version bump (#40188) + + 29 Jan 2004; Aron Griffis curl-7.10.7.ebuild: + stable on alpha and ia64 + +*curl-7.10.8-r1 (16 Jan 2004) + + 06 Feb 2003; Guy Martin curl-7.10.8-r1.ebuild: + Marked stable on hppa. + + 16 Jan 2004; Alastair Tse curl-7.10.8-r1.ebuild, + files/curl-7.10.8-transfer-segv.patch: + backported fix for segfault for libcurl. Submitted by Gustavo Felisberto + . (#37959) + + 09 Jan 2004; Jason Wever curl-7.10.7.ebuild: + Marked stable on sparc. + + 09 Dec 2003; Alastair Tse curl-7.10.2.ebuild, + curl-7.10.3-r1.ebuild, curl-7.10.5-r1.ebuild, curl-7.10.7.ebuild, + curl-7.10.8.ebuild: + removed pam dependency, added openldap dep for older versions (#35343) + + 14 Nov 2003; Aron Griffis curl-7.10.3-r1.ebuild: + Stable on ia64 + +*curl-7.10.8 (03 Nov 2003) + + 03 Nov 2003; Alastair Tse curl-7.10.8.ebuild: + version bump + +*curl-7.10.7 (03 Nov 2003) + + 13 Dec 2003; Guy Martin curl-7.10.7.ebuild : + Marked stable on hppa. + + 03 Nov 2003; Alastair Tse curl-7.10.7.ebuild: + version bump + + 19 Jun 2003; Alastair Tse curl-7.10.5-r1.ebuild: + marking as stable x86 because it includes a fairly important bugfix over all + 7.10.x series + +*curl-7.10.5-r1 (13 Jun 2003) + + 04 Aug 2003; Guy Martin curl-7.10.5-r1.ebuild : + Marked stable on hppa. + + 14 Jun 2003; Guy Martin curl-7.10.5-r1.ebuild : + Added ~hppa to KEYWORDS. + + 13 Jun 2003; Alastair Tse curl-7.10.5-r1.ebuild, + files/curl-7.10.5-badssl.patch: + backported one-liner patch from cvs to add compatibility with broken ssl + servers. (#22567) also some cleanups. + +*curl-7.10.5 (13 Jun 2003) + + 13 Jun 2003; Alastair Tse curl-7.10.5.ebuild: + version bump. https now checks if certs are valid. + +*curl-7.10.4 (09 Apr 2003) + + 09 Apr 2003; Alastair Tse curl-7.10.4.ebuild: + version bump + +*curl-7.10.3-r1 (20 Mar 2003) + + 20 Mar 2003; Aron Griffis curl-7.10.2.ebuild, + curl-7.10.3-r1.ebuild, curl-7.10.3.ebuild: + Remove pic USE-flag and bump rev + +*curl-7.10.3 (28 Feb 2003) + + 09 Mar 2003; Aron Griffis curl-7.10.3.ebuild: + Mark stable on alpha + + 28 Feb 2003; Alastair Tse curl-7.10.3.ebuild files/digest-curl-7.10.3 : + Version Bump. Fixes #14015. + +*curl-7.10.2 (19 Nov 2002) + + 14 Jun 2003; Guy Martin curl-7.10.2.ebuild : + Added hppa to KEYWORDS. + + 23 Dec 2002; Martin Holzer curl-7.9.7.ebuild files/digest-curl-7.10.2 Changelog : + Changed SRC_URI from .tar.gz to .tar.bz2 + + 17 Dec 2002; Aron Griffis curl-7.10.2.ebuild : + Added ~alpha to KEYWORDS + + 06 Dec 2002; Rodney Rees : changed sparc ~sparc keywords + + 19 Nov 2002; Mike Frysinger : + Version bump + more USE flag support + +*curl-7.9.7 (17 May 2002) + + 23 Dec 2002; Martin Holzer curl-7.9.7.ebuild files/digest-curl-7.9.7 Changelog : + Ipv6 now configured by emerge. Fixed #11214. + Changed SRC_URI from .tar.gz to .tar.bz2 + + 06 Aug 2002; Mark Guertin : + Added ppc to keywords + + 17 May 2002; Grant Goodyear : + Version bump. Seems to work better when compiled w/ gcc 3.0.4. + +*curl-7.9.3 (1 Feb 2002) + + 1 Feb 2002; G.Bevin ChangeLog : + Added initial ChangeLog which should be updated whenever the package is + updated in any way. This changelog is targetted to users. This means that the + comments should well explained and written in clean English. The details about + writing correct changelogs are explained in the skel.ChangeLog file which you + can find in the root directory of the portage repository. diff --git a/net-misc/curl/Manifest b/net-misc/curl/Manifest new file mode 100644 index 00000000..0e98f319 --- /dev/null +++ b/net-misc/curl/Manifest @@ -0,0 +1,15 @@ +AUX curl-7.15-strip-ldflags.patch 636 RMD160 da2a9e8137eb71f0d077d66b9e1580235027f537 SHA1 b8ab23f437d09be49a8f368be8b1822432ab2a93 SHA256 b86804e3a9e3ba9d841e85b2832dc1323dd52895e1b533d0a5782ab668a9609f +AUX curl-7.15.1-test62.patch 673 RMD160 4f9bd6355cc2289755892ae4142f9853b870a50a SHA1 4c2a0312d9f07ef42493a7138954cab53e8a7d9d SHA256 907e23481083da32f2f85d586067d1f51e3eddc1dd11157c70a2573bea66eec1 +AUX curl-7.16.2-strip-ldflags.patch 844 RMD160 2a4efcf28a438fb8a397f40ff75a49e78f77b4e8 SHA1 abb778120ef4f928f6a0bf4616f7e489768f044c SHA256 f1ae7d976648287b6b083c76b1fa87eb43850396831f43ac33c3e60c3e729ed6 +AUX curl-7.17.0-strip-ldflags.patch 796 RMD160 1bcb5af41c63b0afb7758e3c4c8f9bea5e52c29c SHA1 c63330a3505adb684dd2f1cfa89eae5159cb9cc6 SHA256 f3892c3d2a16f96319fd11cb516f66b5df0ece18ca8271cf3b9c1f286e9b5d73 +AUX curl-7.17.1-null-handler-segfault.patch 2560 RMD160 3f1ce2cab67588b132fa6ad30e49f887e6d16f0a SHA1 e6b20baa6306b26c3dc8ffe78fc0d34c5b531b1b SHA256 6f696c4b1d6ae216225fb2cd9e95527d7513872aae06abef05c35758a3d30887 +AUX curl-7.18.2-lssl.diff 355 RMD160 c472162d25e603fe6bf8419192c8e825b68ad750 SHA1 f4be4b09faf5c5146af391dbcabd7323db82ada0 SHA256 53bf21d9fd6a20b4c4eca952c70a0ed55bf341cefa9d9a40b580f2293f6138d0 +AUX libcurl-gnutlscert.patch 1498 RMD160 286859e0870c6e5aa21047b28b2c256f7b7bfffe SHA1 6ef8e0887431e62328cc020cad5fb10673336ad3 SHA256 4b0a9db99ddc698c39484a95cba1f52c0dc17ed34f2d7e1dd780f925bf21761b +DIST curl-7.16.4.tar.bz2 1668101 RMD160 ee59976f7ce9161be3d5ebdb44903dee597fbd68 SHA1 a26a8796f5fc851b23423bc419c80e27d3e09483 SHA256 45c69529126b6ff50e7ebe2c2b8157a4ecb405174a1349234903021e9ac5c87b +DIST curl-7.17.1.tar.bz2 1721551 RMD160 8ab8dc7a33a5265dfe25eb0725248c3cd6519510 SHA1 ad34b9386e7fd1c8f2a8025e2716a8047b194970 SHA256 7f668ec49506ffc968a54fde9404183212bb40b226626e9417d941594e06e57b +DIST curl-7.18.2.tar.bz2 1744472 RMD160 d82bcdcdbc18d44a833f8824555ded09b03cd859 SHA1 0a4d6878d6be22bb2d701a6cf9bf665f66fc8b87 SHA256 b1f47a0177a5b13d317ab1f6570510502739909ede550e7da08ba814c3c73ae8 +EBUILD curl-7.16.4.ebuild 3131 RMD160 0f59c206dbb61de7b778a76ab48205715545f042 SHA1 adda0afc7fe48fbae677f0c52ae24afc6019a1db SHA256 be3ff7d0776977ae7a2e4ac905b4d2f231a6395d92181e2215bb9678d0baf0c2 +EBUILD curl-7.17.1.ebuild 3870 RMD160 479f629576e9f238c6f67e765d0ffae0d70a631c SHA1 4c73cf17dbb2509e75f937b77d43140c26df4c9f SHA256 3cf7021e010c81c3410bcf3a5ead32d241b98c481670410bcb6c65ee1dce29aa +EBUILD curl-7.18.2.ebuild 3568 RMD160 2e0e89d6288b87cbc86dd03912958eb7a17640aa SHA1 d3b9f22af036dcadcaf5a74155ef1c08e1e721f4 SHA256 873370e114db304921e8bac4812838e76addf86e8a82a3441512bfe193b4f324 +MISC ChangeLog 22251 RMD160 f76b50b340cf683f1268dc9ea58d5671b663cab8 SHA1 90ae466ca1e751631903179290a36d85bc94d0ee SHA256 c3cc5a68c941d328b973393cb00166accea4f8cd6538b3d5da3b4a0264bf0612 +MISC metadata.xml 436 RMD160 38b4e6412c390a8f0eeb8ec44ec28debb77845dc SHA1 5a633019278deea417f46857c3d81ae7c830acbf SHA256 319a564ca12822409b29c2e52d39d3f7e7a918d3d73cb6deb5139c6aea2cc33a diff --git a/net-misc/curl/curl-7.16.4.ebuild b/net-misc/curl/curl-7.16.4.ebuild new file mode 100644 index 00000000..c1198a46 --- /dev/null +++ b/net-misc/curl/curl-7.16.4.ebuild @@ -0,0 +1,111 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/curl/curl-7.16.4.ebuild,v 1.12 2008/04/01 13:46:49 dragonheart Exp $ + +# NOTE: If you bump this ebuild, make sure you bump dev-python/pycurl! + +inherit autotools eutils + +#MY_P=${P/_pre/-} +DESCRIPTION="A Client that groks URLs" +HOMEPAGE="http://curl.haxx.se/ http://curl.planetmirror.com" +#SRC_URI="http://cool.haxx.se/curl-daily/${MY_P}.tar.bz2" +SRC_URI="http://curl.haxx.se/download/${P}.tar.bz2" + +LICENSE="MIT X11" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd" +IUSE="ssl ipv6 ldap ares gnutls nss idn kerberos test" + +RDEPEND="gnutls? ( net-libs/gnutls ) + nss? ( !gnutls? ( dev-libs/nss ) ) + ssl? ( !gnutls? ( !nss? ( dev-libs/openssl ) ) ) + ldap? ( net-nds/openldap ) + idn? ( net-dns/libidn ) + ares? ( >=net-dns/c-ares-1.4.0 ) + kerberos? ( virtual/krb5 ) + app-misc/ca-certificates" + +# net-libs/libssh2 (masked) --with-libssh2 +# fbopenssl (not in gentoo) --with-spnego +# krb4 http://web.mit.edu/kerberos/www/krb4-end-of-life.html + +DEPEND="${RDEPEND} + test? ( + sys-apps/diffutils + dev-lang/perl + )" +# used - but can do without in self test: net-misc/stunnel +#S="${WORKDIR}"/${MY_P} + +src_unpack() { + unpack ${A} + cd "${S}" +# epatch "${FILESDIR}"/${P}-strip-ldflags.patch + epatch "${FILESDIR}"/curl-7.16.2-strip-ldflags.patch + elibtoolize +} + +src_compile() { + + myconf="$(use_enable ldap) + $(use_with idn libidn) + $(use_enable kerberos gssapi) + $(use_enable ipv6) + --enable-http + --enable-ftp + --enable-gopher + --enable-file + --enable-dict + --enable-manual + --enable-telnet + --enable-nonblocking + --enable-largefile + --enable-maintainer-mode + --disable-sspi + --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt + --without-krb4 + --without-libssh2 + --without-spnego" + + if use ipv6 && use ares; then + elog "c-ares support disabled because it is incompatible with ipv6." + myconf="${myconf} --disable-ares" + else + myconf="${myconf} $(use_enable ares)" + fi + + if use gnutls; then + myconf="${myconf} --without-ssl --with-gnutls --without-nss" + elif use nss; then + myconf="${myconf} --without-ssl --without-gnutls --with-nss" + elif use ssl; then + myconf="${myconf} --without-gnutls --without-nss --with-ssl" + else + myconf="${myconf} --without-gnutls --without-nss --without-ssl" + fi + + econf ${myconf} || die 'configure failed' + emake || die "install failed for current version" +} + +src_install() { + emake DESTDIR="${D}" install || die "installed failed for current version" + rm -rf "${D}"/etc/ + + # https://sourceforge.net/tracker/index.php?func=detail&aid=1705197&group_id=976&atid=350976 + insinto /usr/share/aclocal + doins docs/libcurl/libcurl.m4 + + dodoc CHANGES README + dodoc docs/FEATURES docs/INTERNALS + dodoc docs/MANUAL docs/FAQ docs/BUGS docs/CONTRIBUTE +} + +pkg_postinst() { + if [[ -e "${ROOT}"/usr/$(get_libdir)/libcurl.so.3 ]] ; then + elog "You must re-compile all packages that are linked against" + elog "curl-7.15.* by using revdep-rebuild from gentoolkit:" + elog "# revdep-rebuild --library libcurl.so.3" + fi +} diff --git a/net-misc/curl/curl-7.17.1.ebuild b/net-misc/curl/curl-7.17.1.ebuild new file mode 100644 index 00000000..e2113d3e --- /dev/null +++ b/net-misc/curl/curl-7.17.1.ebuild @@ -0,0 +1,131 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/curl/curl-7.17.1.ebuild,v 1.8 2008/04/05 12:42:58 dragonheart Exp $ + +# NOTE: If you bump this ebuild, make sure you bump dev-python/pycurl! + +inherit libtool eutils + +#MY_P=${P/_pre/-} +DESCRIPTION="A Client that groks URLs" +HOMEPAGE="http://curl.haxx.se/ http://curl.planetmirror.com" +#SRC_URI="http://cool.haxx.se/curl-daily/${MY_P}.tar.bz2" +SRC_URI="http://curl.planetmirror.com/download/${P}.tar.bz2" + +LICENSE="MIT X11" +SLOT="0" +KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc ~sparc-fbsd x86 ~x86-fbsd" +IUSE="ssl ipv6 ldap ares gnutls nss idn kerberos test" +#IUSE="ssl ipv6 ldap ares gnutls libssh2 nss idn kerberos test" + +RDEPEND="gnutls? ( net-libs/gnutls app-misc/ca-certificates ) + nss? ( !gnutls? ( dev-libs/nss app-misc/ca-certificates ) ) + ssl? ( !gnutls? ( !nss? ( dev-libs/openssl app-misc/ca-certificates ) ) ) + ldap? ( net-nds/openldap ) + idn? ( net-dns/libidn ) + ares? ( >=net-dns/c-ares-1.4.0 ) + kerberos? ( virtual/krb5 )" +# libssh2? ( >=net-libs/libssh2-0.16 )" + +# net-libs/libssh2 (masked) --with-libssh2 +# fbopenssl (not in gentoo) --with-spnego +# krb4 http://web.mit.edu/kerberos/www/krb4-end-of-life.html + +DEPEND="${RDEPEND} + test? ( + sys-apps/diffutils + dev-lang/perl + )" +# used - but can do without in self test: net-misc/stunnel +#S="${WORKDIR}"/${MY_P} + +src_unpack() { + unpack ${A} + cd "${S}" +# epatch "${FILESDIR}"/${P}-strip-ldflags.patch + epatch "${FILESDIR}"/curl-7.16.2-strip-ldflags.patch + epatch "${FILESDIR}"/${P}-null-handler-segfault.patch + elibtoolize +} + +src_compile() { + + myconf="$(use_enable ldap) + $(use_enable ldap ldaps) + $(use_with idn libidn) + $(use_with kerberos gssapi /usr) + $(use_enable ipv6) + --enable-http + --enable-ftp + --enable-gopher + --enable-file + --enable-dict + --enable-manual + --enable-telnet + --enable-nonblocking + --enable-largefile + --enable-maintainer-mode + --disable-sspi + --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt + --without-krb4 + --without-libssh2 + --without-spnego" +# $(use_with libssh2) + + if use ldap && use kerberos; then + die 'ldap and kerberos (gssapi) not playing nicely try version >=7.18.1' + fi + + if use ipv6 && use ares; then + elog "c-ares support disabled because it is incompatible with ipv6." + myconf="${myconf} --disable-ares" + else + myconf="${myconf} $(use_enable ares)" + fi + + if use gnutls; then + myconf="${myconf} --without-ssl --with-gnutls --without-nss" + elif use nss; then + myconf="${myconf} --without-ssl --without-gnutls --with-nss" + elif use ssl; then + myconf="${myconf} --without-gnutls --without-nss --with-ssl" + else + myconf="${myconf} --without-gnutls --without-nss --without-ssl" + fi + + econf ${myconf} || die 'configure failed' + emake || die "install failed for current version" +} + +src_test() { + if use gnutls; then + elog 'disabling test 405 ftps as gnutls does differing return codes' + elog 'that the test case does not allow for. ' + elog 'https://bugs.gentoo.org/show_bug.cgi?id=204130 refers' + cd "${S}"/tests + ./runtests.pl -a -s '!405' || die 'self test failed' + else + make check || die 'self test failed' + fi +} + +src_install() { + emake DESTDIR="${D}" install || die "installed failed for current version" + rm -rf "${D}"/etc/ + + # https://sourceforge.net/tracker/index.php?func=detail&aid=1705197&group_id=976&atid=350976 + insinto /usr/share/aclocal + doins docs/libcurl/libcurl.m4 + + dodoc CHANGES README + dodoc docs/FEATURES docs/INTERNALS + dodoc docs/MANUAL docs/FAQ docs/BUGS docs/CONTRIBUTE +} + +pkg_postinst() { + if [[ -e "${ROOT}"/usr/$(get_libdir)/libcurl.so.3 ]] ; then + elog "You must re-compile all packages that are linked against" + elog "curl-7.15.* by using revdep-rebuild from gentoolkit:" + elog "# revdep-rebuild --library libcurl.so.3" + fi +} diff --git a/net-misc/curl/curl-7.18.2.ebuild b/net-misc/curl/curl-7.18.2.ebuild new file mode 100644 index 00000000..db733d80 --- /dev/null +++ b/net-misc/curl/curl-7.18.2.ebuild @@ -0,0 +1,117 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/curl/curl-7.18.2.ebuild,v 1.7 2008/08/25 20:22:46 jer Exp $ + +# NOTE: If you bump this ebuild, make sure you bump dev-python/pycurl! + +inherit libtool autotools + +#MY_P=${P/_pre/-} +DESCRIPTION="A Client that groks URLs" +HOMEPAGE="http://curl.haxx.se/ http://curl.planetmirror.com" +#SRC_URI="http://cool.haxx.se/curl-daily/${MY_P}.tar.bz2" +SRC_URI="http://curl.planetmirror.com/download/${P}.tar.bz2" + +LICENSE="MIT X11" +SLOT="0" +KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc ~sparc-fbsd x86 ~x86-fbsd" +#IUSE="ssl ipv6 ldap ares gnutls nss idn kerberos test" +IUSE="ssl ipv6 ldap ares gnutls libssh2 nss idn kerberos test" + +# TODO - change to openssl USE flag in the not too distant future +# https://bugs.gentoo.org/show_bug.cgi?id=207653#c3 (April 2008) + +RDEPEND="gnutls? ( net-libs/gnutls app-misc/ca-certificates ) + nss? ( !gnutls? ( dev-libs/nss app-misc/ca-certificates ) ) + ssl? ( !gnutls? ( !nss? ( dev-libs/openssl app-misc/ca-certificates ) ) ) + ldap? ( net-nds/openldap ) + idn? ( net-dns/libidn ) + ares? ( >=net-dns/c-ares-1.4.0 ) + kerberos? ( virtual/krb5 ) + libssh2? ( >=net-libs/libssh2-0.16 )" + +# fbopenssl (not in gentoo) --with-spnego +# krb4 http://web.mit.edu/kerberos/www/krb4-end-of-life.html + +DEPEND="${RDEPEND} + test? ( + sys-apps/diffutils + dev-lang/perl + )" +# used - but can do without in self test: net-misc/stunnel +#S="${WORKDIR}"/${MY_P} + +src_unpack() { + unpack ${A} + cd "${S}" +# epatch "${FILESDIR}"/curl-7.17.0-strip-ldflags.patch +# epatch "${FILESDIR}"/curl-7.18.2-lssl.diff +} + +src_compile() { + + myconf="$(use_enable ldap) + $(use_enable ldap ldaps) + $(use_with idn libidn) + $(use_with kerberos gssapi /usr) + $(use_with libssh2) + $(use_enable ipv6) + --enable-http + --enable-ftp + --enable-gopher + --enable-file + --enable-dict + --enable-manual + --enable-telnet + --enable-nonblocking + --enable-largefile + --enable-maintainer-mode + --disable-sspi + --without-krb4 + --without-spnego" + + if use ipv6 && use ares; then + elog "c-ares support disabled because it is incompatible with ipv6." + myconf="${myconf} --disable-ares" + else + myconf="${myconf} $(use_enable ares)" + fi + + if use gnutls; then + myconf="${myconf} --without-ssl --with-gnutls --without-nss" + myconf="${myconf} --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt" + elif use nss; then + myconf="${myconf} --without-ssl --without-gnutls --with-nss" + myconf="${myconf} --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt" + elif use ssl; then + myconf="${myconf} --without-gnutls --without-nss --with-ssl" + myconf="${myconf} --without-ca-bundle --with-ca-path=/etc/ssl/certs" + else + myconf="${myconf} --without-gnutls --without-nss --without-ssl" + fi + + econf ${myconf} || die 'configure failed' + + emake || die "install failed for current version" +} + +src_install() { + emake DESTDIR="${D}" install || die "installed failed for current version" + rm -rf "${D}"/etc/ + + # https://sourceforge.net/tracker/index.php?func=detail&aid=1705197&group_id=976&atid=350976 + insinto /usr/share/aclocal + doins docs/libcurl/libcurl.m4 + + dodoc CHANGES README + dodoc docs/FEATURES docs/INTERNALS + dodoc docs/MANUAL docs/FAQ docs/BUGS docs/CONTRIBUTE +} + +pkg_postinst() { + if [[ -e "${ROOT}"/usr/$(get_libdir)/libcurl.so.3 ]] ; then + elog "You must re-compile all packages that are linked against" + elog "curl-7.15.* by using revdep-rebuild from gentoolkit:" + elog "# revdep-rebuild --library libcurl.so.3" + fi +} diff --git a/net-misc/curl/files/curl-7.15-strip-ldflags.patch b/net-misc/curl/files/curl-7.15-strip-ldflags.patch new file mode 100644 index 00000000..5c5999ae --- /dev/null +++ b/net-misc/curl/files/curl-7.15-strip-ldflags.patch @@ -0,0 +1,20 @@ +--- curl-7.15.4/curl-config.in 2006-05-02 23:48:22.000000000 +0100 ++++ curl-7.15.4/curl-config.in 2006-07-17 12:32:59.000000000 +0100 +@@ -181,7 +181,7 @@ + ;; + + --libs) +- echo -L@libdir@ -lcurl @LDFLAGS@ @LIBS@ ++ echo -L@libdir@ -lcurl @LIBS@ + ;; + + *) +--- curl-7.15.4/libcurl.pc.in 2004-12-11 18:46:40.000000000 +0000 ++++ curl-7.15.4/libcurl.pc.in 2006-07-17 12:33:10.000000000 +0100 +@@ -6,5 +6,5 @@ + Name: libcurl + Description: Library to transfer files with ftp, http, etc. + Version: @VERSION@ +-Libs: -L${libdir} -lcurl @LDFLAGS@ @LIBS@ ++Libs: -L${libdir} -lcurl @LIBS@ + Cflags: -I${includedir} diff --git a/net-misc/curl/files/curl-7.15.1-test62.patch b/net-misc/curl/files/curl-7.15.1-test62.patch new file mode 100644 index 00000000..15ec3637 --- /dev/null +++ b/net-misc/curl/files/curl-7.15.1-test62.patch @@ -0,0 +1,15 @@ +--- curl-7.15.5/tests/data/test62.orig 2007-02-11 13:56:10.000000000 +1100 ++++ curl-7.15.5/tests/data/test62 2007-02-11 14:01:18.000000000 +1100 +@@ -32,9 +32,9 @@ + # http://www.netscape.com/newsref/std/cookie_spec.html + # This file was generated by libcurl! Edit at your own risk. + +-.foo.com TRUE /we/want/ FALSE 1170327387 test yes +-.host.foo.com TRUE /we/want/ FALSE 1170327387 test2 yes +-.fake.host.foo.com TRUE /we/want/ FALSE 1170327387 test4 yes ++.foo.com TRUE /we/want/ FALSE 1577802600 test yes ++.host.foo.com TRUE /we/want/ FALSE 1577802600 test2 yes ++.fake.host.foo.com TRUE /we/want/ FALSE 1577802600 test4 yes + + .foo.com TRUE /moo TRUE 0 test3 maybe + diff --git a/net-misc/curl/files/curl-7.16.2-strip-ldflags.patch b/net-misc/curl/files/curl-7.16.2-strip-ldflags.patch new file mode 100644 index 00000000..1c33fc5f --- /dev/null +++ b/net-misc/curl/files/curl-7.16.2-strip-ldflags.patch @@ -0,0 +1,24 @@ +--- curl-7.16.2/libcurl.pc.in.orig 2007-04-14 10:11:14.000000000 +1000 ++++ curl-7.16.2/libcurl.pc.in 2007-04-14 10:11:26.000000000 +1000 +@@ -33,6 +33,6 @@ + URL: http://curl.haxx.se/ + Description: Library to transfer files with ftp, http, etc. + Version: @VERSION@ +-Libs: -L${libdir} -lcurl @LDFLAGS@ @LIBS@ ++Libs: -L${libdir} -lcurl @LIBS@ + Libs.private: @LIBCURL_LIBS@ @LIBS@ + Cflags: -I${includedir} +--- curl-7.16.3/curl-config.in.orig 2007-06-28 22:22:51.000000000 +1000 ++++ curl-7.16.3/curl-config.in 2007-06-28 22:23:10.000000000 +1000 +@@ -187,9 +187,9 @@ + CURLLIBDIR="" + fi + if test "X@REQUIRE_LIB_DEPS@" = "Xyes"; then +- echo ${CURLLIBDIR}-lcurl @LDFLAGS@ @LIBCURL_LIBS@ @LIBS@ ++ echo ${CURLLIBDIR}-lcurl @LIBCURL_LIBS@ @LIBS@ + else +- echo ${CURLLIBDIR}-lcurl @LDFLAGS@ @LIBS@ ++ echo ${CURLLIBDIR}-lcurl @LIBS@ + fi + ;; + diff --git a/net-misc/curl/files/curl-7.17.0-strip-ldflags.patch b/net-misc/curl/files/curl-7.17.0-strip-ldflags.patch new file mode 100644 index 00000000..ac11500a --- /dev/null +++ b/net-misc/curl/files/curl-7.17.0-strip-ldflags.patch @@ -0,0 +1,24 @@ +--- libcurl.pc.in.orig 2007-09-14 07:36:31.000000000 +1000 ++++ libcurl.pc.in 2007-09-14 07:36:49.000000000 +1000 +@@ -33,6 +33,6 @@ + URL: http://curl.haxx.se/ + Description: Library to transfer files with ftp, http, etc. + Version: @VERSION@ +-Libs: -L${libdir} -lcurl @LDFLAGS@ @LIBS@ ++Libs: -L${libdir} -lcurl @LIBS@ + Libs.private: @LIBCURL_LIBS@ @LIBS@ + Cflags: -I${includedir} +--- curl-config.in.orig 2007-09-14 07:36:18.000000000 +1000 ++++ curl-config.in 2007-09-14 07:37:14.000000000 +1000 +@@ -187,9 +187,9 @@ + CURLLIBDIR="" + fi + if test "X@REQUIRE_LIB_DEPS@" = "Xyes"; then +- echo ${CURLLIBDIR}-lcurl @LDFLAGS@ @LIBCURL_LIBS@ @LIBS@ ++ echo ${CURLLIBDIR}-lcurl @LIBCURL_LIBS@ @LIBS@ + else +- echo ${CURLLIBDIR}-lcurl @LDFLAGS@ @LIBS@ ++ echo ${CURLLIBDIR}-lcurl @LIBS@ + fi + ;; + diff --git a/net-misc/curl/files/curl-7.17.1-null-handler-segfault.patch b/net-misc/curl/files/curl-7.17.1-null-handler-segfault.patch new file mode 100644 index 00000000..0d3b766e --- /dev/null +++ b/net-misc/curl/files/curl-7.17.1-null-handler-segfault.patch @@ -0,0 +1,69 @@ +Segfault in CURL (used from PHP) +Found by Robin H. Johnson +This was because of an invalid URL: /hash/597cfbe5740d2bf91eb4b037e6750bacd76d3729/added + +#0 0x00002b33e61ba166 in Curl_disconnect (conn=0xe46210) at url.c:2077 +2077 if(conn->handler->disconnect) +(gdb) print conn->handler +$1 = (const struct Curl_handler *) 0x0 +(gdb) bt full +#0 0x00002b33e61ba166 in Curl_disconnect (conn=0xe46210) at url.c:2077 + data = (struct SessionHandle *) 0xe363d0 +#1 0x00002b33e61bc27e in Curl_connect (data=0xe363d0, in_connect=0x7fffc6067818, asyncp=0x7fffc6067827, protocol_done=0x7fffc6067826) at url.c:4255 + connected = false + code = CURLE_OK + dns = (struct Curl_dns_entry *) 0x0 +#2 0x00002b33e61c67db in Curl_perform (data=0xe363d0) at transfer.c:2333 + res = CURLE_OK + res2 = + conn = (struct connectdata *) 0xe46210 + newurl = 0x0 + retry = 232 +#3 0x0000000000472005 in zif_curl_exec () +#4 0x000000000061bd42 in ?? () +#5 0x000000000061ae23 in execute () +#6 0x000000000061b815 in ?? () +#7 0x000000000061ae23 in execute () +#8 0x00000000005fcef3 in zend_execute_scripts () +#9 0x00000000005bd468 in php_execute_script () +#10 0x00000000006791ab in main () + +diff -Nuar curl-7.17.1-20071013.orig/lib/url.c curl-7.17.1-20071013/lib/url.c +--- curl-7.17.1-20071013.orig/lib/url.c 2007-10-13 02:00:02.000000000 +0000 ++++ curl-7.17.1-20071013/lib/url.c 2007-11-12 13:13:37.401514781 +0000 +@@ -2594,7 +2594,7 @@ + curl_socket_t *socks, + int numsocks) + { +- if(conn->handler->proto_getsock) ++ if(conn && conn->handler && conn->handler->proto_getsock) + return conn->handler->proto_getsock(conn, socks, numsocks); + return GETSOCK_BLANK; + } +@@ -4325,7 +4325,7 @@ + } + + /* this calls the protocol-specific function pointer previously set */ +- if(conn->handler->done) ++ if(conn->handler && conn->handler->done) + result = conn->handler->done(conn, status, premature); + else + result = CURLE_OK; +@@ -4378,7 +4378,7 @@ + conn->bits.done = FALSE; /* Curl_done() is not called yet */ + conn->bits.do_more = FALSE; /* by default there's no curl_do_more() to use */ + +- if(conn->handler->do_it) { ++ if(conn->handler && conn->handler->do_it) { + /* generic protocol-specific function pointer set in curl_connect() */ + result = conn->handler->do_it(conn, done); + +@@ -4441,7 +4441,7 @@ + { + CURLcode result=CURLE_OK; + +- if(conn->handler->do_more) ++ if(conn->handler && conn->handler->do_more) + result = conn->handler->do_more(conn); + + return result; diff --git a/net-misc/curl/files/curl-7.18.2-lssl.diff b/net-misc/curl/files/curl-7.18.2-lssl.diff new file mode 100644 index 00000000..5a684163 --- /dev/null +++ b/net-misc/curl/files/curl-7.18.2-lssl.diff @@ -0,0 +1,11 @@ +--- src/Makefile.am.ori 2008-10-21 23:42:30.000000000 +0200 ++++ src/Makefile.am 2008-10-21 23:42:43.000000000 +0200 +@@ -37,7 +37,7 @@ + + include Makefile.inc + +-curl_LDADD = ../lib/libcurl.la @CURL_LIBS@ ++curl_LDADD = ../lib/libcurl.la @CURL_LIBS@ @LIBCURL_LIBS@ + curl_DEPENDENCIES = ../lib/libcurl.la + BUILT_SOURCES = hugehelp.c + CLEANFILES = hugehelp.c diff --git a/net-misc/curl/files/libcurl-gnutlscert.patch b/net-misc/curl/files/libcurl-gnutlscert.patch new file mode 100644 index 00000000..f905701c --- /dev/null +++ b/net-misc/curl/files/libcurl-gnutlscert.patch @@ -0,0 +1,51 @@ +Index: lib/gtls.c +=================================================================== +RCS file: /cvsroot/curl/curl/lib/gtls.c,v +retrieving revision 1.27 +diff -u -r1.27 gtls.c +--- lib/gtls.c 28 Apr 2007 21:01:30 -0000 1.27 ++++ lib/gtls.c 10 Jul 2007 20:27:43 -0000 +@@ -420,6 +420,43 @@ + else + infof(data, "\t common name: %s (matched)\n", certbuf); + ++ /* Check for time-based validity */ ++ clock = gnutls_x509_crt_get_expiration_time(x509_cert); ++ ++ if(clock == (time_t)-1) { ++ failf(data, "server cert expiration date verify failed"); ++ return CURLE_SSL_CONNECT_ERROR; ++ } ++ ++ if(clock < time(NULL)) { ++ if (data->set.ssl.verifypeer) { ++ failf(data, "server certificate expiration date has passed."); ++ return CURLE_SSL_PEER_CERTIFICATE; ++ } ++ else ++ infof(data, "\t server certificate expiration date FAILED\n"); ++ } ++ else ++ infof(data, "\t server certificate expiration date OK\n"); ++ ++ clock = gnutls_x509_crt_get_activation_time(x509_cert); ++ ++ if(clock == (time_t)-1) { ++ failf(data, "server cert activation date verify failed"); ++ return CURLE_SSL_CONNECT_ERROR; ++ } ++ ++ if(clock > time(NULL)) { ++ if (data->set.ssl.verifypeer) { ++ failf(data, "server certificate not activated yet."); ++ return CURLE_SSL_PEER_CERTIFICATE; ++ } ++ else ++ infof(data, "\t server certificate activation date FAILED\n"); ++ } ++ else ++ infof(data, "\t server certificate activation date OK\n"); ++ + /* Show: + + - ciphers used diff --git a/net-misc/curl/metadata.xml b/net-misc/curl/metadata.xml new file mode 100644 index 00000000..92bead64 --- /dev/null +++ b/net-misc/curl/metadata.xml @@ -0,0 +1,13 @@ + + + + no-herd + + dragonheart@gentoo.org + + + Enabled c-ares dns support + Enabled SSH urls in curl using libssh2 + Use NSS as the crypto engine + + -- cgit v1.2.3