@@ -7,49 +7,54 @@ echo "WARNING !!!"
77echo
88echo " Use only for development and testing!"
99echo " It is highly highly not recommended, to use in production!"
10- echo " This script was based on: https://github.com/curl/curl/blob/curl-7_82_0/docs/HTTP3.md"
10+ echo " This script was based on: https://github.com/curl/curl/blob/curl-8_12_1/docs/HTTP3.md"
11+ echo
12+ echo " Extra packages suggested to be installed: autoconf libtool"
1113echo
1214
1315sleep 5
1416
17+ set -x
18+
1519INSTALL_DIR=$PWD /custom_curl/install
1620mkdir -p $INSTALL_DIR
1721cd custom_curl
1822
1923# ##
2024
21- git clone --depth 1 -b openssl-3.0.0 +quic https://github.com/quictls/openssl
25+ git clone --depth 1 -b openssl-3.1.4 +quic https://github.com/quictls/openssl
2226cd openssl
2327./config enable-tls1_3 --prefix=$INSTALL_DIR
2428make -j build_libs
2529make install_dev
2630cd ..
2731
28- git clone --depth 1 -b v0.3 .0 https://github.com/ngtcp2/nghttp3
32+ git clone --depth 1 -b v1.1 .0 https://github.com/ngtcp2/nghttp3
2933cd nghttp3
34+ git submodule update --init
3035autoreconf -fi
3136./configure --prefix=$INSTALL_DIR --enable-lib-only
3237make -j
3338make install
3439cd ..
3540
36- git clone --depth 1 -b v0.3.1 https://github.com/ngtcp2/ngtcp2
41+ git clone --depth 1 -b v1.2.0 https://github.com/ngtcp2/ngtcp2
3742cd ngtcp2
3843autoreconf -fi
3944./configure PKG_CONFIG_PATH=$INSTALL_DIR /lib64/pkgconfig:$INSTALL_DIR /lib64/pkgconfig LDFLAGS=" -Wl,-rpath,$INSTALL_DIR /lib64" --prefix=$INSTALL_DIR --enable-lib-only --with-openssl
4045make -j
4146make install
4247cd ..
4348
44- git clone --depth 1 -b v1.47 .0 https://github.com/nghttp2/nghttp2
49+ git clone --depth 1 -b v1.64 .0 https://github.com/nghttp2/nghttp2
4550cd nghttp2
4651autoreconf -fi
4752./configure PKG_CONFIG_PATH=$INSTALL_DIR /lib64/pkgconfig:$INSTALL_DIR /lib64/pkgconfig LDFLAGS=" -Wl,-rpath,$INSTALL_DIR /lib64" --prefix=$INSTALL_DIR --enable-lib-only --with-openssl
4853make -j
4954make install
5055cd ..
5156
52- git clone --depth 1 -b curl-7_82_0 https://github.com/curl/curl
57+ git clone --depth 1 -b curl-8_12_1 https://github.com/curl/curl
5358cd curl
5459autoreconf -fi
5560LDFLAGS=" -Wl,-rpath,$INSTALL_DIR /lib64" ./configure --with-openssl=$INSTALL_DIR --with-nghttp2=$INSTALL_DIR --with-nghttp3=$INSTALL_DIR --with-ngtcp2=$INSTALL_DIR --prefix=$INSTALL_DIR
6065# ##
6166
6267cd ..
63- cmake -D CUSTOM_LIBCURL_INSTALL_PATH=$INSTALL_DIR .
68+ cmake -D CUSTOM_LIBCURL_INSTALL_PATH=$INSTALL_DIR -D CMAKE_BUILD_TYPE=Debug .
6469make -j
0 commit comments