From 2bafa21420d9cc08079fd25912c2425869e67610 Mon Sep 17 00:00:00 2001 From: Saoneth Date: Sun, 28 Jul 2019 12:57:39 +0200 Subject: [PATCH 1/3] Update build.sh Automatically select latest curl source --- build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index 96fd3da..a0326f8 100755 --- a/build.sh +++ b/build.sh @@ -2,8 +2,8 @@ cat < Date: Sun, 28 Jul 2019 13:21:01 +0200 Subject: [PATCH 2/3] Update build.sh Update ca-bundle and ca-path with debian compatible --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index a0326f8..3c8f36b 100755 --- a/build.sh +++ b/build.sh @@ -5,7 +5,7 @@ apk add gcc make musl-dev openssl-dev wget "https://curl.haxx.se/download/$(wget https://curl.haxx.se/download/ -q -O- | grep -o 'curl-.*\.tar\.xz"' | sort -r | head -n1 | sed 's/.$//')" tar xvfJ curl-*.tar.xz cd curl-* -./configure --disable-shared --with-ca-fallback +./configure ./configure --disable-shared --without-ca-fallback --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt --with-ca-path=/etc/ssl/certs/ make curl_LDFLAGS=-all-static make install cp /usr/local/bin/curl /out From 7ae1da01d2c0dcb5875f4fadd4e7f1c39a7f4c66 Mon Sep 17 00:00:00 2001 From: Saoneth Date: Sun, 28 Jul 2019 13:21:22 +0200 Subject: [PATCH 3/3] Update build.sh remove doubled ./configure --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 3c8f36b..3390a55 100755 --- a/build.sh +++ b/build.sh @@ -5,7 +5,7 @@ apk add gcc make musl-dev openssl-dev wget "https://curl.haxx.se/download/$(wget https://curl.haxx.se/download/ -q -O- | grep -o 'curl-.*\.tar\.xz"' | sort -r | head -n1 | sed 's/.$//')" tar xvfJ curl-*.tar.xz cd curl-* -./configure ./configure --disable-shared --without-ca-fallback --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt --with-ca-path=/etc/ssl/certs/ +./configure --disable-shared --without-ca-fallback --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt --with-ca-path=/etc/ssl/certs/ make curl_LDFLAGS=-all-static make install cp /usr/local/bin/curl /out