Skip to content
Snippets Groups Projects
Commit 2cda6476 authored by Rocky Automation's avatar Rocky Automation :tv:
Browse files

import curl-8.9.1-1.el10

parent 2be450f8
No related branches found
No related tags found
No related merge requests found
3ccd55d91af9516539df80625f818c734dc6f2ecf9bada33c76765e99121db15 SOURCES/curl-8.6.0.tar.xz f292f6cc051d5bbabf725ef85d432dfeacc8711dd717ea97612ae590643801e5 SOURCES/curl-8.9.1.tar.xz
64619d3c1a2b68da837014b2ab02a049ed2c69aaebfa10a20a4f29dab003ecb8 SOURCES/mykey.asc 64619d3c1a2b68da837014b2ab02a049ed2c69aaebfa10a20a4f29dab003ecb8 SOURCES/mykey.asc
...@@ -14,66 +14,67 @@ index 54f92d9..15a60da 100644 ...@@ -14,66 +14,67 @@ index 54f92d9..15a60da 100644
--- a/curl-config.in --- a/curl-config.in
+++ b/curl-config.in +++ b/curl-config.in
@@ -78,7 +78,7 @@ while test $# -gt 0; do @@ -78,7 +78,7 @@ while test $# -gt 0; do
;; ;;
--cc) --cc)
- echo "@CC@" - echo '@CC@'
+ echo "gcc" + echo "gcc"
;; ;;
--prefix) --prefix)
@@ -157,32 +157,19 @@ while test $# -gt 0; do @@ -157,33 +157,20 @@ while test $# -gt 0; do
;; ;;
--libs) --libs)
- if test "X@libdir@" != "X/usr/lib" -a "X@libdir@" != "X/usr/lib64"; then - if test "X@libdir@" != "X/usr/lib" -a "X@libdir@" != "X/usr/lib64"; then
- CURLLIBDIR="-L@libdir@ " - CURLLIBDIR="-L@libdir@ "
- else - else
- CURLLIBDIR="" - CURLLIBDIR=""
- fi - fi
- if test "X@ENABLE_SHARED@" = "Xno"; then - if test "X@ENABLE_SHARED@" = "Xno"; then
- echo ${CURLLIBDIR}-lcurl @LIBCURL_LIBS@ - echo "${CURLLIBDIR}-lcurl @LIBCURL_LIBS@"
- else - else
- echo ${CURLLIBDIR}-lcurl - echo "${CURLLIBDIR}-lcurl"
- fi - fi
+ echo -lcurl + echo -lcurl
;; ;;
--ssl-backends)
echo "@SSL_BACKENDS@"
;;
--static-libs) --ssl-backends)
- if test "X@ENABLE_STATIC@" != "Xno" ; then echo '@SSL_BACKENDS@'
- echo "@libdir@/libcurl.@libext@" @LDFLAGS@ @LIBCURL_LIBS@ ;;
- else
- echo "curl was built with static libraries disabled" >&2
- exit 1
- fi
+ echo "curl was built with static libraries disabled" >&2
+ exit 1
;;
--configure) --static-libs)
- echo @CONFIGURE_OPTIONS@ - if test "X@ENABLE_STATIC@" != "Xno" ; then
+ pkg-config libcurl --variable=configure_options | sed 's/^"//;s/"$//' - echo "@libdir@/libcurl.@libext@" @LDFLAGS@ @LIBCURL_LIBS@
;; - else
- echo 'curl was built with static libraries disabled' >&2
- exit 1
- fi
+ echo "curl was built with static libraries disabled" >&2
+ exit 1
;;
*) --configure)
- echo @CONFIGURE_OPTIONS@
+ pkg-config libcurl --variable=configure_options | sed 's/^"//;s/"$//'
;;
*)
diff --git a/docs/curl-config.1 b/docs/curl-config.1 diff --git a/docs/curl-config.1 b/docs/curl-config.1
index c142cb9..0e189b4 100644 index c142cb9..0e189b4 100644
--- a/docs/curl-config.1 --- a/docs/curl-config.md
+++ b/docs/curl-config.1 +++ b/docs/curl-config.md
@@ -48,7 +48,9 @@ no, one or several names. If more than one name, they will appear @@ -48,7 +48,9 @@ no, one or several names. If more than one name, they will appear
comma\-separated. (Added in 7.58.0) ## --static-libs
.IP --static-libs
Shows the complete set of libs and other linker options you will need in order Shows the complete set of libs and other linker options you need in order to
-to link your application with libcurl statically. (Added in 7.17.1) -link your application with libcurl statically. (Added in 7.17.1)
+to link your application with libcurl statically. Note that Fedora/RHEL libcurl +link your application with libcurl statically. Note that Fedora/RHEL libcurl
+packages do not provide any static libraries, thus cannot be linked statically. +packages do not provide any static libraries, thus cannot be linked statically.
+(Added in 7.17.1) +(Added in 7.17.1)
.IP --version
Outputs version information about the installed libcurl. ## --version
.IP --vernum
diff --git a/libcurl.pc.in b/libcurl.pc.in diff --git a/libcurl.pc.in b/libcurl.pc.in
index 9db6b0f..dcac692 100644 index 9db6b0f..dcac692 100644
--- a/libcurl.pc.in --- a/libcurl.pc.in
......
From d506d885aa16b4a87acbac082eea41dccdc7b69f Mon Sep 17 00:00:00 2001
From: Kamil Dudka <kdudka@redhat.com>
Date: Wed, 15 Feb 2023 10:42:38 +0100
Subject: [PATCH] Revert "runtests: consider warnings fatal and error on them"
While it might be useful for upstream developers, it is not so useful
for downstream consumers.
This reverts upstream commit 22f795c834cfdbacbb1b55426028a581e3cf67a8.
---
tests/runtests.pl | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/tests/runtests.pl b/tests/runtests.pl
index 71644ad18..0cf85c3fe 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -55,8 +55,7 @@
# given, this won't be a problem.
use strict;
-# Promote all warnings to fatal
-use warnings FATAL => 'all';
+use warnings;
use 5.006;
use POSIX qw(strftime);
--
2.39.1
-----BEGIN PGP SIGNATURE-----
iQEzBAABCgAdFiEEJ+3q8i86vOtQ25oSXMkI/bceEsIFAmap30kACgkQXMkI/bce
EsKX+wf/brccw5rGTAbmjj7WGBfbAmwrSsDexTXRiEBXT/+qhkWIplN6wdtsZ86I
tUraaapoyvRKLa3Wxlv9fSF/xXji+5lhO/W9pfWxwZNeSZFiOgKcK/Li4Fx0c7t4
WpxkAbRvbJreA40BR32qSgnNNjKU5QX/ivf67B1EFL71kgsCW/QczB6mcuxszlkN
ro39Jb8hDtnAD3hHXrTEaW3lOEgf/Jo/a1Zii3+W3OkW+uZHwzUoqe+HLGHYM2vW
Q3hBVQaEWmNIwArA73s/kOiFATLthUTvSJO56ebLQJFHJf61cwqSsg2o07i5SqEc
QlKzV/h7ydbBWdHiSTpCMxue7tLUZw==
=EiUG
-----END PGP SIGNATURE-----
Summary: A utility for getting files from remote servers (FTP, HTTP, and others) Summary: A utility for getting files from remote servers (FTP, HTTP, and others)
Name: curl Name: curl
Version: 8.6.0 Version: 8.9.1
Release: 8%{?dist} Release: 1%{?dist}
License: curl License: curl
Source0: https://curl.se/download/%{name}-%{version}.tar.xz Source0: https://curl.se/download/%{name}-%{version}.tar.xz
Source1: https://curl.se/download/%{name}-%{version}.tar.xz.asc Source1: https://curl.se/download/%{name}-%{version}.tar.xz.asc
...@@ -10,32 +10,11 @@ Source1: https://curl.se/download/%{name}-%{version}.tar.xz.asc ...@@ -10,32 +10,11 @@ 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 # which points to the GPG key as of April 7th 2016 of https://daniel.haxx.se/mykey.asc
Source2: mykey.asc Source2: mykey.asc
# remove duplicate content from curl-config.1
Patch001: 0001-curl-8.6.0-remove-duplicate-content.patch
# ignore response bode to HEAD requests
# https://bodhi.fedoraproject.org/updates/FEDORA-2024-634a6662aa
Patch002: 0002-curl-8.6.0-ignore-response-body-to-HEAD.patch
# revert "receive max buffer" + add test case
# it breaks pycurl tests suite
Patch003: 0003-curl-8.6.0-vtls-revert-receive-max-buffer-add-test-case.patch
# http2: push headers better cleanup (CVE-2024-2398)
# provide common cleanup method for push headers
Patch004: 0004-curl-8.6.0-CVE-2024-2398.patch
# setopt: Fix disabling all protocols (CVE-2024-2004)
Patch005: 0005-curl-8.6.0-CVE-2024-2004.patch
# patch making libcurl multilib ready # patch making libcurl multilib ready
Patch101: 0101-curl-7.32.0-multilib.patch Patch101: 0101-curl-7.32.0-multilib.patch
# test3026: disable valgrind
Patch102: 0102-curl-7.84.0-test3026.patch
# do not fail on warnings in the upstream test driver # do not fail on warnings in the upstream test driver
Patch104: 0104-curl-7.88.0-tests-warnings.patch Patch102: 0102-curl-7.88.0-tests-warnings.patch
Provides: curl-full = %{version}-%{release} Provides: curl-full = %{version}-%{release}
# do not fail when trying to install curl-minimal after drop # do not fail when trying to install curl-minimal after drop
...@@ -218,13 +197,6 @@ be installed. ...@@ -218,13 +197,6 @@ be installed.
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}' %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
%autosetup -p1 %autosetup -p1
# temporarily disable test 0313
# <https://bugzilla.redhat.com/show_bug.cgi?id=2263877>
# <https://github.com/curl/curl/pull/11531>
# disable test 1801
# <https://github.com/bagder/curl/commit/21e82bd6#commitcomment-12226582>
printf "313\n1801\n" >> tests/data/DISABLED
# test3026: avoid pthread_create() failure due to resource exhaustion on i386 # test3026: avoid pthread_create() failure due to resource exhaustion on i386
%ifarch %{ix86} %ifarch %{ix86}
sed -e 's|NUM_THREADS 1000$|NUM_THREADS 256|' \ sed -e 's|NUM_THREADS 1000$|NUM_THREADS 256|' \
...@@ -265,7 +237,8 @@ export common_configure_opts=" \ ...@@ -265,7 +237,8 @@ export common_configure_opts=" \
--with-gssapi \ --with-gssapi \
--with-libidn2 \ --with-libidn2 \
--with-nghttp2 \ --with-nghttp2 \
--with-ssl --with-ca-bundle=%{_sysconfdir}/pki/tls/certs/ca-bundle.crt" --with-ssl --with-ca-bundle=%{_sysconfdir}/pki/tls/certs/ca-bundle.crt \
--with-zsh-functions-dir"
%global _configure ../configure %global _configure ../configure
...@@ -425,6 +398,9 @@ rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/mk-ca-bundle.1* ...@@ -425,6 +398,9 @@ rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/mk-ca-bundle.1*
%{_libdir}/libcurl.so.4.[0-9].[0-9].minimal %{_libdir}/libcurl.so.4.[0-9].[0-9].minimal
%changelog %changelog
* Wed Jul 31 2024 Jacek Migacz <jmigacz@redhat.com> - 8.9.1-1
- new upstream release (RHEL-50806)
* Tue Jul 9 2024 Jacek Migacz <jmigacz@redhat.com> - 8.6.0-8 * Tue Jul 9 2024 Jacek Migacz <jmigacz@redhat.com> - 8.6.0-8
- disable OpenSSL Engine API support (RHEL-30436) - disable OpenSSL Engine API support (RHEL-30436)
- setopt: Fix disabling all protocols (CVE-2024-2004) - setopt: Fix disabling all protocols (CVE-2024-2004)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment