@@ -7,49 +7,54 @@ echo "WARNING !!!"
7
7
echo
8
8
echo " Use only for development and testing!"
9
9
echo " 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"
11
13
echo
12
14
13
15
sleep 5
14
16
17
+ set -x
18
+
15
19
INSTALL_DIR=$PWD /custom_curl/install
16
20
mkdir -p $INSTALL_DIR
17
21
cd custom_curl
18
22
19
23
# ##
20
24
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
22
26
cd openssl
23
27
./config enable-tls1_3 --prefix=$INSTALL_DIR
24
28
make -j build_libs
25
29
make install_dev
26
30
cd ..
27
31
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
29
33
cd nghttp3
34
+ git submodule update --init
30
35
autoreconf -fi
31
36
./configure --prefix=$INSTALL_DIR --enable-lib-only
32
37
make -j
33
38
make install
34
39
cd ..
35
40
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
37
42
cd ngtcp2
38
43
autoreconf -fi
39
44
./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
40
45
make -j
41
46
make install
42
47
cd ..
43
48
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
45
50
cd nghttp2
46
51
autoreconf -fi
47
52
./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
48
53
make -j
49
54
make install
50
55
cd ..
51
56
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
53
58
cd curl
54
59
autoreconf -fi
55
60
LDFLAGS=" -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
60
65
# ##
61
66
62
67
cd ..
63
- cmake -D CUSTOM_LIBCURL_INSTALL_PATH=$INSTALL_DIR .
68
+ cmake -D CUSTOM_LIBCURL_INSTALL_PATH=$INSTALL_DIR -D CMAKE_BUILD_TYPE=Debug .
64
69
make -j
0 commit comments