Skip to content

Commit aa0ced8

Browse files
authored
Merge pull request #5474 from AenBleidd/vko_fix_android_build
[CI] Simplify build, remove custom openssl vcpkg port
2 parents d4a5218 + e8ba258 commit aa0ced8

File tree

12 files changed

+52
-44
lines changed

12 files changed

+52
-44
lines changed

3rdParty/vcpkg_ports/configs/apps/android/vcpkg.json

+5
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@
77
"features": ["openssl"],
88
"default-features": false
99
},
10+
{
11+
"name": "openssl",
12+
"features": ["ssl3", "weak-ssl-ciphers"],
13+
"default-features": false
14+
},
1015
"rappture"
1116
]
1217
}

3rdParty/vcpkg_ports/configs/apps/linux/vcpkg.json

+5
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@
77
"features": ["openssl"],
88
"default-features": false
99
},
10+
{
11+
"name": "openssl",
12+
"features": ["ssl3", "weak-ssl-ciphers"],
13+
"default-features": false
14+
},
1015
"rappture",
1116
"opencl",
1217
"ftgl",

3rdParty/vcpkg_ports/configs/apps/mingw/vcpkg.json

+5
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@
77
"features": ["openssl"],
88
"default-features": false
99
},
10+
{
11+
"name": "openssl",
12+
"features": ["ssl3", "weak-ssl-ciphers"],
13+
"default-features": false
14+
},
1015
"rappture",
1116
"ftgl",
1217
"freeglut",

3rdParty/vcpkg_ports/configs/client/vcpkg.json

+5
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66
"name": "curl",
77
"features": ["openssl"],
88
"default-features": false
9+
},
10+
{
11+
"name": "openssl",
12+
"features": ["ssl3", "weak-ssl-ciphers"],
13+
"default-features": false
914
}
1015
]
1116
}

3rdParty/vcpkg_ports/configs/client/wasm/vcpkg.json

+5
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@
77
"features": ["openssl"],
88
"default-features": false
99
},
10+
{
11+
"name": "openssl",
12+
"features": ["ssl3", "weak-ssl-ciphers"],
13+
"default-features": false
14+
},
1015
"rappture"
1116
]
1217
}

3rdParty/vcpkg_ports/configs/libs/vcpkg.json

+5
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66
"name": "curl",
77
"features": ["openssl"],
88
"default-features": false
9+
},
10+
{
11+
"name": "openssl",
12+
"features": ["ssl3", "weak-ssl-ciphers"],
13+
"default-features": false
914
}
1015
]
1116
}

3rdParty/vcpkg_ports/configs/libs/windows/vcpkg.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
"features": ["schannel"],
88
"default-features": false
99
},
10-
"openssl"
10+
{
11+
"name": "openssl",
12+
"features": ["ssl3", "weak-ssl-ciphers"],
13+
"default-features": false
14+
}
1115
]
1216
}

3rdParty/vcpkg_ports/configs/manager/linux/vcpkg.json

+5
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@
77
"features": ["openssl"],
88
"default-features": false
99
},
10+
{
11+
"name": "openssl",
12+
"features": ["ssl3", "weak-ssl-ciphers"],
13+
"default-features": false
14+
},
1015
{
1116
"name": "wxwidgets",
1217
"default-features": false

3rdParty/vcpkg_ports/configs/msbuild/ARM64/vcpkg.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@
77
"features": ["schannel"],
88
"default-features": false
99
},
10-
"openssl",
10+
{
11+
"name": "openssl",
12+
"features": ["ssl3", "weak-ssl-ciphers"],
13+
"default-features": false
14+
},
1115
"rappture",
1216
{
1317
"name": "wxwidgets",

3rdParty/vcpkg_ports/configs/msbuild/x64/vcpkg.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@
77
"features": ["schannel"],
88
"default-features": false
99
},
10-
"openssl",
10+
{
11+
"name": "openssl",
12+
"features": ["ssl3", "weak-ssl-ciphers"],
13+
"default-features": false
14+
},
1115
"rappture",
1216
{
1317
"name": "wxwidgets",

3rdParty/vcpkg_ports/ports/openssl/unix/disable-quicserver.patch

+2-37
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,13 @@
1-
diff --git a/Configure b/Configure
2-
index cca1ac8d16..f1d51b34a2 100755
3-
--- a/Configure
4-
+++ b/Configure
5-
@@ -95,6 +95,7 @@ EOF
6-
# library and will be loaded at run-time by the OpenSSL library.
7-
# sctp include SCTP support
8-
# no-quic disable QUIC support
9-
+# no-quicserver disable building "quicserver" utility
10-
# no-uplink Don't build support for UPLINK interface.
11-
# enable-weak-ssl-ciphers
12-
# Enable weak ciphers that are disabled by default.
13-
@@ -484,6 +485,7 @@ my @disablables = (
14-
"posix-io",
15-
"psk",
16-
"quic",
17-
+ "quicserver",
18-
"rc2",
19-
"rc4",
20-
"rc5",
21-
diff --git a/INSTALL.md b/INSTALL.md
22-
index 37b57027f4..a1c00ccd1a 100644
23-
--- a/INSTALL.md
24-
+++ b/INSTALL.md
25-
@@ -979,6 +979,10 @@ Build with support for TCP Fast Open (RFC7413). Supported on Linux, macOS and Fr
26-
27-
Don't build with QUIC support.
28-
29-
+### no-quicserver
30-
+
31-
+Don't build QUIC server utility.
32-
+
33-
### no-threads
34-
35-
Don't build with support for multi-threaded applications.
361
diff --git a/util/build.info b/util/build.info
37-
index cf06f15ae4..f5b87869a1 100644
2+
index cf06f15ae4f0e..e4aab44b38038 100644
383
--- a/util/build.info
394
+++ b/util/build.info
405
@@ -6,9 +6,9 @@ SCRIPTS{noinst}=wrap.pl
416
SOURCE[wrap.pl]=wrap.pl.in
427
DEPEND[wrap.pl]=../configdata.pm
438

449
-IF[{- !$disabled{quic} && !$disabled{stdio} -}]
45-
+IF[{- !$disabled{quic} && !$disabled{stdio} && !$disabled{quicserver} -}]
10+
+IF[{- !$disabled{quic} && !$disabled{stdio} && !$disabled{apps} -}]
4611
PROGRAMS{noinst}=quicserver
4712
SOURCE[quicserver]=quicserver.c
4813
-INCLUDE[quicserver]=../include ../apps/include

3rdParty/vcpkg_ports/ports/openssl/unix/portfile.cmake

-4
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,6 @@ else()
100100
message(FATAL_ERROR "Unknown platform")
101101
endif()
102102

103-
vcpkg_list(APPEND CONFIGURE_OPTIONS
104-
no-quicserver
105-
)
106-
107103
file(MAKE_DIRECTORY "${SOURCE_PATH}/vcpkg")
108104
file(COPY "${CMAKE_CURRENT_LIST_DIR}/configure" DESTINATION "${SOURCE_PATH}/vcpkg")
109105
vcpkg_configure_make(

0 commit comments

Comments
 (0)