commit: build-ubuntu-20.04.sh

pull/75/head
Alec Muffett 2020-07-23 18:45:58 +00:00
rodzic 085368fe5d
commit b8b8ec6a6b
1 zmienionych plików z 34 dodań i 0 usunięć

Wyświetl plik

@ -0,0 +1,34 @@
#!/bin/sh -x
# platform-independent lib.sh
cd `dirname $0` || exit 1
opt_dir=`pwd`
. lib.sh || exit 1
# platform dependencies
shared_deps="
dirmngr
libevent-dev
libpcre3-dev
libssl-dev
libssl1.1
zlib1g-dev
"
sudo apt install -y $shared_deps || exit 1
# build openresty
SetupOpenRestyVars || exit 1
CustomiseVars || exit 1
SetupForBuild || exit 1
ConfigureOpenResty || exit 1
BuildAndCleanup || exit 1
# build tor
SetupTorVars || exit 1
CustomiseVars || exit 1
SetupForBuild || exit 1
ConfigureTor || exit 1
BuildAndCleanup || exit 1
# done
exit 0