File tree Expand file tree Collapse file tree 5 files changed +46
-13
lines changed
scripts/test_ports/vcpkg-ci-msh3 Expand file tree Collapse file tree 5 files changed +46
-13
lines changed Original file line number Diff line number Diff line change @@ -17,16 +17,20 @@ vcpkg_from_github(
17
17
exports-for-msh3.diff
18
18
)
19
19
20
- vcpkg_from_github(
21
- OUT_SOURCE_PATH OPENSSL_SOURCE_PATH
22
- REPO quictls/openssl
23
- REF openssl-3.1.7-quic1
24
- SHA512 230f48a4ef20bfd492b512bd53816a7129d70849afc1426e9ce813273c01884d5474552ecaede05231ca354403f25e2325c972c9c7950ae66dae310800bd19e7
25
- HEAD_REF openssl-3.1.7+quic
26
- )
27
- if (NOT EXISTS "${QUIC_SOURCE_PATH} /submodules/openssl3/Configure" )
28
- file (REMOVE_RECURSE "${QUIC_SOURCE_PATH} /submodules/openssl3" )
29
- file (RENAME "${OPENSSL_SOURCE_PATH} " "${QUIC_SOURCE_PATH} /submodules/openssl3" )
20
+ set (QUIC_TLS "schannel" )
21
+ if ("0-rtt" IN_LIST FEATURES)
22
+ set (QUIC_TLS "openssl3" )
23
+ vcpkg_from_github(
24
+ OUT_SOURCE_PATH OPENSSL_SOURCE_PATH
25
+ REPO quictls/openssl
26
+ REF openssl-3.1.7-quic1
27
+ SHA512 230f48a4ef20bfd492b512bd53816a7129d70849afc1426e9ce813273c01884d5474552ecaede05231ca354403f25e2325c972c9c7950ae66dae310800bd19e7
28
+ HEAD_REF openssl-3.1.7+quic
29
+ )
30
+ if (NOT EXISTS "${QUIC_SOURCE_PATH} /submodules/openssl3/Configure" )
31
+ file (REMOVE_RECURSE "${QUIC_SOURCE_PATH} /submodules/openssl3" )
32
+ file (RENAME "${OPENSSL_SOURCE_PATH} " "${QUIC_SOURCE_PATH} /submodules/openssl3" )
33
+ endif ()
30
34
endif ()
31
35
32
36
vcpkg_from_github(
@@ -69,7 +73,7 @@ vcpkg_cmake_configure(
69
73
SOURCE_PATH "${QUIC_SOURCE_PATH} "
70
74
OPTIONS
71
75
-DQUIC_SOURCE_LINK=OFF
72
- -DQUIC_TLS=openssl3
76
+ -DQUIC_TLS=${QUIC_TLS}
73
77
-DQUIC_USE_SYSTEM_LIBCRYPTO=OFF
74
78
-DQUIC_BUILD_PERF=OFF
75
79
-DQUIC_BUILD_TEST=OFF
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " msquic" ,
3
3
"version" : " 2.4.7" ,
4
+ "port-version" : 1 ,
4
5
"description" : " Cross-platform, C implementation of the IETF QUIC protocol" ,
5
6
"homepage" : " https://github.com/microsoft/msquic" ,
6
7
"license" : " MIT" ,
7
8
"supports" : " !mingw & !(static & staticcrt)" ,
8
9
"dependencies" : [
10
+ {
11
+ "name" : " msquic" ,
12
+ "features" : [
13
+ " 0-rtt"
14
+ ],
15
+ "platform" : " !windows"
16
+ },
9
17
{
10
18
"name" : " vcpkg-cmake" ,
11
19
"host" : true
14
22
"name" : " vcpkg-cmake-config" ,
15
23
"host" : true
16
24
}
17
- ]
25
+ ],
26
+ "features" : {
27
+ "0-rtt" : {
28
+ "description" : [
29
+ " Enable 0-RTT connection support." ,
30
+ " This feature requires the use of (a fork of) OpenSSL 3 also on Windows."
31
+ ],
32
+ "license" : " Apache-2.0"
33
+ }
34
+ }
18
35
}
Original file line number Diff line number Diff line change 4
4
"description" : " Validates msh3" ,
5
5
"dependencies" : [
6
6
" msh3" ,
7
+ {
8
+ "name" : " msquic" ,
9
+ "features" : [
10
+ " 0-rtt"
11
+ ],
12
+ "platform" : " windows & !static"
13
+ },
7
14
{
8
15
"name" : " vcpkg-cmake" ,
9
16
"host" : true
Original file line number Diff line number Diff line change 6182
6182
},
6183
6183
"msquic" : {
6184
6184
"baseline" : " 2.4.7" ,
6185
- "port-version" : 0
6185
+ "port-version" : 1
6186
6186
},
6187
6187
"mstch" : {
6188
6188
"baseline" : " 1.0.2" ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"versions" : [
3
+ {
4
+ "git-tree" : " 5e727b0b7e3bf5761f161c5f7ca8f24272a3f7f2" ,
5
+ "version" : " 2.4.7" ,
6
+ "port-version" : 1
7
+ },
3
8
{
4
9
"git-tree" : " 04855f9144f78f05b623916dc4d7310fdf8b5d29" ,
5
10
"version" : " 2.4.7" ,
You can’t perform that action at this time.
0 commit comments