X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=.ci%2Fdeps.sh;h=c33016ad08aa964223a1c363db01a4aa1585b83f;hb=76de8e3924fc36e5a3e906741bf640dceb846800;hp=523e7aa799ffee46862d5ff6af4117980dce8dad;hpb=09dda64ce99668c918fada04b9ad6bf9cd2ab104;p=tinc diff --git a/.ci/deps.sh b/.ci/deps.sh index 523e7aa7..c33016ad 100755 --- a/.ci/deps.sh +++ b/.ci/deps.sh @@ -6,9 +6,8 @@ deps_linux_alpine() { apk upgrade apk add \ - git binutils meson pkgconf gcc linux-headers diffutils \ - procps socat shadow sudo libgcrypt-dev texinfo gzip \ - openssl-dev zlib-dev lzo-dev ncurses-dev readline-dev musl-dev lz4-dev vde2-dev + git binutils meson pkgconf gcc linux-headers shadow sudo libgcrypt-dev texinfo gzip \ + openssl-dev zlib-dev lzo-dev ncurses-dev readline-dev musl-dev lz4-dev vde2-dev cmocka-dev } deps_linux_debian_mingw() { @@ -37,6 +36,7 @@ deps_linux_debian_linux() { libgcrypt-dev:"$HOST" \ libminiupnpc-dev:"$HOST" \ libvdeplug-dev:"$HOST" \ + libcmocka-dev:"$HOST" \ "$@" if [ -n "$HOST" ]; then @@ -51,8 +51,7 @@ deps_linux_debian() { apt-get update apt-get upgrade -y - apt-get install -y git pkgconf diffutils sudo texinfo \ - netcat-openbsd procps socat + apt-get install -y git pkgconf sudo texinfo HOST=${HOST:-} if [ "$HOST" = mingw ]; then @@ -87,8 +86,8 @@ deps_linux_rhel() { yum upgrade -y yum install -y \ - git binutils make meson pkgconf gcc diffutils sudo texinfo-tex netcat procps systemd perl-IPC-Cmd \ - findutils socat lzo-devel zlib-devel lz4-devel ncurses-devel readline-devel libgcrypt-devel "$@" + git binutils make meson pkgconf gcc sudo texinfo-tex systemd perl-IPC-Cmd \ + lzo-devel zlib-devel lz4-devel ncurses-devel readline-devel libgcrypt-devel "$@" if yum info openssl11-devel; then yum install -y openssl11-devel @@ -102,6 +101,11 @@ deps_linux_rhel() { } linux_openssl3() { + if [ -n "${SKIP_OPENSSL3:-}" ]; then + echo >&2 "skipping openssl3 installation in this job" + return + fi + src=/usr/local/src/openssl ssl3=/opt/ssl3 @@ -146,8 +150,7 @@ deps_linux() { } deps_macos() { - brew install coreutils netcat lzo lz4 miniupnpc libgcrypt openssl meson "$@" - pip3 install --user compiledb + brew install lzo lz4 miniupnpc libgcrypt openssl meson "$@" } case "$(uname -s)" in