Skip to content

Commit 9d03337

Browse files
authored
Merge pull request #70093 from compnerd/59-curl-https
[5.9] backport missing 5.9.1 changes and re-enable HTTPS in curl
2 parents 12b4d45 + ca44d73 commit 9d03337

File tree

1 file changed

+76
-21
lines changed

1 file changed

+76
-21
lines changed

utils/build-windows-toolchain.bat

Lines changed: 76 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ setlocal enableextensions enabledelayedexpansion
1212
path %PATH%;%PYTHON_HOME%
1313

1414
:: Versioning
15-
set ProductVersion=5.9.0
15+
set ProductVersion=5.9.1
1616
set ProductTag=
1717

1818
:: Identify the SourceRoot
@@ -160,29 +160,82 @@ cmake ^
160160
-D CMAKE_EXE_LINKER_FLAGS="/INCREMENTAL:NO" ^
161161
-D CMAKE_SHARED_LINKER_FLAGS="/INCREMENTAL:NO" ^
162162

163-
-D CMAKE_INSTALL_PREFIX=%BuildRoot%\Library\curl-7.77.0\usr ^
164-
165-
-D BUILD_CURL_EXE=NO ^
166-
-D CMAKE_USE_OPENSSL=NO ^
167-
-D CURL_CA_PATH=none ^
168-
-D CMAKE_USE_SCHANNEL=YES ^
169-
-D CMAKE_USE_LIBSSH2=NO ^
170-
-D HAVE_POLL_FINE=NO ^
171-
-D CURL_DISABLE_LDAP=YES ^
172-
-D CURL_DISABLE_LDAPS=YES ^
173-
-D CURL_DISABLE_TELNET=YES ^
163+
-D CMAKE_INSTALL_PREFIX=%BuildRoot%\Library\curl-8.4.0\usr ^
164+
165+
-D CURL_CA_BUNDLE="none" ^
166+
-D CURL_CA_FALLBACK=NO ^
167+
-D CURL_CA_PATH="none" ^
168+
-D CURL_BROTLI=NO ^
169+
-D CURL_DISABLE_ALTSVC=NO ^
170+
-D CURL_DISABLE_AWS=YES ^
171+
-D CURL_DISABLE_BASIC_AUTH=NO ^
172+
-D CURL_DISABLE_BEARER_AUTH=NO ^
173+
-D CURL_DISABLE_COOKIES=NO ^
174174
-D CURL_DISABLE_DICT=YES ^
175+
-D CURL_DISABLE_DIGEST_AUTH=NO ^
176+
-D CURL_DISABLE_DOH=NO ^
175177
-D CURL_DISABLE_FILE=YES ^
176-
-D CURL_DISABLE_TFTP=YES ^
177-
-D CURL_DISABLE_RTSP=YES ^
178-
-D CURL_DISABLE_PROXY=YES ^
179-
-D CURL_DISABLE_POP3=YES ^
178+
-D CURL_DISABLE_FORM_API=NO ^
179+
-D CURL_DISABLE_FTP=YES ^
180+
-D CURL_DISABLE_GETOPTIONS=NO ^
181+
-D CURL_DISABLE_GOPHER=YES ^
182+
-D CURL_DISABLE_HSTS=NO ^
183+
-D CURL_DISABLE_HTTP=NO ^
184+
-D CURL_DISABLE_HTTP_AUTH=NO ^
180185
-D CURL_DISABLE_IMAP=YES ^
186+
-D CURL_DISABLE_KERBEROS_AUTH=NO ^
187+
-D CURL_DISABLE_LDAP=YES ^
188+
-D CURL_DISABLE_LDAPS=YES ^
189+
-D CURL_DISABLE_MIME=NO ^
190+
-D CURL_DISABLE_MQTT=YES ^
191+
-D CURL_DISABLE_NEGOTIATE_AUTH=NO ^
192+
-D CURL_DISABLE_NETRC=NO ^
193+
-D CURL_DISABLE_NTLM=NO ^
194+
-D CURL_DISABLE_PARSEDATE=NO ^
195+
-D CURL_DISABLE_POP3=YES ^
196+
-D CURL_DISABLE_PROGRESS_METER=YES ^
197+
-D CURL_DISABLE_PROXY=NO ^
198+
-D CURL_DISABLE_RTSP=YES ^
199+
-D CURL_DISABLE_SHUFFLE_DNS=YES ^
200+
-D CURL_DISABLE_SMB=YES ^
181201
-D CURL_DISABLE_SMTP=YES ^
182-
-D CURL_DISABLE_GOPHER=YES ^
202+
-D CURL_DISABLE_SOCKETPAIR=YES ^
203+
-D CURL_DISABLE_SRP=NO ^
204+
-D CURL_DISABLE_TELNET=YES ^
205+
-D CURL_DISABLE_TFTP=YES ^
206+
-D CURL_DISABLE_VERBOSE_STRINGS=NO ^
207+
-D CURL_LTO=NO ^
208+
-D CURL_USE_BEARSSL=NO ^
209+
-D CURL_USE_GNUTLS=NO ^
210+
-D CURL_USE_GSSAPI=NO ^
211+
-D CURL_USE_LIBPSL=NO ^
212+
-D CURL_USE_LIBSSH=NO ^
213+
-D CURL_USE_LIBSSH2=NO ^
214+
-D CURL_USE_MBEDTLS=NO ^
215+
-D CURL_USE_OPENSSL=NO ^
216+
-D CURL_USE_SCHANNEL=YES ^
217+
-D CURL_USE_WOLFSSL=NO ^
218+
-D CURL_WINDOWS_SSPI=YES ^
183219
-D CURL_ZLIB=YES ^
184-
-D ENABLE_UNIX_SOCKETS=NO ^
220+
-D CURL_ZSTD=NO ^
221+
-D ENABLE_ARES=NO ^
222+
-D ENABLE_CURLDEBUG=NO ^
223+
-D ENABLE_DEBUG=NO ^
224+
-D ENABLE_IPV6=YES ^
225+
-D ENABLE_MANUAL=NO ^
185226
-D ENABLE_THREADED_RESOLVER=NO ^
227+
-D ENABLE_UNICODE=YES ^
228+
-D ENABLE_UNIX_SOCKETS=NO ^
229+
-D ENABLE_WEBSOCKETS=NO ^
230+
-D HAVE_POLL_FINE=NO ^
231+
-D USE_IDN2=NO ^
232+
-D USE_MSH3=NO ^
233+
-D USE_NGHTTP2=NO ^
234+
-D USE_NGTCP2=NO ^
235+
-D USE_QUICHE=NO ^
236+
-D USE_WIN32_IDN=YES ^
237+
-D USE_WIN32_LARGE_FILES=YES ^
238+
-D USE_WIN32_LDAP=NO ^
186239

187240
-D ZLIB_ROOT=%BuildRoot%\Library\zlib-1.2.11\usr ^
188241
-D ZLIB_LIBRARY=%BuildRoot%\Library\zlib-1.2.11\usr\lib\zlibstatic.lib ^
@@ -350,7 +403,7 @@ cmake ^
350403

351404
-D CMAKE_INSTALL_PREFIX=%SDKInstallRoot%\usr ^
352405

353-
-D CURL_DIR=%BuildRoot%\Library\curl-7.77.0\usr\lib\cmake\CURL ^
406+
-D CURL_DIR=%BuildRoot%\Library\curl-8.4.0\usr\lib\cmake\CURL ^
354407
-D ICU_ROOT=%BuildRoot%\Library\icu-69.1\usr ^
355408
-D ICU_DATA_LIBRARY_RELEASE=%BuildRoot%\Library\icu-69.1\usr\lib\sicudt69.lib ^
356409
-D ICU_UC_LIBRARY_RELEASE=%BuildRoot%\Library\icu-69.1\usr\lib\sicuuc69.lib ^
@@ -849,7 +902,7 @@ git clone --quiet --no-tags --depth 1 --branch v1.2.11 https://github.com/madler
849902
git clone --quiet --no-tags --depth 1 --branch v2.9.12 https://github.com/gnome/libxml2
850903
git clone --quiet --no-tags --depth 1 --branch version-3.36.0 https://github.com/sqlite/sqlite
851904
git clone --quiet --no-tags --depth 1 --branch maint/maint-69 https://github.com/unicode-org/icu
852-
git clone --quiet --no-tags --depth 1 --branch curl-7_77_0 https://github.com/curl/curl
905+
git clone --quiet --no-tags --depth 1 --branch curl-8_4_0 https://github.com/curl/curl
853906

854907
goto :eof
855908
endlocal
@@ -922,7 +975,7 @@ cmake ^
922975

923976
-D CMAKE_INSTALL_PREFIX=%SDKInstallRoot%\usr ^
924977

925-
-D CURL_DIR=%BuildRoot%\Library\curl-7.77.0\usr\lib\cmake\CURL ^
978+
-D CURL_DIR=%BuildRoot%\Library\curl-8.4.0\usr\lib\cmake\CURL ^
926979
-D ICU_ROOT=%BuildRoot%\Library\icu-69.1\usr ^
927980
-D ICU_DATA_LIBRARY_RELEASE=%BuildRoot%\Library\icu-69.1\usr\lib\sicudt69.lib ^
928981
-D ICU_I18N_LIBRARY_RELEASE=%BuildRoot%\Library\icu-69.1\usr\lib\sicuin69.lib ^
@@ -1064,6 +1117,8 @@ move %PackageRoot%\runtime.msi %BuildRoot%\artifacts || (exit /b)
10641117
move %PackageRoot%\toolchain.msi %BuildRoot%\artifacts || (exit /b)
10651118
:: SDK
10661119
move %PackageRoot%\sdk.msi %BuildRoot%\artifacts || (exit /b)
1120+
:: Developer Tools
1121+
move %PackageRoot%\devtools.msi %BuildRoot%\artifacts || (exit /b)
10671122
:: Installer
10681123
move %PackageRoot%\installer\installer.exe %BuildRoot%\artifacts || (exit /b)
10691124

0 commit comments

Comments
 (0)