Feat: adds build script for Debian bullseye

pull/114/head
Silvio Rhatto 2023-05-18 09:00:11 -03:00
rodzic e4a4ca429f
commit 8e2cb40820
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 0B67F75BCEE634FB
1 zmienionych plików z 38 dodań i 0 usunięć

Wyświetl plik

@ -0,0 +1,38 @@
#!/bin/sh -x
# platform-independent lib.sh
cd `dirname $0` || exit 1
opt_dir=`pwd`
. ./lib.sh || exit 1
# platform dependencies
shared_deps="
build-essential
curl
dirmngr
libevent-dev
libpcre3-dev
libssl-dev
libssl1.1
make
perl
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