public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/curl] curl-v8.21.0-9: - update to curl 7.17.1
@ 2026-11-02 14:25 Jindrich Novy
0 siblings, 0 replies; only message in thread
From: Jindrich Novy @ 2026-11-02 14:25 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/curl
Branch : curl-v8.21.0-9
Commit : c9238ef4e7b03770136814a353d59f5052ef6f06
Author : Jindrich Novy <jnovy@fedoraproject.org>
Date : 2007-11-17T16:06:24+00:00
Stats : +24/-21 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/curl/c/c9238ef4e7b03770136814a353d59f5052ef6f06?branch=curl-v8.21.0-9
Log:
- update to curl 7.17.1
- include patch to enable SSL usage in NSS when a socket is opened
nonblocking, thanks to Rob Crittenden (rcritten@redhat.com)
---
diff --git a/.cvsignore b/.cvsignore
index bac00d9..c6686a0 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -6,3 +6,4 @@ curl-7.16.2.tar.bz2
curl-7.16.3.tar.bz2
curl-7.16.4.tar.bz2
curl-7.17.0.tar.bz2
+curl-7.17.1.tar.bz2
diff --git a/curl-7.16.4-ftp.patch b/curl-7.16.4-ftp.patch
deleted file mode 100644
index 11e5d9a..0000000
--- a/curl-7.16.4-ftp.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- curl-7.16.4/lib/ftp.c.ftp 2007-07-02 00:01:19.000000000 +0200
-+++ curl-7.16.4/lib/ftp.c 2007-08-10 13:24:34.000000000 +0200
-@@ -2372,7 +2372,7 @@ static CURLcode ftp_state_user_resp(stru
- (void)instate; /* no use for this yet */
-
- /* some need password anyway, and others just return 2xx ignored */
-- if((ftpcode == 331 || ftpcode/100 == 2) && (ftpc->state == FTP_USER)) {
-+ if((ftpcode == 331) && (ftpc->state == FTP_USER)) {
- /* 331 Password required for ...
- (the server requires to send the user's password too) */
- NBFTPSENDF(conn, "PASS %s", ftp->passwd?ftp->passwd:"");
diff --git a/curl-7.17.1-sslgen.patch b/curl-7.17.1-sslgen.patch
new file mode 100644
index 0000000..4ab3c8d
--- /dev/null
+++ b/curl-7.17.1-sslgen.patch
@@ -0,0 +1,10 @@
+--- curl-7.17.1/lib/sslgen.c.orig 2007-11-16 22:48:48.000000000 -0500
++++ curl-7.17.1/lib/sslgen.c 2007-11-16 22:49:19.000000000 -0500
+@@ -243,6 +243,7 @@
+ #else
+ #ifdef USE_NSS
+ *done = TRUE; /* fallback to BLOCKING */
++ conn->ssl[sockindex].use = TRUE;
+ return Curl_nss_connect(conn, sockindex);
+ #else
+ #ifdef USE_QSOSSL
diff --git a/curl.spec b/curl.spec
index f81c150..e58e5f0 100644
--- a/curl.spec
+++ b/curl.spec
@@ -3,16 +3,15 @@
Summary: A utility for getting files from remote servers (FTP, HTTP, and others)
Name: curl
-Version: 7.16.4
-Release: 10%{?dist}
+Version: 7.17.1
+Release: 1%{?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.16.4-ftp.patch
-Patch4: curl-7.16.4-nsspem.patch
-Patch5: curl-7.16.4-curl-config.patch
+Patch3: curl-7.16.4-curl-config.patch
+Patch4: curl-7.17.1-sslgen.patch
Provides: webclient
URL: http://curl.haxx.se/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -52,9 +51,8 @@ use cURL's capabilities internally.
%setup -q
%patch1 -p1 -b .multilib
%patch2 -p1 -b .privlibs
-%patch3 -p1 -b .ftp
-%patch4 -p1 -b .nsspem
-%patch5 -p1 -b .curl-config
+%patch3 -p1 -b .curl-config
+%patch4 -p1 -b .sslgen
%build
if pkg-config nss ; then
@@ -69,7 +67,7 @@ fi
--disable-static
sed -i -e 's,-L/usr/lib ,,g;s,-L/usr/lib64 ,,g;s,-L/usr/lib$,,g;s,-L/usr/lib64$,,g' \
Makefile libcurl.pc
-make CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}
+make CFLAGS="$RPM_OPT_FLAGS -DHAVE_PK11_CREATEGENERICOBJECT" %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
@@ -116,6 +114,11 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/aclocal/libcurl.m4
%changelog
+* Sat Nov 17 2007 Jindrich Novy <jnovy@redhat.com> 7.17.1-1
+- update to curl 7.17.1
+- include patch to enable SSL usage in NSS when a socket is opened
+ nonblocking, thanks to Rob Crittenden (rcritten@redhat.com)
+
* Wed Oct 24 2007 Jindrich Novy <jnovy@redhat.com> 7.16.4-10
- correctly provide/obsolete curl-devel (#130251)
diff --git a/sources b/sources
index 6cabfb3..c3d5059 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-ffa6d1f4e28ca493a43f9dc17882c4d8 curl-7.16.4.tar.bz2
+1fa635d1dfde8337c98c82749d75c1de curl-7.17.1.tar.bz2
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-02 14:25 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:25 [rpms/curl] curl-v8.21.0-9: - update to curl 7.17.1 Jindrich Novy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox