public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Paul Howarth <paul@city-fan.org>
To: git-commits@fedoraproject.org
Subject: [rpms/curl] curl-v8.23.0-3: sshserver.pl (used in test suite) now requires the Digest::SHA perl module
Date: Tue, 03 Nov 2026 12:38:23 GMT	[thread overview]
Message-ID: <179370950347.1.2888725759340346062.rpms-curl-503307b6877b@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/curl
Branch : curl-v8.23.0-3
Commit : 503307b6877b3e7650b668756ab48e69fc531a8e
Author : Paul Howarth <paul@city-fan.org>
Date   : 2021-11-14T17:06:12+00:00
Stats  : +54/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/curl/c/503307b6877b3e7650b668756ab48e69fc531a8e?branch=curl-v8.23.0-3

Log:
sshserver.pl (used in test suite) now requires the Digest::SHA perl module

---
diff --git a/0001-tests-3021-and-3022-require-libssh2.patch b/0001-tests-3021-and-3022-require-libssh2.patch
new file mode 100644
index 0000000..53b74a6
--- /dev/null
+++ b/0001-tests-3021-and-3022-require-libssh2.patch
@@ -0,0 +1,45 @@
+From 4825d0cd3af5a5e51bb5e045cb12283138620d0c Mon Sep 17 00:00:00 2001
+From: Daniel Stenberg <daniel@haxx.se>
+Date: Sat, 13 Nov 2021 23:10:42 +0100
+Subject: [PATCH] test302[12]: run only with the libssh2 backend
+
+... as the others don't support --hostpubsha256
+
+Reported-by: Paul Howarth
+Fixes #8009
+Closes #8010
+---
+ tests/data/test3021 | 4 ++++
+ tests/data/test3022 | 4 ++++
+ 2 files changed, 8 insertions(+)
+
+diff --git a/tests/data/test3021 b/tests/data/test3021
+index 0a02e18443e4..bd6ae8d6dc47 100644
+--- a/tests/data/test3021
++++ b/tests/data/test3021
+@@ -17,6 +17,10 @@ test
+ #
+ # Client-side
+ <client>
++# so far only the libssh2 backend supports SHA256
++<features>
++libssh2
++</features>
+ <server>
+ sftp
+ </server>
+diff --git a/tests/data/test3022 b/tests/data/test3022
+index f3477909d698..db24ca9f4a01 100644
+--- a/tests/data/test3022
++++ b/tests/data/test3022
+@@ -17,6 +17,10 @@ test
+ #
+ # Client-side
+ <client>
++# so far only the libssh2 backend supports SHA256
++<features>
++libssh2
++</features>
+ <server>
+ scp
+ </server>

diff --git a/curl.spec b/curl.spec
index f00ef27..baddb24 100644
--- a/curl.spec
+++ b/curl.spec
@@ -1,7 +1,7 @@
 Summary: A utility for getting files from remote servers (FTP, HTTP, and others)
 Name: curl
 Version: 7.80.0
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: MIT
 Source0: https://curl.se/download/%{name}-%{version}.tar.xz
 Source1: https://curl.se/download/%{name}-%{version}.tar.xz.asc
@@ -10,6 +10,9 @@ Source1: https://curl.se/download/%{name}-%{version}.tar.xz.asc
 # which points to the GPG key as of April 7th 2016 of https://daniel.haxx.se/mykey.asc
 Source2: mykey.asc
 
+# patch to skip tests 3031/2 unless SSH backend is libssh2
+Patch1: 0001-tests-3021-and-3022-require-libssh2.patch
+
 # patch making libcurl multilib ready
 Patch101: 0101-curl-7.32.0-multilib.patch
 
@@ -63,6 +66,7 @@ BuildRequires: nghttp2
 # perl modules used in the test suite
 BuildRequires: perl(Cwd)
 BuildRequires: perl(Digest::MD5)
+BuildRequires: perl(Digest::SHA)
 BuildRequires: perl(Exporter)
 BuildRequires: perl(File::Basename)
 BuildRequires: perl(File::Copy)
@@ -183,6 +187,7 @@ be installed.
 %setup -q
 
 # upstream patches
+%patch1 -p1
 
 # Fedora patches
 %patch101 -p1
@@ -410,6 +415,9 @@ rm -f ${RPM_BUILD_ROOT}%{_libdir}/libcurl.la
 %{_libdir}/libcurl.so.4.[0-9].[0-9].minimal
 
 %changelog
+* Sun Nov 14 2021 Paul Howarth <paul@city-fan.org> - 7.80.0-2
+- sshserver.pl (used in test suite) now requires the Digest::SHA perl module
+
 * Wed Nov 10 2021 Kamil Dudka <kdudka@redhat.com> - 7.80.0-1
 - new upstream release
 

                 reply	other threads:[~2026-11-03 12:38 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=179370950347.1.2888725759340346062.rpms-curl-503307b6877b@fedoraproject.org \
    --to=paul@city-fan.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