diff options
author | Toni <matzeton@googlemail.com> | 2022-03-02 19:48:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-02 19:48:46 +0100 |
commit | cb62dfd24945f5732166ecb4121354adc48cec80 (patch) | |
tree | 99b704199af51e2819c8b1c6db3e37a75593698a /.github | |
parent | e23507d3e97ce37bb15be59de5195336595cdb17 (diff) |
Drop support for non-gcrypt builds. (#1469)
* As there is now a builtin, lightweight libgcrypt
there is no need to disable tls-clho decryption.
* It is still possible to use a host libgcrypt
with `--with-local-libgcrypt'.
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to '.github')
-rw-r--r-- | .github/ISSUE_TEMPLATE/bug_template.md | 2 | ||||
-rw-r--r-- | .github/workflows/build.yml | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/.github/ISSUE_TEMPLATE/bug_template.md b/.github/ISSUE_TEMPLATE/bug_template.md index cce00f2fa..f75c07c42 100644 --- a/.github/ISSUE_TEMPLATE/bug_template.md +++ b/.github/ISSUE_TEMPLATE/bug_template.md @@ -21,7 +21,7 @@ A clear and concise description of what happening. * OS version: [e.g. 18.04] * Architecture: [e.g. arm64] * nDPI version or commit hash: [e.g. 4.0-stable or 937357e4bc55610f116f66d15a8e0fc1e260c02c]. -* nDPI compilation flags used: if you are building from source [e.g. --with-pcre --disable-gcrypt]. +* nDPI compilation flags used: if you are building from source [e.g. --with-pcre --with-local-libgcrypt]. * Attach the `config.log` file generated after `./configure` ran (if you are building from source). ## How to reproduce the reported bug diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index adcf7fe6b..05c23f659 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,7 +22,7 @@ jobs: sudo apt-get update sudo apt-get install autoconf automake libtool pkg-config gettext libjson-c-dev flex bison libpcap-dev sudo apt-get install rrdtool librrd-dev - sudo apt-get install libgcrypt20-dev libpcre3-dev libmaxminddb-dev lcov + sudo apt-get install libpcre3-dev libmaxminddb-dev lcov - name: Configure run: env CC=gcc CFLAGS='-Werror' ./autogen.sh --enable-debug-messages --enable-code-coverage --with-pcre --with-maxminddb - name: Build @@ -51,7 +51,7 @@ jobs: matrix: os: ["ubuntu-latest", "ubuntu-18.04", "macOS-latest", "macos-11"] arch: ["x86_64"] - gcrypt: ["--disable-gcrypt", ""] + gcrypt: ["--with-local-libgcrypt", ""] compiler: ["default-cc"] pcre: [""] maxminddb: [""] @@ -151,7 +151,7 @@ jobs: sudo apt-get install doxygen python3-sphinx python3-sphinx-rtd-theme python3-breathe python3-pip sudo apt-get install rrdtool librrd-dev - name: Install Ubuntu Prerequisites (libgcrypt) - if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.arch, 'x86_64') && !startsWith(matrix.gcrypt, '--disable-gcrypt') + if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.arch, 'x86_64') && startsWith(matrix.gcrypt, '--with-local-libgcrypt') run: | sudo apt-get install libgcrypt20-dev - name: Install Ubuntu Prerequisites (libpcre) @@ -177,7 +177,7 @@ jobs: brew install coreutils brew install rrdtool - name: Install MacOS Prerequisites (libgcrypt) - if: startsWith(matrix.os, 'macOS') && startsWith(matrix.arch, 'x86_64') && !startsWith(matrix.gcrypt, '--disable-gcrypt') + if: startsWith(matrix.os, 'macOS') && startsWith(matrix.arch, 'x86_64') && startsWith(matrix.gcrypt, '--with-local-libgcrypt') run: | brew install libgcrypt - name: Install MacOS Prerequisites (libpcre) @@ -241,7 +241,7 @@ jobs: - name: Configure nDPI [Mingw-w64] (runs only on ubuntu jobs) if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.arch, 'x86_64') run: | - make distclean && ./autogen.sh --host=x86_64-w64-mingw32 ${{ matrix.gcrypt }} ${{ matrix.pcre }} ${{ matrix.maxminddb }} + make distclean && ./autogen.sh --host=x86_64-w64-mingw32 ${{ matrix.pcre }} ${{ matrix.maxminddb }} - name: Build nDPI [Mingw-w64] (runs only on ubuntu jobs) if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.arch, 'x86_64') run: | |