mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-02-16 10:36:55 +00:00
BUILD: SSL: add quictls build to scripts/build-ssl.sh
script/build-ssl.sh is used mostly in CI, let us introduce QUIC OpenSSL fork support
This commit is contained in:
parent
a99cdfb531
commit
2091c7ca70
@ -86,6 +86,17 @@ download_boringssl () {
|
||||
fi
|
||||
}
|
||||
|
||||
download_quictls () {
|
||||
if [ ! -d "download-cache/quictls" ]; then
|
||||
git clone --depth=1 https://github.com/quictls/openssl download-cache/quictls
|
||||
else
|
||||
(
|
||||
cd download-cache/quictls
|
||||
git pull
|
||||
)
|
||||
fi
|
||||
}
|
||||
|
||||
if [ ! -z ${LIBRESSL_VERSION+x} ]; then
|
||||
download_libressl
|
||||
build_libressl
|
||||
@ -121,3 +132,15 @@ if [ ! -z ${BORINGSSL+x} ]; then
|
||||
)
|
||||
fi
|
||||
|
||||
if [ ! -z ${QUICTLS+x} ]; then
|
||||
(
|
||||
|
||||
download_quictls
|
||||
cd download-cache/quictls
|
||||
|
||||
./config shared --prefix="${HOME}/opt" --openssldir="${HOME}/opt" --libdir=lib -DPURIFY
|
||||
make -j$(nproc) build_sw
|
||||
make install_sw
|
||||
|
||||
)
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user