public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Andreas Schneider <asn@cryptomilk.org>
To: git-commits@fedoraproject.org
Subject: [rpms/curl] curl-v8.23.0-3: Resolves: #1531483 - use libssh (instead of libssh2)
Date: Tue, 03 Nov 2026 12:36:50 GMT [thread overview]
Message-ID: <179370941062.1.5110808792869061077.rpms-curl-cbbefe6fb959@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/curl
Branch : curl-v8.23.0-3
Commit : cbbefe6fb95979859c4be9a5d92a74419211cbbb
Author : Andreas Schneider <asn@cryptomilk.org>
Date : 2018-01-24T18:06:50+01:00
Stats : +7/-9 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/curl/c/cbbefe6fb95979859c4be9a5d92a74419211cbbb?branch=curl-v8.23.0-3
Log:
Resolves: #1531483 - use libssh (instead of libssh2)
... to implement SCP/SFTP in libcurl
---
diff --git a/curl.spec b/curl.spec
index 88dd5db..ff74841 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.58.0
-Release: 1%{?dist}
+Release: 2%{?dist}
License: MIT
Group: Applications/Internet
Source: https://curl.haxx.se/download/%{name}-%{version}.tar.xz
@@ -26,7 +26,7 @@ BuildRequires: libidn2-devel
BuildRequires: libmetalink-devel
BuildRequires: libnghttp2-devel
BuildRequires: libpsl-devel
-BuildRequires: libssh2-devel
+BuildRequires: libssh-devel
BuildRequires: openldap-devel
BuildRequires: openssh-clients
BuildRequires: openssh-server
@@ -70,10 +70,6 @@ BuildRequires: valgrind
# using an older version of libcurl could result in CURLE_UNKNOWN_OPTION
Requires: libcurl%{?_isa} >= %{version}-%{release}
-# require at least the version of libssh2 that we were built against,
-# to ensure that we have the necessary symbols available (#525002, #642796)
-%global libssh2_version %(pkg-config --modversion libssh2 2>/dev/null || echo 0)
-
# require at least the version of openssl-libs that we were built against,
# to ensure that we have the necessary symbols available (#1462184, #1462211)
%global openssl_version %(pkg-config --modversion openssl 2>/dev/null || echo 0)
@@ -89,7 +85,6 @@ resume, proxy tunneling and a busload of other useful tricks.
%package -n libcurl
Summary: A library for getting files from web servers
Group: Development/Libraries
-Requires: libssh2%{?_isa} >= %{libssh2_version}
Requires: openssl-libs%{?_isa} >= 1:%{openssl_version}
Provides: libcurl-full = %{version}-%{release}
Provides: libcurl-full%{?_isa} = %{version}-%{release}
@@ -192,7 +187,7 @@ export common_configure_opts=" \
--without-libidn2 \
--without-libmetalink \
--without-libpsl \
- --without-libssh2
+ --without-libssh
)
# configure full build
@@ -205,7 +200,7 @@ export common_configure_opts=" \
--with-libidn2 \
--with-libmetalink \
--with-libpsl \
- --with-libssh2
+ --with-libssh
)
# avoid using rpath
@@ -298,6 +293,9 @@ rm -f ${RPM_BUILD_ROOT}%{_libdir}/libcurl.la
%{_libdir}/libcurl.so.[0-9].[0-9].[0-9].minimal
%changelog
+* Wed Jan 24 2018 Andreas Schneider <asn@redhat.com> - 7.58.0-2
+- use libssh (instead of libssh2) to implement SCP/SFTP in libcurl (#1531483)
+
* Wed Jan 24 2018 Kamil Dudka <kdudka@redhat.com> - 7.58.0-1
- new upstream release, which fixes the following vulnerabilities
CVE-2018-1000005 - curl: HTTP/2 trailer out-of-bounds read
reply other threads:[~2026-11-03 12:36 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=179370941062.1.5110808792869061077.rpms-curl-cbbefe6fb959@fedoraproject.org \
--to=asn@cryptomilk.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