Kévin THIERRY [Thu, 30 Oct 2014 15:26:04 +0000 (16:26 +0100)]
Bump to version 7.37.1
Use upstream git instead of pristin-tar.
Also use "%__make" and "%make_install" rpm macros.
Bug-Tizen: TC-1807
Change-Id: If52b5604533d6e03826eae8ce35c01184cf208ab
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
Patrick McCarty [Wed, 4 Sep 2013 17:59:11 +0000 (10:59 -0700)]
Packaging cleanups
- Fix whitespace
- Package license for libcurl
- Fix RPM group tags
- Add the upstream URL
Change-Id: I101c1d0272da282dced66d439058d84ead13bd39
Patrick McCarty [Wed, 4 Sep 2013 17:45:38 +0000 (10:45 -0700)]
Update to 7.32.0
This update addresses the following CVEs:
- CVE-2011-2192
- CVE-2012-0036
- CVE-2013-1944
Change-Id: I58ed3c3561cbb670fb49ffc43a5e6b3be7c1a829
Alexandru Cornea [Fri, 28 Jun 2013 20:18:53 +0000 (23:18 +0300)]
resetting manifest requested domain to floor
Change-Id: Ib4fd617379bc46744c4a951b8232fabe30e7e4c1
Anas Nashif [Sat, 16 Feb 2013 06:37:24 +0000 (22:37 -0800)]
Add baselibs
Change-Id: I147e3da210e065be06ee455dd91c6d7548ed7492
Anas Nashif [Tue, 30 Oct 2012 22:51:57 +0000 (15:51 -0700)]
add packaging
Change-Id: Ia2b58e13b0000ced9c1e8c4895f0cdffb27cc877
Daniel Stenberg [Wed, 16 Jul 2014 14:29:02 +0000 (16:29 +0200)]
RELEASE-NOTES: synced with
4cb2521595
Daniel Stenberg [Tue, 15 Jul 2014 22:09:58 +0000 (00:09 +0200)]
test506: verify
aa6884845168
After the fixed cookie lock deadlock, this test now passes and it
detects double-locking and double-unlocking of mutexes.
Yousuke Kimoto [Mon, 14 Jul 2014 18:38:18 +0000 (20:38 +0200)]
cookie: avoid mutex deadlock
... by removing the extra mutex locks around th call to
Curl_flush_cookies() which takes care of the locking itself already.
Bug: http://curl.haxx.se/mail/lib-2014-02/0184.html
Daniel Stenberg [Tue, 15 Jul 2014 19:28:10 +0000 (21:28 +0200)]
gnutls: fix compiler warning
conversion to 'int' from 'long int' may alter its value
Dan Fandrich [Mon, 14 Jul 2014 23:01:39 +0000 (01:01 +0200)]
test320: strip off the actual negotiated cipher width
It's irrelevant to the test, and will change depending on which SSL
library is being used by libcurl.
Dan Fandrich [Mon, 14 Jul 2014 20:27:03 +0000 (22:27 +0200)]
gnutls: detect lack of SRP support in GnuTLS at run-time and try without
Reported-by: David Woodhouse
Michał Górny [Sun, 15 Jun 2014 10:42:30 +0000 (12:42 +0200)]
configure: respect host tool prefix for krb5-config
Use ${host_alias}-krb5-config if available. This improves cross-
compilation support and fixes multilib on Gentoo (at least).
David Woodhouse [Mon, 14 Jul 2014 18:04:55 +0000 (20:04 +0200)]
gnutls: handle IP address in cert name check
Before GnuTLS 3.3.6, the gnutls_x509_crt_check_hostname() function
didn't actually check IP addresses in SubjectAltName, even though it was
explicitly documented as doing so. So do it ourselves...
Dan Fandrich [Mon, 14 Jul 2014 08:40:33 +0000 (10:40 +0200)]
build: set _POSIX_PTHREAD_SEMANTICS on Solaris to get proper getpwuid_r
Daniel Stenberg [Mon, 14 Jul 2014 17:30:50 +0000 (19:30 +0200)]
RELEASE-NOTES: next one is called 7.37.1
Dan Fandrich [Sat, 12 Jul 2014 23:30:52 +0000 (01:30 +0200)]
gnutls: improved error message if setting cipher list fails
Reported-by: David Woodhouse
Dan Fandrich [Sat, 12 Jul 2014 22:18:40 +0000 (00:18 +0200)]
netrc: fixed thread safety problem by using getpwuid_r if available
The old way using getpwuid could cause problems in programs that enable
reading from netrc files simultaneously in multiple threads.
Reported-by: David Woodhouse
Dan Fandrich [Sat, 12 Jul 2014 21:39:22 +0000 (23:39 +0200)]
RELEASE-NOTES: add the reporter of the previous bug fix
Dan Fandrich [Sat, 12 Jul 2014 18:19:34 +0000 (20:19 +0200)]
netrc: treat failure to find home dir same as missing netrc file
This previously caused a fatal error (with a confusing error code, at
that).
Reported by: Glen A Johnson Jr.
Steve Holme [Sat, 12 Jul 2014 14:23:39 +0000 (15:23 +0100)]
RELEASE-NOTES: Synced with
aaaf9e50ec
Steve Holme [Sat, 12 Jul 2014 13:56:47 +0000 (14:56 +0100)]
ntlm_wb: Fixed buffer size not being large enough for NTLMv2 sessions
Bug: http://curl.haxx.se/mail/lib-2014-07/0103.html
Reported-by: David Woodhouse
Steve Holme [Sat, 28 Jun 2014 12:02:03 +0000 (13:02 +0100)]
build: Fixed overridden compiler PDB settings in VC7 to VC12
The curl tool project files for VC7 to VC12 would override the default
setting with the output filename being the same as the linker PDB file.
As such the compiler file would be overwritten with the linker file
for all debug builds.
To avoid this overwrite and for consistency with the libcurl project
files, removed the setting to force the default filename to be used.
Dan Fandrich [Fri, 11 Jul 2014 23:49:35 +0000 (01:49 +0200)]
tests: added globbing keyword to URL globbing tests
Dan Fandrich [Fri, 11 Jul 2014 23:39:56 +0000 (01:39 +0200)]
Fixed some "statement not reached" warnings
Dan Fandrich [Fri, 11 Jul 2014 23:31:12 +0000 (01:31 +0200)]
gnutls: fixed a couple of uninitialized variable references
Dan Fandrich [Fri, 11 Jul 2014 22:33:16 +0000 (00:33 +0200)]
gnutls: fixed compilation against versions < 2.12.0
The AES-GCM ciphers were added to GnuTLS as late as ver. 3.0.1 but
the code path in which they're referenced here is only ever used for
somewhat older GnuTLS versions. This caused undeclared identifier errors
when compiling against those.
Dan Fandrich [Fri, 11 Jul 2014 21:55:53 +0000 (23:55 +0200)]
gnutls: explicitly added SRP to the priority string
This seems to have become necessary for SRP support to work starting
with GnuTLS ver. 2.99.0. Since support for SRP was added to GnuTLS
before the function that takes this priority string, there should be no
issue with backward compatibility.
Dan Fandrich [Fri, 11 Jul 2014 21:43:13 +0000 (23:43 +0200)]
tests: adjust for capitalization differences in newer gnutls-serv
Dan Fandrich [Fri, 11 Jul 2014 21:40:01 +0000 (23:40 +0200)]
test320/1/2/4: fix the port number substitution variables
These tests have been broken since commit
1958fe57 in Oct. 2011
Dan Fandrich [Fri, 11 Jul 2014 21:33:55 +0000 (23:33 +0200)]
tests: document more test identifiers and variables
Dan Fandrich [Fri, 11 Jul 2014 21:21:31 +0000 (23:21 +0200)]
gnutls: ignore invalid certificate dates with VERIFYPEER disabled
This makes the behaviour consistent with what happens if a date can
be extracted from the certificate but is expired.
Steve Holme [Thu, 10 Jul 2014 21:30:30 +0000 (22:30 +0100)]
CURLOPT_UPLOAD: Corrected argument type
Daniel Stenberg [Thu, 10 Jul 2014 03:06:34 +0000 (22:06 -0500)]
FAQ: expand the thread-safe section
... with a mention of *NOSIGNAL, based on talk in bug #1386
Dan Fandrich [Mon, 7 Jul 2014 21:12:22 +0000 (23:12 +0200)]
url.c: Fixed memory leak on OOM
This showed itself on some systems with torture failures
in tests 1060 and 1061
Dan Fandrich [Sat, 5 Jul 2014 14:59:12 +0000 (16:59 +0200)]
Update instances of some obsolete CURLOPTs to their new names
Marcel Raad [Fri, 4 Jul 2014 16:26:57 +0000 (18:26 +0200)]
compiler warnings: potentially uninitialized variables
... pointed out by MSVC2013
Bug: http://curl.haxx.se/bug/view.cgi?id=1391
Kamil Dudka [Fri, 4 Jul 2014 10:41:53 +0000 (12:41 +0200)]
nss: make the list of CRL items global
Otherwise NSS could use an already freed item for another connection.
Kamil Dudka [Thu, 3 Jul 2014 22:39:23 +0000 (00:39 +0200)]
nss: fix a memory leak when CURLOPT_CRLFILE is used
Kamil Dudka [Thu, 3 Jul 2014 22:36:21 +0000 (00:36 +0200)]
nss: make crl_der allocated on heap
... and spell it as crl_der instead of crlDER
Kamil Dudka [Thu, 3 Jul 2014 21:53:44 +0000 (23:53 +0200)]
nss: let nss_{cache,load}_crl return CURLcode
Kamil Dudka [Thu, 3 Jul 2014 18:19:35 +0000 (20:19 +0200)]
tool: oops, forgot to include <plarenas.h>
... that contains the declaration of PL_ArenaFinish()
Kamil Dudka [Thu, 3 Jul 2014 18:19:35 +0000 (20:19 +0200)]
tool: call PL_ArenaFinish() on exit if NSPR is used
This prevents valgrind from reporting still reachable memory allocated
by NSPR arenas (mainly the freelist).
Reported-by: Hubert Kario
Dimitrios Siganos [Wed, 2 Jul 2014 09:49:08 +0000 (11:49 +0200)]
example: use correct type (long) for CURLOPT_FOLLOWLOCATION
Dimitrios Siganos [Wed, 2 Jul 2014 09:41:40 +0000 (11:41 +0200)]
Document type of argument for CURLOPT_FOLLOWLOCATION.
Dimitrios Siganos [Wed, 2 Jul 2014 09:41:39 +0000 (11:41 +0200)]
Document type of argument for CURLOPT_ERRORBUFFER.
Dimitrios Siganos [Wed, 2 Jul 2014 09:41:38 +0000 (11:41 +0200)]
Document type of argument for CURLOPT_COPYPOSTFIELDS.
Dimitrios Siganos [Wed, 2 Jul 2014 09:41:37 +0000 (11:41 +0200)]
Document type of argument for CURLOPT_ADDRESS_SCOPE.
Daniel Stenberg [Thu, 3 Jul 2014 20:36:41 +0000 (22:36 +0200)]
curl.1: minor language fix
Bug: http://curl.haxx.se/mail/archive-2014-07/0006.html
Ray Satiro [Mon, 9 Jun 2014 21:57:14 +0000 (23:57 +0200)]
progress callback: skip last callback update on errors
When an error has been detected, skip the final forced call to the
progress callback by making sure to pass the current return code
variable in the Curl_done() call in the CURLM_STATE_DONE state.
This avoids the "extra" callback that could occur even if you returned
error from the progress callback.
Bug: http://curl.haxx.se/mail/lib-2014-06/0062.html
Reported by: Jonathan Cardoso Machado
Dan Fandrich [Wed, 2 Jul 2014 19:40:39 +0000 (21:40 +0200)]
opts: fixed some CURLOPT references so they get turned into links
Kamil Dudka [Wed, 2 Jul 2014 14:34:48 +0000 (16:34 +0200)]
tool: call PR_Cleanup() on exit if NSPR is used
This prevents valgrind from reporting possibly lost memory that NSPR
uses for file descriptor cache and other globally allocated internal
data structures.
Kamil Dudka [Wed, 2 Jul 2014 15:49:37 +0000 (17:49 +0200)]
nss: make the fallback to SSLv3 work again
This feature was unintentionally disabled by commit
ff92fcfb.
Kamil Dudka [Wed, 2 Jul 2014 15:37:43 +0000 (17:37 +0200)]
nss: do not abort on connection failure
... due to calling SSL_VersionRangeGet() with NULL file descriptor
reported-by: upstream tests 305 and 404
Dan Fandrich [Tue, 1 Jul 2014 05:59:28 +0000 (07:59 +0200)]
opts: Document the socket callback function parameters
Steve Holme [Sat, 28 Jun 2014 11:40:06 +0000 (12:40 +0100)]
opts: Fixed some typos
Dan Fandrich [Wed, 25 Jun 2014 20:30:36 +0000 (22:30 +0200)]
curl_easy_setopt.3: fixed the error code for an unsupported option
Dan Fandrich [Mon, 23 Jun 2014 22:00:34 +0000 (00:00 +0200)]
opts: added some DEFAULT and RETURN VALUE sections
Daniel Stenberg [Sat, 21 Jun 2014 21:52:06 +0000 (23:52 +0200)]
libcurl docs: man page edits
mainly to improve how the web versions render
Dan Fandrich [Sat, 21 Jun 2014 18:43:04 +0000 (20:43 +0200)]
curl_easy_setopt.3: fixed some typos
Daniel Stenberg [Sat, 21 Jun 2014 18:21:47 +0000 (20:21 +0200)]
lib man pages: update easy setopt option references
... by using the "\fIopt(3)\fP" syntax they will be linked properly when
the web version of the page is generated.
Daniel Stenberg [Sat, 21 Jun 2014 18:03:35 +0000 (20:03 +0200)]
opts: the CURLOPT_SSL_ENABLE_*PN options are enabled by default
Colin Hogben [Wed, 18 Jun 2014 09:04:22 +0000 (10:04 +0100)]
lib: documentation updates in README.hostip
c-ares now does support IPv6;
avoid implying threaded resolver is Windows-only;
two referenced source files were renamed in 7de2f92
Daniel Stenberg [Sat, 21 Jun 2014 17:46:45 +0000 (19:46 +0200)]
curl_easy_setopt.3: CURLOPT_POSTFIELDS is the exception
... to the always-copy-char *-argument.
And fix some minor mistakes.
Daniel Stenberg [Sat, 21 Jun 2014 13:45:50 +0000 (15:45 +0200)]
curl_easy_setopt.3: refer to the individual man pages
With all the new individual option man pages created, this now refers to
each separate one instead of duplicaing the info. Also makes this page
easier to overview.
Dan Fandrich [Sat, 21 Jun 2014 09:22:04 +0000 (11:22 +0200)]
opts: fixed mancheck for out-of-tree builds
Daniel Stenberg [Fri, 20 Jun 2014 22:03:45 +0000 (00:03 +0200)]
curl_easy_setopt.3: shorten
shorten descriptions, mostly refer to the separate descriptions
Daniel Stenberg [Fri, 20 Jun 2014 12:26:56 +0000 (14:26 +0200)]
CURLOPT_DNS_LOCAL_IP4.3: better short desc
Dan Fandrich [Fri, 20 Jun 2014 21:43:26 +0000 (23:43 +0200)]
opts: document CURLE_OUT_OF_MEMORY among other return values
Dan Fandrich [Fri, 20 Jun 2014 21:04:39 +0000 (23:04 +0200)]
opts: fixed some typos
Daniel Stenberg [Thu, 19 Jun 2014 23:10:34 +0000 (01:10 +0200)]
opts: various corrections
Daniel Stenberg [Thu, 19 Jun 2014 23:02:49 +0000 (01:02 +0200)]
opts: add the rest of the options
... and fixed mancheck to ignore obsolete options
Daniel Stenberg [Thu, 19 Jun 2014 22:58:18 +0000 (00:58 +0200)]
opts: the final bunch of options as man pages
Now all current options have their own man pages.
Daniel Stenberg [Thu, 19 Jun 2014 15:59:00 +0000 (17:59 +0200)]
opts: 37 additional man pages
Daniel Stenberg [Thu, 19 Jun 2014 13:11:49 +0000 (15:11 +0200)]
CURLOPT_URL: move up the text from "Notes"
Daniel Stenberg [Thu, 19 Jun 2014 13:11:28 +0000 (15:11 +0200)]
ROADMAP: removed, now ROADMAP.md
Daniel Stenberg [Thu, 19 Jun 2014 12:16:14 +0000 (14:16 +0200)]
ROADMAP.md: make it markdown formatted
Daniel Stenberg [Thu, 19 Jun 2014 12:08:12 +0000 (14:08 +0200)]
ROADMAP: initial commit of "curl the next few years"
To be further discussed, debated and edited
Daniel Stenberg [Thu, 19 Jun 2014 11:53:13 +0000 (13:53 +0200)]
opts: more man pages
Daniel Stenberg [Thu, 19 Jun 2014 06:40:51 +0000 (08:40 +0200)]
CURLOPT_UNRESTRICTED_AUTH.3: added missing 'T'
Daniel Stenberg [Wed, 18 Jun 2014 22:08:18 +0000 (00:08 +0200)]
opts: makefile now includes all current man pages
Daniel Stenberg [Wed, 18 Jun 2014 21:35:48 +0000 (23:35 +0200)]
opts: 11 more man pages
Dan Fandrich [Wed, 18 Jun 2014 21:27:24 +0000 (23:27 +0200)]
opts: document CURLE_OUT_OF_MEMORY as RETURN VALUE
Dan Fandrich [Wed, 18 Jun 2014 21:07:08 +0000 (23:07 +0200)]
opts: fixed a couple of typos
Patrick Monnerat [Wed, 18 Jun 2014 18:22:44 +0000 (20:22 +0200)]
OS400: make it compilable again. Make RPG binding up to date.
Patrick Monnerat [Wed, 18 Jun 2014 13:41:06 +0000 (15:41 +0200)]
buildconf: do not search tools in current directory.
Dan Fandrich [Wed, 18 Jun 2014 12:56:13 +0000 (14:56 +0200)]
curl.h: renamed CURLOPT_DEPRECATEDx to CURLOPT_OBSOLETEx
This is consistent with the existing obsolete error code naming
convention.
Daniel Stenberg [Wed, 18 Jun 2014 12:38:24 +0000 (14:38 +0200)]
opts: 16 more man pages
Daniel Stenberg [Wed, 18 Jun 2014 11:18:58 +0000 (13:18 +0200)]
opts: more man pages
Daniel Stenberg [Wed, 18 Jun 2014 09:55:13 +0000 (11:55 +0200)]
CURLOPT_READFUNCTION.3: add short desc
Daniel Stenberg [Wed, 18 Jun 2014 09:54:42 +0000 (11:54 +0200)]
CURLOPT_LOW_SPEED_LIMIT.3: language
Daniel Stenberg [Wed, 18 Jun 2014 09:45:22 +0000 (11:45 +0200)]
opts: 4 more man pages
Daniel Stenberg [Wed, 18 Jun 2014 08:18:00 +0000 (10:18 +0200)]
opts: add all existing man pages to the dist
Daniel Stenberg [Wed, 18 Jun 2014 08:14:32 +0000 (10:14 +0200)]
libcurl build: use correct dir when cd'ing to opts for pdf building
Dan Fandrich [Tue, 17 Jun 2014 23:17:23 +0000 (01:17 +0200)]
tests: Use CURLOPT_READDATA instead of the obsolete CURLOPT_INFILE
Dan Fandrich [Tue, 17 Jun 2014 22:54:30 +0000 (00:54 +0200)]
opts: fixed a few typos
Daniel Stenberg [Tue, 17 Jun 2014 22:29:22 +0000 (00:29 +0200)]
opts: 29 more options as man pages
Daniel Stenberg [Tue, 17 Jun 2014 21:36:29 +0000 (23:36 +0200)]
curl.h: moved two really old deprecated symbols
... from the CINIT() enum
Daniel Stenberg [Tue, 17 Jun 2014 16:04:40 +0000 (18:04 +0200)]
opts: 9 more options as separate man pages
Daniel Stenberg [Tue, 17 Jun 2014 14:48:16 +0000 (16:48 +0200)]
opts: 3 more options as man pages