curl: upgrade to release 7.85.0
Fixes CVE-2022-35252 Change-Id: I549240f6ae31ae94f925422517cd03ef2e3b5732 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140411 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
committed by
Caolán McNamara
parent
096e2ba8e4
commit
31a8de10e8
@@ -33,8 +33,8 @@ export COINMP_SHA256SUM := 86c798780b9e1f5921fe4efe651a93cb420623b45aa1fdff57af8
|
||||
export COINMP_TARBALL := CoinMP-1.7.6.tgz
|
||||
export CPPUNIT_SHA256SUM := 89c5c6665337f56fd2db36bc3805a5619709d51fb136e51937072f63fcc717a7
|
||||
export CPPUNIT_TARBALL := cppunit-1.15.1.tar.gz
|
||||
export CURL_SHA256SUM := 2cb9c2356e7263a1272fd1435ef7cdebf2cd21400ec287b068396deb705c22c4
|
||||
export CURL_TARBALL := curl-7.83.1.tar.xz
|
||||
export CURL_SHA256SUM := 88b54a6d4b9a48cb4d873c7056dcba997ddd5b7be5a2d537a4acb55c20b04be6
|
||||
export CURL_TARBALL := curl-7.85.0.tar.xz
|
||||
export EBOOK_SHA256SUM := 7e8d8ff34f27831aca3bc6f9cc532c2f90d2057c778963b884ff3d1e34dfe1f9
|
||||
export EBOOK_TARBALL := libe-book-0.1.3.tar.xz
|
||||
export EPOXY_SHA256SUM := a7ced37f4102b745ac86d6a70a9da399cc139ff168ba6b8002b4d8d43c900c15
|
||||
|
2
external/curl/asan-poison-nsspem.patch.0
vendored
2
external/curl/asan-poison-nsspem.patch.0
vendored
@@ -1,6 +1,6 @@
|
||||
--- lib/vtls/nss.c
|
||||
+++ lib/vtls/nss.c
|
||||
@@ -1891,7 +1891,7 @@
|
||||
@@ -1942,7 +1942,7 @@
|
||||
|
||||
PK11_SetPasswordFunc(nss_get_password);
|
||||
|
||||
|
2
external/curl/clang-cl.patch.0
vendored
2
external/curl/clang-cl.patch.0
vendored
@@ -1,6 +1,6 @@
|
||||
--- winbuild/MakefileBuild.vc
|
||||
+++ winbuild/MakefileBuild.vc
|
||||
@@ -60,7 +60,7 @@
|
||||
@@ -52,7 +52,7 @@
|
||||
!ELSE
|
||||
CC_NODEBUG = $(CC) /O2 /DNDEBUG
|
||||
CC_DEBUG = $(CC) /Od /D_DEBUG /RTC1 /Z7 /LDd
|
||||
|
4
external/curl/configurable-z-option.patch.0
vendored
4
external/curl/configurable-z-option.patch.0
vendored
@@ -1,6 +1,6 @@
|
||||
--- winbuild/MakefileBuild.vc.sav 2021-11-13 11:43:40.756226600 +0000
|
||||
+++ winbuild/MakefileBuild.vc 2021-11-13 11:52:08.921692300 +0000
|
||||
@@ -45,7 +45,7 @@
|
||||
@@ -47,7 +47,7 @@
|
||||
|
||||
!IF "$(VC)"=="6"
|
||||
CC_NODEBUG = $(CC) /O2 /DNDEBUG
|
||||
@@ -9,7 +9,7 @@
|
||||
CFLAGS = /I. /I../lib /I../include /nologo /W4 /GX /DWIN32 /YX /FD /c /DBUILDING_LIBCURL
|
||||
!ELSE
|
||||
CC_NODEBUG = $(CC) /O2 /DNDEBUG
|
||||
@@ -62,7 +62,7 @@
|
||||
@@ -64,7 +64,7 @@
|
||||
# Instead of id: just create an archive, that contains all objects
|
||||
LNKLIB = lib.exe
|
||||
|
||||
|
@@ -2,7 +2,7 @@ disable protocols nobody needs in MSVC build
|
||||
|
||||
--- curl/lib/config-win32.h.orig 2017-08-09 16:43:29.464000000 +0200
|
||||
+++ curl/lib/config-win32.h 2017-08-09 16:47:38.549200000 +0200
|
||||
@@ -733,4 +733,20 @@
|
||||
@@ -616,4 +616,20 @@
|
||||
# define ENABLE_IPV6 1
|
||||
#endif
|
||||
|
||||
@@ -25,7 +25,7 @@ disable protocols nobody needs in MSVC build
|
||||
#endif /* HEADER_CURL_CONFIG_WIN32_H */
|
||||
--- curl/winbuild/MakefileBuild.vc.orig 2017-10-23 23:41:21.393200000 +0200
|
||||
+++ curl/winbuild/MakefileBuild.vc 2017-10-23 23:34:16.028000000 +0200
|
||||
@@ -431,7 +431,7 @@
|
||||
@@ -562,7 +562,7 @@
|
||||
|
||||
EXE_OBJS = $(CURL_OBJS) $(CURL_DIROBJ)\curl.res
|
||||
|
||||
|
2
external/curl/curl-msvc-zlib.patch.1
vendored
2
external/curl/curl-msvc-zlib.patch.1
vendored
@@ -2,7 +2,7 @@ find internal zlib in nmake buildsystem
|
||||
|
||||
--- curl/winbuild/MakefileBuild.vc.orig2 2021-10-27 20:44:48.685237000 +0200
|
||||
+++ curl/winbuild/MakefileBuild.vc 2021-10-27 20:47:23.792407400 +0200
|
||||
@@ -222,8 +222,9 @@
|
||||
@@ -244,8 +244,9 @@
|
||||
ZLIB_LIB_DIR = $(ZLIB_PATH)\lib
|
||||
ZLIB_LFLAGS = $(ZLIB_LFLAGS) "/LIBPATH:$(ZLIB_LIB_DIR)"
|
||||
!ELSE
|
||||
|
4
external/curl/curl-msvc.patch.1
vendored
4
external/curl/curl-msvc.patch.1
vendored
@@ -2,7 +2,7 @@ MSVC: using SOLARINC
|
||||
|
||||
--- curl/winbuild/MakefileBuild.vc.orig 2017-10-23 16:36:07.713550851 +0200
|
||||
+++ curl/winbuild/MakefileBuild.vc 2017-10-23 16:38:19.301547594 +0200
|
||||
@@ -60,7 +60,7 @@
|
||||
@@ -52,7 +52,7 @@
|
||||
!ELSE
|
||||
CC_NODEBUG = $(CC) /O2 /DNDEBUG
|
||||
CC_DEBUG = $(CC) /Od /D_DEBUG /RTC1 /Z7 /LDd
|
||||
@@ -11,7 +11,7 @@ MSVC: using SOLARINC
|
||||
!ENDIF
|
||||
|
||||
LFLAGS = /nologo /machine:$(MACHINE)
|
||||
@@ -300,11 +300,11 @@
|
||||
@@ -426,11 +426,11 @@
|
||||
# CURL_XX macros are for the curl.exe command
|
||||
|
||||
!IF "$(DEBUG)"=="yes"
|
||||
|
2
external/curl/curl-nss.patch.1
vendored
2
external/curl/curl-nss.patch.1
vendored
@@ -1,7 +1,7 @@
|
||||
diff -ur curl.org/configure curl/configure
|
||||
--- curl.org/configure 2016-03-13 15:14:07.177000076 +0100
|
||||
+++ curl/configure 2016-03-13 15:16:44.132000076 +0100
|
||||
@@ -28216,7 +28216,7 @@
|
||||
@@ -27985,7 +27985,7 @@
|
||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Using hard-wired libraries and compilation flags for NSS." >&5
|
||||
printf "%s\n" "$as_me: WARNING: Using hard-wired libraries and compilation flags for NSS." >&2;}
|
||||
addld="-L$OPT_NSS/lib"
|
||||
|
12
external/curl/zlib.patch.0
vendored
12
external/curl/zlib.patch.0
vendored
@@ -1,6 +1,6 @@
|
||||
--- configure
|
||||
+++ configure
|
||||
@@ -22699,7 +22699,6 @@
|
||||
@@ -22808,7 +22808,6 @@
|
||||
clean_CPPFLAGS=$CPPFLAGS
|
||||
clean_LDFLAGS=$LDFLAGS
|
||||
clean_LIBS=$LIBS
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
# Check whether --with-zlib was given.
|
||||
if test ${with_zlib+y}
|
||||
@@ -22709,6 +22708,7 @@
|
||||
@@ -22818,6 +22818,7 @@
|
||||
|
||||
|
||||
if test "$OPT_ZLIB" = "no" ; then
|
||||
@@ -16,7 +16,7 @@
|
||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: zlib disabled" >&5
|
||||
printf "%s\n" "$as_me: WARNING: zlib disabled" >&2;}
|
||||
else
|
||||
@@ -22716,6 +22716,21 @@
|
||||
@@ -22825,6 +825,21 @@
|
||||
OPT_ZLIB=""
|
||||
fi
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
if test -z "$OPT_ZLIB" ; then
|
||||
|
||||
if test -n "$PKG_CONFIG"; then
|
||||
@@ -23011,6 +23026,7 @@
|
||||
@@ -23120,6 +23120,7 @@
|
||||
printf "%s\n" "$as_me: found both libz and libz.h header" >&6;}
|
||||
curl_zlib_msg="enabled"
|
||||
fi
|
||||
@@ -48,7 +48,7 @@
|
||||
if test x"$AMFIXLIB" = x1; then
|
||||
--- configure.ac
|
||||
+++ configure.ac
|
||||
@@ -880,19 +880,30 @@
|
||||
@@ -1222,19 +1222,30 @@
|
||||
clean_CPPFLAGS=$CPPFLAGS
|
||||
clean_LDFLAGS=$LDFLAGS
|
||||
clean_LIBS=$LIBS
|
||||
@@ -80,7 +80,7 @@
|
||||
if test -z "$OPT_ZLIB" ; then
|
||||
CURL_CHECK_PKGCONFIG(zlib)
|
||||
|
||||
@@ -975,6 +986,7 @@
|
||||
@@ -1316,6 +1316,7 @@
|
||||
AC_MSG_NOTICE([found both libz and libz.h header])
|
||||
curl_zlib_msg="enabled"
|
||||
fi
|
||||
|
Reference in New Issue
Block a user