Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2015-07-05 17:58:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "curl" Changes: -------- --- /work/SRC/openSUSE:Factory/curl/curl.changes 2015-05-02 21:30:14.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.curl.new/curl.changes 2015-07-05 17:58:37.000000000 +0200 @@ -1,0 +2,33 @@ +Fri Jul 3 08:29:55 UTC 2015 - [email protected] + +- fix a typo in curl-secure-getenv.patch (bsc#936676) + +------------------------------------------------------------------- +Fri Jun 19 13:07:44 UTC 2015 - [email protected] + +- Update to 7.43.0 + * Added CURLOPT_PROXY_SERVICE_NAME + * Added CURLOPT_SERVICE_NAME + * New curl option: --proxy-service-name + * Mew curl option: --service-name + * New curl option: --data-raw + * Added CURLOPT_PIPEWAIT + * Added support for multiplexing transfers using HTTP/2, enable + this with the new CURLPIPE_MULTIPLEX bit for + CURLMOPT_PIPELINING + * HTTP/2: requires nghttp2 1.0.0 or later + * scripts: add zsh.pl for generating zsh completion + * curl.h: add CURL_HTTP_VERSION_2 + * CVE-2015-3236: lingering HTTP credentials in connection re-use + * CVE-2015-3237: SMB send off unrelated memory contents +- Disable HTTP/2 as it would create build cycle + +------------------------------------------------------------------- +Wed May 20 15:18:12 UTC 2015 - [email protected] + +- enable HTTP/2 support +- make the testsuite failure fatal + * added curl-disable_failing_tests.patch + * added groff to BuildRequires to enable builtin manual (test 1026) + +------------------------------------------------------------------- Old: ---- curl-7.42.1.tar.lzma curl-7.42.1.tar.lzma.asc New: ---- curl-7.43.0.tar.lzma curl-7.43.0.tar.lzma.asc curl-disable_failing_tests.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ curl.spec ++++++ --- /var/tmp/diff_new_pack.svpIBf/_old 2015-07-05 17:58:38.000000000 +0200 +++ /var/tmp/diff_new_pack.svpIBf/_new 2015-07-05 17:58:38.000000000 +0200 @@ -20,7 +20,7 @@ %bcond_with mozilla_nss %bcond_without testsuite Name: curl -Version: 7.42.1 +Version: 7.43.0 Release: 0 Summary: A Tool for Transferring Data from URLs License: BSD-3-Clause and MIT @@ -35,6 +35,8 @@ Patch3: curl-secure-getenv.patch # PATCH-FIX-OPENSUSE [email protected] -- use openssl's built in verify path as fallback Patch4: curl-7.41.0-use-openssl-s-built-in-verify-path-as-fallback.diff +Patch5: curl-disable_failing_tests.patch +BuildRequires: groff BuildRequires: krb5-mini-devel BuildRequires: libtool BuildRequires: lzma @@ -97,6 +99,7 @@ %patch1 %patch3 %patch4 -p1 +%patch5 -p1 %build # curl complains if macro definition is contained in CFLAGS @@ -147,15 +150,9 @@ BUILD_INCARNATION=0 fi base=$((8990 + $BUILD_INCARNATION * 20)) -perl ./runtests.pl -a -b$base || { -%if 0%{?curl_testsuite_fatal:1} - exit -%else - echo "WARNING: runtests.pl failed with code $?, continuing nevertheless" -%endif -} -%endif +perl ./runtests.pl -a -b$base || exit popd +%endif %install %make_install @@ -170,9 +167,8 @@ %defattr(-,root,root) %doc README RELEASE-NOTES %doc docs/{BUGS,FAQ,FEATURES,MANUAL,RESOURCES,TODO,TheArtOfHttpScripting} -%doc lib/README.curl_off_t %{_bindir}/curl -%doc %{_mandir}/man1/curl.1%{ext_man} +%{_mandir}/man1/curl.1%{ext_man} %files -n libcurl4 %defattr(-,root,root) ++++++ curl-disable_failing_tests.patch ++++++ Index: curl-7.42.1/tests/data/DISABLED =================================================================== --- curl-7.42.1.orig/tests/data/DISABLED 2015-04-26 18:26:32.000000000 +0200 +++ curl-7.42.1/tests/data/DISABLED 2015-05-20 21:03:57.598275327 +0200 @@ -10,3 +10,5 @@ 836 882 938 +# requires python +1801 ++++++ curl-secure-getenv.patch ++++++ --- /var/tmp/diff_new_pack.svpIBf/_old 2015-07-05 17:58:38.000000000 +0200 +++ /var/tmp/diff_new_pack.svpIBf/_new 2015-07-05 17:58:38.000000000 +0200 @@ -7,7 +7,7 @@ #include "memdebug.h" +#ifndef HAVE_SECURE_GETENV -+# ifdef HAVE__SECURE_GETENV ++# ifdef HAVE___SECURE_GETENV +# define secure_getenv __secure_getenv +# else +# error neither secure_getenv nor __secure_getenv is available ++++++ libcurl-ocloexec.patch ++++++ --- /var/tmp/diff_new_pack.svpIBf/_old 2015-07-05 17:58:38.000000000 +0200 +++ /var/tmp/diff_new_pack.svpIBf/_new 2015-07-05 17:58:38.000000000 +0200 @@ -7,32 +7,10 @@ compile time is not enough. -Index: lib/cookie.c -=================================================================== ---- lib/cookie.c.orig 2015-04-22 10:05:04.652863265 +0200 -+++ lib/cookie.c 2015-04-22 10:05:08.225915413 +0200 -@@ -914,7 +914,7 @@ struct CookieInfo *Curl_cookie_init(stru - fp = NULL; - } - else -- fp = file?fopen(file, "r"):NULL; -+ fp = file?fopen(file, "re"):NULL; - - c->newsession = newsession; /* new session? */ - -@@ -1262,7 +1262,7 @@ static int cookie_output(struct CookieIn - use_stdout=TRUE; - } - else { -- out = fopen(dumphere, "w"); -+ out = fopen(dumphere, "we"); - if(!out) - return 1; /* failure */ - } Index: lib/file.c =================================================================== ---- lib/file.c.orig 2015-04-22 10:05:04.652863265 +0200 -+++ lib/file.c 2015-04-22 10:05:08.226915427 +0200 +--- lib/file.c.orig ++++ lib/file.c @@ -238,7 +238,7 @@ static CURLcode file_connect(struct conn /* binary zeroes indicate foul play */ return CURLE_URL_MALFORMAT; @@ -42,7 +20,7 @@ file->path = real_path; #endif file->freepath = real_path; /* free this when done */ -@@ -336,7 +336,7 @@ static CURLcode file_upload(struct conne +@@ -334,7 +334,7 @@ static CURLcode file_upload(struct conne else mode = MODE_DEFAULT|O_TRUNC; @@ -53,8 +31,8 @@ return CURLE_WRITE_ERROR; Index: lib/formdata.c =================================================================== ---- lib/formdata.c.orig 2015-04-22 10:05:04.652863265 +0200 -+++ lib/formdata.c 2015-04-22 10:05:08.226915427 +0200 +--- lib/formdata.c.orig ++++ lib/formdata.c @@ -1256,7 +1256,7 @@ CURLcode Curl_getformdata(struct Session FILE *fileread; @@ -75,8 +53,8 @@ } Index: lib/hostip6.c =================================================================== ---- lib/hostip6.c.orig 2015-04-22 10:05:04.652863265 +0200 -+++ lib/hostip6.c 2015-04-22 10:05:08.226915427 +0200 +--- lib/hostip6.c.orig ++++ lib/hostip6.c @@ -39,7 +39,7 @@ #ifdef HAVE_PROCESS_H #include <process.h> @@ -97,8 +75,8 @@ ipv6_works = 0; Index: lib/if2ip.c =================================================================== ---- lib/if2ip.c.orig 2015-04-22 10:05:04.652863265 +0200 -+++ lib/if2ip.c 2015-04-22 10:05:08.227915442 +0200 +--- lib/if2ip.c.orig ++++ lib/if2ip.c @@ -222,7 +222,7 @@ if2ip_result_t Curl_if2ip(int af, unsign if(len >= sizeof(req.ifr_name)) return IF2IP_NOT_FOUND; @@ -108,24 +86,11 @@ if(CURL_SOCKET_BAD == dummy) return IF2IP_NOT_FOUND; -Index: lib/netrc.c -=================================================================== ---- lib/netrc.c.orig 2015-04-22 10:05:04.652863265 +0200 -+++ lib/netrc.c 2015-04-22 10:05:08.227915442 +0200 -@@ -109,7 +109,7 @@ int Curl_parsenetrc(const char *host, - netrc_alloc = TRUE; - } - -- file = fopen(netrcfile, "r"); -+ file = fopen(netrcfile, "re"); - if(netrc_alloc) - free(netrcfile); - if(file) { Index: lib/connect.c =================================================================== ---- lib/connect.c.orig 2015-04-22 10:05:04.652863265 +0200 -+++ lib/connect.c 2015-04-22 10:05:08.227915442 +0200 -@@ -1334,7 +1334,7 @@ CURLcode Curl_socket(struct connectdata +--- lib/connect.c.orig ++++ lib/connect.c +@@ -1337,7 +1337,7 @@ CURLcode Curl_socket(struct connectdata (struct curl_sockaddr *)addr); else /* opensocket callback not set, so simply create the socket now */ @@ -136,8 +101,8 @@ /* no socket, no connection */ Index: configure.ac =================================================================== ---- configure.ac.orig 2015-04-22 10:05:04.652863265 +0200 -+++ configure.ac 2015-04-22 10:05:08.228915457 +0200 +--- configure.ac.orig ++++ configure.ac @@ -182,6 +182,7 @@ AC_CANONICAL_HOST dnl Get system canonical name AC_DEFINE_UNQUOTED(OS, "${host}", [cpu-machine-OS])
