public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jindrich Novy <jnovy@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/curl] curl-v8.23.0-3: - fix anonymous ftp login (#251570), thanks to David Cantrell
Date: Tue, 03 Nov 2026 12:32:40 GMT [thread overview]
Message-ID: <179370916002.1.474485936738635892.rpms-curl-ab16894e6223@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/curl
Branch : curl-v8.23.0-3
Commit : ab16894e622351dea559201865b4144188becd64
Author : Jindrich Novy <jnovy@fedoraproject.org>
Date : 2007-08-10T11:33:29+00:00
Stats : +17/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/curl/c/ab16894e622351dea559201865b4144188becd64?branch=curl-v8.23.0-3
Log:
- fix anonymous ftp login (#251570), thanks to David Cantrell
---
diff --git a/curl-7.16.4-ftp.patch b/curl-7.16.4-ftp.patch
new file mode 100644
index 0000000..11e5d9a
--- /dev/null
+++ b/curl-7.16.4-ftp.patch
@@ -0,0 +1,11 @@
+--- 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.spec b/curl.spec
index 354cd0a..c5d1bdd 100644
--- a/curl.spec
+++ b/curl.spec
@@ -4,12 +4,13 @@
Summary: A utility for getting files from remote servers (FTP, HTTP, and others)
Name: curl
Version: 7.16.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.16.4-ftp.patch
URL: http://curl.haxx.se/
Requires: openssl
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -38,6 +39,7 @@ use cURL's capabilities internally.
%setup -q
%patch1 -p1 -b .multilib
%patch2 -p1 -b .privlibs
+%patch3 -p1 -b .ftp
%build
if pkg-config openssl ; then
@@ -98,6 +100,9 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/aclocal/libcurl.m4
%changelog
+* Fri Aug 10 2007 Jindrich Novy <jnovy@redhat.com> 7.16.4-2
+- fix anonymous ftp login (#251570), thanks to David Cantrell
+
* Wed Jul 11 2007 Jindrich Novy <jnovy@redhat.com> 7.16.4-1
- update to 7.16.4
reply other threads:[~2026-11-03 12:32 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179370916002.1.474485936738635892.rpms-curl-ab16894e6223@fedoraproject.org \
--to=jnovy@fedoraproject.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox