Skip to content

Commit d13e681

Browse files
authored
Update zlib and curl libraries (#330)
This updates zlib to 1.3.1 and curl to 8.9.1 of their releases.
1 parent ef5a48a commit d13e681

File tree

4,865 files changed

+229502
-195739
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

4,865 files changed

+229502
-195739
lines changed

driver/connect.c

+3-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@
2323
#ifndef CURL_STATICLIB
2424
#error "dynamically linked cURL library is not supported"
2525
#else
26-
#include "../lib/curl_base64.h"
26+
/* "../lib/curl_base64.h" redefines the function(s) since 8.3.0 */
27+
extern CURLcode Curl_base64_decode(const char *src,
28+
unsigned char **outptr, size_t *outlen);
2729
#endif /*! CURL_STATICLIB*/
2830

2931
/* HTTP headers default for every request */

libs/curl/.azure-pipelines.yml

+213-172
Large diffs are not rendered by default.

libs/curl/.circleci/config.yml

+190-9
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# | (__| |_| | _ <| |___
66
# \___|\___/|_| \_\_____|
77
#
8-
# Copyright (C) 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
8+
# Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
99
#
1010
# This software is licensed as described in the file COPYING, which
1111
# you should have received as part of this distribution. The terms
@@ -18,59 +18,240 @@
1818
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
1919
# KIND, either express or implied.
2020
#
21+
# SPDX-License-Identifier: curl
22+
#
2123
###########################################################################
2224

2325
# View these jobs in the browser: https://app.circleci.com/pipelines/github/curl/curl
2426

25-
# Use the latest 2.1 version of CircleCI pipeline process engine. See: https://circleci.com/docs/2.0/configuration-reference
27+
# Use the latest 2.1 version of CircleCI pipeline process engine. See: https://circleci.com/docs/configuration-reference/
2628
version: 2.1
2729

2830
commands:
2931
configure:
3032
steps:
3133
- run:
3234
command: |
33-
./buildconf
34-
./configure --enable-warnings --enable-werror --with-openssl
35+
autoreconf -fi
36+
./configure --enable-warnings --enable-werror --with-openssl \
37+
|| { tail -1000 config.log; false; }
38+
39+
configure-openssl-no-verbose:
40+
steps:
41+
- run:
42+
command: |
43+
autoreconf -fi
44+
./configure --disable-verbose --enable-werror --with-openssl \
45+
|| { tail -1000 config.log; false; }
46+
47+
configure-no-proxy:
48+
steps:
49+
- run:
50+
command: |
51+
autoreconf -fi
52+
./configure --disable-proxy --enable-werror --with-openssl \
53+
|| { tail -1000 config.log; false; }
54+
55+
install-cares:
56+
steps:
57+
- run:
58+
command: |
59+
sudo apt-get update && sudo apt-get install -y libc-ares-dev
60+
61+
install-libssh:
62+
steps:
63+
- run:
64+
command: |
65+
sudo apt-get update && sudo apt-get install -y libssh-dev
66+
67+
install-deps:
68+
steps:
69+
- run:
70+
command: |
71+
sudo apt-get update && sudo apt-get install -y libpsl-dev libbrotli-dev libzstd-dev zlib1g-dev python3-pip libpsl-dev
72+
sudo python3 -m pip install impacket
73+
74+
configure-libssh:
75+
steps:
76+
- run:
77+
command: |
78+
autoreconf -fi
79+
./configure --enable-warnings --enable-werror --with-openssl --with-libssh \
80+
|| { tail -1000 config.log; false; }
81+
82+
install-wolfssl:
83+
steps:
84+
- run:
85+
command: |
86+
source .github/scripts/VERSIONS
87+
echo "Installing wolfSSL $WOLFSSL_VER"
88+
curl -LOsSf --retry 6 --retry-connrefused --max-time 999 https://github.com/wolfSSL/wolfssl/archive/v$WOLFSSL_VER-stable.tar.gz
89+
tar -xzf v$WOLFSSL_VER-stable.tar.gz
90+
cd wolfssl-$WOLFSSL_VER-stable
91+
./autogen.sh
92+
./configure --enable-tls13 --enable-all --enable-harden --prefix=$HOME/wssl
93+
make install
94+
95+
install-wolfssh:
96+
steps:
97+
- run:
98+
command: |
99+
source .github/scripts/VERSIONS
100+
echo "Installing wolfSSH $WOLFSSH_VER"
101+
curl -LOsSf --retry 6 --retry-connrefused --max-time 999 https://github.com/wolfSSL/wolfssh/archive/v$WOLFSSH_VER-stable.tar.gz
102+
tar -xzf v$WOLFSSH_VER-stable.tar.gz
103+
cd wolfssh-$WOLFSSH_VER-stable
104+
./autogen.sh
105+
./configure --with-wolfssl=$HOME/wssl --prefix=$HOME/wssh --enable-scp --enable-sftp --disable-examples
106+
make install
107+
108+
configure-cares:
109+
steps:
110+
- run:
111+
command: |
112+
autoreconf -fi
113+
./configure --enable-warnings --enable-werror --with-openssl --enable-ares \
114+
|| { tail -1000 config.log; false; }
115+
116+
configure-wolfssh:
117+
steps:
118+
- run:
119+
command: |
120+
autoreconf -fi
121+
LDFLAGS="-Wl,-rpath,$HOME/wssh/lib" ./configure --enable-warnings --enable-werror --with-wolfssl=$HOME/wssl --with-wolfssh=$HOME/wssh \
122+
|| { tail -1000 config.log; false; }
123+
124+
configure-cares-debug:
125+
steps:
126+
- run:
127+
command: |
128+
autoreconf -fi
129+
./configure --enable-debug --enable-werror --with-openssl --enable-ares \
130+
|| { tail -1000 config.log; false; }
35131
36132
build:
37133
steps:
38-
- run: make V=1
39-
- run: make V=1 examples
134+
- run: make -j3 V=1
135+
- run: make -j3 V=1 examples
40136

41137
test:
42138
steps:
43-
- run: make V=1 test-ci
139+
- run: make -j3 V=1 test-ci TFLAGS='-j14'
44140

45141
executors:
46142
ubuntu:
47143
machine:
48-
image: ubuntu-2004:202010-01
144+
image: ubuntu-2004:2024.01.1
49145

50146
jobs:
51147
basic:
52148
executor: ubuntu
53149
steps:
54150
- checkout
151+
- install-deps
55152
- configure
56153
- build
57154
- test
58155

156+
no-verbose:
157+
executor: ubuntu
158+
steps:
159+
- checkout
160+
- install-deps
161+
- configure-openssl-no-verbose
162+
- build
163+
164+
wolfssh:
165+
executor: ubuntu
166+
steps:
167+
- checkout
168+
- install-deps
169+
- install-wolfssl
170+
- install-wolfssh
171+
- configure-wolfssh
172+
- build
173+
174+
no-proxy:
175+
executor: ubuntu
176+
steps:
177+
- checkout
178+
- install-deps
179+
- configure-no-proxy
180+
- build
181+
- test
182+
183+
cares:
184+
executor: ubuntu
185+
steps:
186+
- checkout
187+
- install-deps
188+
- install-cares
189+
- configure-cares
190+
- build
191+
- test
192+
193+
libssh:
194+
executor: ubuntu
195+
steps:
196+
- checkout
197+
- install-deps
198+
- install-libssh
199+
- configure-libssh
200+
- build
201+
- test
202+
59203
arm:
60204
machine:
61-
image: ubuntu-2004:202101-01
205+
image: ubuntu-2004:2024.01.1
62206
resource_class: arm.medium
63207
steps:
64208
- checkout
209+
- install-deps
65210
- configure
66211
- build
67212
- test
68213

214+
arm-cares:
215+
machine:
216+
image: ubuntu-2004:2024.01.1
217+
resource_class: arm.medium
218+
steps:
219+
- checkout
220+
- install-deps
221+
- install-cares
222+
- configure-cares-debug
223+
- build
224+
- test
225+
69226
workflows:
70227
x86-openssl:
71228
jobs:
72229
- basic
73230

231+
openssl-c-ares:
232+
jobs:
233+
- cares
234+
235+
openssl-libssh:
236+
jobs:
237+
- libssh
238+
239+
openssl-no-proxy:
240+
jobs:
241+
- no-proxy
242+
243+
openssl-no-verbose:
244+
jobs:
245+
- no-verbose
246+
247+
wolfssl-wolfssh:
248+
jobs:
249+
- wolfssh
250+
74251
arm-openssl:
75252
jobs:
76253
- arm
254+
255+
arm-openssl-c-ares:
256+
jobs:
257+
- arm-cares

libs/curl/.cirrus.yml

-129
This file was deleted.

0 commit comments

Comments
 (0)