From ccaf6c774b60d5c8a60389c5bed4f24fd933f996446cf007e30d13d164ec1a2d Mon Sep 17 00:00:00 2001 From: OBS User buildservice-autocommit Date: Wed, 3 Aug 2011 14:03:40 +0000 Subject: [PATCH 1/2] Updating link to change in openSUSE:Factory/curl revision 60.0 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=54d91ce71545d35340c92fad9cd38586 --- curl.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/curl.spec b/curl.spec index 83e0d7b..4656114 100644 --- a/curl.spec +++ b/curl.spec @@ -1,7 +1,7 @@ # -# spec file for package curl (Version 7.21.2) +# spec file for package curl # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,7 +22,7 @@ %bcond_without testsuite Name: curl -BuildRequires: libidn-devel openldap2-devel pkg-config zlib-devel lzma +BuildRequires: libidn-devel lzma openldap2-devel pkg-config zlib-devel %if %{with openssl} BuildRequires: openssl-devel %endif @@ -38,7 +38,7 @@ BuildRequires: stunnel %endif #define cvs_suffix -20090302 Version: 7.21.7 -Release: 2 +Release: 1 AutoReqProv: on # bug437293 %ifarch ppc64 From 4db92a5989f4895cf7ac910e3d5aafa3dc669dd541b15daaf4e675db390d6ea8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Mon, 15 Aug 2011 07:26:53 +0000 Subject: [PATCH 2/2] Accepting request 78841 from home:elvigia:branches:devel:libraries:c_c++ - Use SSL_MODE_RELEASE_BUFFERS if available, accepted in upstream as commit 3d919440c80333c496fb OBS-URL: https://build.opensuse.org/request/show/78841 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=53 --- curl-openssl-release-buffers.patch | 13 +++++++++++++ curl.changes | 6 ++++++ curl.spec | 4 ++-- 3 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 curl-openssl-release-buffers.patch diff --git a/curl-openssl-release-buffers.patch b/curl-openssl-release-buffers.patch new file mode 100644 index 0000000..2914f7e --- /dev/null +++ b/curl-openssl-release-buffers.patch @@ -0,0 +1,13 @@ +--- lib/ssluse.c.orig ++++ lib/ssluse.c +@@ -1492,6 +1492,10 @@ ossl_connect_step1(struct connectdata *c + return CURLE_OUT_OF_MEMORY; + } + ++#ifdef SSL_MODE_RELEASE_BUFFERS ++ SSL_CTX_set_mode(connssl->ctx, SSL_MODE_RELEASE_BUFFERS); ++#endif ++ + #ifdef SSL_CTRL_SET_MSG_CALLBACK + if(data->set.fdebug && data->set.verbose) { + /* the SSL trace callback is only used for verbose logging so we only diff --git a/curl.changes b/curl.changes index 4ca5499..b101832 100644 --- a/curl.changes +++ b/curl.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Aug 15 05:05:01 UTC 2011 - crrodriguez@opensuse.org + +- Use SSL_MODE_RELEASE_BUFFERS if available, accepted + in upstream as commit 3d919440c80333c496fb + ------------------------------------------------------------------- Tue Jul 12 06:46:02 UTC 2011 - coolo@novell.com diff --git a/curl.spec b/curl.spec index 4656114..6252c66 100644 --- a/curl.spec +++ b/curl.spec @@ -52,7 +52,7 @@ Url: http://curl.haxx.se/ Source: curl-%version%{?cvs_suffix}.tar.lzma Source2: baselibs.conf BuildRoot: %{_tmppath}/%{name}-%{version}-build - +Patch: curl-openssl-release-buffers.patch %description Curl is a client to get documents and files from or send documents to a server using any of the supported protocols (HTTP, HTTPS, FTP, FTPS, @@ -84,7 +84,7 @@ user interaction or any kind of interactivity. %prep %setup -q -n curl-%version%{?cvs_suffix} - +%patch %build # local hack to make curl-config --libs stop printing libraries it depends on # (currently, libtool sets link_all_deplibs=(yes|unknown) everywhere,