summaryrefslogtreecommitdiffstats
path: root/packaging/bundle-lws.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-01-26 18:05:10 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-01-26 18:05:10 +0000
commit34a0b66bc2d48223748ed1cf5bc1b305c396bd74 (patch)
treefbd36be86cc6bc4288fe627f2b5beada569848bb /packaging/bundle-lws.sh
parentAdding upstream version 1.32.1. (diff)
downloadnetdata-34a0b66bc2d48223748ed1cf5bc1b305c396bd74.tar.xz
netdata-34a0b66bc2d48223748ed1cf5bc1b305c396bd74.zip
Adding upstream version 1.33.0.upstream/1.33.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rwxr-xr-xpackaging/bundle-lws.sh17
1 files changed, 0 insertions, 17 deletions
diff --git a/packaging/bundle-lws.sh b/packaging/bundle-lws.sh
deleted file mode 100755
index c4ffc7780..000000000
--- a/packaging/bundle-lws.sh
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/sh
-
-startdir="${PWD}"
-
-LWS_TARBALL="v$(cat "${1}/packaging/libwebsockets.version").tar.gz"
-LWS_BUILD_PATH="${1}/externaldeps/libwebsockets/libwebsockets-$(cat "${1}/packaging/libwebsockets.version")"
-
-mkdir -p "${1}/externaldeps/libwebsockets" || exit 1
-curl -sSL --connect-timeout 10 --retry 3 "https://github.com/warmcat/libwebsockets/archive/${LWS_TARBALL}" > "${LWS_TARBALL}" || exit 1
-sha256sum -c "${1}/packaging/libwebsockets.checksums" || exit 1
-tar -xzf "${LWS_TARBALL}" -C "${1}/externaldeps/libwebsockets" || exit 1
-cd "${LWS_BUILD_PATH}" || exit 1
-cmake -Wno-dev -Wno-deprecated -D LWS_WITH_SOCKS5:boolean=YES -D WITHOUT_LWS_TESTAPPS:boolean=YES . || exit 1
-make || exit 1
-cd "${startdir}" || exit 1
-cp -a "${LWS_BUILD_PATH}/lib/libwebsockets.a" "${1}/externaldeps/libwebsockets" || exit 1
-cp -a "${LWS_BUILD_PATH}/include" "${1}/externaldeps/libwebsockets" || exit 1