public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Kamil Dudka <kdudka@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/curl] curl-v8.23.0-3: rename 0109-curl-7.30.0-tests-port-range.patch
Date: Tue, 03 Nov 2026 12:35:06 GMT [thread overview]
Message-ID: <179370930620.1.9681967065227619730.rpms-curl-eae5353202ba@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/curl
Branch : curl-v8.23.0-3
Commit : eae5353202baa31b7209e78288b4c47d3eeddeef
Author : Kamil Dudka <kdudka@redhat.com>
Date : 2013-04-12T15:12:46+02:00
Stats : +135/-135 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/curl/c/eae5353202baa31b7209e78288b4c47d3eeddeef?branch=curl-v8.23.0-3
Log:
rename 0109-curl-7.30.0-tests-port-range.patch
... such that it is clear that it is an upstream patch
---
diff --git a/0001-curl-7.30.0-ddbda328.patch b/0001-curl-7.30.0-ddbda328.patch
new file mode 100644
index 0000000..e6047d9
--- /dev/null
+++ b/0001-curl-7.30.0-ddbda328.patch
@@ -0,0 +1,131 @@
+From c5c7d61620e1d9ebd039b9931898635659a0a356 Mon Sep 17 00:00:00 2001
+From: Kamil Dudka <kdudka@redhat.com>
+Date: Fri, 12 Apr 2013 14:13:42 +0200
+Subject: [PATCH] tests: prevent test206, test1060, and test1061 from failing
+
+... in case runtests.pl is invoked with non-default -b option
+
+Fixes a regression caused by 1e29d275c643ef6aab7948f0f55a7a9397e56b42.
+
+[upstream commit ddbda328b37eb4b5f43fbd1dd8248c301fd2b30e]
+---
+ tests/data/test1060 | 14 +++++++-------
+ tests/data/test1061 | 14 +++++++-------
+ tests/data/test206 | 14 +++++++-------
+ 3 files changed, 21 insertions(+), 21 deletions(-)
+
+diff --git a/tests/data/test1060 b/tests/data/test1060
+index da1be78..e303a89 100644
+--- a/tests/data/test1060
++++ b/tests/data/test1060
+@@ -874,7 +874,7 @@ crypto
+ HTTP proxy CONNECT auth Digest, large headers and data
+ </name>
+ <command>
+-http://test.remote.haxx.se.1060:%HTTPPORT/path/10600002 --proxy http://%HOSTIP:%HTTPPORT --proxy-user silly:person --proxy-digest --proxytunnel
++http://test.remote.haxx.se.1060:8990/path/10600002 --proxy http://%HOSTIP:%HTTPPORT --proxy-user silly:person --proxy-digest --proxytunnel
+ </command>
+ </client>
+
+@@ -884,17 +884,17 @@ http://test.remote.haxx.se.1060:%HTTPPORT/path/10600002 --proxy http://%HOSTIP:%
+ ^User-Agent: curl/.*
+ </strip>
+ <protocol>
+-CONNECT test.remote.haxx.se.1060:%HTTPPORT HTTP/1.1
+-Host: test.remote.haxx.se.1060:%HTTPPORT
++CONNECT test.remote.haxx.se.1060:8990 HTTP/1.1
++Host: test.remote.haxx.se.1060:8990
+ Proxy-Connection: Keep-Alive
+
+-CONNECT test.remote.haxx.se.1060:%HTTPPORT HTTP/1.1
+-Host: test.remote.haxx.se.1060:%HTTPPORT
+-Proxy-Authorization: Digest username="silly", realm="weirdorealm", nonce="12345", uri="test.remote.haxx.se.1060:%HTTPPORT", response="e1fbed39c26f4efe284adc0e576ff638"
++CONNECT test.remote.haxx.se.1060:8990 HTTP/1.1
++Host: test.remote.haxx.se.1060:8990
++Proxy-Authorization: Digest username="silly", realm="weirdorealm", nonce="12345", uri="test.remote.haxx.se.1060:8990", response="e1fbed39c26f4efe284adc0e576ff638"
+ Proxy-Connection: Keep-Alive
+
+ GET /path/10600002 HTTP/1.1
+-Host: test.remote.haxx.se.1060:%HTTPPORT
++Host: test.remote.haxx.se.1060:8990
+ Accept: */*
+
+ </protocol>
+diff --git a/tests/data/test1061 b/tests/data/test1061
+index 05c3209..a1d7286 100644
+--- a/tests/data/test1061
++++ b/tests/data/test1061
+@@ -879,7 +879,7 @@ crypto
+ HTTP proxy CONNECT auth Digest, large headers and chunked data
+ </name>
+ <command>
+-http://test.remote.haxx.se.1061:%HTTPPORT/path/10610002 --proxy http://%HOSTIP:%HTTPPORT --proxy-user silly:person --proxy-digest --proxytunnel
++http://test.remote.haxx.se.1061:8990/path/10610002 --proxy http://%HOSTIP:%HTTPPORT --proxy-user silly:person --proxy-digest --proxytunnel
+ </command>
+ </client>
+
+@@ -889,17 +889,17 @@ http://test.remote.haxx.se.1061:%HTTPPORT/path/10610002 --proxy http://%HOSTIP:%
+ ^User-Agent: curl/.*
+ </strip>
+ <protocol>
+-CONNECT test.remote.haxx.se.1061:%HTTPPORT HTTP/1.1
+-Host: test.remote.haxx.se.1061:%HTTPPORT
++CONNECT test.remote.haxx.se.1061:8990 HTTP/1.1
++Host: test.remote.haxx.se.1061:8990
+ Proxy-Connection: Keep-Alive
+
+-CONNECT test.remote.haxx.se.1061:%HTTPPORT HTTP/1.1
+-Host: test.remote.haxx.se.1061:%HTTPPORT
+-Proxy-Authorization: Digest username="silly", realm="weirdorealm", nonce="12345", uri="test.remote.haxx.se.1061:%HTTPPORT", response="4e23449fa93224834299e7282a70472c"
++CONNECT test.remote.haxx.se.1061:8990 HTTP/1.1
++Host: test.remote.haxx.se.1061:8990
++Proxy-Authorization: Digest username="silly", realm="weirdorealm", nonce="12345", uri="test.remote.haxx.se.1061:8990", response="4e23449fa93224834299e7282a70472c"
+ Proxy-Connection: Keep-Alive
+
+ GET /path/10610002 HTTP/1.1
+-Host: test.remote.haxx.se.1061:%HTTPPORT
++Host: test.remote.haxx.se.1061:8990
+ Accept: */*
+
+ </protocol>
+diff --git a/tests/data/test206 b/tests/data/test206
+index 3ddc1d9..902d0a6 100644
+--- a/tests/data/test206
++++ b/tests/data/test206
+@@ -77,7 +77,7 @@ crypto
+ HTTP proxy CONNECT auth Digest
+ </name>
+ <command>
+-http://test.remote.haxx.se.206:%HTTPPORT/path/2060002 --proxy http://%HOSTIP:%HTTPPORT --proxy-user silly:person --proxy-digest --proxytunnel
++http://test.remote.haxx.se.206:8990/path/2060002 --proxy http://%HOSTIP:%HTTPPORT --proxy-user silly:person --proxy-digest --proxytunnel
+ </command>
+ </client>
+
+@@ -87,18 +87,18 @@ http://test.remote.haxx.se.206:%HTTPPORT/path/2060002 --proxy http://%HOSTIP:%HT
+ ^User-Agent: curl/.*
+ </strip>
+ <protocol>
+-CONNECT test.remote.haxx.se.206:%HTTPPORT HTTP/1.1
+-Host: test.remote.haxx.se.206:%HTTPPORT
++CONNECT test.remote.haxx.se.206:8990 HTTP/1.1
++Host: test.remote.haxx.se.206:8990
+ Proxy-Connection: Keep-Alive
+
+-CONNECT test.remote.haxx.se.206:%HTTPPORT HTTP/1.1
+-Host: test.remote.haxx.se.206:%HTTPPORT
+-Proxy-Authorization: Digest username="silly", realm="weirdorealm", nonce="12345", uri="test.remote.haxx.se.206:%HTTPPORT", response="003e36decb4dbf6366b3ecb9b87c24ec"
++CONNECT test.remote.haxx.se.206:8990 HTTP/1.1
++Host: test.remote.haxx.se.206:8990
++Proxy-Authorization: Digest username="silly", realm="weirdorealm", nonce="12345", uri="test.remote.haxx.se.206:8990", response="003e36decb4dbf6366b3ecb9b87c24ec"
+ Proxy-Connection: Keep-Alive
+
+ GET /path/2060002 HTTP/1.1
+ User-Agent: curl/7.12.3-CVS (i686-pc-linux-gnu) libcurl/7.12.3-CVS OpenSSL/0.9.6b zlib/1.1.4
+-Host: test.remote.haxx.se.206:%HTTPPORT
++Host: test.remote.haxx.se.206:8990
+ Accept: */*
+
+ [DISCONNECT]
+--
+1.7.1
+
diff --git a/0109-curl-7.30.0-tests-port-range.patch b/0109-curl-7.30.0-tests-port-range.patch
deleted file mode 100644
index e6047d9..0000000
--- a/0109-curl-7.30.0-tests-port-range.patch
+++ /dev/null
@@ -1,131 +0,0 @@
-From c5c7d61620e1d9ebd039b9931898635659a0a356 Mon Sep 17 00:00:00 2001
-From: Kamil Dudka <kdudka@redhat.com>
-Date: Fri, 12 Apr 2013 14:13:42 +0200
-Subject: [PATCH] tests: prevent test206, test1060, and test1061 from failing
-
-... in case runtests.pl is invoked with non-default -b option
-
-Fixes a regression caused by 1e29d275c643ef6aab7948f0f55a7a9397e56b42.
-
-[upstream commit ddbda328b37eb4b5f43fbd1dd8248c301fd2b30e]
----
- tests/data/test1060 | 14 +++++++-------
- tests/data/test1061 | 14 +++++++-------
- tests/data/test206 | 14 +++++++-------
- 3 files changed, 21 insertions(+), 21 deletions(-)
-
-diff --git a/tests/data/test1060 b/tests/data/test1060
-index da1be78..e303a89 100644
---- a/tests/data/test1060
-+++ b/tests/data/test1060
-@@ -874,7 +874,7 @@ crypto
- HTTP proxy CONNECT auth Digest, large headers and data
- </name>
- <command>
--http://test.remote.haxx.se.1060:%HTTPPORT/path/10600002 --proxy http://%HOSTIP:%HTTPPORT --proxy-user silly:person --proxy-digest --proxytunnel
-+http://test.remote.haxx.se.1060:8990/path/10600002 --proxy http://%HOSTIP:%HTTPPORT --proxy-user silly:person --proxy-digest --proxytunnel
- </command>
- </client>
-
-@@ -884,17 +884,17 @@ http://test.remote.haxx.se.1060:%HTTPPORT/path/10600002 --proxy http://%HOSTIP:%
- ^User-Agent: curl/.*
- </strip>
- <protocol>
--CONNECT test.remote.haxx.se.1060:%HTTPPORT HTTP/1.1
--Host: test.remote.haxx.se.1060:%HTTPPORT
-+CONNECT test.remote.haxx.se.1060:8990 HTTP/1.1
-+Host: test.remote.haxx.se.1060:8990
- Proxy-Connection: Keep-Alive
-
--CONNECT test.remote.haxx.se.1060:%HTTPPORT HTTP/1.1
--Host: test.remote.haxx.se.1060:%HTTPPORT
--Proxy-Authorization: Digest username="silly", realm="weirdorealm", nonce="12345", uri="test.remote.haxx.se.1060:%HTTPPORT", response="e1fbed39c26f4efe284adc0e576ff638"
-+CONNECT test.remote.haxx.se.1060:8990 HTTP/1.1
-+Host: test.remote.haxx.se.1060:8990
-+Proxy-Authorization: Digest username="silly", realm="weirdorealm", nonce="12345", uri="test.remote.haxx.se.1060:8990", response="e1fbed39c26f4efe284adc0e576ff638"
- Proxy-Connection: Keep-Alive
-
- GET /path/10600002 HTTP/1.1
--Host: test.remote.haxx.se.1060:%HTTPPORT
-+Host: test.remote.haxx.se.1060:8990
- Accept: */*
-
- </protocol>
-diff --git a/tests/data/test1061 b/tests/data/test1061
-index 05c3209..a1d7286 100644
---- a/tests/data/test1061
-+++ b/tests/data/test1061
-@@ -879,7 +879,7 @@ crypto
- HTTP proxy CONNECT auth Digest, large headers and chunked data
- </name>
- <command>
--http://test.remote.haxx.se.1061:%HTTPPORT/path/10610002 --proxy http://%HOSTIP:%HTTPPORT --proxy-user silly:person --proxy-digest --proxytunnel
-+http://test.remote.haxx.se.1061:8990/path/10610002 --proxy http://%HOSTIP:%HTTPPORT --proxy-user silly:person --proxy-digest --proxytunnel
- </command>
- </client>
-
-@@ -889,17 +889,17 @@ http://test.remote.haxx.se.1061:%HTTPPORT/path/10610002 --proxy http://%HOSTIP:%
- ^User-Agent: curl/.*
- </strip>
- <protocol>
--CONNECT test.remote.haxx.se.1061:%HTTPPORT HTTP/1.1
--Host: test.remote.haxx.se.1061:%HTTPPORT
-+CONNECT test.remote.haxx.se.1061:8990 HTTP/1.1
-+Host: test.remote.haxx.se.1061:8990
- Proxy-Connection: Keep-Alive
-
--CONNECT test.remote.haxx.se.1061:%HTTPPORT HTTP/1.1
--Host: test.remote.haxx.se.1061:%HTTPPORT
--Proxy-Authorization: Digest username="silly", realm="weirdorealm", nonce="12345", uri="test.remote.haxx.se.1061:%HTTPPORT", response="4e23449fa93224834299e7282a70472c"
-+CONNECT test.remote.haxx.se.1061:8990 HTTP/1.1
-+Host: test.remote.haxx.se.1061:8990
-+Proxy-Authorization: Digest username="silly", realm="weirdorealm", nonce="12345", uri="test.remote.haxx.se.1061:8990", response="4e23449fa93224834299e7282a70472c"
- Proxy-Connection: Keep-Alive
-
- GET /path/10610002 HTTP/1.1
--Host: test.remote.haxx.se.1061:%HTTPPORT
-+Host: test.remote.haxx.se.1061:8990
- Accept: */*
-
- </protocol>
-diff --git a/tests/data/test206 b/tests/data/test206
-index 3ddc1d9..902d0a6 100644
---- a/tests/data/test206
-+++ b/tests/data/test206
-@@ -77,7 +77,7 @@ crypto
- HTTP proxy CONNECT auth Digest
- </name>
- <command>
--http://test.remote.haxx.se.206:%HTTPPORT/path/2060002 --proxy http://%HOSTIP:%HTTPPORT --proxy-user silly:person --proxy-digest --proxytunnel
-+http://test.remote.haxx.se.206:8990/path/2060002 --proxy http://%HOSTIP:%HTTPPORT --proxy-user silly:person --proxy-digest --proxytunnel
- </command>
- </client>
-
-@@ -87,18 +87,18 @@ http://test.remote.haxx.se.206:%HTTPPORT/path/2060002 --proxy http://%HOSTIP:%HT
- ^User-Agent: curl/.*
- </strip>
- <protocol>
--CONNECT test.remote.haxx.se.206:%HTTPPORT HTTP/1.1
--Host: test.remote.haxx.se.206:%HTTPPORT
-+CONNECT test.remote.haxx.se.206:8990 HTTP/1.1
-+Host: test.remote.haxx.se.206:8990
- Proxy-Connection: Keep-Alive
-
--CONNECT test.remote.haxx.se.206:%HTTPPORT HTTP/1.1
--Host: test.remote.haxx.se.206:%HTTPPORT
--Proxy-Authorization: Digest username="silly", realm="weirdorealm", nonce="12345", uri="test.remote.haxx.se.206:%HTTPPORT", response="003e36decb4dbf6366b3ecb9b87c24ec"
-+CONNECT test.remote.haxx.se.206:8990 HTTP/1.1
-+Host: test.remote.haxx.se.206:8990
-+Proxy-Authorization: Digest username="silly", realm="weirdorealm", nonce="12345", uri="test.remote.haxx.se.206:8990", response="003e36decb4dbf6366b3ecb9b87c24ec"
- Proxy-Connection: Keep-Alive
-
- GET /path/2060002 HTTP/1.1
- User-Agent: curl/7.12.3-CVS (i686-pc-linux-gnu) libcurl/7.12.3-CVS OpenSSL/0.9.6b zlib/1.1.4
--Host: test.remote.haxx.se.206:%HTTPPORT
-+Host: test.remote.haxx.se.206:8990
- Accept: */*
-
- [DISCONNECT]
---
-1.7.1
-
diff --git a/curl.spec b/curl.spec
index bfdf7bd..12da25e 100644
--- a/curl.spec
+++ b/curl.spec
@@ -7,6 +7,9 @@ Group: Applications/Internet
Source: http://curl.haxx.se/download/%{name}-%{version}.tar.lzma
Source2: curlbuild.h
+# prevent test-suite failure due to using non-default port ranges in tests
+Patch1: 0001-curl-7.30.0-ddbda328.patch
+
# patch making libcurl multilib ready
Patch101: 0101-curl-7.30.0-multilib.patch
@@ -26,9 +29,6 @@ Patch107: 0107-curl-7.21.4-libidn-valgrind.patch
# a simple iconv can't fix them
Patch108: 0108-curl-7.30.0-utf8.patch
-# prevent test-suite failure due to using non-default port ranges in tests
-Patch109: 0109-curl-7.30.0-tests-port-range.patch
-
Provides: webclient
URL: http://curl.haxx.se/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
@@ -117,7 +117,7 @@ cd tests/data/
sed -i s/899\\\([0-9]\\\)/%{?__isa_bits}9\\1/ test*
cd -
-%patch109 -p1
+%patch1 -p1
# disable test 1112 (#565305)
printf "1112\n" >> tests/data/DISABLED
reply other threads:[~2026-11-03 12:35 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=179370930620.1.9681967065227619730.rpms-curl-eae5353202ba@fedoraproject.org \
--to=kdudka@redhat.com \
--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