fix: populate ldns submodule and add autotools to LDNS build stage

- Re-cloned zonemaster-ldns with --recurse-submodules so the bundled
  ldns C library source (including Changelog and configure.ac) is present
- Added autoconf, automake, libtool to Dockerfile.backend ldns-build stage
  so libtoolize + autoreconf can generate ldns/configure during make

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-21 08:33:38 +02:00
parent 8d4eaa1489
commit eaaa8f6a11
541 changed files with 138189 additions and 0 deletions

View File

@@ -0,0 +1,52 @@
# #-- codingstyle.test --#
# source the master var file when it's there
[ -f ../.tpkg.var.master ] && source ../.tpkg.var.master
# use .tpkg.var.test for in test variable passing
[ -f .tpkg.var.test ] && source .tpkg.var.test
# svnserve resets the path, you may need to adjust it, like this:
PATH=$PATH:/usr/sbin:/sbin:/usr/local/bin:/usr/local/sbin:.
L=90
OPT="-ncs -sai -nut -ce -nfca -nlp -ncdb -br -ts08 -i8 -nbad"
LC_OSTYPE=$(echo $OSTYPE | tr 'A-Z' 'a-z')
st=0
for i in ../../*.c; do
case $i in
"../../util.c" | "../../host2str.c" | "../../resolver.c")
continue;;
"../../error.c" | "../../rr.c" | "../../str2host.c")
continue;;
"../../keys.c" | "../../linktest.c" | "../../dnssec.c")
continue;;
"../../packet.c" | "../../parse.c")
continue;;
esac
case $LC_OSTYPE in
linux*)
diff -w -u $i <(cat $i | indent -l$L $OPT) | grep ^---
;;
*bsd*)
diff -w -u $i <(cat $i | gindent -l$L $OPT)| grep ^---
;;
darwin*)
echo "Warning: Codingstyle not checked on osx"
exit 0
;;
solaris*)
echo "Warning: Codingstyle not checked on solaris"
exit 0
;;
esac
if [[ $? -eq 1 ]]; then
st=1
fi
done
if [[ $st -eq 0 ]]; then
exit 1
fi
exit 0