bump libnDPI to ...

* upstream changed regression test interface, needed to adapt
 * improved libnDPI helper build script
 * updated JSON schema

Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
This commit is contained in:
Toni Uhlig 2023-05-23 04:38:07 +02:00
parent a4e5bab9b2
commit c9514136b7
No known key found for this signature in database
GPG key ID: 22C5333D922537D2
2738 changed files with 173922 additions and 159153 deletions

View file

@ -35,8 +35,17 @@ EOF
set -x
cd "$(dirname "${0}")/.."
if [ -d ./.git ]; then
git submodule update --init ./libnDPI
if [ -d ./.git -o -f ./.git ]; then
LINES_CHANGED="$(git --no-pager diff ./libnDPI | wc -l)"
if [ ${LINES_CHANGED} -eq 0 ]; then
git submodule update --progress --init ./libnDPI
else
set +x
printf '%s\n' '-----------------------------------'
printf 'WARNING: %s changes in source tree %s, no GIT update will be done!\n' "${LINES_CHANGED}" "$(realpath $(dirname "${0}")/../libnDPI)"
printf '%s\n' '-----------------------------------'
set -x
fi
else
set +x
printf '%s\n' '-----------------------------------'
@ -52,7 +61,7 @@ else
fi
cd ./libnDPI
test -r Makefile && make distclean
test ! -r Makefile || { make distclean || true; }
DEST_INSTALL="${DEST_INSTALL:-$(realpath ./install)}"
MAKE_PROGRAM="${MAKE_PROGRAM:-make -j4}"
HOST_ARG="--host=${HOST_TRIPLET}"