9 git binutils make autoconf automake gcc linux-headers diffutils \
10 procps socat shadow sudo libgcrypt-dev texinfo texlive gzip \
11 openssl-dev zlib-dev lzo-dev ncurses-dev readline-dev musl-dev lz4-dev vde2-dev
15 export DEBIAN_FRONTEND=noninteractive
19 if [ -n "$HOST" ]; then
20 dpkg --add-architecture "$HOST"
27 git binutils make autoconf automake gcc diffutils sudo texinfo texlive netcat-openbsd procps socat \
32 libncurses-dev:"$HOST" \
33 libreadline-dev:"$HOST" \
34 libgcrypt-dev:"$HOST" \
35 libminiupnpc-dev:"$HOST" \
36 libvdeplug-dev:"$HOST" \
39 if [ -n "$HOST" ]; then
40 apt-get install -y crossbuild-essential-"$HOST" qemu-user
45 if [ "$ID" != fedora ]; then
46 yum install -y epel-release
49 dnf install -y 'dnf-command(config-manager)'
50 dnf config-manager --enable powertools
57 git binutils make autoconf automake gcc diffutils sudo texinfo-tex netcat procps systemd perl-IPC-Cmd \
58 findutils socat lzo-devel zlib-devel lz4-devel ncurses-devel readline-devel libgcrypt-devel "$@"
60 if yum info openssl11-devel; then
61 yum install -y openssl11-devel
63 dnf install -y openssl-devel
66 if yum info miniupnpc-devel; then
67 yum install -y miniupnpc-devel
72 if [ -n "${HOST:-}" ]; then
73 echo >&2 "Not installing OpenSSL 3 to a cross-compilation job"
77 src=/usr/local/src/openssl
82 git clone --depth 1 --branch openssl-3.0.2 https://github.com/openssl/openssl $src
85 ./Configure --prefix=$ssl3 --openssldir=$ssl3
89 ldconfig -v $ssl3/lib64
99 deps_linux_alpine "$@"
103 deps_linux_debian "$@"
107 centos | almalinux | fedora)
117 brew install coreutils netcat automake lzo lz4 miniupnpc libgcrypt openssl "$@"
118 pip3 install --user compiledb
121 case "$(uname -s)" in
122 Linux) deps_linux "$@" ;;
123 Darwin) deps_macos "$@" ;;