public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/curl] curl-v8.21.0-9: - drop .easy-leak patch, causes problems in pycurl (#488791)
@ 2026-11-02 14:26 Jindrich Novy
0 siblings, 0 replies; only message in thread
From: Jindrich Novy @ 2026-11-02 14:26 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/curl
Branch : curl-v8.21.0-9
Commit : a8446216421ce84d726d5ee0f03d5f588d113b8d
Author : Jindrich Novy <jnovy@fedoraproject.org>
Date : 2009-03-06T13:45:02+00:00
Stats : +6/-39 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/curl/c/a8446216421ce84d726d5ee0f03d5f588d113b8d?branch=curl-v8.21.0-9
Log:
- drop .easy-leak patch, causes problems in pycurl (#488791)
- fix libcurl-devel dependencies (#488895)
---
diff --git a/curl-7.19.4-easy-leak.patch b/curl-7.19.4-easy-leak.patch
deleted file mode 100644
index bb02547..0000000
--- a/curl-7.19.4-easy-leak.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-diff -up curl-7.19.4/lib/easy.c.easy-leak curl-7.19.4/lib/easy.c
---- curl-7.19.4/lib/easy.c.easy-leak 2009-01-29 21:41:51.000000000 +0100
-+++ curl-7.19.4/lib/easy.c 2009-03-03 07:54:58.000000000 +0100
-@@ -352,13 +352,11 @@ CURL *curl_easy_init(void)
- struct SessionHandle *data;
-
- /* Make sure we inited the global SSL stuff */
-- if(!initialized) {
-- res = curl_global_init(CURL_GLOBAL_DEFAULT);
-- if(res) {
-- /* something in the global init failed, return nothing */
-- DEBUGF(fprintf(stderr, "Error: curl_global_init failed\n"));
-- return NULL;
-- }
-+ res = curl_global_init(CURL_GLOBAL_DEFAULT);
-+ if(res) {
-+ /* something in the global init failed, return nothing */
-+ DEBUGF(fprintf(stderr, "Error: curl_global_init failed\n"));
-+ return NULL;
- }
-
- /* We use curl_open() with undefined URL so far */
-@@ -549,10 +547,10 @@ void curl_easy_cleanup(CURL *curl)
- {
- struct SessionHandle *data = (struct SessionHandle *)curl;
-
-- if(!data)
-- return;
-+ if(data)
-+ Curl_close(data);
-
-- Curl_close(data);
-+ curl_global_cleanup();
- }
-
- /*
diff --git a/curl.spec b/curl.spec
index 9aa6e95..63a242e 100644
--- a/curl.spec
+++ b/curl.spec
@@ -1,14 +1,13 @@
Summary: A utility for getting files from remote servers (FTP, HTTP, and others)
Name: curl
Version: 7.19.4
-Release: 1%{?dist}
+Release: 2%{?dist}
License: MIT
Group: Applications/Internet
Source: http://curl.haxx.se/download/%{name}-%{version}.tar.bz2
Patch1: curl-7.15.3-multilib.patch
Patch2: curl-7.16.0-privlibs.patch
Patch3: curl-7.17.1-badsocket.patch
-Patch4: curl-7.19.4-easy-leak.patch
Provides: webclient
URL: http://curl.haxx.se/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -35,6 +34,7 @@ Summary: Files needed for building applications with libcurl
Group: Development/Libraries
Requires: libcurl = %{version}-%{release}
Requires: libidn-devel, pkgconfig, automake
+Requires: libssh2-devel
Provides: curl-devel = %{version}-%{release}
Obsoletes: curl-devel < %{version}-%{release}
@@ -49,7 +49,6 @@ use cURL's capabilities internally.
%patch1 -p1 -b .multilib
%patch2 -p1 -b .privlibs
%patch3 -p1 -b .badsocket
-%patch4 -p1 -b .easy-leak
# Convert docs to UTF-8
for f in CHANGES README; do
@@ -118,6 +117,10 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/aclocal/libcurl.m4
%changelog
+* Fri Mar 06 2009 Jindrich Novy <jnovy@redhat.com> 7.19.4-2
+- drop .easy-leak patch, causes problems in pycurl (#488791)
+- fix libcurl-devel dependencies (#488895)
+
* Tue Mar 03 2009 Jindrich Novy <jnovy@redhat.com> 7.19.4-1
- update to 7.19.4 (fixes CVE-2009-0037)
- fix leak in curl_easy* functions, thanks to Kamil Dudka
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-02 14:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-02 14:26 [rpms/curl] curl-v8.21.0-9: - drop .easy-leak patch, causes problems in pycurl (#488791) Jindrich Novy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox