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:
@@ -0,0 +1,3 @@
|
||||
search jelte.nlnetlabs.nl
|
||||
nameserver 192.168.8.8
|
||||
nameserver 192.168.8.21
|
||||
@@ -0,0 +1,3 @@
|
||||
domain jelte.nlnetlabs.nl
|
||||
nameserver 192.168.8.8
|
||||
nameserver 192.168.8.21
|
||||
@@ -0,0 +1,5 @@
|
||||
domain jelte.nlnetlabs.nl
|
||||
search nlnetlabs.nl
|
||||
search fluim.net
|
||||
nameserver 192.168.8.8
|
||||
nameserver 192.168.8.21
|
||||
@@ -0,0 +1,6 @@
|
||||
domain jelte.nlnetlabs.nl
|
||||
search nlnetlabs.nl
|
||||
search fluim.net
|
||||
sortlist 192.168.8.0/255.255.255.0 195.169.215.155
|
||||
nameserver 192.168.8.8
|
||||
nameserver 192.168.8.21
|
||||
@@ -0,0 +1,4 @@
|
||||
domain jelte.nlnetlabs.nl
|
||||
options debug
|
||||
nameserver 192.168.8.8
|
||||
nameserver 192.168.8.21
|
||||
@@ -0,0 +1,4 @@
|
||||
domain jelte.nlnetlabs.nl
|
||||
options rotate attempts inet6
|
||||
nameserver 192.168.8.8
|
||||
nameserver 192.168.8.21
|
||||
@@ -0,0 +1,15 @@
|
||||
BaseName: 17-stub-resolver
|
||||
Version: 1.0
|
||||
Description: try to create stub resolvers from different resolv.conf files
|
||||
CreationDate: Fri Jun 30 10:05:09 CEST 2006
|
||||
Maintainer: Jelte Jansen
|
||||
Category:
|
||||
Component:
|
||||
Depends:
|
||||
Help: 17-stub-resolver.help
|
||||
Pre:
|
||||
Post:
|
||||
Test: 17-stub-resolver.test
|
||||
AuxFiles: 17-resolv.conf1 17-resolv.conf2 17-resolv.conf3 17-resolv.conf4 17-resolv.conf5 17-resolv.conf6
|
||||
Passed:
|
||||
Failure:
|
||||
@@ -0,0 +1 @@
|
||||
No arguments are needed
|
||||
@@ -0,0 +1,79 @@
|
||||
[ -f ../.tpkg.var.master ] && source ../.tpkg.var.master
|
||||
|
||||
export PATH=$PATH:/usr/sbin:/sbin:/usr/local/bin:/usr/local/sbin:.
|
||||
|
||||
RESULT=0
|
||||
|
||||
echo "17-resolv.conf1:"
|
||||
cat 17-resolv.conf1
|
||||
echo ""
|
||||
|
||||
LD_LIBRARY_PATH=../../lib:$LD_LIBRARY_PATH \
|
||||
../../examples/ldns-resolver 17-resolv.conf1
|
||||
|
||||
if [[ $? -ne 0 ]]; then
|
||||
RESULT=1
|
||||
fi
|
||||
|
||||
echo ""
|
||||
echo "17-resolv.conf2:"
|
||||
cat 17-resolv.conf2
|
||||
echo ""
|
||||
|
||||
LD_LIBRARY_PATH=../../lib:$LD_LIBRARY_PATH \
|
||||
../../examples/ldns-resolver 17-resolv.conf2
|
||||
|
||||
if [[ $? -ne 0 ]]; then
|
||||
RESULT=1
|
||||
fi
|
||||
|
||||
echo ""
|
||||
echo "17-resolv.conf3:"
|
||||
cat 17-resolv.conf3
|
||||
echo ""
|
||||
|
||||
LD_LIBRARY_PATH=../../lib:$LD_LIBRARY_PATH \
|
||||
../../examples/ldns-resolver 17-resolv.conf3
|
||||
|
||||
if [[ $? -ne 0 ]]; then
|
||||
RESULT=1
|
||||
fi
|
||||
|
||||
echo ""
|
||||
echo "17-resolv.conf4:"
|
||||
cat 17-resolv.conf4
|
||||
echo ""
|
||||
|
||||
LD_LIBRARY_PATH=../../lib:$LD_LIBRARY_PATH \
|
||||
../../examples/ldns-resolver 17-resolv.conf4
|
||||
|
||||
if [[ $? -ne 0 ]]; then
|
||||
RESULT=1
|
||||
fi
|
||||
|
||||
echo ""
|
||||
echo "17-resolv.conf5:"
|
||||
cat 17-resolv.conf5
|
||||
echo ""
|
||||
|
||||
LD_LIBRARY_PATH=../../lib:$LD_LIBRARY_PATH \
|
||||
../../examples/ldns-resolver 17-resolv.conf5
|
||||
|
||||
if [[ $? -ne 0 ]]; then
|
||||
RESULT=1
|
||||
fi
|
||||
|
||||
echo ""
|
||||
echo "17-resolv.conf6:"
|
||||
cat 17-resolv.conf6
|
||||
echo ""
|
||||
|
||||
LD_LIBRARY_PATH=../../lib:$LD_LIBRARY_PATH \
|
||||
../../examples/ldns-resolver 17-resolv.conf6
|
||||
|
||||
if [[ $? -ne 0 ]]; then
|
||||
RESULT=1
|
||||
fi
|
||||
|
||||
|
||||
exit $RESULT
|
||||
Reference in New Issue
Block a user