Merge ~lvoytek/ubuntu/+source/bind9:mre-9.18.24-mantic into ubuntu/+source/bind9:ubuntu/mantic-devel
- Git
- lp:~lvoytek/ubuntu/+source/bind9
- mre-9.18.24-mantic
- Merge into ubuntu/mantic-devel
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Andreas Hasenack | ||||
Approved revision: | 0e42eb698f43eab5e04c28f06b42a38a0632e8d7 | ||||
Merge reported by: | Andreas Hasenack | ||||
Merged at revision: | 0e42eb698f43eab5e04c28f06b42a38a0632e8d7 | ||||
Proposed branch: | ~lvoytek/ubuntu/+source/bind9:mre-9.18.24-mantic | ||||
Merge into: | ubuntu/+source/bind9:ubuntu/mantic-devel | ||||
Diff against target: |
132182 lines (+42515/-34605) 713 files modified
CHANGES (+186/-0) CONTRIBUTING.md (+1/-16) ChangeLog (+186/-0) Makefile.in (+8/-10) NEWS (+186/-0) README.md (+3/-11) SECURITY.md (+35/-0) aclocal.m4 (+325/-122) ar-lib (+1/-1) bin/Makefile.in (+6/-7) bin/check/Makefile.in (+6/-7) bin/confgen/Makefile.in (+6/-7) bin/delv/Makefile.in (+6/-7) bin/dig/Makefile.in (+6/-7) bin/dig/dighost.c (+2/-0) bin/dnssec/Makefile.in (+6/-7) bin/dnssec/dnssec-signzone.c (+1/-1) bin/named/Makefile.in (+6/-7) bin/named/config.c (+2/-2) bin/named/os.c (+11/-10) bin/named/server.c (+21/-19) bin/nsupdate/Makefile.in (+6/-7) bin/nsupdate/nsupdate.c (+27/-16) bin/plugins/Makefile.in (+6/-7) bin/rndc/Makefile.in (+6/-7) bin/rndc/rndc.rst (+3/-1) bin/tests/Makefile.in (+6/-7) bin/tests/system/Makefile.am (+52/-76) bin/tests/system/Makefile.in (+420/-335) bin/tests/system/README (+25/-10) bin/tests/system/acl/ns2/named1.conf.in (+1/-1) bin/tests/system/acl/ns2/named2.conf.in (+1/-1) bin/tests/system/acl/ns2/named3.conf.in (+1/-1) bin/tests/system/acl/ns2/named4.conf.in (+1/-1) bin/tests/system/acl/ns2/named5.conf.in (+1/-1) bin/tests/system/acl/tests.sh (+106/-53) bin/tests/system/additional/ns1/named1.conf.in (+1/-1) bin/tests/system/additional/ns1/named2.conf.in (+1/-1) bin/tests/system/additional/ns1/named3.conf.in (+1/-1) bin/tests/system/additional/ns1/named4.conf.in (+1/-1) bin/tests/system/additional/tests.sh (+272/-246) bin/tests/system/addzone/ns1/named.conf.in (+1/-1) bin/tests/system/addzone/ns2/named1.conf.in (+2/-2) bin/tests/system/addzone/ns2/named2.conf.in (+3/-3) bin/tests/system/addzone/ns2/named3.conf.in (+4/-4) bin/tests/system/addzone/ns3/named1.conf.in (+1/-1) bin/tests/system/addzone/ns3/named2.conf.in (+1/-1) bin/tests/system/addzone/tests.sh (+261/-260) bin/tests/system/addzone/tests_rndc_deadlock.py (+1/-1) bin/tests/system/allow-query/ns2/named01.conf.in (+1/-1) bin/tests/system/allow-query/ns2/named02.conf.in (+1/-1) bin/tests/system/allow-query/ns2/named03.conf.in (+1/-1) bin/tests/system/allow-query/ns2/named04.conf.in (+1/-1) bin/tests/system/allow-query/ns2/named05.conf.in (+1/-1) bin/tests/system/allow-query/ns2/named06.conf.in (+1/-1) bin/tests/system/allow-query/ns2/named07.conf.in (+1/-1) bin/tests/system/allow-query/ns2/named08.conf.in (+1/-1) bin/tests/system/allow-query/ns2/named09.conf.in (+1/-1) bin/tests/system/allow-query/ns2/named10.conf.in (+1/-1) bin/tests/system/allow-query/ns2/named11.conf.in (+1/-1) bin/tests/system/allow-query/ns2/named12.conf.in (+1/-1) bin/tests/system/allow-query/ns2/named21.conf.in (+1/-1) bin/tests/system/allow-query/ns2/named22.conf.in (+1/-1) bin/tests/system/allow-query/ns2/named23.conf.in (+1/-1) bin/tests/system/allow-query/ns2/named24.conf.in (+1/-1) bin/tests/system/allow-query/ns2/named25.conf.in (+1/-1) bin/tests/system/allow-query/ns2/named26.conf.in (+1/-1) bin/tests/system/allow-query/ns2/named27.conf.in (+1/-1) bin/tests/system/allow-query/ns2/named28.conf.in (+1/-1) bin/tests/system/allow-query/ns2/named29.conf.in (+1/-1) bin/tests/system/allow-query/ns2/named30.conf.in (+1/-1) bin/tests/system/allow-query/ns2/named31.conf.in (+1/-1) bin/tests/system/allow-query/ns2/named32.conf.in (+1/-1) bin/tests/system/allow-query/ns2/named33.conf.in (+1/-1) bin/tests/system/allow-query/ns2/named34.conf.in (+1/-1) bin/tests/system/allow-query/ns2/named40.conf.in (+1/-1) bin/tests/system/allow-query/ns2/named53.conf.in (+1/-1) bin/tests/system/allow-query/ns2/named54.conf.in (+1/-1) bin/tests/system/allow-query/ns2/named55.conf.in (+1/-1) bin/tests/system/allow-query/ns2/named56.conf.in (+1/-1) bin/tests/system/allow-query/ns2/named57.conf.in (+1/-1) bin/tests/system/allow-query/ns3/named1.conf.in (+1/-1) bin/tests/system/allow-query/ns3/named2.conf.in (+1/-1) bin/tests/system/allow-query/ns3/named3.conf.in (+1/-1) bin/tests/system/allow-query/ns3/named4.conf.in (+1/-1) bin/tests/system/allow-query/setup.sh (+4/-4) bin/tests/system/allow-query/tests.sh (+209/-210) bin/tests/system/allow-query/tests_sh_allow_query.py (+1/-1) bin/tests/system/auth/tests.sh (+70/-72) bin/tests/system/autosign/ns1/keygen.sh (+13/-13) bin/tests/system/autosign/ns2/keygen.sh (+17/-19) bin/tests/system/autosign/ns2/named.conf.in (+1/-1) bin/tests/system/autosign/ns3/keygen.sh (+155/-147) bin/tests/system/autosign/ns3/named.conf.in (+10/-1) bin/tests/system/autosign/ns3/nsec3-to-nsec3.example.db.in (+26/-0) bin/tests/system/autosign/ns4/named.conf.in (+1/-1) bin/tests/system/autosign/ns5/named.conf.in (+1/-1) bin/tests/system/autosign/tests.sh (+589/-548) bin/tests/system/builtin/ns1/named.conf.in (+1/-1) bin/tests/system/builtin/ns2/named.conf.in (+1/-1) bin/tests/system/builtin/ns3/named.conf.in (+1/-1) bin/tests/system/builtin/tests.sh (+93/-54) bin/tests/system/cacheclean/ns2/named.conf.in (+1/-1) bin/tests/system/cacheclean/tests.sh (+61/-49) bin/tests/system/case/tests.sh (+28/-30) bin/tests/system/catz/ns1/named.conf.in (+1/-1) bin/tests/system/catz/ns2/named1.conf.in (+1/-1) bin/tests/system/catz/ns2/named2.conf.in (+1/-1) bin/tests/system/catz/ns3/named.conf.in (+1/-1) bin/tests/system/catz/ns4/named.conf.in (+1/-1) bin/tests/system/catz/tests.sh (+925/-930) bin/tests/system/cds/setup.sh (+24/-24) bin/tests/system/cds/tests.sh (+35/-31) bin/tests/system/chain/ans3/ans.pl (+14/-2) bin/tests/system/chain/ns2/sign.sh (+5/-5) bin/tests/system/chain/ns5/named.conf.in (+1/-1) bin/tests/system/chain/prereq.sh (+31/-0) bin/tests/system/chain/tests.sh (+129/-129) bin/tests/system/checkconf/deprecated.conf (+7/-2) bin/tests/system/checkconf/tests.sh (+405/-265) bin/tests/system/checkds/ns1/setup.sh (+6/-6) bin/tests/system/checkds/ns2/named.conf.in (+1/-1) bin/tests/system/checkds/ns2/setup.sh (+10/-11) bin/tests/system/checkds/ns3/named.conf.in (+1/-1) bin/tests/system/checkds/ns5/named.conf.in (+1/-1) bin/tests/system/checkds/ns5/setup.sh (+4/-4) bin/tests/system/checkds/ns6/named.conf.in (+1/-1) bin/tests/system/checkds/ns7/named.conf.in (+1/-1) bin/tests/system/checkds/ns9/named.conf.in (+1/-1) bin/tests/system/checkds/ns9/setup.sh (+25/-27) bin/tests/system/checkds/setup.sh (+8/-8) bin/tests/system/checkds/tests_checkds.py (+5/-0) bin/tests/system/checknames/tests.sh (+47/-47) bin/tests/system/checkzone/setup.sh (+1/-1) bin/tests/system/checkzone/tests.sh (+88/-90) bin/tests/system/ckdnsrps.sh (+64/-59) bin/tests/system/cleanall.sh (+7/-10) bin/tests/system/conf.sh.common (+7/-7) bin/tests/system/conf.sh.in (+9/-9) bin/tests/system/conftest.py (+601/-572) bin/tests/system/convert-junit-to-trs.py (+70/-0) bin/tests/system/cookie/prereq.sh (+21/-0) bin/tests/system/cookie/tests.sh (+207/-210) bin/tests/system/custom-test-driver (+69/-42) bin/tests/system/database/tests.sh (+10/-11) bin/tests/system/dialup/tests.sh (+19/-23) bin/tests/system/digdelv/ns2/named.conf.in (+1/-1) bin/tests/system/digdelv/ns2/sign.sh (+5/-5) bin/tests/system/digdelv/ns3/named.conf.in (+1/-1) bin/tests/system/digdelv/prereq.sh (+26/-0) bin/tests/system/digdelv/tests.sh (+639/-639) bin/tests/system/dispatch/ns2/named.conf.in (+1/-1) bin/tests/system/dlzexternal/driver/Makefile.am (+1/-1) bin/tests/system/dlzexternal/driver/Makefile.in (+16/-16) bin/tests/system/dlzexternal/prereq.sh (+2/-2) bin/tests/system/dlzexternal/setup.sh (+1/-1) bin/tests/system/dlzexternal/tests.sh (+72/-72) bin/tests/system/dns64/ns1/named.conf1.in (+1/-1) bin/tests/system/dns64/ns1/named.conf2.in (+1/-1) bin/tests/system/dns64/ns1/named.conf3.in (+1/-1) bin/tests/system/dns64/ns1/sign.sh (+2/-2) bin/tests/system/dns64/ns2/named.conf.in (+1/-1) bin/tests/system/dns64/tests.sh (+484/-488) bin/tests/system/dnssec/ns1/sign.sh (+10/-10) bin/tests/system/dnssec/ns2/named.conf.in (+1/-1) bin/tests/system/dnssec/ns2/sign.sh (+71/-73) bin/tests/system/dnssec/ns3/named.conf.in (+1/-1) bin/tests/system/dnssec/ns3/secure.example.db.in (+5/-0) bin/tests/system/dnssec/ns3/sign.sh (+163/-162) bin/tests/system/dnssec/ns4/named1.conf.in (+1/-1) bin/tests/system/dnssec/ns4/named2.conf.in (+1/-1) bin/tests/system/dnssec/ns4/named3.conf.in (+1/-1) bin/tests/system/dnssec/ns4/named4.conf.in (+1/-1) bin/tests/system/dnssec/ns5/named1.conf.in (+1/-1) bin/tests/system/dnssec/ns5/sign.sh (+6/-6) bin/tests/system/dnssec/ns6/named.conf.in (+1/-1) bin/tests/system/dnssec/ns6/sign.sh (+2/-2) bin/tests/system/dnssec/ns7/named.conf.in (+1/-1) bin/tests/system/dnssec/ns7/sign.sh (+3/-3) bin/tests/system/dnssec/ns8/named.conf.in (+1/-1) bin/tests/system/dnssec/prereq.sh (+26/-0) bin/tests/system/dnssec/setup.sh (+11/-11) bin/tests/system/dnssec/tests.sh (+2160/-2146) bin/tests/system/dnstap/clean.sh (+1/-1) bin/tests/system/dnstap/ns2/named.conf.in (+1/-1) bin/tests/system/dnstap/ns3/named.conf.in (+1/-1) bin/tests/system/dnstap/ns4/named.conf.in (+1/-1) bin/tests/system/dnstap/prereq.sh (+2/-2) bin/tests/system/dnstap/tests.sh (+446/-422) bin/tests/system/dnstap/tests_dnstap.py (+1/-1) bin/tests/system/doth/ns1/named.conf.in (+26/-1) bin/tests/system/doth/ns2/named.conf.in (+2/-2) bin/tests/system/doth/ns3/named.conf.in (+2/-2) bin/tests/system/doth/ns4/named.conf.in (+2/-2) bin/tests/system/doth/ns5/named.conf.in (+83/-0) bin/tests/system/doth/prereq.sh (+2/-2) bin/tests/system/doth/setup.sh (+8/-7) bin/tests/system/doth/stress_http_quota.py (+2/-2) bin/tests/system/doth/tests.sh (+354/-323) bin/tests/system/dsdigest/ns1/sign.sh (+3/-3) bin/tests/system/dsdigest/ns2/named.conf.in (+1/-1) bin/tests/system/dsdigest/ns2/sign.sh (+6/-7) bin/tests/system/dsdigest/ns3/named.conf.in (+1/-1) bin/tests/system/dsdigest/ns4/named.conf.in (+1/-1) bin/tests/system/dsdigest/tests.sh (+11/-11) bin/tests/system/dupsigs/ns1/reset_keys.sh (+3/-4) bin/tests/system/dupsigs/setup.sh (+4/-1) bin/tests/system/dupsigs/tests.sh (+19/-20) bin/tests/system/dyndb/driver/Makefile.am (+1/-1) bin/tests/system/dyndb/driver/Makefile.in (+16/-16) bin/tests/system/dyndb/prereq.sh (+3/-3) bin/tests/system/dyndb/tests.sh (+74/-76) bin/tests/system/ecdsa/ns1/sign.sh (+17/-17) bin/tests/system/ecdsa/ns2/named.conf.in (+1/-1) bin/tests/system/ecdsa/ns3/named.conf.in (+1/-1) bin/tests/system/ecdsa/setup.sh (+4/-4) bin/tests/system/ecdsa/tests.sh (+21/-21) bin/tests/system/eddsa/ns1/sign.sh (+17/-17) bin/tests/system/eddsa/ns2/named.conf.in (+1/-1) bin/tests/system/eddsa/ns2/sign.sh (+6/-7) bin/tests/system/eddsa/ns3/named.conf.in (+1/-1) bin/tests/system/eddsa/ns3/sign.sh (+6/-7) bin/tests/system/eddsa/prereq.sh (+2/-2) bin/tests/system/eddsa/setup.sh (+8/-8) bin/tests/system/eddsa/tests.sh (+50/-50) bin/tests/system/ednscompliance/tests.sh (+109/-34) bin/tests/system/emptyzones/tests.sh (+5/-5) bin/tests/system/enginepkcs11/prereq.sh (+1/-1) bin/tests/system/enginepkcs11/setup.sh (+80/-83) bin/tests/system/enginepkcs11/tests.sh (+115/-118) bin/tests/system/fetchlimit/prereq.sh (+21/-0) bin/tests/system/fetchlimit/tests.sh (+99/-90) bin/tests/system/filter-aaaa/ns1/sign.sh (+4/-4) bin/tests/system/filter-aaaa/ns4/sign.sh (+3/-3) bin/tests/system/filter-aaaa/tests.sh (+500/-515) bin/tests/system/formerr/tests.sh (+12/-12) bin/tests/system/forward/ns1/sign.sh (+3/-3) bin/tests/system/forward/prereq.sh (+26/-0) bin/tests/system/forward/setup.sh (+2/-2) bin/tests/system/forward/tests.sh (+159/-159) bin/tests/system/genzone.sh (+2/-3) bin/tests/system/geoip2/prereq.sh (+2/-2) bin/tests/system/geoip2/setup.sh (+2/-2) bin/tests/system/geoip2/tests.sh (+103/-116) bin/tests/system/get_core_dumps.sh (+33/-33) bin/tests/system/get_ports.sh (+23/-20) bin/tests/system/glue/tests.sh (+1/-1) bin/tests/system/hooks/driver/Makefile.am (+1/-1) bin/tests/system/hooks/driver/Makefile.in (+16/-16) bin/tests/system/host/tests.sh (+33/-33) bin/tests/system/idna/tests.sh (+247/-251) bin/tests/system/ifconfig.sh.in (+195/-197) bin/tests/system/include-multiplecfg/setup.sh (+1/-1) bin/tests/system/include-multiplecfg/tests.sh (+13/-10) bin/tests/system/inline/clean.sh (+13/-13) bin/tests/system/inline/ns1/sign.sh (+2/-2) bin/tests/system/inline/ns2/named.conf.in (+1/-1) bin/tests/system/inline/ns3/named.conf.in (+1/-1) bin/tests/system/inline/ns3/sign.sh (+37/-40) bin/tests/system/inline/ns5/named.conf.post (+1/-1) bin/tests/system/inline/ns5/named.conf.pre (+1/-1) bin/tests/system/inline/ns6/named.conf.in (+2/-2) bin/tests/system/inline/ns7/named.conf.in (+1/-1) bin/tests/system/inline/ns8/named.conf.in (+1/-1) bin/tests/system/inline/ns8/sign.sh (+4/-5) bin/tests/system/inline/setup.sh (+16/-4) bin/tests/system/inline/tests.sh (+550/-550) bin/tests/system/integrity/ns1/named.conf.in (+1/-1) bin/tests/system/integrity/tests.sh (+36/-36) bin/tests/system/isctest/__init__.py (+2/-3) bin/tests/system/isctest/check.py (+34/-0) bin/tests/system/isctest/query.py (+35/-0) bin/tests/system/ixfr/prereq.sh (+21/-0) bin/tests/system/ixfr/setup.sh (+16/-16) bin/tests/system/ixfr/tests.sh (+95/-94) bin/tests/system/journal/setup.sh (+1/-1) bin/tests/system/journal/tests.sh (+52/-54) bin/tests/system/kasp.sh (+902/-905) bin/tests/system/kasp/clean.sh (+1/-0) bin/tests/system/kasp/ns3/named-fips.conf.in (+21/-0) bin/tests/system/kasp/ns3/setup.sh (+396/-378) bin/tests/system/kasp/ns4/setup.sh (+6/-7) bin/tests/system/kasp/ns5/setup.sh (+6/-7) bin/tests/system/kasp/ns6/setup.sh (+187/-188) bin/tests/system/kasp/setup.sh (+21/-23) bin/tests/system/kasp/tests.sh (+1252/-1235) bin/tests/system/keepalive/ns2/named.conf.in (+1/-1) bin/tests/system/keepalive/ns3/named.conf.in (+1/-1) bin/tests/system/keepalive/tests.sh (+20/-20) bin/tests/system/keyfromlabel/prereq.sh (+1/-1) bin/tests/system/keyfromlabel/setup.sh (+1/-1) bin/tests/system/keyfromlabel/tests.sh (+58/-60) bin/tests/system/keymgr2kasp/clean.sh (+0/-1) bin/tests/system/keymgr2kasp/ns3/setup.sh (+56/-56) bin/tests/system/keymgr2kasp/ns4/setup.sh (+5/-5) bin/tests/system/keymgr2kasp/setup.sh (+4/-4) bin/tests/system/keymgr2kasp/tests.sh (+301/-304) bin/tests/system/legacy.run.sh.in (+124/-185) bin/tests/system/legacy/ns6/sign.sh (+3/-3) bin/tests/system/legacy/ns7/sign.sh (+4/-4) bin/tests/system/legacy/tests.sh (+94/-94) bin/tests/system/limits/tests.sh (+10/-10) bin/tests/system/logfileconfig/named1.args (+1/-1) bin/tests/system/logfileconfig/named2.args (+1/-1) bin/tests/system/logfileconfig/tests.sh (+119/-123) bin/tests/system/masterfile/ns2/named.conf.in (+1/-1) bin/tests/system/masterfile/tests.sh (+5/-5) bin/tests/system/masterformat/ns1/compile.sh (+11/-11) bin/tests/system/masterformat/setup.sh (+1/-1) bin/tests/system/masterformat/tests.sh (+117/-118) bin/tests/system/metadata/setup.sh (+12/-13) bin/tests/system/metadata/tests.sh (+40/-40) bin/tests/system/mirror/ns1/sign.sh (+7/-7) bin/tests/system/mirror/ns2/sign.sh (+35/-35) bin/tests/system/mirror/ns3/named.conf.in (+1/-1) bin/tests/system/mirror/setup.sh (+3/-3) bin/tests/system/mirror/tests.sh (+194/-194) bin/tests/system/mkeys/ns1/sign.sh (+12/-12) bin/tests/system/mkeys/ns2/named.conf.in (+1/-1) bin/tests/system/mkeys/ns3/named.conf.in (+1/-1) bin/tests/system/mkeys/ns4/named.conf.in (+1/-1) bin/tests/system/mkeys/ns4/sign.sh (+2/-2) bin/tests/system/mkeys/ns5/named.conf.in (+1/-1) bin/tests/system/mkeys/ns6/named.conf.in (+1/-1) bin/tests/system/mkeys/ns6/setup.sh (+1/-1) bin/tests/system/mkeys/ns7/named.conf.in (+2/-2) bin/tests/system/mkeys/setup.sh (+5/-5) bin/tests/system/mkeys/tests.sh (+275/-241) bin/tests/system/names/tests.sh (+14/-11) bin/tests/system/notify/ns2/named.conf.in (+1/-1) bin/tests/system/notify/ns3/named.conf.in (+1/-1) bin/tests/system/notify/ns4/named.conf.in (+1/-1) bin/tests/system/notify/tests.sh (+59/-62) bin/tests/system/nsec3/ns3/setup.sh (+32/-32) bin/tests/system/nsec3/setup.sh (+4/-4) bin/tests/system/nsec3/tests.sh (+217/-219) bin/tests/system/nslookup/tests.sh (+46/-46) bin/tests/system/nsupdate/krb/setup.sh (+2/-3) bin/tests/system/nsupdate/ns3/sign.sh (+3/-3) bin/tests/system/nsupdate/prereq.sh (+21/-0) bin/tests/system/nsupdate/setup.sh (+28/-25) bin/tests/system/nsupdate/tests.sh (+1156/-764) bin/tests/system/nzd2nzf/prereq.sh (+2/-2) bin/tests/system/nzd2nzf/tests.sh (+22/-22) bin/tests/system/padding/ns2/named.conf.in (+1/-1) bin/tests/system/padding/ns3/named.conf.in (+1/-1) bin/tests/system/padding/ns4/named.conf.in (+1/-1) bin/tests/system/padding/tests.sh (+37/-31) bin/tests/system/parallel.sh (+4/-4) bin/tests/system/pending/ns1/sign.sh (+4/-4) bin/tests/system/pending/ns2/named.conf.in (+1/-1) bin/tests/system/pending/ns2/sign.sh (+8/-8) bin/tests/system/pending/ns3/named.conf.in (+1/-1) bin/tests/system/pending/ns4/named.conf.in (+1/-1) bin/tests/system/pending/tests.sh (+18/-19) bin/tests/system/pipelined/ns2/named.conf.in (+1/-1) bin/tests/system/pipelined/ns3/named.conf.in (+1/-1) bin/tests/system/pipelined/ns4/named.conf.in (+1/-1) bin/tests/system/pipelined/tests.sh (+31/-19) bin/tests/system/pytest_custom_markers.py (+18/-0) bin/tests/system/qmin/ns5/named.conf.in (+1/-1) bin/tests/system/qmin/ns6/named.conf.in (+1/-1) bin/tests/system/qmin/ns7/named.conf.in (+1/-1) bin/tests/system/qmin/prereq.sh (+21/-0) bin/tests/system/qmin/tests.sh (+175/-175) bin/tests/system/qmin/tests_sh_qmin.py (+4/-0) bin/tests/system/reclimit/ans7/ans.pl (+14/-2) bin/tests/system/reclimit/prereq.sh (+26/-0) bin/tests/system/reclimit/tests.sh (+103/-88) bin/tests/system/reclimit/tests_sh_reclimit.py (+4/-0) bin/tests/system/redirect/ns1/sign.sh (+4/-4) bin/tests/system/redirect/ns2/named.conf.in (+1/-1) bin/tests/system/redirect/ns3/sign.sh (+4/-4) bin/tests/system/redirect/ns5/sign.sh (+8/-8) bin/tests/system/redirect/setup.sh (+3/-3) bin/tests/system/redirect/tests.sh (+190/-192) bin/tests/system/resolver/ns6/keygen.sh (+5/-5) bin/tests/system/resolver/prereq.sh (+21/-0) bin/tests/system/resolver/tests.sh (+525/-492) bin/tests/system/rndc/ns2/named.conf.in (+1/-1) bin/tests/system/rndc/ns3/named.conf.in (+1/-1) bin/tests/system/rndc/ns5/named.conf.in (+1/-1) bin/tests/system/rndc/setup.sh (+8/-8) bin/tests/system/rndc/tests.sh (+352/-337) bin/tests/system/rndc/tests_cve-2023-3341.py (+57/-0) bin/tests/system/rootkeysentinel/ns1/sign.sh (+4/-4) bin/tests/system/rootkeysentinel/ns2/sign.sh (+11/-11) bin/tests/system/rootkeysentinel/tests.sh (+104/-104) bin/tests/system/rpz/clean.sh (+22/-19) bin/tests/system/rpz/qperf.sh (+5/-5) bin/tests/system/rpz/setup.sh (+37/-31) bin/tests/system/rpz/tests.sh (+546/-536) bin/tests/system/rpzextra/ns3/named.args (+1/-1) bin/tests/system/rpzrecurse/ns3/named1.conf.in (+1/-1) bin/tests/system/rpzrecurse/ns3/named2.conf.in (+1/-1) bin/tests/system/rpzrecurse/ns3/named3.conf.in (+1/-1) bin/tests/system/rpzrecurse/prereq.sh (+21/-0) bin/tests/system/rpzrecurse/setup.sh (+31/-27) bin/tests/system/rpzrecurse/tests.sh (+168/-162) bin/tests/system/rrchecker/tests.sh (+54/-41) bin/tests/system/rrl/clean.sh (+1/-1) bin/tests/system/rrl/tests.sh (+143/-142) bin/tests/system/rrl/tests_sh_rrl.py (+4/-0) bin/tests/system/rrsetorder/ns3/named.conf.in (+1/-1) bin/tests/system/rrsetorder/ns4/named.conf.in (+1/-1) bin/tests/system/rrsetorder/ns5/named.conf.in (+1/-1) bin/tests/system/rrsetorder/tests.sh (+209/-243) bin/tests/system/rsabigexponent/bigkey.c (+3/-0) bin/tests/system/rsabigexponent/ns1/sign.sh (+3/-3) bin/tests/system/rsabigexponent/ns2/named.conf.in (+1/-1) bin/tests/system/rsabigexponent/ns2/sign.sh (+4/-5) bin/tests/system/rsabigexponent/ns3/named.conf.in (+1/-1) bin/tests/system/rsabigexponent/tests.sh (+17/-19) bin/tests/system/run.sh (+6/-3) bin/tests/system/runall.sh (+33/-33) bin/tests/system/runsequential.sh (+2/-3) bin/tests/system/runtime/tests.sh (+108/-104) bin/tests/system/serve-stale/ns1/root.db (+2/-0) bin/tests/system/serve-stale/ns3/named.conf.in (+27/-8) bin/tests/system/serve-stale/ns3/serve.stale.db (+18/-0) bin/tests/system/serve-stale/ns6/named.conf.in (+44/-0) bin/tests/system/serve-stale/ns6/serve.stale.db (+16/-0) bin/tests/system/serve-stale/ns6/stale.db (+17/-0) bin/tests/system/serve-stale/prereq.sh (+21/-0) bin/tests/system/serve-stale/setup.sh (+2/-1) bin/tests/system/serve-stale/tests.sh (+1290/-1236) bin/tests/system/setup.sh (+10/-7) bin/tests/system/sfcache/ns1/sign.sh (+5/-5) bin/tests/system/sfcache/ns2/named.conf.in (+1/-1) bin/tests/system/sfcache/ns2/sign.sh (+2/-2) bin/tests/system/sfcache/ns5/named.conf.in (+1/-1) bin/tests/system/sfcache/ns5/sign.sh (+1/-1) bin/tests/system/sfcache/tests.sh (+40/-40) bin/tests/system/shutdown/tests_shutdown.py (+3/-3) bin/tests/system/smartsign/tests.sh (+181/-130) bin/tests/system/sortlist/tests.sh (+9/-9) bin/tests/system/spf/tests.sh (+12/-13) bin/tests/system/start.pl (+6/-15) bin/tests/system/staticstub/ns2/named.conf.in (+1/-1) bin/tests/system/staticstub/ns3/sign.sh (+7/-7) bin/tests/system/staticstub/ns4/sign.sh (+2/-2) bin/tests/system/staticstub/setup.sh (+2/-2) bin/tests/system/staticstub/tests.sh (+70/-74) bin/tests/system/statistics/ns2/named.conf.in (+1/-1) bin/tests/system/statistics/ns2/named2.conf.in (+1/-1) bin/tests/system/statistics/prereq.sh (+21/-0) bin/tests/system/statistics/tests.sh (+99/-99) bin/tests/system/statschannel/clean.sh (+3/-1) bin/tests/system/statschannel/conftest.py (+3/-11) bin/tests/system/statschannel/generic.py (+134/-11) bin/tests/system/statschannel/ns2/sign.sh (+10/-10) bin/tests/system/statschannel/prereq.sh (+26/-0) bin/tests/system/statschannel/setup.sh (+1/-1) bin/tests/system/statschannel/tests.sh (+354/-269) bin/tests/system/statschannel/tests_json.py (+5/-8) bin/tests/system/statschannel/tests_xml.py (+5/-8) bin/tests/system/stop.pl (+1/-1) bin/tests/system/stopall.sh (+2/-3) bin/tests/system/stress/clean.sh (+0/-6) bin/tests/system/stress/ns2/named.conf.in (+27/-4) bin/tests/system/stress/ns2/zone.template.db (+21/-0) bin/tests/system/stress/ns3/named.conf.in (+30/-6) bin/tests/system/stress/ns4/named.conf.in (+26/-4) bin/tests/system/stress/prereq.sh (+21/-0) bin/tests/system/stress/setup.sh (+5/-6) bin/tests/system/stress/tests_stress_update.py (+79/-0) bin/tests/system/stub/ns2/named.conf.in (+1/-1) bin/tests/system/stub/ns3/named.conf.in (+1/-1) bin/tests/system/stub/ns5/named.conf.in (+1/-1) bin/tests/system/stub/tests.sh (+58/-46) bin/tests/system/synthfromdnssec/ns1/sign.sh (+15/-15) bin/tests/system/synthfromdnssec/setup.sh (+2/-2) bin/tests/system/synthfromdnssec/tests.sh (+732/-743) bin/tests/system/tcp/ns2/named.conf.in (+1/-1) bin/tests/system/tcp/ns3/named.conf.in (+1/-1) bin/tests/system/tcp/ns4/named.conf.in (+1/-1) bin/tests/system/tcp/ns5/named.conf.in (+1/-1) bin/tests/system/tcp/tests.sh (+32/-32) bin/tests/system/testcrypto.sh (+58/-59) bin/tests/system/testsummary.sh (+23/-23) bin/tests/system/timeouts/ns1/named.conf.in (+1/-1) bin/tests/system/timeouts/prereq.sh (+9/-11) bin/tests/system/timeouts/setup.sh (+1/-1) bin/tests/system/timeouts/tests_tcp_timeouts.py (+1/-0) bin/tests/system/tkey/tests.sh (+93/-94) bin/tests/system/tools/tests.sh (+78/-40) bin/tests/system/transport-acl/ns1/named.conf.in (+1/-1) bin/tests/system/transport-acl/setup.sh (+1/-1) bin/tests/system/transport-acl/tests.sh (+20/-20) bin/tests/system/tsig/setup.sh (+2/-3) bin/tests/system/tsig/tests.sh (+187/-163) bin/tests/system/tsiggss/prereq.sh (+3/-3) bin/tests/system/tsiggss/setup.sh (+1/-1) bin/tests/system/tsiggss/tests.sh (+73/-72) bin/tests/system/ttl/ns1/named.conf.in (+1/-1) bin/tests/system/unknown/setup.sh (+4/-1) bin/tests/system/unknown/tests.sh (+118/-117) bin/tests/system/upforwd/prereq.sh (+21/-0) bin/tests/system/upforwd/setup.sh (+9/-12) bin/tests/system/upforwd/tests.sh (+163/-122) bin/tests/system/verify/tests.sh (+73/-75) bin/tests/system/verify/zones/genzones.sh (+110/-110) bin/tests/system/views/ns2/named1.conf.in (+1/-1) bin/tests/system/views/ns2/named2.conf.in (+2/-2) bin/tests/system/views/ns3/named1.conf.in (+1/-1) bin/tests/system/views/ns3/named2.conf.in (+1/-1) bin/tests/system/views/ns5/named.conf.in (+1/-1) bin/tests/system/views/setup.sh (+6/-6) bin/tests/system/views/tests.sh (+51/-43) bin/tests/system/wildcard/ns1/sign.sh (+22/-22) bin/tests/system/wildcard/ns2/named.conf.in (+1/-1) bin/tests/system/wildcard/ns3/named.conf.in (+1/-1) bin/tests/system/wildcard/ns5/named.conf.in (+1/-1) bin/tests/system/wildcard/tests.sh (+112/-102) bin/tests/system/xfer/ns1/named1.conf.in (+1/-1) bin/tests/system/xfer/ns1/named2.conf.in (+1/-1) bin/tests/system/xfer/ns1/named3.conf.in (+1/-1) bin/tests/system/xfer/ns2/named.conf.in (+1/-1) bin/tests/system/xfer/ns3/named.conf.in (+1/-1) bin/tests/system/xfer/ns6/named.conf.in (+2/-2) bin/tests/system/xfer/ns7/named.conf.in (+2/-2) bin/tests/system/xfer/ns8/named.conf.in (+1/-1) bin/tests/system/xfer/prereq.sh (+9/-5) bin/tests/system/xfer/setup.sh (+3/-3) bin/tests/system/xfer/tests.sh (+210/-211) bin/tests/system/xferquota/ns2/named.conf.in (+1/-1) bin/tests/system/xferquota/tests.sh (+19/-19) bin/tests/system/zero/prereq.sh (+21/-0) bin/tests/system/zero/setup.sh (+1/-1) bin/tests/system/zero/tests.sh (+95/-67) bin/tests/system/zonechecks/setup.sh (+10/-10) bin/tests/system/zonechecks/tests.sh (+124/-129) bin/tests/wire_test.c (+1/-1) bin/tools/Makefile.in (+6/-7) bin/tools/dnstap-read.c (+0/-13) compile (+1/-1) config.guess (+887/-613) config.h.in (+81/-22) config.sub (+1349/-1260) configure (+8237/-5845) configure.ac (+1/-24) contrib/dlz/modules/common/dlz_dbi.c (+1/-1) contrib/scripts/zone-edit.sh.in (+100/-108) debian/changelog (+45/-0) debian/patches/always-use-standard-library-stdatomic.patch (+27/-0) debian/patches/series (+1/-6) depcomp (+1/-1) dev/null (+0/-33) doc/Makefile.in (+6/-7) doc/arm/Makefile.in (+6/-5) doc/arm/conf.py (+39/-0) doc/arm/notes.rst (+6/-0) doc/arm/platforms.inc.rst (+10/-9) doc/arm/reference.rst (+39/-9) doc/arm/requirements.txt (+4/-4) doc/arm/security.inc.rst (+50/-0) doc/dnssec-guide/introduction.rst (+1/-1) doc/dnssec-guide/validation.rst (+1/-1) doc/man/Makefile.in (+6/-5) doc/man/arpaname.1in (+1/-1) doc/man/ddns-confgen.8in (+1/-1) doc/man/delv.1in (+1/-1) doc/man/dig.1in (+1/-1) doc/man/dnssec-cds.1in (+1/-1) doc/man/dnssec-dsfromkey.1in (+1/-1) doc/man/dnssec-importkey.1in (+1/-1) doc/man/dnssec-keyfromlabel.1in (+1/-1) doc/man/dnssec-keygen.1in (+1/-1) doc/man/dnssec-revoke.1in (+1/-1) doc/man/dnssec-settime.1in (+1/-1) doc/man/dnssec-signzone.1in (+1/-1) doc/man/dnssec-verify.1in (+1/-1) doc/man/dnstap-read.1in (+1/-1) doc/man/filter-a.8in (+1/-1) doc/man/filter-aaaa.8in (+1/-1) doc/man/host.1in (+1/-1) doc/man/mdig.1in (+1/-1) doc/man/named-checkconf.1in (+1/-1) doc/man/named-checkzone.1in (+1/-1) doc/man/named-compilezone.1in (+1/-1) doc/man/named-journalprint.1in (+1/-1) doc/man/named-nzd2nzf.1in (+1/-1) doc/man/named-rrchecker.1in (+1/-1) doc/man/named.8in (+1/-1) doc/man/named.conf.5in (+9/-9) doc/man/nsec3hash.1in (+1/-1) doc/man/nslookup.1in (+1/-1) doc/man/nsupdate.1in (+1/-1) doc/man/rndc-confgen.8in (+1/-1) doc/man/rndc.8in (+4/-2) doc/man/rndc.conf.5in (+1/-1) doc/man/tsig-keygen.8in (+1/-1) doc/misc/Makefile.in (+6/-7) doc/misc/options (+8/-8) doc/notes/notes-9.18.1.rst (+4/-4) doc/notes/notes-9.18.11.rst (+3/-3) doc/notes/notes-9.18.16.rst (+2/-2) doc/notes/notes-9.18.19.rst (+96/-0) doc/notes/notes-9.18.20.rst (+44/-0) doc/notes/notes-9.18.21.rst (+31/-0) doc/notes/notes-9.18.22.rst (+19/-0) doc/notes/notes-9.18.23.rst (+20/-0) doc/notes/notes-9.18.24.rst (+65/-0) doc/notes/notes-9.18.3.rst (+1/-1) doc/notes/notes-9.18.7.rst (+5/-5) fuzz/Makefile.in (+6/-7) fuzz/dns_message_checksig.c (+2/-2) lib/Makefile.in (+6/-7) lib/bind9/Makefile.in (+6/-7) lib/bind9/check.c (+4/-0) lib/dns/Makefile.in (+6/-7) lib/dns/adb.c (+5/-5) lib/dns/cache.c (+1/-0) lib/dns/catz.c (+16/-0) lib/dns/diff.c (+34/-0) lib/dns/dst_api.c (+20/-9) lib/dns/include/dns/catz.h (+3/-5) lib/dns/include/dns/dispatch.h (+1/-1) lib/dns/include/dns/message.h (+1/-39) lib/dns/include/dns/name.h (+17/-20) lib/dns/include/dns/rbt.h (+13/-0) lib/dns/include/dns/rpz.h (+1/-4) lib/dns/include/dns/stats.h (+1/-1) lib/dns/include/dns/validator.h (+1/-0) lib/dns/include/dst/dst.h (+4/-0) lib/dns/master.c (+1/-1) lib/dns/message.c (+241/-134) lib/dns/name.c (+1/-0) lib/dns/ncache.c (+1/-1) lib/dns/nsec3.c (+4/-10) lib/dns/openssl_link.c (+1/-0) lib/dns/opensslecdsa_link.c (+14/-5) lib/dns/openssleddsa_link.c (+1/-1) lib/dns/opensslrsa_link.c (+40/-18) lib/dns/private.c (+4/-4) lib/dns/rbt.c (+8/-0) lib/dns/rbtdb.c (+169/-68) lib/dns/rdata.c (+1/-1) lib/dns/resolver.c (+16/-14) lib/dns/rootns.c (+47/-6) lib/dns/stats.c (+6/-4) lib/dns/tsig.c (+14/-8) lib/dns/update.c (+28/-25) lib/dns/validator.c (+30/-37) lib/dns/xfrin.c (+32/-11) lib/dns/zone.c (+74/-82) lib/irs/Makefile.in (+6/-7) lib/isc/Makefile.in (+6/-7) lib/isc/hmac.c (+39/-32) lib/isc/ht.c (+51/-4) lib/isc/httpd.c (+28/-12) lib/isc/include/isc/atomic.h (+1/-1) lib/isc/include/isc/endian.h (+17/-17) lib/isc/include/isc/mem.h (+36/-0) lib/isc/include/isc/net.h (+2/-2) lib/isc/include/isc/netmgr.h (+3/-0) lib/isc/include/isc/radix.h (+1/-1) lib/isc/include/isc/result.h (+1/-0) lib/isc/include/isc/types.h (+6/-4) lib/isc/iterated_hash.c (+6/-1) lib/isc/jemalloc_shim.h (+4/-1) lib/isc/md.c (+12/-2) lib/isc/mem.c (+167/-17) lib/isc/mem_p.h (+11/-0) lib/isc/netaddr.c (+1/-1) lib/isc/netmgr/http.c (+10/-9) lib/isc/netmgr/netmgr-int.h (+1/-0) lib/isc/netmgr/netmgr.c (+24/-14) lib/isc/netmgr/tcp.c (+3/-3) lib/isc/netmgr/tcpdns.c (+9/-2) lib/isc/netmgr/tlsdns.c (+84/-4) lib/isc/netmgr/tlsstream.c (+6/-6) lib/isc/netmgr/udp.c (+6/-4) lib/isc/netmgr/uv-compat.h (+1/-1) lib/isc/result.c (+2/-0) lib/isc/stats.c (+17/-8) lib/isc/tls.c (+7/-1) lib/isc/trampoline.c (+3/-2) lib/isc/url.c (+3/-2) lib/isccc/Makefile.in (+6/-7) lib/isccc/cc.c (+38/-19) lib/isccfg/Makefile.in (+6/-7) lib/isccfg/namedconf.c (+6/-5) lib/ns/Makefile.in (+6/-7) lib/ns/client.c (+76/-33) lib/ns/include/ns/client.h (+1/-0) lib/ns/query.c (+37/-15) lib/ns/server.c (+5/-0) lib/ns/update.c (+9/-2) lib/ns/xfrout.c (+1/-1) ltmain.sh (+512/-315) m4/libtool.m4 (+131/-98) m4/ltoptions.m4 (+2/-2) m4/ltsugar.m4 (+1/-1) m4/ltversion.m4 (+7/-6) m4/lt~obsolete.m4 (+2/-2) missing (+1/-1) srcid (+1/-1) test-driver (+7/-4) tests/Makefile.in (+6/-7) tests/dns/Makefile.am (+10/-2) tests/dns/Makefile.in (+41/-23) tests/dns/rdata_test.c (+28/-0) tests/irs/Makefile.in (+6/-7) tests/isc/Makefile.in (+6/-7) tests/isc/hmac_test.c (+108/-104) tests/isc/ht_test.c (+50/-0) tests/isc/netmgr_test.c (+175/-3) tests/isccfg/Makefile.in (+6/-7) tests/libtest/Makefile.in (+6/-7) tests/libtest/ns.c (+1/-1) tests/ns/Makefile.in (+6/-7) tests/unit-test-driver.sh.in (+24/-24) |
||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Mitchell Dzurick (community) | Approve | ||
Canonical Server Reporter | Pending | ||
Canonical Server | Pending | ||
Review via email: mp+464213@code.launchpad.net |
Commit message
Description of the change
Update mantic bind9 version to match noble
All patch removals were CVEs that could be reverse-applied with 9.18.24. The added patch, always-
PPA: https:/
autopkgtest results:
bind-dyndb-ldap @ amd64:
12.04.24 15:50:30 Log 🗒️ ✅ Triggers: bind-dyndb-
bind9 @ amd64:
12.04.24 16:12:26 Log 🗒️ ✅ Triggers: bind9/1:
bind-dyndb-ldap @ arm64:
12.04.24 15:08:51 Log 🗒️ ✅ Triggers: bind-dyndb-
bind9 @ arm64:
12.04.24 15:25:41 Log 🗒️ ✅ Triggers: bind9/1:
bind-dyndb-ldap @ armhf:
12.04.24 15:12:45 Log 🗒️ ✅ Triggers: bind-dyndb-
bind9 @ armhf:
12.04.24 14:49:36 Log 🗒️ ✅ Triggers: bind9/1:
bind-dyndb-ldap @ ppc64el:
12.04.24 15:05:55 Log 🗒️ ✅ Triggers: bind-dyndb-
bind9 @ ppc64el:
12.04.24 15:24:37 Log 🗒️ ✅ Triggers: bind9/1:
bind-dyndb-ldap @ s390x:
12.04.24 15:11:51 Log 🗒️ ✅ Triggers: bind-dyndb-
bind9 @ s390x:
12.04.24 15:27:36 Log 🗒️ ✅ Triggers: bind9/1:
Lena Voytek (lvoytek) wrote : | # |
Thanks for the review! I agree the server address update would be good to look into for focal. I'll add that to my list of todos once noble is cleaned up. I haven't looked into it yet but stdatomic is probably also an issue in Debian. I'll check that out too
Mitchell Dzurick (mitchdz) wrote : | # |
BTW I also made this LP bug to check the root servers - https:/
Andreas Hasenack (ahasenack) wrote : | # |
This is in proposed already, marking as merged.
Preview Diff
1 | diff --git a/CHANGES b/CHANGES | |||
2 | index 3f4e364..9bd4f51 100644 | |||
3 | --- a/CHANGES | |||
4 | +++ b/CHANGES | |||
5 | @@ -1,3 +1,189 @@ | |||
6 | 1 | --- 9.18.24 released --- | ||
7 | 2 | |||
8 | 3 | 6343. [bug] Fix case insensitive setting for isc_ht hashtable. | ||
9 | 4 | [GL #4568] | ||
10 | 5 | |||
11 | 6 | --- 9.18.23 released --- | ||
12 | 7 | |||
13 | 8 | 6322. [security] Specific DNS answers could cause a denial-of-service | ||
14 | 9 | condition due to DNS validation taking a long time. | ||
15 | 10 | (CVE-2023-50387) [GL #4424] | ||
16 | 11 | |||
17 | 12 | 6321. [security] Change 6315 inadvertently introduced regressions that | ||
18 | 13 | could cause named to crash. [GL #4234] | ||
19 | 14 | |||
20 | 15 | 6320. [bug] Under some circumstances, the DoT code in client | ||
21 | 16 | mode could process more than one message at a time when | ||
22 | 17 | that was not expected. That has been fixed. [GL #4487] | ||
23 | 18 | |||
24 | 19 | --- 9.18.22 released --- | ||
25 | 20 | |||
26 | 21 | 6319. [func] Limit isc_task_send() overhead for RBTDB tree pruning. | ||
27 | 22 | [GL #4383] | ||
28 | 23 | |||
29 | 24 | 6317. [security] Restore DNS64 state when handling a serve-stale timeout. | ||
30 | 25 | (CVE-2023-5679) [GL #4334] | ||
31 | 26 | |||
32 | 27 | 6316. [security] Specific queries could trigger an assertion check with | ||
33 | 28 | nxdomain-redirect enabled. (CVE-2023-5517) [GL #4281] | ||
34 | 29 | |||
35 | 30 | 6315. [security] Speed up parsing of DNS messages with many different | ||
36 | 31 | names. (CVE-2023-4408) [GL #4234] | ||
37 | 32 | |||
38 | 33 | 6314. [bug] Address race conditions in dns_tsigkey_find(). | ||
39 | 34 | [GL #4182] | ||
40 | 35 | |||
41 | 36 | 6312. [bug] Conversion from NSEC3 signed to NSEC signed could | ||
42 | 37 | temporarily put the zone into a state where it was | ||
43 | 38 | treated as unsigned until the NSEC chain was built. | ||
44 | 39 | Additionally conversion from one set of NSEC3 parameters | ||
45 | 40 | to another could also temporarily put the zone into a | ||
46 | 41 | state where it was treated as unsigned until the new | ||
47 | 42 | NSEC3 chain was built. [GL #1794] [GL #4495] | ||
48 | 43 | |||
49 | 44 | 6310. [bug] Memory leak in zone.c:sign_zone. When named signed a | ||
50 | 45 | zone it could leak dst_keys due to a misplaced | ||
51 | 46 | 'continue'. [GL #4488] | ||
52 | 47 | |||
53 | 48 | 6306. [func] Log more details about the cause of "not exact" errors. | ||
54 | 49 | [GL #4500] | ||
55 | 50 | |||
56 | 51 | 6304. [bug] The wrong time was being used to determine what RRSIGs | ||
57 | 52 | where to be generated when dnssec-policy was in use. | ||
58 | 53 | [GL #4494] | ||
59 | 54 | |||
60 | 55 | 6302. [func] The "trust-anchor-telemetry" statement is no longer | ||
61 | 56 | marked as experimental. This silences a relevant log | ||
62 | 57 | message that was emitted even when the feature was | ||
63 | 58 | explicitly disabled. [GL #4497] | ||
64 | 59 | |||
65 | 60 | 6300. [bug] Fix statistics export to use full 64 bit signed numbers | ||
66 | 61 | instead of truncating values to unsigned 32 bits. | ||
67 | 62 | [GL #4467] | ||
68 | 63 | |||
69 | 64 | 6299. [port] NetBSD has added 'hmac' to libc which collides with our | ||
70 | 65 | use of 'hmac'. [GL #4478] | ||
71 | 66 | |||
72 | 67 | --- 9.18.21 released --- | ||
73 | 68 | |||
74 | 69 | 6297. [bug] Improve LRU cleaning behaviour. [GL #4448] | ||
75 | 70 | |||
76 | 71 | 6296. [func] The "resolver-nonbackoff-tries" and | ||
77 | 72 | "resolver-retry-interval" options are deprecated; | ||
78 | 73 | a warning will be logged if they are used. [GL #4405] | ||
79 | 74 | |||
80 | 75 | 6294. [bug] BIND might sometimes crash after startup or | ||
81 | 76 | re-configuration when one 'tls' entry is used multiple | ||
82 | 77 | times to connect to remote servers due to initialisation | ||
83 | 78 | attempts from contexts of multiple threads. That has | ||
84 | 79 | been fixed. [GL #4464] | ||
85 | 80 | |||
86 | 81 | 6290. [bug] Dig +yaml will now report "no servers could be reached" | ||
87 | 82 | also for UDP setup failure when no other servers or | ||
88 | 83 | tries are left. [GL #1229] | ||
89 | 84 | |||
90 | 85 | 6287. [bug] Recognize escapes when reading the public key from file. | ||
91 | 86 | [GL !8502] | ||
92 | 87 | |||
93 | 88 | 6286. [bug] Dig +yaml will now report "no servers could be reached" | ||
94 | 89 | on TCP connection failure as well as for UDP timeouts. | ||
95 | 90 | [GL #4396] | ||
96 | 91 | |||
97 | 92 | 6282. [func] Deprecate AES-based DNS cookies. [GL #4421] | ||
98 | 93 | |||
99 | 94 | --- 9.18.20 released --- | ||
100 | 95 | |||
101 | 96 | 6280. [bug] Fix missing newlines in the output of "rndc nta -dump". | ||
102 | 97 | [GL !8454] | ||
103 | 98 | |||
104 | 99 | 6277. [bug] Take into account local authoritative zones when | ||
105 | 100 | falling back to serve-stale. [GL #4355] | ||
106 | 101 | |||
107 | 102 | 6275. [bug] Fix assertion failure when using lock-file configuration | ||
108 | 103 | option together -X argument to named. [GL #4386] | ||
109 | 104 | |||
110 | 105 | 6274. [bug] The 'lock-file' file was being removed when it | ||
111 | 106 | shouldn't have been making it ineffective if named was | ||
112 | 107 | started 3 or more times. [GL #4387] | ||
113 | 108 | |||
114 | 109 | 6271. [bug] Fix a shutdown race in dns__catz_update_cb(). [GL #4381] | ||
115 | 110 | |||
116 | 111 | 6269. [maint] B.ROOT-SERVERS.NET addresses are now 170.247.170.2 and | ||
117 | 112 | 2801:1b8:10::b. [GL #4101] | ||
118 | 113 | |||
119 | 114 | 6267. [func] The timeouts for resending zone refresh queries over UDP | ||
120 | 115 | were lowered to enable named to more quickly determine | ||
121 | 116 | that a primary is down. [GL #4260] | ||
122 | 117 | |||
123 | 118 | 6265. [bug] Don't schedule resign operations on the raw version | ||
124 | 119 | of an inline-signing zone. [GL #4350] | ||
125 | 120 | |||
126 | 121 | 6261. [bug] Fix a possible assertion failure on an error path in | ||
127 | 122 | resolver.c:fctx_query(), when using an uninitialized | ||
128 | 123 | link. [GL #4331] | ||
129 | 124 | |||
130 | 125 | 6254. [cleanup] Add semantic patch to do an explicit cast from char | ||
131 | 126 | to unsigned char in ctype.h class of functions. | ||
132 | 127 | [GL #4327] | ||
133 | 128 | |||
134 | 129 | 6252. [test] Python system tests have to be executed by invoking | ||
135 | 130 | pytest directly. Executing them with the legacy test | ||
136 | 131 | runner is no longer supported. [GL #4250] | ||
137 | 132 | |||
138 | 133 | 6250. [bug] The wrong covered value was being set by | ||
139 | 134 | dns_ncache_current for RRSIG records in the returned | ||
140 | 135 | rdataset structure. This resulted in TYPE0 being | ||
141 | 136 | reported as the covered value of the RRSIG when dumping | ||
142 | 137 | the cache contents. [GL #4314] | ||
143 | 138 | |||
144 | 139 | --- 9.18.19 released --- | ||
145 | 140 | |||
146 | 141 | 6246. [security] Fix use-after-free error in TLS DNS code when sending | ||
147 | 142 | data. (CVE-2023-4236) [GL #4242] | ||
148 | 143 | |||
149 | 144 | 6245. [security] Limit the amount of recursion that can be performed | ||
150 | 145 | by isccc_cc_fromwire. (CVE-2023-3341) [GL #4152] | ||
151 | 146 | |||
152 | 147 | 6244. [bug] Adjust log levels on malformed messages to NOTICE when | ||
153 | 148 | transferring in a zone. [GL #4290] | ||
154 | 149 | |||
155 | 150 | 6241. [bug] Take into account the possibility of partial TLS writes | ||
156 | 151 | in TLS DNS code. That helps to prevent DNS messages | ||
157 | 152 | corruption on long DNS over TLS streams. [GL #4255] | ||
158 | 153 | |||
159 | 154 | 6240. [bug] Use dedicated per-worker thread jemalloc memory | ||
160 | 155 | arenas for send buffers allocation to reduce memory | ||
161 | 156 | consumption and avoid lock contention. [GL #4038] | ||
162 | 157 | |||
163 | 158 | 6239. [func] Deprecate the 'dnssec-must-be-secure' option. | ||
164 | 159 | [GL #3700] | ||
165 | 160 | |||
166 | 161 | 6237. [bug] Address memory leaks due to not clearing OpenSSL error | ||
167 | 162 | stack. [GL #4159] | ||
168 | 163 | |||
169 | 164 | 6235. [doc] Clarify BIND 9 time formats. [GL #4266] | ||
170 | 165 | |||
171 | 166 | 6234. [bug] Restore stale-refresh-time value after flushing the | ||
172 | 167 | cache. [GL #4278] | ||
173 | 168 | |||
174 | 169 | 6232. [bug] Following the introduction of krb5-subdomain-self-rhs | ||
175 | 170 | and ms-subdomain-self-rhs update rules, removal of | ||
176 | 171 | nonexistent PTR and SRV records via UPDATE could fail. | ||
177 | 172 | [GL #4280] | ||
178 | 173 | |||
179 | 174 | 6231. [func] Make nsupdate honor -v for SOA requests if the server | ||
180 | 175 | is specified. [GL #1181] | ||
181 | 176 | |||
182 | 177 | 6230. [bug] Prevent an unnecessary query restart if a synthesized | ||
183 | 178 | CNAME target points to the CNAME owner. [GL #3835] | ||
184 | 179 | |||
185 | 180 | 6227. [bug] Check the statistics-channel HTTP Content-length | ||
186 | 181 | to prevent negative or overflowing values from | ||
187 | 182 | causing a crash. [GL #4125] | ||
188 | 183 | |||
189 | 184 | 6224. [bug] Check the If-Modified-Since value length to prevent | ||
190 | 185 | out-of-bounds write. [GL #4124] | ||
191 | 186 | |||
192 | 1 | --- 9.18.18 released --- | 187 | --- 9.18.18 released --- |
193 | 2 | 188 | ||
194 | 3 | 6220. [func] Deprecate the 'dialup' and 'heartbeat-interval' | 189 | 6220. [func] Deprecate the 'dialup' and 'heartbeat-interval' |
195 | diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md | |||
196 | index 4b3db89..c108dbe 100644 | |||
197 | --- a/CONTRIBUTING.md | |||
198 | +++ b/CONTRIBUTING.md | |||
199 | @@ -102,22 +102,7 @@ Twitter, or Facebook. | |||
200 | 102 | 102 | ||
201 | 103 | ### Reporting possible security issues | 103 | ### Reporting possible security issues |
202 | 104 | 104 | ||
219 | 105 | If you think you may be seeing a potential security vulnerability in BIND | 105 | See `SECURITY.md`. |
204 | 106 | (for example, a crash with REQUIRE, INSIST, or ASSERT failure), please | ||
205 | 107 | report it immediately by emailing to security-officer@isc.org. Plain-text | ||
206 | 108 | e-mail is not a secure choice for communications concerning undisclosed | ||
207 | 109 | security issues so please encrypt your communications to us if possible, | ||
208 | 110 | using the [ISC Security Officer public key](https://www.isc.org/pgpkey/). | ||
209 | 111 | |||
210 | 112 | Do not discuss undisclosed security vulnerabilities on any public mailing list. | ||
211 | 113 | ISC has a long history of handling reported vulnerabilities promptly and | ||
212 | 114 | effectively and we respect and acknowledge responsible reporters. | ||
213 | 115 | |||
214 | 116 | ISC's Security Vulnerability Disclosure Policy is documented at | ||
215 | 117 | [https://kb.isc.org/docs/aa-00861](https://kb.isc.org/docs/aa-00861). | ||
216 | 118 | |||
217 | 119 | If you have a crash, you may want to consult | ||
218 | 120 | ["What to do if your BIND or DHCP server has crashed."](https://kb.isc.org/docs/aa-00340) | ||
220 | 121 | 106 | ||
221 | 122 | ### <a name="contrib"></a>Contributing code | 107 | ### <a name="contrib"></a>Contributing code |
222 | 123 | 108 | ||
223 | diff --git a/ChangeLog b/ChangeLog | |||
224 | index 3f4e364..9bd4f51 100644 | |||
225 | --- a/ChangeLog | |||
226 | +++ b/ChangeLog | |||
227 | @@ -1,3 +1,189 @@ | |||
228 | 1 | --- 9.18.24 released --- | ||
229 | 2 | |||
230 | 3 | 6343. [bug] Fix case insensitive setting for isc_ht hashtable. | ||
231 | 4 | [GL #4568] | ||
232 | 5 | |||
233 | 6 | --- 9.18.23 released --- | ||
234 | 7 | |||
235 | 8 | 6322. [security] Specific DNS answers could cause a denial-of-service | ||
236 | 9 | condition due to DNS validation taking a long time. | ||
237 | 10 | (CVE-2023-50387) [GL #4424] | ||
238 | 11 | |||
239 | 12 | 6321. [security] Change 6315 inadvertently introduced regressions that | ||
240 | 13 | could cause named to crash. [GL #4234] | ||
241 | 14 | |||
242 | 15 | 6320. [bug] Under some circumstances, the DoT code in client | ||
243 | 16 | mode could process more than one message at a time when | ||
244 | 17 | that was not expected. That has been fixed. [GL #4487] | ||
245 | 18 | |||
246 | 19 | --- 9.18.22 released --- | ||
247 | 20 | |||
248 | 21 | 6319. [func] Limit isc_task_send() overhead for RBTDB tree pruning. | ||
249 | 22 | [GL #4383] | ||
250 | 23 | |||
251 | 24 | 6317. [security] Restore DNS64 state when handling a serve-stale timeout. | ||
252 | 25 | (CVE-2023-5679) [GL #4334] | ||
253 | 26 | |||
254 | 27 | 6316. [security] Specific queries could trigger an assertion check with | ||
255 | 28 | nxdomain-redirect enabled. (CVE-2023-5517) [GL #4281] | ||
256 | 29 | |||
257 | 30 | 6315. [security] Speed up parsing of DNS messages with many different | ||
258 | 31 | names. (CVE-2023-4408) [GL #4234] | ||
259 | 32 | |||
260 | 33 | 6314. [bug] Address race conditions in dns_tsigkey_find(). | ||
261 | 34 | [GL #4182] | ||
262 | 35 | |||
263 | 36 | 6312. [bug] Conversion from NSEC3 signed to NSEC signed could | ||
264 | 37 | temporarily put the zone into a state where it was | ||
265 | 38 | treated as unsigned until the NSEC chain was built. | ||
266 | 39 | Additionally conversion from one set of NSEC3 parameters | ||
267 | 40 | to another could also temporarily put the zone into a | ||
268 | 41 | state where it was treated as unsigned until the new | ||
269 | 42 | NSEC3 chain was built. [GL #1794] [GL #4495] | ||
270 | 43 | |||
271 | 44 | 6310. [bug] Memory leak in zone.c:sign_zone. When named signed a | ||
272 | 45 | zone it could leak dst_keys due to a misplaced | ||
273 | 46 | 'continue'. [GL #4488] | ||
274 | 47 | |||
275 | 48 | 6306. [func] Log more details about the cause of "not exact" errors. | ||
276 | 49 | [GL #4500] | ||
277 | 50 | |||
278 | 51 | 6304. [bug] The wrong time was being used to determine what RRSIGs | ||
279 | 52 | where to be generated when dnssec-policy was in use. | ||
280 | 53 | [GL #4494] | ||
281 | 54 | |||
282 | 55 | 6302. [func] The "trust-anchor-telemetry" statement is no longer | ||
283 | 56 | marked as experimental. This silences a relevant log | ||
284 | 57 | message that was emitted even when the feature was | ||
285 | 58 | explicitly disabled. [GL #4497] | ||
286 | 59 | |||
287 | 60 | 6300. [bug] Fix statistics export to use full 64 bit signed numbers | ||
288 | 61 | instead of truncating values to unsigned 32 bits. | ||
289 | 62 | [GL #4467] | ||
290 | 63 | |||
291 | 64 | 6299. [port] NetBSD has added 'hmac' to libc which collides with our | ||
292 | 65 | use of 'hmac'. [GL #4478] | ||
293 | 66 | |||
294 | 67 | --- 9.18.21 released --- | ||
295 | 68 | |||
296 | 69 | 6297. [bug] Improve LRU cleaning behaviour. [GL #4448] | ||
297 | 70 | |||
298 | 71 | 6296. [func] The "resolver-nonbackoff-tries" and | ||
299 | 72 | "resolver-retry-interval" options are deprecated; | ||
300 | 73 | a warning will be logged if they are used. [GL #4405] | ||
301 | 74 | |||
302 | 75 | 6294. [bug] BIND might sometimes crash after startup or | ||
303 | 76 | re-configuration when one 'tls' entry is used multiple | ||
304 | 77 | times to connect to remote servers due to initialisation | ||
305 | 78 | attempts from contexts of multiple threads. That has | ||
306 | 79 | been fixed. [GL #4464] | ||
307 | 80 | |||
308 | 81 | 6290. [bug] Dig +yaml will now report "no servers could be reached" | ||
309 | 82 | also for UDP setup failure when no other servers or | ||
310 | 83 | tries are left. [GL #1229] | ||
311 | 84 | |||
312 | 85 | 6287. [bug] Recognize escapes when reading the public key from file. | ||
313 | 86 | [GL !8502] | ||
314 | 87 | |||
315 | 88 | 6286. [bug] Dig +yaml will now report "no servers could be reached" | ||
316 | 89 | on TCP connection failure as well as for UDP timeouts. | ||
317 | 90 | [GL #4396] | ||
318 | 91 | |||
319 | 92 | 6282. [func] Deprecate AES-based DNS cookies. [GL #4421] | ||
320 | 93 | |||
321 | 94 | --- 9.18.20 released --- | ||
322 | 95 | |||
323 | 96 | 6280. [bug] Fix missing newlines in the output of "rndc nta -dump". | ||
324 | 97 | [GL !8454] | ||
325 | 98 | |||
326 | 99 | 6277. [bug] Take into account local authoritative zones when | ||
327 | 100 | falling back to serve-stale. [GL #4355] | ||
328 | 101 | |||
329 | 102 | 6275. [bug] Fix assertion failure when using lock-file configuration | ||
330 | 103 | option together -X argument to named. [GL #4386] | ||
331 | 104 | |||
332 | 105 | 6274. [bug] The 'lock-file' file was being removed when it | ||
333 | 106 | shouldn't have been making it ineffective if named was | ||
334 | 107 | started 3 or more times. [GL #4387] | ||
335 | 108 | |||
336 | 109 | 6271. [bug] Fix a shutdown race in dns__catz_update_cb(). [GL #4381] | ||
337 | 110 | |||
338 | 111 | 6269. [maint] B.ROOT-SERVERS.NET addresses are now 170.247.170.2 and | ||
339 | 112 | 2801:1b8:10::b. [GL #4101] | ||
340 | 113 | |||
341 | 114 | 6267. [func] The timeouts for resending zone refresh queries over UDP | ||
342 | 115 | were lowered to enable named to more quickly determine | ||
343 | 116 | that a primary is down. [GL #4260] | ||
344 | 117 | |||
345 | 118 | 6265. [bug] Don't schedule resign operations on the raw version | ||
346 | 119 | of an inline-signing zone. [GL #4350] | ||
347 | 120 | |||
348 | 121 | 6261. [bug] Fix a possible assertion failure on an error path in | ||
349 | 122 | resolver.c:fctx_query(), when using an uninitialized | ||
350 | 123 | link. [GL #4331] | ||
351 | 124 | |||
352 | 125 | 6254. [cleanup] Add semantic patch to do an explicit cast from char | ||
353 | 126 | to unsigned char in ctype.h class of functions. | ||
354 | 127 | [GL #4327] | ||
355 | 128 | |||
356 | 129 | 6252. [test] Python system tests have to be executed by invoking | ||
357 | 130 | pytest directly. Executing them with the legacy test | ||
358 | 131 | runner is no longer supported. [GL #4250] | ||
359 | 132 | |||
360 | 133 | 6250. [bug] The wrong covered value was being set by | ||
361 | 134 | dns_ncache_current for RRSIG records in the returned | ||
362 | 135 | rdataset structure. This resulted in TYPE0 being | ||
363 | 136 | reported as the covered value of the RRSIG when dumping | ||
364 | 137 | the cache contents. [GL #4314] | ||
365 | 138 | |||
366 | 139 | --- 9.18.19 released --- | ||
367 | 140 | |||
368 | 141 | 6246. [security] Fix use-after-free error in TLS DNS code when sending | ||
369 | 142 | data. (CVE-2023-4236) [GL #4242] | ||
370 | 143 | |||
371 | 144 | 6245. [security] Limit the amount of recursion that can be performed | ||
372 | 145 | by isccc_cc_fromwire. (CVE-2023-3341) [GL #4152] | ||
373 | 146 | |||
374 | 147 | 6244. [bug] Adjust log levels on malformed messages to NOTICE when | ||
375 | 148 | transferring in a zone. [GL #4290] | ||
376 | 149 | |||
377 | 150 | 6241. [bug] Take into account the possibility of partial TLS writes | ||
378 | 151 | in TLS DNS code. That helps to prevent DNS messages | ||
379 | 152 | corruption on long DNS over TLS streams. [GL #4255] | ||
380 | 153 | |||
381 | 154 | 6240. [bug] Use dedicated per-worker thread jemalloc memory | ||
382 | 155 | arenas for send buffers allocation to reduce memory | ||
383 | 156 | consumption and avoid lock contention. [GL #4038] | ||
384 | 157 | |||
385 | 158 | 6239. [func] Deprecate the 'dnssec-must-be-secure' option. | ||
386 | 159 | [GL #3700] | ||
387 | 160 | |||
388 | 161 | 6237. [bug] Address memory leaks due to not clearing OpenSSL error | ||
389 | 162 | stack. [GL #4159] | ||
390 | 163 | |||
391 | 164 | 6235. [doc] Clarify BIND 9 time formats. [GL #4266] | ||
392 | 165 | |||
393 | 166 | 6234. [bug] Restore stale-refresh-time value after flushing the | ||
394 | 167 | cache. [GL #4278] | ||
395 | 168 | |||
396 | 169 | 6232. [bug] Following the introduction of krb5-subdomain-self-rhs | ||
397 | 170 | and ms-subdomain-self-rhs update rules, removal of | ||
398 | 171 | nonexistent PTR and SRV records via UPDATE could fail. | ||
399 | 172 | [GL #4280] | ||
400 | 173 | |||
401 | 174 | 6231. [func] Make nsupdate honor -v for SOA requests if the server | ||
402 | 175 | is specified. [GL #1181] | ||
403 | 176 | |||
404 | 177 | 6230. [bug] Prevent an unnecessary query restart if a synthesized | ||
405 | 178 | CNAME target points to the CNAME owner. [GL #3835] | ||
406 | 179 | |||
407 | 180 | 6227. [bug] Check the statistics-channel HTTP Content-length | ||
408 | 181 | to prevent negative or overflowing values from | ||
409 | 182 | causing a crash. [GL #4125] | ||
410 | 183 | |||
411 | 184 | 6224. [bug] Check the If-Modified-Since value length to prevent | ||
412 | 185 | out-of-bounds write. [GL #4124] | ||
413 | 186 | |||
414 | 1 | --- 9.18.18 released --- | 187 | --- 9.18.18 released --- |
415 | 2 | 188 | ||
416 | 3 | 6220. [func] Deprecate the 'dialup' and 'heartbeat-interval' | 189 | 6220. [func] Deprecate the 'dialup' and 'heartbeat-interval' |
417 | diff --git a/Makefile.in b/Makefile.in | |||
418 | index ff5f0bb..01d583f 100644 | |||
419 | --- a/Makefile.in | |||
420 | +++ b/Makefile.in | |||
421 | @@ -1,7 +1,7 @@ | |||
423 | 1 | # Makefile.in generated by automake 1.16.3 from Makefile.am. | 1 | # Makefile.in generated by automake 1.16.5 from Makefile.am. |
424 | 2 | # @configure_input@ | 2 | # @configure_input@ |
425 | 3 | 3 | ||
427 | 4 | # Copyright (C) 1994-2020 Free Software Foundation, Inc. | 4 | # Copyright (C) 1994-2021 Free Software Foundation, Inc. |
428 | 5 | 5 | ||
429 | 6 | # This Makefile.in is free software; the Free Software Foundation | 6 | # This Makefile.in is free software; the Free Software Foundation |
430 | 7 | # gives unlimited permission to copy and/or distribute it, | 7 | # gives unlimited permission to copy and/or distribute it, |
431 | @@ -104,11 +104,9 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_compile_flag.m4 \ | |||
432 | 104 | $(top_srcdir)/m4/ax_gcc_func_attribute.m4 \ | 104 | $(top_srcdir)/m4/ax_gcc_func_attribute.m4 \ |
433 | 105 | $(top_srcdir)/m4/ax_jemalloc.m4 \ | 105 | $(top_srcdir)/m4/ax_jemalloc.m4 \ |
434 | 106 | $(top_srcdir)/m4/ax_lib_lmdb.m4 \ | 106 | $(top_srcdir)/m4/ax_lib_lmdb.m4 \ |
435 | 107 | $(top_srcdir)/m4/ax_perl_module.m4 \ | ||
436 | 108 | $(top_srcdir)/m4/ax_posix_shell.m4 \ | 107 | $(top_srcdir)/m4/ax_posix_shell.m4 \ |
437 | 109 | $(top_srcdir)/m4/ax_prog_cc_for_build.m4 \ | 108 | $(top_srcdir)/m4/ax_prog_cc_for_build.m4 \ |
438 | 110 | $(top_srcdir)/m4/ax_pthread.m4 \ | 109 | $(top_srcdir)/m4/ax_pthread.m4 \ |
439 | 111 | $(top_srcdir)/m4/ax_python_module.m4 \ | ||
440 | 112 | $(top_srcdir)/m4/ax_restore_flags.m4 \ | 110 | $(top_srcdir)/m4/ax_restore_flags.m4 \ |
441 | 113 | $(top_srcdir)/m4/ax_save_flags.m4 $(top_srcdir)/m4/ax_tls.m4 \ | 111 | $(top_srcdir)/m4/ax_save_flags.m4 $(top_srcdir)/m4/ax_tls.m4 \ |
442 | 114 | $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ | 112 | $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ |
443 | @@ -209,16 +207,13 @@ am__define_uniq_tagged_files = \ | |||
444 | 209 | unique=`for i in $$list; do \ | 207 | unique=`for i in $$list; do \ |
445 | 210 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | 208 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
446 | 211 | done | $(am__uniquify_input)` | 209 | done | $(am__uniquify_input)` |
447 | 212 | ETAGS = etags | ||
448 | 213 | CTAGS = ctags | ||
449 | 214 | CSCOPE = cscope | ||
450 | 215 | DIST_SUBDIRS = . lib doc bin fuzz tests | 210 | DIST_SUBDIRS = . lib doc bin fuzz tests |
451 | 216 | am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \ | 211 | am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \ |
452 | 217 | $(top_srcdir)/Makefile.top \ | 212 | $(top_srcdir)/Makefile.top \ |
453 | 218 | $(top_srcdir)/doc/doxygen/doxygen-input-filter.in \ | 213 | $(top_srcdir)/doc/doxygen/doxygen-input-filter.in \ |
454 | 219 | $(top_srcdir)/util/check-make-install.in AUTHORS COPYING \ | 214 | $(top_srcdir)/util/check-make-install.in AUTHORS COPYING \ |
457 | 220 | ChangeLog NEWS ar-lib compile config.guess config.sub \ | 215 | ChangeLog NEWS README.md ar-lib compile config.guess \ |
458 | 221 | install-sh ltmain.sh missing | 216 | config.sub install-sh ltmain.sh missing |
459 | 222 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | 217 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
460 | 223 | distdir = $(PACKAGE)-$(VERSION) | 218 | distdir = $(PACKAGE)-$(VERSION) |
461 | 224 | top_distdir = $(distdir) | 219 | top_distdir = $(distdir) |
462 | @@ -284,6 +279,8 @@ CPP = @CPP@ | |||
463 | 284 | CPPFLAGS = @CPPFLAGS@ | 279 | CPPFLAGS = @CPPFLAGS@ |
464 | 285 | CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@ | 280 | CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@ |
465 | 286 | CPP_FOR_BUILD = @CPP_FOR_BUILD@ | 281 | CPP_FOR_BUILD = @CPP_FOR_BUILD@ |
466 | 282 | CSCOPE = @CSCOPE@ | ||
467 | 283 | CTAGS = @CTAGS@ | ||
468 | 287 | CURL = @CURL@ | 284 | CURL = @CURL@ |
469 | 288 | CYGPATH_W = @CYGPATH_W@ | 285 | CYGPATH_W = @CYGPATH_W@ |
470 | 289 | DEFS = @DEFS@ | 286 | DEFS = @DEFS@ |
471 | @@ -299,8 +296,10 @@ ECHO_C = @ECHO_C@ | |||
472 | 299 | ECHO_N = @ECHO_N@ | 296 | ECHO_N = @ECHO_N@ |
473 | 300 | ECHO_T = @ECHO_T@ | 297 | ECHO_T = @ECHO_T@ |
474 | 301 | EGREP = @EGREP@ | 298 | EGREP = @EGREP@ |
475 | 299 | ETAGS = @ETAGS@ | ||
476 | 302 | EXEEXT = @EXEEXT@ | 300 | EXEEXT = @EXEEXT@ |
477 | 303 | FGREP = @FGREP@ | 301 | FGREP = @FGREP@ |
478 | 302 | FILECMD = @FILECMD@ | ||
479 | 304 | FSTRM_CAPTURE = @FSTRM_CAPTURE@ | 303 | FSTRM_CAPTURE = @FSTRM_CAPTURE@ |
480 | 305 | FUZZ_LDFLAGS = @FUZZ_LDFLAGS@ | 304 | FUZZ_LDFLAGS = @FUZZ_LDFLAGS@ |
481 | 306 | FUZZ_LOG_COMPILER = @FUZZ_LOG_COMPILER@ | 305 | FUZZ_LOG_COMPILER = @FUZZ_LOG_COMPILER@ |
482 | @@ -724,7 +723,6 @@ cscopelist-am: $(am__tagged_files) | |||
483 | 724 | distclean-tags: | 723 | distclean-tags: |
484 | 725 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | 724 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
485 | 726 | -rm -f cscope.out cscope.in.out cscope.po.out cscope.files | 725 | -rm -f cscope.out cscope.in.out cscope.po.out cscope.files |
486 | 727 | |||
487 | 728 | distdir: $(BUILT_SOURCES) | 726 | distdir: $(BUILT_SOURCES) |
488 | 729 | $(MAKE) $(AM_MAKEFLAGS) distdir-am | 727 | $(MAKE) $(AM_MAKEFLAGS) distdir-am |
489 | 730 | 728 | ||
490 | diff --git a/NEWS b/NEWS | |||
491 | index 3f4e364..9bd4f51 100644 | |||
492 | --- a/NEWS | |||
493 | +++ b/NEWS | |||
494 | @@ -1,3 +1,189 @@ | |||
495 | 1 | --- 9.18.24 released --- | ||
496 | 2 | |||
497 | 3 | 6343. [bug] Fix case insensitive setting for isc_ht hashtable. | ||
498 | 4 | [GL #4568] | ||
499 | 5 | |||
500 | 6 | --- 9.18.23 released --- | ||
501 | 7 | |||
502 | 8 | 6322. [security] Specific DNS answers could cause a denial-of-service | ||
503 | 9 | condition due to DNS validation taking a long time. | ||
504 | 10 | (CVE-2023-50387) [GL #4424] | ||
505 | 11 | |||
506 | 12 | 6321. [security] Change 6315 inadvertently introduced regressions that | ||
507 | 13 | could cause named to crash. [GL #4234] | ||
508 | 14 | |||
509 | 15 | 6320. [bug] Under some circumstances, the DoT code in client | ||
510 | 16 | mode could process more than one message at a time when | ||
511 | 17 | that was not expected. That has been fixed. [GL #4487] | ||
512 | 18 | |||
513 | 19 | --- 9.18.22 released --- | ||
514 | 20 | |||
515 | 21 | 6319. [func] Limit isc_task_send() overhead for RBTDB tree pruning. | ||
516 | 22 | [GL #4383] | ||
517 | 23 | |||
518 | 24 | 6317. [security] Restore DNS64 state when handling a serve-stale timeout. | ||
519 | 25 | (CVE-2023-5679) [GL #4334] | ||
520 | 26 | |||
521 | 27 | 6316. [security] Specific queries could trigger an assertion check with | ||
522 | 28 | nxdomain-redirect enabled. (CVE-2023-5517) [GL #4281] | ||
523 | 29 | |||
524 | 30 | 6315. [security] Speed up parsing of DNS messages with many different | ||
525 | 31 | names. (CVE-2023-4408) [GL #4234] | ||
526 | 32 | |||
527 | 33 | 6314. [bug] Address race conditions in dns_tsigkey_find(). | ||
528 | 34 | [GL #4182] | ||
529 | 35 | |||
530 | 36 | 6312. [bug] Conversion from NSEC3 signed to NSEC signed could | ||
531 | 37 | temporarily put the zone into a state where it was | ||
532 | 38 | treated as unsigned until the NSEC chain was built. | ||
533 | 39 | Additionally conversion from one set of NSEC3 parameters | ||
534 | 40 | to another could also temporarily put the zone into a | ||
535 | 41 | state where it was treated as unsigned until the new | ||
536 | 42 | NSEC3 chain was built. [GL #1794] [GL #4495] | ||
537 | 43 | |||
538 | 44 | 6310. [bug] Memory leak in zone.c:sign_zone. When named signed a | ||
539 | 45 | zone it could leak dst_keys due to a misplaced | ||
540 | 46 | 'continue'. [GL #4488] | ||
541 | 47 | |||
542 | 48 | 6306. [func] Log more details about the cause of "not exact" errors. | ||
543 | 49 | [GL #4500] | ||
544 | 50 | |||
545 | 51 | 6304. [bug] The wrong time was being used to determine what RRSIGs | ||
546 | 52 | where to be generated when dnssec-policy was in use. | ||
547 | 53 | [GL #4494] | ||
548 | 54 | |||
549 | 55 | 6302. [func] The "trust-anchor-telemetry" statement is no longer | ||
550 | 56 | marked as experimental. This silences a relevant log | ||
551 | 57 | message that was emitted even when the feature was | ||
552 | 58 | explicitly disabled. [GL #4497] | ||
553 | 59 | |||
554 | 60 | 6300. [bug] Fix statistics export to use full 64 bit signed numbers | ||
555 | 61 | instead of truncating values to unsigned 32 bits. | ||
556 | 62 | [GL #4467] | ||
557 | 63 | |||
558 | 64 | 6299. [port] NetBSD has added 'hmac' to libc which collides with our | ||
559 | 65 | use of 'hmac'. [GL #4478] | ||
560 | 66 | |||
561 | 67 | --- 9.18.21 released --- | ||
562 | 68 | |||
563 | 69 | 6297. [bug] Improve LRU cleaning behaviour. [GL #4448] | ||
564 | 70 | |||
565 | 71 | 6296. [func] The "resolver-nonbackoff-tries" and | ||
566 | 72 | "resolver-retry-interval" options are deprecated; | ||
567 | 73 | a warning will be logged if they are used. [GL #4405] | ||
568 | 74 | |||
569 | 75 | 6294. [bug] BIND might sometimes crash after startup or | ||
570 | 76 | re-configuration when one 'tls' entry is used multiple | ||
571 | 77 | times to connect to remote servers due to initialisation | ||
572 | 78 | attempts from contexts of multiple threads. That has | ||
573 | 79 | been fixed. [GL #4464] | ||
574 | 80 | |||
575 | 81 | 6290. [bug] Dig +yaml will now report "no servers could be reached" | ||
576 | 82 | also for UDP setup failure when no other servers or | ||
577 | 83 | tries are left. [GL #1229] | ||
578 | 84 | |||
579 | 85 | 6287. [bug] Recognize escapes when reading the public key from file. | ||
580 | 86 | [GL !8502] | ||
581 | 87 | |||
582 | 88 | 6286. [bug] Dig +yaml will now report "no servers could be reached" | ||
583 | 89 | on TCP connection failure as well as for UDP timeouts. | ||
584 | 90 | [GL #4396] | ||
585 | 91 | |||
586 | 92 | 6282. [func] Deprecate AES-based DNS cookies. [GL #4421] | ||
587 | 93 | |||
588 | 94 | --- 9.18.20 released --- | ||
589 | 95 | |||
590 | 96 | 6280. [bug] Fix missing newlines in the output of "rndc nta -dump". | ||
591 | 97 | [GL !8454] | ||
592 | 98 | |||
593 | 99 | 6277. [bug] Take into account local authoritative zones when | ||
594 | 100 | falling back to serve-stale. [GL #4355] | ||
595 | 101 | |||
596 | 102 | 6275. [bug] Fix assertion failure when using lock-file configuration | ||
597 | 103 | option together -X argument to named. [GL #4386] | ||
598 | 104 | |||
599 | 105 | 6274. [bug] The 'lock-file' file was being removed when it | ||
600 | 106 | shouldn't have been making it ineffective if named was | ||
601 | 107 | started 3 or more times. [GL #4387] | ||
602 | 108 | |||
603 | 109 | 6271. [bug] Fix a shutdown race in dns__catz_update_cb(). [GL #4381] | ||
604 | 110 | |||
605 | 111 | 6269. [maint] B.ROOT-SERVERS.NET addresses are now 170.247.170.2 and | ||
606 | 112 | 2801:1b8:10::b. [GL #4101] | ||
607 | 113 | |||
608 | 114 | 6267. [func] The timeouts for resending zone refresh queries over UDP | ||
609 | 115 | were lowered to enable named to more quickly determine | ||
610 | 116 | that a primary is down. [GL #4260] | ||
611 | 117 | |||
612 | 118 | 6265. [bug] Don't schedule resign operations on the raw version | ||
613 | 119 | of an inline-signing zone. [GL #4350] | ||
614 | 120 | |||
615 | 121 | 6261. [bug] Fix a possible assertion failure on an error path in | ||
616 | 122 | resolver.c:fctx_query(), when using an uninitialized | ||
617 | 123 | link. [GL #4331] | ||
618 | 124 | |||
619 | 125 | 6254. [cleanup] Add semantic patch to do an explicit cast from char | ||
620 | 126 | to unsigned char in ctype.h class of functions. | ||
621 | 127 | [GL #4327] | ||
622 | 128 | |||
623 | 129 | 6252. [test] Python system tests have to be executed by invoking | ||
624 | 130 | pytest directly. Executing them with the legacy test | ||
625 | 131 | runner is no longer supported. [GL #4250] | ||
626 | 132 | |||
627 | 133 | 6250. [bug] The wrong covered value was being set by | ||
628 | 134 | dns_ncache_current for RRSIG records in the returned | ||
629 | 135 | rdataset structure. This resulted in TYPE0 being | ||
630 | 136 | reported as the covered value of the RRSIG when dumping | ||
631 | 137 | the cache contents. [GL #4314] | ||
632 | 138 | |||
633 | 139 | --- 9.18.19 released --- | ||
634 | 140 | |||
635 | 141 | 6246. [security] Fix use-after-free error in TLS DNS code when sending | ||
636 | 142 | data. (CVE-2023-4236) [GL #4242] | ||
637 | 143 | |||
638 | 144 | 6245. [security] Limit the amount of recursion that can be performed | ||
639 | 145 | by isccc_cc_fromwire. (CVE-2023-3341) [GL #4152] | ||
640 | 146 | |||
641 | 147 | 6244. [bug] Adjust log levels on malformed messages to NOTICE when | ||
642 | 148 | transferring in a zone. [GL #4290] | ||
643 | 149 | |||
644 | 150 | 6241. [bug] Take into account the possibility of partial TLS writes | ||
645 | 151 | in TLS DNS code. That helps to prevent DNS messages | ||
646 | 152 | corruption on long DNS over TLS streams. [GL #4255] | ||
647 | 153 | |||
648 | 154 | 6240. [bug] Use dedicated per-worker thread jemalloc memory | ||
649 | 155 | arenas for send buffers allocation to reduce memory | ||
650 | 156 | consumption and avoid lock contention. [GL #4038] | ||
651 | 157 | |||
652 | 158 | 6239. [func] Deprecate the 'dnssec-must-be-secure' option. | ||
653 | 159 | [GL #3700] | ||
654 | 160 | |||
655 | 161 | 6237. [bug] Address memory leaks due to not clearing OpenSSL error | ||
656 | 162 | stack. [GL #4159] | ||
657 | 163 | |||
658 | 164 | 6235. [doc] Clarify BIND 9 time formats. [GL #4266] | ||
659 | 165 | |||
660 | 166 | 6234. [bug] Restore stale-refresh-time value after flushing the | ||
661 | 167 | cache. [GL #4278] | ||
662 | 168 | |||
663 | 169 | 6232. [bug] Following the introduction of krb5-subdomain-self-rhs | ||
664 | 170 | and ms-subdomain-self-rhs update rules, removal of | ||
665 | 171 | nonexistent PTR and SRV records via UPDATE could fail. | ||
666 | 172 | [GL #4280] | ||
667 | 173 | |||
668 | 174 | 6231. [func] Make nsupdate honor -v for SOA requests if the server | ||
669 | 175 | is specified. [GL #1181] | ||
670 | 176 | |||
671 | 177 | 6230. [bug] Prevent an unnecessary query restart if a synthesized | ||
672 | 178 | CNAME target points to the CNAME owner. [GL #3835] | ||
673 | 179 | |||
674 | 180 | 6227. [bug] Check the statistics-channel HTTP Content-length | ||
675 | 181 | to prevent negative or overflowing values from | ||
676 | 182 | causing a crash. [GL #4125] | ||
677 | 183 | |||
678 | 184 | 6224. [bug] Check the If-Modified-Since value length to prevent | ||
679 | 185 | out-of-bounds write. [GL #4124] | ||
680 | 186 | |||
681 | 1 | --- 9.18.18 released --- | 187 | --- 9.18.18 released --- |
682 | 2 | 188 | ||
683 | 3 | 6220. [func] Deprecate the 'dialup' and 'heartbeat-interval' | 189 | 6220. [func] Deprecate the 'dialup' and 'heartbeat-interval' |
684 | diff --git a/README.md b/README.md | |||
685 | index 07cf1de..6e39de5 100644 | |||
686 | --- a/README.md | |||
687 | +++ b/README.md | |||
688 | @@ -74,17 +74,9 @@ contents of your configuration file in a non-confidential issue, it is | |||
689 | 74 | advisable to obscure key secrets; this can be done automatically by | 74 | advisable to obscure key secrets; this can be done automatically by |
690 | 75 | using `named-checkconf -px`. | 75 | using `named-checkconf -px`. |
691 | 76 | 76 | ||
703 | 77 | If you are reporting a bug that is a potential security issue, such as an | 77 | For information about ISC's Security Vulnerability Disclosure Policy and |
704 | 78 | assertion failure or other crash in `named`, please do *NOT* use GitLab to | 78 | information about reporting potential security issues, please see |
705 | 79 | report it. Instead, send mail to | 79 | `SECURITY.md`. |
695 | 80 | [security-officer@isc.org](mailto:security-officer@isc.org) using our | ||
696 | 81 | OpenPGP key to secure your message. (Information about OpenPGP and links | ||
697 | 82 | to our key can be found at | ||
698 | 83 | [https://www.isc.org/pgpkey](https://www.isc.org/pgpkey).) Please do not | ||
699 | 84 | discuss the bug on any public mailing list. | ||
700 | 85 | |||
701 | 86 | For a general overview of ISC security policies, read the Knowledgebase | ||
702 | 87 | article at [https://kb.isc.org/docs/aa-00861](https://kb.isc.org/docs/aa-00861). | ||
706 | 88 | 80 | ||
707 | 89 | Professional support and training for BIND are available from | 81 | Professional support and training for BIND are available from |
708 | 90 | ISC. Contact us at [https://www.isc.org/contact](https://www.isc.org/contact) | 82 | ISC. Contact us at [https://www.isc.org/contact](https://www.isc.org/contact) |
709 | diff --git a/SECURITY.md b/SECURITY.md | |||
710 | 91 | new file mode 100644 | 83 | new file mode 100644 |
711 | index 0000000..2c63605 | |||
712 | --- /dev/null | |||
713 | +++ b/SECURITY.md | |||
714 | @@ -0,0 +1,35 @@ | |||
715 | 1 | <!-- | ||
716 | 2 | Copyright (C) Internet Systems Consortium, Inc. ("ISC") | ||
717 | 3 | |||
718 | 4 | SPDX-License-Identifier: MPL-2.0 | ||
719 | 5 | |||
720 | 6 | This Source Code Form is subject to the terms of the Mozilla Public | ||
721 | 7 | License, v. 2.0. If a copy of the MPL was not distributed with this | ||
722 | 8 | file, you can obtain one at https://mozilla.org/MPL/2.0/. | ||
723 | 9 | |||
724 | 10 | See the COPYRIGHT file distributed with this work for additional | ||
725 | 11 | information regarding copyright ownership. | ||
726 | 12 | --> | ||
727 | 13 | # Security Policy | ||
728 | 14 | |||
729 | 15 | ISC's Security Vulnerability Disclosure Policy is documented in the | ||
730 | 16 | relevant [ISC Knowledgebase article][1]. | ||
731 | 17 | |||
732 | 18 | ## Reporting possible security issues | ||
733 | 19 | |||
734 | 20 | If you think you may be seeing a potential security vulnerability in | ||
735 | 21 | BIND (for example, a crash with a REQUIRE, INSIST, or ASSERT failure), | ||
736 | 22 | please report it immediately by [opening a confidential GitLab issue][2] | ||
737 | 23 | (preferred) or emailing bind-security@isc.org. | ||
738 | 24 | |||
739 | 25 | Please do not discuss undisclosed security vulnerabilities on any public | ||
740 | 26 | mailing list. ISC has a long history of handling reported | ||
741 | 27 | vulnerabilities promptly and effectively and we respect and acknowledge | ||
742 | 28 | responsible reporters. | ||
743 | 29 | |||
744 | 30 | If you have a crash, you may want to consult the Knowledgebase article | ||
745 | 31 | entitled ["What to do if your BIND or DHCP server has crashed"][3]. | ||
746 | 32 | |||
747 | 33 | [1]: https://kb.isc.org/docs/aa-00861 | ||
748 | 34 | [2]: https://gitlab.isc.org/isc-projects/bind9/-/issues/new?issue[confidential]=true&issuable_template=Bug | ||
749 | 35 | [3]: https://kb.isc.org/docs/aa-00340 | ||
750 | diff --git a/aclocal.m4 b/aclocal.m4 | |||
751 | index 6d817df..6e826f5 100644 | |||
752 | --- a/aclocal.m4 | |||
753 | +++ b/aclocal.m4 | |||
754 | @@ -1,6 +1,6 @@ | |||
756 | 1 | # generated automatically by aclocal 1.16.3 -*- Autoconf -*- | 1 | # generated automatically by aclocal 1.16.5 -*- Autoconf -*- |
757 | 2 | 2 | ||
759 | 3 | # Copyright (C) 1996-2020 Free Software Foundation, Inc. | 3 | # Copyright (C) 1996-2021 Free Software Foundation, Inc. |
760 | 4 | 4 | ||
761 | 5 | # This file is free software; the Free Software Foundation | 5 | # This file is free software; the Free Software Foundation |
762 | 6 | # gives unlimited permission to copy and/or distribute it, | 6 | # gives unlimited permission to copy and/or distribute it, |
763 | @@ -14,13 +14,13 @@ | |||
764 | 14 | m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])]) | 14 | m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])]) |
765 | 15 | m4_ifndef([AC_AUTOCONF_VERSION], | 15 | m4_ifndef([AC_AUTOCONF_VERSION], |
766 | 16 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl | 16 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
769 | 17 | m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],, | 17 | m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.71],, |
770 | 18 | [m4_warning([this file was generated for autoconf 2.69. | 18 | [m4_warning([this file was generated for autoconf 2.71. |
771 | 19 | You have another version of autoconf. It may work, but is not guaranteed to. | 19 | You have another version of autoconf. It may work, but is not guaranteed to. |
772 | 20 | If you have problems, you may need to regenerate the build system entirely. | 20 | If you have problems, you may need to regenerate the build system entirely. |
773 | 21 | To do so, use the procedure documented by the package, typically 'autoreconf'.])]) | 21 | To do so, use the procedure documented by the package, typically 'autoreconf'.])]) |
774 | 22 | 22 | ||
776 | 23 | # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- | 23 | # pkg.m4 - Macros to locate and use pkg-config. -*- Autoconf -*- |
777 | 24 | # serial 12 (pkg-config-0.29.2) | 24 | # serial 12 (pkg-config-0.29.2) |
778 | 25 | 25 | ||
779 | 26 | dnl Copyright © 2004 Scott James Remnant <scott@netsplit.com>. | 26 | dnl Copyright © 2004 Scott James Remnant <scott@netsplit.com>. |
780 | @@ -108,7 +108,7 @@ dnl Check to see whether a particular set of modules exists. Similar to | |||
781 | 108 | dnl PKG_CHECK_MODULES(), but does not set variables or print errors. | 108 | dnl PKG_CHECK_MODULES(), but does not set variables or print errors. |
782 | 109 | dnl | 109 | dnl |
783 | 110 | dnl Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG]) | 110 | dnl Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG]) |
785 | 111 | dnl only at the first occurence in configure.ac, so if the first place | 111 | dnl only at the first occurrence in configure.ac, so if the first place |
786 | 112 | dnl it's called might be skipped (such as if it is within an "if", you | 112 | dnl it's called might be skipped (such as if it is within an "if", you |
787 | 113 | dnl have to call PKG_CHECK_EXISTS manually | 113 | dnl have to call PKG_CHECK_EXISTS manually |
788 | 114 | AC_DEFUN([PKG_CHECK_EXISTS], | 114 | AC_DEFUN([PKG_CHECK_EXISTS], |
789 | @@ -177,14 +177,14 @@ if test $pkg_failed = yes; then | |||
790 | 177 | AC_MSG_RESULT([no]) | 177 | AC_MSG_RESULT([no]) |
791 | 178 | _PKG_SHORT_ERRORS_SUPPORTED | 178 | _PKG_SHORT_ERRORS_SUPPORTED |
792 | 179 | if test $_pkg_short_errors_supported = yes; then | 179 | if test $_pkg_short_errors_supported = yes; then |
794 | 180 | $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1` | 180 | $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1` |
795 | 181 | else | 181 | else |
797 | 182 | $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1` | 182 | $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1` |
798 | 183 | fi | 183 | fi |
801 | 184 | # Put the nasty error message in config.log where it belongs | 184 | # Put the nasty error message in config.log where it belongs |
802 | 185 | echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD | 185 | echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD |
803 | 186 | 186 | ||
805 | 187 | m4_default([$4], [AC_MSG_ERROR( | 187 | m4_default([$4], [AC_MSG_ERROR( |
806 | 188 | [Package requirements ($2) were not met: | 188 | [Package requirements ($2) were not met: |
807 | 189 | 189 | ||
808 | 190 | $$1_PKG_ERRORS | 190 | $$1_PKG_ERRORS |
809 | @@ -196,7 +196,7 @@ _PKG_TEXT])[]dnl | |||
810 | 196 | ]) | 196 | ]) |
811 | 197 | elif test $pkg_failed = untried; then | 197 | elif test $pkg_failed = untried; then |
812 | 198 | AC_MSG_RESULT([no]) | 198 | AC_MSG_RESULT([no]) |
814 | 199 | m4_default([$4], [AC_MSG_FAILURE( | 199 | m4_default([$4], [AC_MSG_FAILURE( |
815 | 200 | [The pkg-config script could not be found or is too old. Make sure it | 200 | [The pkg-config script could not be found or is too old. Make sure it |
816 | 201 | is in your PATH or set the PKG_CONFIG environment variable to the full | 201 | is in your PATH or set the PKG_CONFIG environment variable to the full |
817 | 202 | path to pkg-config. | 202 | path to pkg-config. |
818 | @@ -206,10 +206,10 @@ _PKG_TEXT | |||
819 | 206 | To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl | 206 | To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl |
820 | 207 | ]) | 207 | ]) |
821 | 208 | else | 208 | else |
824 | 209 | $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS | 209 | $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS |
825 | 210 | $1[]_LIBS=$pkg_cv_[]$1[]_LIBS | 210 | $1[]_LIBS=$pkg_cv_[]$1[]_LIBS |
826 | 211 | AC_MSG_RESULT([yes]) | 211 | AC_MSG_RESULT([yes]) |
828 | 212 | $3 | 212 | $3 |
829 | 213 | fi[]dnl | 213 | fi[]dnl |
830 | 214 | ])dnl PKG_CHECK_MODULES | 214 | ])dnl PKG_CHECK_MODULES |
831 | 215 | 215 | ||
832 | @@ -296,7 +296,75 @@ AS_VAR_COPY([$1], [pkg_cv_][$1]) | |||
833 | 296 | AS_VAR_IF([$1], [""], [$5], [$4])dnl | 296 | AS_VAR_IF([$1], [""], [$5], [$4])dnl |
834 | 297 | ])dnl PKG_CHECK_VAR | 297 | ])dnl PKG_CHECK_VAR |
835 | 298 | 298 | ||
837 | 299 | # Copyright (C) 2002-2020 Free Software Foundation, Inc. | 299 | dnl PKG_WITH_MODULES(VARIABLE-PREFIX, MODULES, |
838 | 300 | dnl [ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND], | ||
839 | 301 | dnl [DESCRIPTION], [DEFAULT]) | ||
840 | 302 | dnl ------------------------------------------ | ||
841 | 303 | dnl | ||
842 | 304 | dnl Prepare a "--with-" configure option using the lowercase | ||
843 | 305 | dnl [VARIABLE-PREFIX] name, merging the behaviour of AC_ARG_WITH and | ||
844 | 306 | dnl PKG_CHECK_MODULES in a single macro. | ||
845 | 307 | AC_DEFUN([PKG_WITH_MODULES], | ||
846 | 308 | [ | ||
847 | 309 | m4_pushdef([with_arg], m4_tolower([$1])) | ||
848 | 310 | |||
849 | 311 | m4_pushdef([description], | ||
850 | 312 | [m4_default([$5], [build with ]with_arg[ support])]) | ||
851 | 313 | |||
852 | 314 | m4_pushdef([def_arg], [m4_default([$6], [auto])]) | ||
853 | 315 | m4_pushdef([def_action_if_found], [AS_TR_SH([with_]with_arg)=yes]) | ||
854 | 316 | m4_pushdef([def_action_if_not_found], [AS_TR_SH([with_]with_arg)=no]) | ||
855 | 317 | |||
856 | 318 | m4_case(def_arg, | ||
857 | 319 | [yes],[m4_pushdef([with_without], [--without-]with_arg)], | ||
858 | 320 | [m4_pushdef([with_without],[--with-]with_arg)]) | ||
859 | 321 | |||
860 | 322 | AC_ARG_WITH(with_arg, | ||
861 | 323 | AS_HELP_STRING(with_without, description[ @<:@default=]def_arg[@:>@]),, | ||
862 | 324 | [AS_TR_SH([with_]with_arg)=def_arg]) | ||
863 | 325 | |||
864 | 326 | AS_CASE([$AS_TR_SH([with_]with_arg)], | ||
865 | 327 | [yes],[PKG_CHECK_MODULES([$1],[$2],$3,$4)], | ||
866 | 328 | [auto],[PKG_CHECK_MODULES([$1],[$2], | ||
867 | 329 | [m4_n([def_action_if_found]) $3], | ||
868 | 330 | [m4_n([def_action_if_not_found]) $4])]) | ||
869 | 331 | |||
870 | 332 | m4_popdef([with_arg]) | ||
871 | 333 | m4_popdef([description]) | ||
872 | 334 | m4_popdef([def_arg]) | ||
873 | 335 | |||
874 | 336 | ])dnl PKG_WITH_MODULES | ||
875 | 337 | |||
876 | 338 | dnl PKG_HAVE_WITH_MODULES(VARIABLE-PREFIX, MODULES, | ||
877 | 339 | dnl [DESCRIPTION], [DEFAULT]) | ||
878 | 340 | dnl ----------------------------------------------- | ||
879 | 341 | dnl | ||
880 | 342 | dnl Convenience macro to trigger AM_CONDITIONAL after PKG_WITH_MODULES | ||
881 | 343 | dnl check._[VARIABLE-PREFIX] is exported as make variable. | ||
882 | 344 | AC_DEFUN([PKG_HAVE_WITH_MODULES], | ||
883 | 345 | [ | ||
884 | 346 | PKG_WITH_MODULES([$1],[$2],,,[$3],[$4]) | ||
885 | 347 | |||
886 | 348 | AM_CONDITIONAL([HAVE_][$1], | ||
887 | 349 | [test "$AS_TR_SH([with_]m4_tolower([$1]))" = "yes"]) | ||
888 | 350 | ])dnl PKG_HAVE_WITH_MODULES | ||
889 | 351 | |||
890 | 352 | dnl PKG_HAVE_DEFINE_WITH_MODULES(VARIABLE-PREFIX, MODULES, | ||
891 | 353 | dnl [DESCRIPTION], [DEFAULT]) | ||
892 | 354 | dnl ------------------------------------------------------ | ||
893 | 355 | dnl | ||
894 | 356 | dnl Convenience macro to run AM_CONDITIONAL and AC_DEFINE after | ||
895 | 357 | dnl PKG_WITH_MODULES check. HAVE_[VARIABLE-PREFIX] is exported as make | ||
896 | 358 | dnl and preprocessor variable. | ||
897 | 359 | AC_DEFUN([PKG_HAVE_DEFINE_WITH_MODULES], | ||
898 | 360 | [ | ||
899 | 361 | PKG_HAVE_WITH_MODULES([$1],[$2],[$3],[$4]) | ||
900 | 362 | |||
901 | 363 | AS_IF([test "$AS_TR_SH([with_]m4_tolower([$1]))" = "yes"], | ||
902 | 364 | [AC_DEFINE([HAVE_][$1], 1, [Enable ]m4_tolower([$1])[ support])]) | ||
903 | 365 | ])dnl PKG_HAVE_DEFINE_WITH_MODULES | ||
904 | 366 | |||
905 | 367 | # Copyright (C) 2002-2021 Free Software Foundation, Inc. | ||
906 | 300 | # | 368 | # |
907 | 301 | # This file is free software; the Free Software Foundation | 369 | # This file is free software; the Free Software Foundation |
908 | 302 | # gives unlimited permission to copy and/or distribute it, | 370 | # gives unlimited permission to copy and/or distribute it, |
909 | @@ -311,7 +379,7 @@ AC_DEFUN([AM_AUTOMAKE_VERSION], | |||
910 | 311 | [am__api_version='1.16' | 379 | [am__api_version='1.16' |
911 | 312 | dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to | 380 | dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to |
912 | 313 | dnl require some minimum version. Point them to the right macro. | 381 | dnl require some minimum version. Point them to the right macro. |
914 | 314 | m4_if([$1], [1.16.3], [], | 382 | m4_if([$1], [1.16.5], [], |
915 | 315 | [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl | 383 | [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl |
916 | 316 | ]) | 384 | ]) |
917 | 317 | 385 | ||
918 | @@ -327,12 +395,12 @@ m4_define([_AM_AUTOCONF_VERSION], []) | |||
919 | 327 | # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. | 395 | # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. |
920 | 328 | # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. | 396 | # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. |
921 | 329 | AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], | 397 | AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], |
923 | 330 | [AM_AUTOMAKE_VERSION([1.16.3])dnl | 398 | [AM_AUTOMAKE_VERSION([1.16.5])dnl |
924 | 331 | m4_ifndef([AC_AUTOCONF_VERSION], | 399 | m4_ifndef([AC_AUTOCONF_VERSION], |
925 | 332 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl | 400 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
926 | 333 | _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) | 401 | _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) |
927 | 334 | 402 | ||
929 | 335 | # Copyright (C) 2011-2020 Free Software Foundation, Inc. | 403 | # Copyright (C) 2011-2021 Free Software Foundation, Inc. |
930 | 336 | # | 404 | # |
931 | 337 | # This file is free software; the Free Software Foundation | 405 | # This file is free software; the Free Software Foundation |
932 | 338 | # gives unlimited permission to copy and/or distribute it, | 406 | # gives unlimited permission to copy and/or distribute it, |
933 | @@ -394,7 +462,7 @@ AC_SUBST([AR])dnl | |||
934 | 394 | 462 | ||
935 | 395 | # AM_AUX_DIR_EXPAND -*- Autoconf -*- | 463 | # AM_AUX_DIR_EXPAND -*- Autoconf -*- |
936 | 396 | 464 | ||
938 | 397 | # Copyright (C) 2001-2020 Free Software Foundation, Inc. | 465 | # Copyright (C) 2001-2021 Free Software Foundation, Inc. |
939 | 398 | # | 466 | # |
940 | 399 | # This file is free software; the Free Software Foundation | 467 | # This file is free software; the Free Software Foundation |
941 | 400 | # gives unlimited permission to copy and/or distribute it, | 468 | # gives unlimited permission to copy and/or distribute it, |
942 | @@ -446,7 +514,7 @@ am_aux_dir=`cd "$ac_aux_dir" && pwd` | |||
943 | 446 | 514 | ||
944 | 447 | # AM_CONDITIONAL -*- Autoconf -*- | 515 | # AM_CONDITIONAL -*- Autoconf -*- |
945 | 448 | 516 | ||
947 | 449 | # Copyright (C) 1997-2020 Free Software Foundation, Inc. | 517 | # Copyright (C) 1997-2021 Free Software Foundation, Inc. |
948 | 450 | # | 518 | # |
949 | 451 | # This file is free software; the Free Software Foundation | 519 | # This file is free software; the Free Software Foundation |
950 | 452 | # gives unlimited permission to copy and/or distribute it, | 520 | # gives unlimited permission to copy and/or distribute it, |
951 | @@ -477,7 +545,7 @@ AC_CONFIG_COMMANDS_PRE( | |||
952 | 477 | Usually this means the macro was only invoked conditionally.]]) | 545 | Usually this means the macro was only invoked conditionally.]]) |
953 | 478 | fi])]) | 546 | fi])]) |
954 | 479 | 547 | ||
956 | 480 | # Copyright (C) 1999-2020 Free Software Foundation, Inc. | 548 | # Copyright (C) 1999-2021 Free Software Foundation, Inc. |
957 | 481 | # | 549 | # |
958 | 482 | # This file is free software; the Free Software Foundation | 550 | # This file is free software; the Free Software Foundation |
959 | 483 | # gives unlimited permission to copy and/or distribute it, | 551 | # gives unlimited permission to copy and/or distribute it, |
960 | @@ -668,7 +736,7 @@ _AM_SUBST_NOTMAKE([am__nodep])dnl | |||
961 | 668 | 736 | ||
962 | 669 | # Generate code to set up dependency tracking. -*- Autoconf -*- | 737 | # Generate code to set up dependency tracking. -*- Autoconf -*- |
963 | 670 | 738 | ||
965 | 671 | # Copyright (C) 1999-2020 Free Software Foundation, Inc. | 739 | # Copyright (C) 1999-2021 Free Software Foundation, Inc. |
966 | 672 | # | 740 | # |
967 | 673 | # This file is free software; the Free Software Foundation | 741 | # This file is free software; the Free Software Foundation |
968 | 674 | # gives unlimited permission to copy and/or distribute it, | 742 | # gives unlimited permission to copy and/or distribute it, |
969 | @@ -736,7 +804,7 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], | |||
970 | 736 | 804 | ||
971 | 737 | # AM_EXTRA_RECURSIVE_TARGETS -*- Autoconf -*- | 805 | # AM_EXTRA_RECURSIVE_TARGETS -*- Autoconf -*- |
972 | 738 | 806 | ||
974 | 739 | # Copyright (C) 2012-2020 Free Software Foundation, Inc. | 807 | # Copyright (C) 2012-2021 Free Software Foundation, Inc. |
975 | 740 | # | 808 | # |
976 | 741 | # This file is free software; the Free Software Foundation | 809 | # This file is free software; the Free Software Foundation |
977 | 742 | # gives unlimited permission to copy and/or distribute it, | 810 | # gives unlimited permission to copy and/or distribute it, |
978 | @@ -753,7 +821,7 @@ AC_DEFUN([AM_EXTRA_RECURSIVE_TARGETS], []) | |||
979 | 753 | 821 | ||
980 | 754 | # Do all the work for Automake. -*- Autoconf -*- | 822 | # Do all the work for Automake. -*- Autoconf -*- |
981 | 755 | 823 | ||
983 | 756 | # Copyright (C) 1996-2020 Free Software Foundation, Inc. | 824 | # Copyright (C) 1996-2021 Free Software Foundation, Inc. |
984 | 757 | # | 825 | # |
985 | 758 | # This file is free software; the Free Software Foundation | 826 | # This file is free software; the Free Software Foundation |
986 | 759 | # gives unlimited permission to copy and/or distribute it, | 827 | # gives unlimited permission to copy and/or distribute it, |
987 | @@ -781,6 +849,10 @@ m4_defn([AC_PROG_CC]) | |||
988 | 781 | # release and drop the old call support. | 849 | # release and drop the old call support. |
989 | 782 | AC_DEFUN([AM_INIT_AUTOMAKE], | 850 | AC_DEFUN([AM_INIT_AUTOMAKE], |
990 | 783 | [AC_PREREQ([2.65])dnl | 851 | [AC_PREREQ([2.65])dnl |
991 | 852 | m4_ifdef([_$0_ALREADY_INIT], | ||
992 | 853 | [m4_fatal([$0 expanded multiple times | ||
993 | 854 | ]m4_defn([_$0_ALREADY_INIT]))], | ||
994 | 855 | [m4_define([_$0_ALREADY_INIT], m4_expansion_stack)])dnl | ||
995 | 784 | dnl Autoconf wants to disallow AM_ names. We explicitly allow | 856 | dnl Autoconf wants to disallow AM_ names. We explicitly allow |
996 | 785 | dnl the ones we care about. | 857 | dnl the ones we care about. |
997 | 786 | m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl | 858 | m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl |
998 | @@ -817,7 +889,7 @@ m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl | |||
999 | 817 | [_AM_SET_OPTIONS([$1])dnl | 889 | [_AM_SET_OPTIONS([$1])dnl |
1000 | 818 | dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. | 890 | dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. |
1001 | 819 | m4_if( | 891 | m4_if( |
1003 | 820 | m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]), | 892 | m4_ifset([AC_PACKAGE_NAME], [ok]):m4_ifset([AC_PACKAGE_VERSION], [ok]), |
1004 | 821 | [ok:ok],, | 893 | [ok:ok],, |
1005 | 822 | [m4_fatal([AC_INIT should be called with package and version arguments])])dnl | 894 | [m4_fatal([AC_INIT should be called with package and version arguments])])dnl |
1006 | 823 | AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl | 895 | AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl |
1007 | @@ -869,6 +941,20 @@ AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], | |||
1008 | 869 | [m4_define([AC_PROG_OBJCXX], | 941 | [m4_define([AC_PROG_OBJCXX], |
1009 | 870 | m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl | 942 | m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl |
1010 | 871 | ]) | 943 | ]) |
1011 | 944 | # Variables for tags utilities; see am/tags.am | ||
1012 | 945 | if test -z "$CTAGS"; then | ||
1013 | 946 | CTAGS=ctags | ||
1014 | 947 | fi | ||
1015 | 948 | AC_SUBST([CTAGS]) | ||
1016 | 949 | if test -z "$ETAGS"; then | ||
1017 | 950 | ETAGS=etags | ||
1018 | 951 | fi | ||
1019 | 952 | AC_SUBST([ETAGS]) | ||
1020 | 953 | if test -z "$CSCOPE"; then | ||
1021 | 954 | CSCOPE=cscope | ||
1022 | 955 | fi | ||
1023 | 956 | AC_SUBST([CSCOPE]) | ||
1024 | 957 | |||
1025 | 872 | AC_REQUIRE([AM_SILENT_RULES])dnl | 958 | AC_REQUIRE([AM_SILENT_RULES])dnl |
1026 | 873 | dnl The testsuite driver may need to know about EXEEXT, so add the | 959 | dnl The testsuite driver may need to know about EXEEXT, so add the |
1027 | 874 | dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This | 960 | dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This |
1028 | @@ -950,7 +1036,7 @@ for _am_header in $config_headers :; do | |||
1029 | 950 | done | 1036 | done |
1030 | 951 | echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) | 1037 | echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) |
1031 | 952 | 1038 | ||
1033 | 953 | # Copyright (C) 2001-2020 Free Software Foundation, Inc. | 1039 | # Copyright (C) 2001-2021 Free Software Foundation, Inc. |
1034 | 954 | # | 1040 | # |
1035 | 955 | # This file is free software; the Free Software Foundation | 1041 | # This file is free software; the Free Software Foundation |
1036 | 956 | # gives unlimited permission to copy and/or distribute it, | 1042 | # gives unlimited permission to copy and/or distribute it, |
1037 | @@ -971,7 +1057,7 @@ if test x"${install_sh+set}" != xset; then | |||
1038 | 971 | fi | 1057 | fi |
1039 | 972 | AC_SUBST([install_sh])]) | 1058 | AC_SUBST([install_sh])]) |
1040 | 973 | 1059 | ||
1042 | 974 | # Copyright (C) 2003-2020 Free Software Foundation, Inc. | 1060 | # Copyright (C) 2003-2021 Free Software Foundation, Inc. |
1043 | 975 | # | 1061 | # |
1044 | 976 | # This file is free software; the Free Software Foundation | 1062 | # This file is free software; the Free Software Foundation |
1045 | 977 | # gives unlimited permission to copy and/or distribute it, | 1063 | # gives unlimited permission to copy and/or distribute it, |
1046 | @@ -993,7 +1079,7 @@ AC_SUBST([am__leading_dot])]) | |||
1047 | 993 | # Add --enable-maintainer-mode option to configure. -*- Autoconf -*- | 1079 | # Add --enable-maintainer-mode option to configure. -*- Autoconf -*- |
1048 | 994 | # From Jim Meyering | 1080 | # From Jim Meyering |
1049 | 995 | 1081 | ||
1051 | 996 | # Copyright (C) 1996-2020 Free Software Foundation, Inc. | 1082 | # Copyright (C) 1996-2021 Free Software Foundation, Inc. |
1052 | 997 | # | 1083 | # |
1053 | 998 | # This file is free software; the Free Software Foundation | 1084 | # This file is free software; the Free Software Foundation |
1054 | 999 | # gives unlimited permission to copy and/or distribute it, | 1085 | # gives unlimited permission to copy and/or distribute it, |
1055 | @@ -1028,7 +1114,7 @@ AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) | |||
1056 | 1028 | 1114 | ||
1057 | 1029 | # Check to see how 'make' treats includes. -*- Autoconf -*- | 1115 | # Check to see how 'make' treats includes. -*- Autoconf -*- |
1058 | 1030 | 1116 | ||
1060 | 1031 | # Copyright (C) 2001-2020 Free Software Foundation, Inc. | 1117 | # Copyright (C) 2001-2021 Free Software Foundation, Inc. |
1061 | 1032 | # | 1118 | # |
1062 | 1033 | # This file is free software; the Free Software Foundation | 1119 | # This file is free software; the Free Software Foundation |
1063 | 1034 | # gives unlimited permission to copy and/or distribute it, | 1120 | # gives unlimited permission to copy and/or distribute it, |
1064 | @@ -1071,7 +1157,7 @@ AC_SUBST([am__quote])]) | |||
1065 | 1071 | 1157 | ||
1066 | 1072 | # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- | 1158 | # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- |
1067 | 1073 | 1159 | ||
1069 | 1074 | # Copyright (C) 1997-2020 Free Software Foundation, Inc. | 1160 | # Copyright (C) 1997-2021 Free Software Foundation, Inc. |
1070 | 1075 | # | 1161 | # |
1071 | 1076 | # This file is free software; the Free Software Foundation | 1162 | # This file is free software; the Free Software Foundation |
1072 | 1077 | # gives unlimited permission to copy and/or distribute it, | 1163 | # gives unlimited permission to copy and/or distribute it, |
1073 | @@ -1105,7 +1191,7 @@ fi | |||
1074 | 1105 | 1191 | ||
1075 | 1106 | # Helper functions for option handling. -*- Autoconf -*- | 1192 | # Helper functions for option handling. -*- Autoconf -*- |
1076 | 1107 | 1193 | ||
1078 | 1108 | # Copyright (C) 2001-2020 Free Software Foundation, Inc. | 1194 | # Copyright (C) 2001-2021 Free Software Foundation, Inc. |
1079 | 1109 | # | 1195 | # |
1080 | 1110 | # This file is free software; the Free Software Foundation | 1196 | # This file is free software; the Free Software Foundation |
1081 | 1111 | # gives unlimited permission to copy and/or distribute it, | 1197 | # gives unlimited permission to copy and/or distribute it, |
1082 | @@ -1134,7 +1220,7 @@ AC_DEFUN([_AM_SET_OPTIONS], | |||
1083 | 1134 | AC_DEFUN([_AM_IF_OPTION], | 1220 | AC_DEFUN([_AM_IF_OPTION], |
1084 | 1135 | [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) | 1221 | [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) |
1085 | 1136 | 1222 | ||
1087 | 1137 | # Copyright (C) 1999-2020 Free Software Foundation, Inc. | 1223 | # Copyright (C) 1999-2021 Free Software Foundation, Inc. |
1088 | 1138 | # | 1224 | # |
1089 | 1139 | # This file is free software; the Free Software Foundation | 1225 | # This file is free software; the Free Software Foundation |
1090 | 1140 | # gives unlimited permission to copy and/or distribute it, | 1226 | # gives unlimited permission to copy and/or distribute it, |
1091 | @@ -1181,7 +1267,7 @@ AC_LANG_POP([C])]) | |||
1092 | 1181 | # For backward compatibility. | 1267 | # For backward compatibility. |
1093 | 1182 | AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) | 1268 | AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) |
1094 | 1183 | 1269 | ||
1096 | 1184 | # Copyright (C) 1999-2020 Free Software Foundation, Inc. | 1270 | # Copyright (C) 1999-2021 Free Software Foundation, Inc. |
1097 | 1185 | # | 1271 | # |
1098 | 1186 | # This file is free software; the Free Software Foundation | 1272 | # This file is free software; the Free Software Foundation |
1099 | 1187 | # gives unlimited permission to copy and/or distribute it, | 1273 | # gives unlimited permission to copy and/or distribute it, |
1100 | @@ -1216,6 +1302,7 @@ AC_DEFUN([AM_PATH_PYTHON], | |||
1101 | 1216 | dnl supported. (2.0 was released on October 16, 2000). | 1302 | dnl supported. (2.0 was released on October 16, 2000). |
1102 | 1217 | m4_define_default([_AM_PYTHON_INTERPRETER_LIST], | 1303 | m4_define_default([_AM_PYTHON_INTERPRETER_LIST], |
1103 | 1218 | [python python2 python3 dnl | 1304 | [python python2 python3 dnl |
1104 | 1305 | python3.11 python3.10 dnl | ||
1105 | 1219 | python3.9 python3.8 python3.7 python3.6 python3.5 python3.4 python3.3 dnl | 1306 | python3.9 python3.8 python3.7 python3.6 python3.5 python3.4 python3.3 dnl |
1106 | 1220 | python3.2 python3.1 python3.0 dnl | 1307 | python3.2 python3.1 python3.0 dnl |
1107 | 1221 | python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 dnl | 1308 | python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 dnl |
1108 | @@ -1260,7 +1347,7 @@ AC_DEFUN([AM_PATH_PYTHON], | |||
1109 | 1260 | ]) | 1347 | ]) |
1110 | 1261 | 1348 | ||
1111 | 1262 | if test "$PYTHON" = :; then | 1349 | if test "$PYTHON" = :; then |
1113 | 1263 | dnl Run any user-specified action, or abort. | 1350 | dnl Run any user-specified action, or abort. |
1114 | 1264 | m4_default([$3], [AC_MSG_ERROR([no suitable Python interpreter found])]) | 1351 | m4_default([$3], [AC_MSG_ERROR([no suitable Python interpreter found])]) |
1115 | 1265 | else | 1352 | else |
1116 | 1266 | 1353 | ||
1117 | @@ -1269,27 +1356,132 @@ AC_DEFUN([AM_PATH_PYTHON], | |||
1118 | 1269 | dnl trailing zero was eliminated. So now we output just the major | 1356 | dnl trailing zero was eliminated. So now we output just the major |
1119 | 1270 | dnl and minor version numbers, as numbers. Apparently the tertiary | 1357 | dnl and minor version numbers, as numbers. Apparently the tertiary |
1120 | 1271 | dnl version is not of interest. | 1358 | dnl version is not of interest. |
1122 | 1272 | 1359 | dnl | |
1123 | 1273 | AC_CACHE_CHECK([for $am_display_PYTHON version], [am_cv_python_version], | 1360 | AC_CACHE_CHECK([for $am_display_PYTHON version], [am_cv_python_version], |
1125 | 1274 | [am_cv_python_version=`$PYTHON -c "import sys; print('%u.%u' % sys.version_info[[:2]])"`]) | 1361 | [am_cv_python_version=`$PYTHON -c "import sys; print ('%u.%u' % sys.version_info[[:2]])"`]) |
1126 | 1275 | AC_SUBST([PYTHON_VERSION], [$am_cv_python_version]) | 1362 | AC_SUBST([PYTHON_VERSION], [$am_cv_python_version]) |
1127 | 1276 | 1363 | ||
1137 | 1277 | dnl Use the values of $prefix and $exec_prefix for the corresponding | 1364 | dnl At times, e.g., when building shared libraries, you may want |
1129 | 1278 | dnl values of PYTHON_PREFIX and PYTHON_EXEC_PREFIX. These are made | ||
1130 | 1279 | dnl distinct variables so they can be overridden if need be. However, | ||
1131 | 1280 | dnl general consensus is that you shouldn't need this ability. | ||
1132 | 1281 | |||
1133 | 1282 | AC_SUBST([PYTHON_PREFIX], ['${prefix}']) | ||
1134 | 1283 | AC_SUBST([PYTHON_EXEC_PREFIX], ['${exec_prefix}']) | ||
1135 | 1284 | |||
1136 | 1285 | dnl At times (like when building shared libraries) you may want | ||
1138 | 1286 | dnl to know which OS platform Python thinks this is. | 1365 | dnl to know which OS platform Python thinks this is. |
1140 | 1287 | 1366 | dnl | |
1141 | 1288 | AC_CACHE_CHECK([for $am_display_PYTHON platform], [am_cv_python_platform], | 1367 | AC_CACHE_CHECK([for $am_display_PYTHON platform], [am_cv_python_platform], |
1142 | 1289 | [am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`]) | 1368 | [am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`]) |
1143 | 1290 | AC_SUBST([PYTHON_PLATFORM], [$am_cv_python_platform]) | 1369 | AC_SUBST([PYTHON_PLATFORM], [$am_cv_python_platform]) |
1144 | 1291 | 1370 | ||
1146 | 1292 | # Just factor out some code duplication. | 1371 | dnl emacs-page |
1147 | 1372 | dnl If --with-python-sys-prefix is given, use the values of sys.prefix | ||
1148 | 1373 | dnl and sys.exec_prefix for the corresponding values of PYTHON_PREFIX | ||
1149 | 1374 | dnl and PYTHON_EXEC_PREFIX. Otherwise, use the GNU ${prefix} and | ||
1150 | 1375 | dnl ${exec_prefix} variables. | ||
1151 | 1376 | dnl | ||
1152 | 1377 | dnl The two are made distinct variables so they can be overridden if | ||
1153 | 1378 | dnl need be, although general consensus is that you shouldn't need | ||
1154 | 1379 | dnl this separation. | ||
1155 | 1380 | dnl | ||
1156 | 1381 | dnl Also allow directly setting the prefixes via configure options, | ||
1157 | 1382 | dnl overriding any default. | ||
1158 | 1383 | dnl | ||
1159 | 1384 | if test "x$prefix" = xNONE; then | ||
1160 | 1385 | am__usable_prefix=$ac_default_prefix | ||
1161 | 1386 | else | ||
1162 | 1387 | am__usable_prefix=$prefix | ||
1163 | 1388 | fi | ||
1164 | 1389 | |||
1165 | 1390 | # Allow user to request using sys.* values from Python, | ||
1166 | 1391 | # instead of the GNU $prefix values. | ||
1167 | 1392 | AC_ARG_WITH([python-sys-prefix], | ||
1168 | 1393 | [AS_HELP_STRING([--with-python-sys-prefix], | ||
1169 | 1394 | [use Python's sys.prefix and sys.exec_prefix values])], | ||
1170 | 1395 | [am_use_python_sys=:], | ||
1171 | 1396 | [am_use_python_sys=false]) | ||
1172 | 1397 | |||
1173 | 1398 | # Allow user to override whatever the default Python prefix is. | ||
1174 | 1399 | AC_ARG_WITH([python_prefix], | ||
1175 | 1400 | [AS_HELP_STRING([--with-python_prefix], | ||
1176 | 1401 | [override the default PYTHON_PREFIX])], | ||
1177 | 1402 | [am_python_prefix_subst=$withval | ||
1178 | 1403 | am_cv_python_prefix=$withval | ||
1179 | 1404 | AC_MSG_CHECKING([for explicit $am_display_PYTHON prefix]) | ||
1180 | 1405 | AC_MSG_RESULT([$am_cv_python_prefix])], | ||
1181 | 1406 | [ | ||
1182 | 1407 | if $am_use_python_sys; then | ||
1183 | 1408 | # using python sys.prefix value, not GNU | ||
1184 | 1409 | AC_CACHE_CHECK([for python default $am_display_PYTHON prefix], | ||
1185 | 1410 | [am_cv_python_prefix], | ||
1186 | 1411 | [am_cv_python_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.prefix)"`]) | ||
1187 | 1412 | |||
1188 | 1413 | dnl If sys.prefix is a subdir of $prefix, replace the literal value of | ||
1189 | 1414 | dnl $prefix with a variable reference so it can be overridden. | ||
1190 | 1415 | case $am_cv_python_prefix in | ||
1191 | 1416 | $am__usable_prefix*) | ||
1192 | 1417 | am__strip_prefix=`echo "$am__usable_prefix" | sed 's|.|.|g'` | ||
1193 | 1418 | am_python_prefix_subst=`echo "$am_cv_python_prefix" | sed "s,^$am__strip_prefix,\\${prefix},"` | ||
1194 | 1419 | ;; | ||
1195 | 1420 | *) | ||
1196 | 1421 | am_python_prefix_subst=$am_cv_python_prefix | ||
1197 | 1422 | ;; | ||
1198 | 1423 | esac | ||
1199 | 1424 | else # using GNU prefix value, not python sys.prefix | ||
1200 | 1425 | am_python_prefix_subst='${prefix}' | ||
1201 | 1426 | am_python_prefix=$am_python_prefix_subst | ||
1202 | 1427 | AC_MSG_CHECKING([for GNU default $am_display_PYTHON prefix]) | ||
1203 | 1428 | AC_MSG_RESULT([$am_python_prefix]) | ||
1204 | 1429 | fi]) | ||
1205 | 1430 | # Substituting python_prefix_subst value. | ||
1206 | 1431 | AC_SUBST([PYTHON_PREFIX], [$am_python_prefix_subst]) | ||
1207 | 1432 | |||
1208 | 1433 | # emacs-page Now do it all over again for Python exec_prefix, but with yet | ||
1209 | 1434 | # another conditional: fall back to regular prefix if that was specified. | ||
1210 | 1435 | AC_ARG_WITH([python_exec_prefix], | ||
1211 | 1436 | [AS_HELP_STRING([--with-python_exec_prefix], | ||
1212 | 1437 | [override the default PYTHON_EXEC_PREFIX])], | ||
1213 | 1438 | [am_python_exec_prefix_subst=$withval | ||
1214 | 1439 | am_cv_python_exec_prefix=$withval | ||
1215 | 1440 | AC_MSG_CHECKING([for explicit $am_display_PYTHON exec_prefix]) | ||
1216 | 1441 | AC_MSG_RESULT([$am_cv_python_exec_prefix])], | ||
1217 | 1442 | [ | ||
1218 | 1443 | # no explicit --with-python_exec_prefix, but if | ||
1219 | 1444 | # --with-python_prefix was given, use its value for python_exec_prefix too. | ||
1220 | 1445 | AS_IF([test -n "$with_python_prefix"], | ||
1221 | 1446 | [am_python_exec_prefix_subst=$with_python_prefix | ||
1222 | 1447 | am_cv_python_exec_prefix=$with_python_prefix | ||
1223 | 1448 | AC_MSG_CHECKING([for python_prefix-given $am_display_PYTHON exec_prefix]) | ||
1224 | 1449 | AC_MSG_RESULT([$am_cv_python_exec_prefix])], | ||
1225 | 1450 | [ | ||
1226 | 1451 | # Set am__usable_exec_prefix whether using GNU or Python values, | ||
1227 | 1452 | # since we use that variable for pyexecdir. | ||
1228 | 1453 | if test "x$exec_prefix" = xNONE; then | ||
1229 | 1454 | am__usable_exec_prefix=$am__usable_prefix | ||
1230 | 1455 | else | ||
1231 | 1456 | am__usable_exec_prefix=$exec_prefix | ||
1232 | 1457 | fi | ||
1233 | 1458 | # | ||
1234 | 1459 | if $am_use_python_sys; then # using python sys.exec_prefix, not GNU | ||
1235 | 1460 | AC_CACHE_CHECK([for python default $am_display_PYTHON exec_prefix], | ||
1236 | 1461 | [am_cv_python_exec_prefix], | ||
1237 | 1462 | [am_cv_python_exec_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.exec_prefix)"`]) | ||
1238 | 1463 | dnl If sys.exec_prefix is a subdir of $exec_prefix, replace the | ||
1239 | 1464 | dnl literal value of $exec_prefix with a variable reference so it can | ||
1240 | 1465 | dnl be overridden. | ||
1241 | 1466 | case $am_cv_python_exec_prefix in | ||
1242 | 1467 | $am__usable_exec_prefix*) | ||
1243 | 1468 | am__strip_prefix=`echo "$am__usable_exec_prefix" | sed 's|.|.|g'` | ||
1244 | 1469 | am_python_exec_prefix_subst=`echo "$am_cv_python_exec_prefix" | sed "s,^$am__strip_prefix,\\${exec_prefix},"` | ||
1245 | 1470 | ;; | ||
1246 | 1471 | *) | ||
1247 | 1472 | am_python_exec_prefix_subst=$am_cv_python_exec_prefix | ||
1248 | 1473 | ;; | ||
1249 | 1474 | esac | ||
1250 | 1475 | else # using GNU $exec_prefix, not python sys.exec_prefix | ||
1251 | 1476 | am_python_exec_prefix_subst='${exec_prefix}' | ||
1252 | 1477 | am_python_exec_prefix=$am_python_exec_prefix_subst | ||
1253 | 1478 | AC_MSG_CHECKING([for GNU default $am_display_PYTHON exec_prefix]) | ||
1254 | 1479 | AC_MSG_RESULT([$am_python_exec_prefix]) | ||
1255 | 1480 | fi])]) | ||
1256 | 1481 | # Substituting python_exec_prefix_subst. | ||
1257 | 1482 | AC_SUBST([PYTHON_EXEC_PREFIX], [$am_python_exec_prefix_subst]) | ||
1258 | 1483 | |||
1259 | 1484 | # Factor out some code duplication into this shell variable. | ||
1260 | 1293 | am_python_setup_sysconfig="\ | 1485 | am_python_setup_sysconfig="\ |
1261 | 1294 | import sys | 1486 | import sys |
1262 | 1295 | # Prefer sysconfig over distutils.sysconfig, for better compatibility | 1487 | # Prefer sysconfig over distutils.sysconfig, for better compatibility |
1263 | @@ -1309,96 +1501,109 @@ try: | |||
1264 | 1309 | except ImportError: | 1501 | except ImportError: |
1265 | 1310 | pass" | 1502 | pass" |
1266 | 1311 | 1503 | ||
1268 | 1312 | dnl Set up 4 directories: | 1504 | dnl emacs-page Set up 4 directories: |
1269 | 1313 | 1505 | ||
1274 | 1314 | dnl pythondir -- where to install python scripts. This is the | 1506 | dnl 1. pythondir: where to install python scripts. This is the |
1275 | 1315 | dnl site-packages directory, not the python standard library | 1507 | dnl site-packages directory, not the python standard library |
1276 | 1316 | dnl directory like in previous automake betas. This behavior | 1508 | dnl directory like in previous automake betas. This behavior |
1277 | 1317 | dnl is more consistent with lispdir.m4 for example. | 1509 | dnl is more consistent with lispdir.m4 for example. |
1278 | 1318 | dnl Query distutils for this directory. | 1510 | dnl Query distutils for this directory. |
1288 | 1319 | AC_CACHE_CHECK([for $am_display_PYTHON script directory], | 1511 | dnl |
1289 | 1320 | [am_cv_python_pythondir], | 1512 | AC_CACHE_CHECK([for $am_display_PYTHON script directory (pythondir)], |
1290 | 1321 | [if test "x$prefix" = xNONE | 1513 | [am_cv_python_pythondir], |
1291 | 1322 | then | 1514 | [if test "x$am_cv_python_prefix" = x; then |
1292 | 1323 | am_py_prefix=$ac_default_prefix | 1515 | am_py_prefix=$am__usable_prefix |
1293 | 1324 | else | 1516 | else |
1294 | 1325 | am_py_prefix=$prefix | 1517 | am_py_prefix=$am_cv_python_prefix |
1295 | 1326 | fi | 1518 | fi |
1296 | 1327 | am_cv_python_pythondir=`$PYTHON -c " | 1519 | am_cv_python_pythondir=`$PYTHON -c " |
1297 | 1328 | $am_python_setup_sysconfig | 1520 | $am_python_setup_sysconfig |
1298 | 1329 | if can_use_sysconfig: | 1521 | if can_use_sysconfig: |
1300 | 1330 | sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'}) | 1522 | if hasattr(sysconfig, 'get_default_scheme'): |
1301 | 1523 | scheme = sysconfig.get_default_scheme() | ||
1302 | 1524 | else: | ||
1303 | 1525 | scheme = sysconfig._get_default_scheme() | ||
1304 | 1526 | if scheme == 'posix_local': | ||
1305 | 1527 | # Debian's default scheme installs to /usr/local/ but we want to find headers in /usr/ | ||
1306 | 1528 | scheme = 'posix_prefix' | ||
1307 | 1529 | sitedir = sysconfig.get_path('purelib', scheme, vars={'base':'$am_py_prefix'}) | ||
1308 | 1331 | else: | 1530 | else: |
1311 | 1332 | from distutils import sysconfig | 1531 | from distutils import sysconfig |
1312 | 1333 | sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix') | 1532 | sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix') |
1313 | 1334 | sys.stdout.write(sitedir)"` | 1533 | sys.stdout.write(sitedir)"` |
1327 | 1335 | case $am_cv_python_pythondir in | 1534 | # |
1328 | 1336 | $am_py_prefix*) | 1535 | case $am_cv_python_pythondir in |
1329 | 1337 | am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'` | 1536 | $am_py_prefix*) |
1330 | 1338 | am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"` | 1537 | am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'` |
1331 | 1339 | ;; | 1538 | am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,\\${PYTHON_PREFIX},"` |
1332 | 1340 | *) | 1539 | ;; |
1333 | 1341 | case $am_py_prefix in | 1540 | *) |
1334 | 1342 | /usr|/System*) ;; | 1541 | case $am_py_prefix in |
1335 | 1343 | *) | 1542 | /usr|/System*) ;; |
1336 | 1344 | am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages | 1543 | *) am_cv_python_pythondir="\${PYTHON_PREFIX}/lib/python$PYTHON_VERSION/site-packages" |
1337 | 1345 | ;; | 1544 | ;; |
1325 | 1346 | esac | ||
1326 | 1347 | ;; | ||
1338 | 1348 | esac | 1545 | esac |
1340 | 1349 | ]) | 1546 | ;; |
1341 | 1547 | esac | ||
1342 | 1548 | ]) | ||
1343 | 1350 | AC_SUBST([pythondir], [$am_cv_python_pythondir]) | 1549 | AC_SUBST([pythondir], [$am_cv_python_pythondir]) |
1344 | 1351 | 1550 | ||
1349 | 1352 | dnl pkgpythondir -- $PACKAGE directory under pythondir. Was | 1551 | dnl 2. pkgpythondir: $PACKAGE directory under pythondir. Was |
1350 | 1353 | dnl PYTHON_SITE_PACKAGE in previous betas, but this naming is | 1552 | dnl PYTHON_SITE_PACKAGE in previous betas, but this naming is |
1351 | 1354 | dnl more consistent with the rest of automake. | 1553 | dnl more consistent with the rest of automake. |
1352 | 1355 | 1554 | dnl | |
1353 | 1356 | AC_SUBST([pkgpythondir], [\${pythondir}/$PACKAGE]) | 1555 | AC_SUBST([pkgpythondir], [\${pythondir}/$PACKAGE]) |
1354 | 1357 | 1556 | ||
1357 | 1358 | dnl pyexecdir -- directory for installing python extension modules | 1557 | dnl 3. pyexecdir: directory for installing python extension modules |
1358 | 1359 | dnl (shared libraries) | 1558 | dnl (shared libraries). |
1359 | 1360 | dnl Query distutils for this directory. | 1559 | dnl Query distutils for this directory. |
1369 | 1361 | AC_CACHE_CHECK([for $am_display_PYTHON extension module directory], | 1560 | dnl |
1370 | 1362 | [am_cv_python_pyexecdir], | 1561 | AC_CACHE_CHECK([for $am_display_PYTHON extension module directory (pyexecdir)], |
1371 | 1363 | [if test "x$exec_prefix" = xNONE | 1562 | [am_cv_python_pyexecdir], |
1372 | 1364 | then | 1563 | [if test "x$am_cv_python_exec_prefix" = x; then |
1373 | 1365 | am_py_exec_prefix=$am_py_prefix | 1564 | am_py_exec_prefix=$am__usable_exec_prefix |
1374 | 1366 | else | 1565 | else |
1375 | 1367 | am_py_exec_prefix=$exec_prefix | 1566 | am_py_exec_prefix=$am_cv_python_exec_prefix |
1376 | 1368 | fi | 1567 | fi |
1377 | 1369 | am_cv_python_pyexecdir=`$PYTHON -c " | 1568 | am_cv_python_pyexecdir=`$PYTHON -c " |
1378 | 1370 | $am_python_setup_sysconfig | 1569 | $am_python_setup_sysconfig |
1379 | 1371 | if can_use_sysconfig: | 1570 | if can_use_sysconfig: |
1381 | 1372 | sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'}) | 1571 | if hasattr(sysconfig, 'get_default_scheme'): |
1382 | 1572 | scheme = sysconfig.get_default_scheme() | ||
1383 | 1573 | else: | ||
1384 | 1574 | scheme = sysconfig._get_default_scheme() | ||
1385 | 1575 | if scheme == 'posix_local': | ||
1386 | 1576 | # Debian's default scheme installs to /usr/local/ but we want to find headers in /usr/ | ||
1387 | 1577 | scheme = 'posix_prefix' | ||
1388 | 1578 | sitedir = sysconfig.get_path('platlib', scheme, vars={'platbase':'$am_py_exec_prefix'}) | ||
1389 | 1373 | else: | 1579 | else: |
1392 | 1374 | from distutils import sysconfig | 1580 | from distutils import sysconfig |
1393 | 1375 | sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix') | 1581 | sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_exec_prefix') |
1394 | 1376 | sys.stdout.write(sitedir)"` | 1582 | sys.stdout.write(sitedir)"` |
1408 | 1377 | case $am_cv_python_pyexecdir in | 1583 | # |
1409 | 1378 | $am_py_exec_prefix*) | 1584 | case $am_cv_python_pyexecdir in |
1410 | 1379 | am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'` | 1585 | $am_py_exec_prefix*) |
1411 | 1380 | am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"` | 1586 | am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'` |
1412 | 1381 | ;; | 1587 | am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,\\${PYTHON_EXEC_PREFIX},"` |
1413 | 1382 | *) | 1588 | ;; |
1414 | 1383 | case $am_py_exec_prefix in | 1589 | *) |
1415 | 1384 | /usr|/System*) ;; | 1590 | case $am_py_exec_prefix in |
1416 | 1385 | *) | 1591 | /usr|/System*) ;; |
1417 | 1386 | am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages | 1592 | *) am_cv_python_pyexecdir="\${PYTHON_EXEC_PREFIX}/lib/python$PYTHON_VERSION/site-packages" |
1418 | 1387 | ;; | 1593 | ;; |
1406 | 1388 | esac | ||
1407 | 1389 | ;; | ||
1419 | 1390 | esac | 1594 | esac |
1421 | 1391 | ]) | 1595 | ;; |
1422 | 1596 | esac | ||
1423 | 1597 | ]) | ||
1424 | 1392 | AC_SUBST([pyexecdir], [$am_cv_python_pyexecdir]) | 1598 | AC_SUBST([pyexecdir], [$am_cv_python_pyexecdir]) |
1425 | 1393 | 1599 | ||
1428 | 1394 | dnl pkgpyexecdir -- $(pyexecdir)/$(PACKAGE) | 1600 | dnl 4. pkgpyexecdir: $(pyexecdir)/$(PACKAGE) |
1429 | 1395 | 1601 | dnl | |
1430 | 1396 | AC_SUBST([pkgpyexecdir], [\${pyexecdir}/$PACKAGE]) | 1602 | AC_SUBST([pkgpyexecdir], [\${pyexecdir}/$PACKAGE]) |
1431 | 1397 | 1603 | ||
1432 | 1398 | dnl Run any user-specified action. | 1604 | dnl Run any user-specified action. |
1433 | 1399 | $2 | 1605 | $2 |
1434 | 1400 | fi | 1606 | fi |
1435 | 1401 | |||
1436 | 1402 | ]) | 1607 | ]) |
1437 | 1403 | 1608 | ||
1438 | 1404 | 1609 | ||
1439 | @@ -1421,7 +1626,7 @@ for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[[i]] | |||
1440 | 1421 | sys.exit(sys.hexversion < minverhex)" | 1626 | sys.exit(sys.hexversion < minverhex)" |
1441 | 1422 | AS_IF([AM_RUN_LOG([$1 -c "$prog"])], [$3], [$4])]) | 1627 | AS_IF([AM_RUN_LOG([$1 -c "$prog"])], [$3], [$4])]) |
1442 | 1423 | 1628 | ||
1444 | 1424 | # Copyright (C) 2001-2020 Free Software Foundation, Inc. | 1629 | # Copyright (C) 2001-2021 Free Software Foundation, Inc. |
1445 | 1425 | # | 1630 | # |
1446 | 1426 | # This file is free software; the Free Software Foundation | 1631 | # This file is free software; the Free Software Foundation |
1447 | 1427 | # gives unlimited permission to copy and/or distribute it, | 1632 | # gives unlimited permission to copy and/or distribute it, |
1448 | @@ -1440,7 +1645,7 @@ AC_DEFUN([AM_RUN_LOG], | |||
1449 | 1440 | 1645 | ||
1450 | 1441 | # Check to make sure that the build environment is sane. -*- Autoconf -*- | 1646 | # Check to make sure that the build environment is sane. -*- Autoconf -*- |
1451 | 1442 | 1647 | ||
1453 | 1443 | # Copyright (C) 1996-2020 Free Software Foundation, Inc. | 1648 | # Copyright (C) 1996-2021 Free Software Foundation, Inc. |
1454 | 1444 | # | 1649 | # |
1455 | 1445 | # This file is free software; the Free Software Foundation | 1650 | # This file is free software; the Free Software Foundation |
1456 | 1446 | # gives unlimited permission to copy and/or distribute it, | 1651 | # gives unlimited permission to copy and/or distribute it, |
1457 | @@ -1521,7 +1726,7 @@ AC_CONFIG_COMMANDS_PRE( | |||
1458 | 1521 | rm -f conftest.file | 1726 | rm -f conftest.file |
1459 | 1522 | ]) | 1727 | ]) |
1460 | 1523 | 1728 | ||
1462 | 1524 | # Copyright (C) 2009-2020 Free Software Foundation, Inc. | 1729 | # Copyright (C) 2009-2021 Free Software Foundation, Inc. |
1463 | 1525 | # | 1730 | # |
1464 | 1526 | # This file is free software; the Free Software Foundation | 1731 | # This file is free software; the Free Software Foundation |
1465 | 1527 | # gives unlimited permission to copy and/or distribute it, | 1732 | # gives unlimited permission to copy and/or distribute it, |
1466 | @@ -1581,7 +1786,7 @@ AC_SUBST([AM_BACKSLASH])dnl | |||
1467 | 1581 | _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl | 1786 | _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl |
1468 | 1582 | ]) | 1787 | ]) |
1469 | 1583 | 1788 | ||
1471 | 1584 | # Copyright (C) 2001-2020 Free Software Foundation, Inc. | 1789 | # Copyright (C) 2001-2021 Free Software Foundation, Inc. |
1472 | 1585 | # | 1790 | # |
1473 | 1586 | # This file is free software; the Free Software Foundation | 1791 | # This file is free software; the Free Software Foundation |
1474 | 1587 | # gives unlimited permission to copy and/or distribute it, | 1792 | # gives unlimited permission to copy and/or distribute it, |
1475 | @@ -1609,7 +1814,7 @@ fi | |||
1476 | 1609 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" | 1814 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
1477 | 1610 | AC_SUBST([INSTALL_STRIP_PROGRAM])]) | 1815 | AC_SUBST([INSTALL_STRIP_PROGRAM])]) |
1478 | 1611 | 1816 | ||
1480 | 1612 | # Copyright (C) 2006-2020 Free Software Foundation, Inc. | 1817 | # Copyright (C) 2006-2021 Free Software Foundation, Inc. |
1481 | 1613 | # | 1818 | # |
1482 | 1614 | # This file is free software; the Free Software Foundation | 1819 | # This file is free software; the Free Software Foundation |
1483 | 1615 | # gives unlimited permission to copy and/or distribute it, | 1820 | # gives unlimited permission to copy and/or distribute it, |
1484 | @@ -1628,7 +1833,7 @@ AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) | |||
1485 | 1628 | 1833 | ||
1486 | 1629 | # Check how to create a tarball. -*- Autoconf -*- | 1834 | # Check how to create a tarball. -*- Autoconf -*- |
1487 | 1630 | 1835 | ||
1489 | 1631 | # Copyright (C) 2004-2020 Free Software Foundation, Inc. | 1836 | # Copyright (C) 2004-2021 Free Software Foundation, Inc. |
1490 | 1632 | # | 1837 | # |
1491 | 1633 | # This file is free software; the Free Software Foundation | 1838 | # This file is free software; the Free Software Foundation |
1492 | 1634 | # gives unlimited permission to copy and/or distribute it, | 1839 | # gives unlimited permission to copy and/or distribute it, |
1493 | @@ -1765,11 +1970,9 @@ m4_include([m4/ax_check_openssl.m4]) | |||
1494 | 1765 | m4_include([m4/ax_gcc_func_attribute.m4]) | 1970 | m4_include([m4/ax_gcc_func_attribute.m4]) |
1495 | 1766 | m4_include([m4/ax_jemalloc.m4]) | 1971 | m4_include([m4/ax_jemalloc.m4]) |
1496 | 1767 | m4_include([m4/ax_lib_lmdb.m4]) | 1972 | m4_include([m4/ax_lib_lmdb.m4]) |
1497 | 1768 | m4_include([m4/ax_perl_module.m4]) | ||
1498 | 1769 | m4_include([m4/ax_posix_shell.m4]) | 1973 | m4_include([m4/ax_posix_shell.m4]) |
1499 | 1770 | m4_include([m4/ax_prog_cc_for_build.m4]) | 1974 | m4_include([m4/ax_prog_cc_for_build.m4]) |
1500 | 1771 | m4_include([m4/ax_pthread.m4]) | 1975 | m4_include([m4/ax_pthread.m4]) |
1501 | 1772 | m4_include([m4/ax_python_module.m4]) | ||
1502 | 1773 | m4_include([m4/ax_restore_flags.m4]) | 1976 | m4_include([m4/ax_restore_flags.m4]) |
1503 | 1774 | m4_include([m4/ax_save_flags.m4]) | 1977 | m4_include([m4/ax_save_flags.m4]) |
1504 | 1775 | m4_include([m4/ax_tls.m4]) | 1978 | m4_include([m4/ax_tls.m4]) |
1505 | diff --git a/ar-lib b/ar-lib | |||
1506 | index 1e9388e..c349042 100755 | |||
1507 | --- a/ar-lib | |||
1508 | +++ b/ar-lib | |||
1509 | @@ -4,7 +4,7 @@ | |||
1510 | 4 | me=ar-lib | 4 | me=ar-lib |
1511 | 5 | scriptversion=2019-07-04.01; # UTC | 5 | scriptversion=2019-07-04.01; # UTC |
1512 | 6 | 6 | ||
1514 | 7 | # Copyright (C) 2010-2020 Free Software Foundation, Inc. | 7 | # Copyright (C) 2010-2021 Free Software Foundation, Inc. |
1515 | 8 | # Written by Peter Rosin <peda@lysator.liu.se>. | 8 | # Written by Peter Rosin <peda@lysator.liu.se>. |
1516 | 9 | # | 9 | # |
1517 | 10 | # This program is free software; you can redistribute it and/or modify | 10 | # This program is free software; you can redistribute it and/or modify |
1518 | diff --git a/bin/Makefile.in b/bin/Makefile.in | |||
1519 | index 3b50ade..d13002c 100644 | |||
1520 | --- a/bin/Makefile.in | |||
1521 | +++ b/bin/Makefile.in | |||
1522 | @@ -1,7 +1,7 @@ | |||
1524 | 1 | # Makefile.in generated by automake 1.16.3 from Makefile.am. | 1 | # Makefile.in generated by automake 1.16.5 from Makefile.am. |
1525 | 2 | # @configure_input@ | 2 | # @configure_input@ |
1526 | 3 | 3 | ||
1528 | 4 | # Copyright (C) 1994-2020 Free Software Foundation, Inc. | 4 | # Copyright (C) 1994-2021 Free Software Foundation, Inc. |
1529 | 5 | 5 | ||
1530 | 6 | # This Makefile.in is free software; the Free Software Foundation | 6 | # This Makefile.in is free software; the Free Software Foundation |
1531 | 7 | # gives unlimited permission to copy and/or distribute it, | 7 | # gives unlimited permission to copy and/or distribute it, |
1532 | @@ -96,11 +96,9 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_compile_flag.m4 \ | |||
1533 | 96 | $(top_srcdir)/m4/ax_gcc_func_attribute.m4 \ | 96 | $(top_srcdir)/m4/ax_gcc_func_attribute.m4 \ |
1534 | 97 | $(top_srcdir)/m4/ax_jemalloc.m4 \ | 97 | $(top_srcdir)/m4/ax_jemalloc.m4 \ |
1535 | 98 | $(top_srcdir)/m4/ax_lib_lmdb.m4 \ | 98 | $(top_srcdir)/m4/ax_lib_lmdb.m4 \ |
1536 | 99 | $(top_srcdir)/m4/ax_perl_module.m4 \ | ||
1537 | 100 | $(top_srcdir)/m4/ax_posix_shell.m4 \ | 99 | $(top_srcdir)/m4/ax_posix_shell.m4 \ |
1538 | 101 | $(top_srcdir)/m4/ax_prog_cc_for_build.m4 \ | 100 | $(top_srcdir)/m4/ax_prog_cc_for_build.m4 \ |
1539 | 102 | $(top_srcdir)/m4/ax_pthread.m4 \ | 101 | $(top_srcdir)/m4/ax_pthread.m4 \ |
1540 | 103 | $(top_srcdir)/m4/ax_python_module.m4 \ | ||
1541 | 104 | $(top_srcdir)/m4/ax_restore_flags.m4 \ | 102 | $(top_srcdir)/m4/ax_restore_flags.m4 \ |
1542 | 105 | $(top_srcdir)/m4/ax_save_flags.m4 $(top_srcdir)/m4/ax_tls.m4 \ | 103 | $(top_srcdir)/m4/ax_save_flags.m4 $(top_srcdir)/m4/ax_tls.m4 \ |
1543 | 106 | $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ | 104 | $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ |
1544 | @@ -167,8 +165,6 @@ am__define_uniq_tagged_files = \ | |||
1545 | 167 | unique=`for i in $$list; do \ | 165 | unique=`for i in $$list; do \ |
1546 | 168 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | 166 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
1547 | 169 | done | $(am__uniquify_input)` | 167 | done | $(am__uniquify_input)` |
1548 | 170 | ETAGS = etags | ||
1549 | 171 | CTAGS = ctags | ||
1550 | 172 | DIST_SUBDIRS = $(SUBDIRS) | 168 | DIST_SUBDIRS = $(SUBDIRS) |
1551 | 173 | am__DIST_COMMON = $(srcdir)/Makefile.in | 169 | am__DIST_COMMON = $(srcdir)/Makefile.in |
1552 | 174 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | 170 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
1553 | @@ -218,6 +214,8 @@ CPP = @CPP@ | |||
1554 | 218 | CPPFLAGS = @CPPFLAGS@ | 214 | CPPFLAGS = @CPPFLAGS@ |
1555 | 219 | CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@ | 215 | CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@ |
1556 | 220 | CPP_FOR_BUILD = @CPP_FOR_BUILD@ | 216 | CPP_FOR_BUILD = @CPP_FOR_BUILD@ |
1557 | 217 | CSCOPE = @CSCOPE@ | ||
1558 | 218 | CTAGS = @CTAGS@ | ||
1559 | 221 | CURL = @CURL@ | 219 | CURL = @CURL@ |
1560 | 222 | CYGPATH_W = @CYGPATH_W@ | 220 | CYGPATH_W = @CYGPATH_W@ |
1561 | 223 | DEFS = @DEFS@ | 221 | DEFS = @DEFS@ |
1562 | @@ -233,8 +231,10 @@ ECHO_C = @ECHO_C@ | |||
1563 | 233 | ECHO_N = @ECHO_N@ | 231 | ECHO_N = @ECHO_N@ |
1564 | 234 | ECHO_T = @ECHO_T@ | 232 | ECHO_T = @ECHO_T@ |
1565 | 235 | EGREP = @EGREP@ | 233 | EGREP = @EGREP@ |
1566 | 234 | ETAGS = @ETAGS@ | ||
1567 | 236 | EXEEXT = @EXEEXT@ | 235 | EXEEXT = @EXEEXT@ |
1568 | 237 | FGREP = @FGREP@ | 236 | FGREP = @FGREP@ |
1569 | 237 | FILECMD = @FILECMD@ | ||
1570 | 238 | FSTRM_CAPTURE = @FSTRM_CAPTURE@ | 238 | FSTRM_CAPTURE = @FSTRM_CAPTURE@ |
1571 | 239 | FUZZ_LDFLAGS = @FUZZ_LDFLAGS@ | 239 | FUZZ_LDFLAGS = @FUZZ_LDFLAGS@ |
1572 | 240 | FUZZ_LOG_COMPILER = @FUZZ_LOG_COMPILER@ | 240 | FUZZ_LOG_COMPILER = @FUZZ_LOG_COMPILER@ |
1573 | @@ -537,7 +537,6 @@ cscopelist-am: $(am__tagged_files) | |||
1574 | 537 | 537 | ||
1575 | 538 | distclean-tags: | 538 | distclean-tags: |
1576 | 539 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | 539 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
1577 | 540 | |||
1578 | 541 | distdir: $(BUILT_SOURCES) | 540 | distdir: $(BUILT_SOURCES) |
1579 | 542 | $(MAKE) $(AM_MAKEFLAGS) distdir-am | 541 | $(MAKE) $(AM_MAKEFLAGS) distdir-am |
1580 | 543 | 542 | ||
1581 | diff --git a/bin/check/Makefile.in b/bin/check/Makefile.in | |||
1582 | index 7bd5132..7926d5f 100644 | |||
1583 | --- a/bin/check/Makefile.in | |||
1584 | +++ b/bin/check/Makefile.in | |||
1585 | @@ -1,7 +1,7 @@ | |||
1587 | 1 | # Makefile.in generated by automake 1.16.3 from Makefile.am. | 1 | # Makefile.in generated by automake 1.16.5 from Makefile.am. |
1588 | 2 | # @configure_input@ | 2 | # @configure_input@ |
1589 | 3 | 3 | ||
1591 | 4 | # Copyright (C) 1994-2020 Free Software Foundation, Inc. | 4 | # Copyright (C) 1994-2021 Free Software Foundation, Inc. |
1592 | 5 | 5 | ||
1593 | 6 | # This Makefile.in is free software; the Free Software Foundation | 6 | # This Makefile.in is free software; the Free Software Foundation |
1594 | 7 | # gives unlimited permission to copy and/or distribute it, | 7 | # gives unlimited permission to copy and/or distribute it, |
1595 | @@ -105,11 +105,9 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_compile_flag.m4 \ | |||
1596 | 105 | $(top_srcdir)/m4/ax_gcc_func_attribute.m4 \ | 105 | $(top_srcdir)/m4/ax_gcc_func_attribute.m4 \ |
1597 | 106 | $(top_srcdir)/m4/ax_jemalloc.m4 \ | 106 | $(top_srcdir)/m4/ax_jemalloc.m4 \ |
1598 | 107 | $(top_srcdir)/m4/ax_lib_lmdb.m4 \ | 107 | $(top_srcdir)/m4/ax_lib_lmdb.m4 \ |
1599 | 108 | $(top_srcdir)/m4/ax_perl_module.m4 \ | ||
1600 | 109 | $(top_srcdir)/m4/ax_posix_shell.m4 \ | 108 | $(top_srcdir)/m4/ax_posix_shell.m4 \ |
1601 | 110 | $(top_srcdir)/m4/ax_prog_cc_for_build.m4 \ | 109 | $(top_srcdir)/m4/ax_prog_cc_for_build.m4 \ |
1602 | 111 | $(top_srcdir)/m4/ax_pthread.m4 \ | 110 | $(top_srcdir)/m4/ax_pthread.m4 \ |
1603 | 112 | $(top_srcdir)/m4/ax_python_module.m4 \ | ||
1604 | 113 | $(top_srcdir)/m4/ax_restore_flags.m4 \ | 111 | $(top_srcdir)/m4/ax_restore_flags.m4 \ |
1605 | 114 | $(top_srcdir)/m4/ax_save_flags.m4 $(top_srcdir)/m4/ax_tls.m4 \ | 112 | $(top_srcdir)/m4/ax_save_flags.m4 $(top_srcdir)/m4/ax_tls.m4 \ |
1606 | 115 | $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ | 113 | $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ |
1607 | @@ -208,8 +206,6 @@ am__define_uniq_tagged_files = \ | |||
1608 | 208 | unique=`for i in $$list; do \ | 206 | unique=`for i in $$list; do \ |
1609 | 209 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | 207 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
1610 | 210 | done | $(am__uniquify_input)` | 208 | done | $(am__uniquify_input)` |
1611 | 211 | ETAGS = etags | ||
1612 | 212 | CTAGS = ctags | ||
1613 | 213 | am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.top \ | 209 | am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.top \ |
1614 | 214 | $(top_srcdir)/depcomp | 210 | $(top_srcdir)/depcomp |
1615 | 215 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | 211 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
1616 | @@ -234,6 +230,8 @@ CPP = @CPP@ | |||
1617 | 234 | CPPFLAGS = @CPPFLAGS@ | 230 | CPPFLAGS = @CPPFLAGS@ |
1618 | 235 | CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@ | 231 | CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@ |
1619 | 236 | CPP_FOR_BUILD = @CPP_FOR_BUILD@ | 232 | CPP_FOR_BUILD = @CPP_FOR_BUILD@ |
1620 | 233 | CSCOPE = @CSCOPE@ | ||
1621 | 234 | CTAGS = @CTAGS@ | ||
1622 | 237 | CURL = @CURL@ | 235 | CURL = @CURL@ |
1623 | 238 | CYGPATH_W = @CYGPATH_W@ | 236 | CYGPATH_W = @CYGPATH_W@ |
1624 | 239 | DEFS = @DEFS@ | 237 | DEFS = @DEFS@ |
1625 | @@ -249,8 +247,10 @@ ECHO_C = @ECHO_C@ | |||
1626 | 249 | ECHO_N = @ECHO_N@ | 247 | ECHO_N = @ECHO_N@ |
1627 | 250 | ECHO_T = @ECHO_T@ | 248 | ECHO_T = @ECHO_T@ |
1628 | 251 | EGREP = @EGREP@ | 249 | EGREP = @EGREP@ |
1629 | 250 | ETAGS = @ETAGS@ | ||
1630 | 252 | EXEEXT = @EXEEXT@ | 251 | EXEEXT = @EXEEXT@ |
1631 | 253 | FGREP = @FGREP@ | 252 | FGREP = @FGREP@ |
1632 | 253 | FILECMD = @FILECMD@ | ||
1633 | 254 | FSTRM_CAPTURE = @FSTRM_CAPTURE@ | 254 | FSTRM_CAPTURE = @FSTRM_CAPTURE@ |
1634 | 255 | FUZZ_LDFLAGS = @FUZZ_LDFLAGS@ | 255 | FUZZ_LDFLAGS = @FUZZ_LDFLAGS@ |
1635 | 256 | FUZZ_LOG_COMPILER = @FUZZ_LOG_COMPILER@ | 256 | FUZZ_LOG_COMPILER = @FUZZ_LOG_COMPILER@ |
1636 | @@ -677,7 +677,6 @@ cscopelist-am: $(am__tagged_files) | |||
1637 | 677 | 677 | ||
1638 | 678 | distclean-tags: | 678 | distclean-tags: |
1639 | 679 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | 679 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
1640 | 680 | |||
1641 | 681 | distdir: $(BUILT_SOURCES) | 680 | distdir: $(BUILT_SOURCES) |
1642 | 682 | $(MAKE) $(AM_MAKEFLAGS) distdir-am | 681 | $(MAKE) $(AM_MAKEFLAGS) distdir-am |
1643 | 683 | 682 | ||
1644 | diff --git a/bin/confgen/Makefile.in b/bin/confgen/Makefile.in | |||
1645 | index c899429..872f567 100644 | |||
1646 | --- a/bin/confgen/Makefile.in | |||
1647 | +++ b/bin/confgen/Makefile.in | |||
1648 | @@ -1,7 +1,7 @@ | |||
1650 | 1 | # Makefile.in generated by automake 1.16.3 from Makefile.am. | 1 | # Makefile.in generated by automake 1.16.5 from Makefile.am. |
1651 | 2 | # @configure_input@ | 2 | # @configure_input@ |
1652 | 3 | 3 | ||
1654 | 4 | # Copyright (C) 1994-2020 Free Software Foundation, Inc. | 4 | # Copyright (C) 1994-2021 Free Software Foundation, Inc. |
1655 | 5 | 5 | ||
1656 | 6 | # This Makefile.in is free software; the Free Software Foundation | 6 | # This Makefile.in is free software; the Free Software Foundation |
1657 | 7 | # gives unlimited permission to copy and/or distribute it, | 7 | # gives unlimited permission to copy and/or distribute it, |
1658 | @@ -105,11 +105,9 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_compile_flag.m4 \ | |||
1659 | 105 | $(top_srcdir)/m4/ax_gcc_func_attribute.m4 \ | 105 | $(top_srcdir)/m4/ax_gcc_func_attribute.m4 \ |
1660 | 106 | $(top_srcdir)/m4/ax_jemalloc.m4 \ | 106 | $(top_srcdir)/m4/ax_jemalloc.m4 \ |
1661 | 107 | $(top_srcdir)/m4/ax_lib_lmdb.m4 \ | 107 | $(top_srcdir)/m4/ax_lib_lmdb.m4 \ |
1662 | 108 | $(top_srcdir)/m4/ax_perl_module.m4 \ | ||
1663 | 109 | $(top_srcdir)/m4/ax_posix_shell.m4 \ | 108 | $(top_srcdir)/m4/ax_posix_shell.m4 \ |
1664 | 110 | $(top_srcdir)/m4/ax_prog_cc_for_build.m4 \ | 109 | $(top_srcdir)/m4/ax_prog_cc_for_build.m4 \ |
1665 | 111 | $(top_srcdir)/m4/ax_pthread.m4 \ | 110 | $(top_srcdir)/m4/ax_pthread.m4 \ |
1666 | 112 | $(top_srcdir)/m4/ax_python_module.m4 \ | ||
1667 | 113 | $(top_srcdir)/m4/ax_restore_flags.m4 \ | 111 | $(top_srcdir)/m4/ax_restore_flags.m4 \ |
1668 | 114 | $(top_srcdir)/m4/ax_save_flags.m4 $(top_srcdir)/m4/ax_tls.m4 \ | 112 | $(top_srcdir)/m4/ax_save_flags.m4 $(top_srcdir)/m4/ax_tls.m4 \ |
1669 | 115 | $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ | 113 | $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ |
1670 | @@ -204,8 +202,6 @@ am__define_uniq_tagged_files = \ | |||
1671 | 204 | unique=`for i in $$list; do \ | 202 | unique=`for i in $$list; do \ |
1672 | 205 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | 203 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
1673 | 206 | done | $(am__uniquify_input)` | 204 | done | $(am__uniquify_input)` |
1674 | 207 | ETAGS = etags | ||
1675 | 208 | CTAGS = ctags | ||
1676 | 209 | am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.top \ | 205 | am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.top \ |
1677 | 210 | $(top_srcdir)/depcomp | 206 | $(top_srcdir)/depcomp |
1678 | 211 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | 207 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
1679 | @@ -230,6 +226,8 @@ CPP = @CPP@ | |||
1680 | 230 | CPPFLAGS = @CPPFLAGS@ | 226 | CPPFLAGS = @CPPFLAGS@ |
1681 | 231 | CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@ | 227 | CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@ |
1682 | 232 | CPP_FOR_BUILD = @CPP_FOR_BUILD@ | 228 | CPP_FOR_BUILD = @CPP_FOR_BUILD@ |
1683 | 229 | CSCOPE = @CSCOPE@ | ||
1684 | 230 | CTAGS = @CTAGS@ | ||
1685 | 233 | CURL = @CURL@ | 231 | CURL = @CURL@ |
1686 | 234 | CYGPATH_W = @CYGPATH_W@ | 232 | CYGPATH_W = @CYGPATH_W@ |
1687 | 235 | DEFS = @DEFS@ | 233 | DEFS = @DEFS@ |
1688 | @@ -245,8 +243,10 @@ ECHO_C = @ECHO_C@ | |||
1689 | 245 | ECHO_N = @ECHO_N@ | 243 | ECHO_N = @ECHO_N@ |
1690 | 246 | ECHO_T = @ECHO_T@ | 244 | ECHO_T = @ECHO_T@ |
1691 | 247 | EGREP = @EGREP@ | 245 | EGREP = @EGREP@ |
1692 | 246 | ETAGS = @ETAGS@ | ||
1693 | 248 | EXEEXT = @EXEEXT@ | 247 | EXEEXT = @EXEEXT@ |
1694 | 249 | FGREP = @FGREP@ | 248 | FGREP = @FGREP@ |
1695 | 249 | FILECMD = @FILECMD@ | ||
1696 | 250 | FSTRM_CAPTURE = @FSTRM_CAPTURE@ | 250 | FSTRM_CAPTURE = @FSTRM_CAPTURE@ |
1697 | 251 | FUZZ_LDFLAGS = @FUZZ_LDFLAGS@ | 251 | FUZZ_LDFLAGS = @FUZZ_LDFLAGS@ |
1698 | 252 | FUZZ_LOG_COMPILER = @FUZZ_LOG_COMPILER@ | 252 | FUZZ_LOG_COMPILER = @FUZZ_LOG_COMPILER@ |
1699 | @@ -677,7 +677,6 @@ cscopelist-am: $(am__tagged_files) | |||
1700 | 677 | 677 | ||
1701 | 678 | distclean-tags: | 678 | distclean-tags: |
1702 | 679 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | 679 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
1703 | 680 | |||
1704 | 681 | distdir: $(BUILT_SOURCES) | 680 | distdir: $(BUILT_SOURCES) |
1705 | 682 | $(MAKE) $(AM_MAKEFLAGS) distdir-am | 681 | $(MAKE) $(AM_MAKEFLAGS) distdir-am |
1706 | 683 | 682 | ||
1707 | diff --git a/bin/delv/Makefile.in b/bin/delv/Makefile.in | |||
1708 | index 18b7204..c46fc52 100644 | |||
1709 | --- a/bin/delv/Makefile.in | |||
1710 | +++ b/bin/delv/Makefile.in | |||
1711 | @@ -1,7 +1,7 @@ | |||
1713 | 1 | # Makefile.in generated by automake 1.16.3 from Makefile.am. | 1 | # Makefile.in generated by automake 1.16.5 from Makefile.am. |
1714 | 2 | # @configure_input@ | 2 | # @configure_input@ |
1715 | 3 | 3 | ||
1717 | 4 | # Copyright (C) 1994-2020 Free Software Foundation, Inc. | 4 | # Copyright (C) 1994-2021 Free Software Foundation, Inc. |
1718 | 5 | 5 | ||
1719 | 6 | # This Makefile.in is free software; the Free Software Foundation | 6 | # This Makefile.in is free software; the Free Software Foundation |
1720 | 7 | # gives unlimited permission to copy and/or distribute it, | 7 | # gives unlimited permission to copy and/or distribute it, |
1721 | @@ -104,11 +104,9 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_compile_flag.m4 \ | |||
1722 | 104 | $(top_srcdir)/m4/ax_gcc_func_attribute.m4 \ | 104 | $(top_srcdir)/m4/ax_gcc_func_attribute.m4 \ |
1723 | 105 | $(top_srcdir)/m4/ax_jemalloc.m4 \ | 105 | $(top_srcdir)/m4/ax_jemalloc.m4 \ |
1724 | 106 | $(top_srcdir)/m4/ax_lib_lmdb.m4 \ | 106 | $(top_srcdir)/m4/ax_lib_lmdb.m4 \ |
1725 | 107 | $(top_srcdir)/m4/ax_perl_module.m4 \ | ||
1726 | 108 | $(top_srcdir)/m4/ax_posix_shell.m4 \ | 107 | $(top_srcdir)/m4/ax_posix_shell.m4 \ |
1727 | 109 | $(top_srcdir)/m4/ax_prog_cc_for_build.m4 \ | 108 | $(top_srcdir)/m4/ax_prog_cc_for_build.m4 \ |
1728 | 110 | $(top_srcdir)/m4/ax_pthread.m4 \ | 109 | $(top_srcdir)/m4/ax_pthread.m4 \ |
1729 | 111 | $(top_srcdir)/m4/ax_python_module.m4 \ | ||
1730 | 112 | $(top_srcdir)/m4/ax_restore_flags.m4 \ | 110 | $(top_srcdir)/m4/ax_restore_flags.m4 \ |
1731 | 113 | $(top_srcdir)/m4/ax_save_flags.m4 $(top_srcdir)/m4/ax_tls.m4 \ | 111 | $(top_srcdir)/m4/ax_save_flags.m4 $(top_srcdir)/m4/ax_tls.m4 \ |
1732 | 114 | $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ | 112 | $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ |
1733 | @@ -192,8 +190,6 @@ am__define_uniq_tagged_files = \ | |||
1734 | 192 | unique=`for i in $$list; do \ | 190 | unique=`for i in $$list; do \ |
1735 | 193 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | 191 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
1736 | 194 | done | $(am__uniquify_input)` | 192 | done | $(am__uniquify_input)` |
1737 | 195 | ETAGS = etags | ||
1738 | 196 | CTAGS = ctags | ||
1739 | 197 | am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.top \ | 193 | am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.top \ |
1740 | 198 | $(top_srcdir)/depcomp | 194 | $(top_srcdir)/depcomp |
1741 | 199 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | 195 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
1742 | @@ -218,6 +214,8 @@ CPP = @CPP@ | |||
1743 | 218 | CPPFLAGS = @CPPFLAGS@ | 214 | CPPFLAGS = @CPPFLAGS@ |
1744 | 219 | CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@ | 215 | CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@ |
1745 | 220 | CPP_FOR_BUILD = @CPP_FOR_BUILD@ | 216 | CPP_FOR_BUILD = @CPP_FOR_BUILD@ |
1746 | 217 | CSCOPE = @CSCOPE@ | ||
1747 | 218 | CTAGS = @CTAGS@ | ||
1748 | 221 | CURL = @CURL@ | 219 | CURL = @CURL@ |
1749 | 222 | CYGPATH_W = @CYGPATH_W@ | 220 | CYGPATH_W = @CYGPATH_W@ |
1750 | 223 | DEFS = @DEFS@ | 221 | DEFS = @DEFS@ |
1751 | @@ -233,8 +231,10 @@ ECHO_C = @ECHO_C@ | |||
1752 | 233 | ECHO_N = @ECHO_N@ | 231 | ECHO_N = @ECHO_N@ |
1753 | 234 | ECHO_T = @ECHO_T@ | 232 | ECHO_T = @ECHO_T@ |
1754 | 235 | EGREP = @EGREP@ | 233 | EGREP = @EGREP@ |
1755 | 234 | ETAGS = @ETAGS@ | ||
1756 | 236 | EXEEXT = @EXEEXT@ | 235 | EXEEXT = @EXEEXT@ |
1757 | 237 | FGREP = @FGREP@ | 236 | FGREP = @FGREP@ |
1758 | 237 | FILECMD = @FILECMD@ | ||
1759 | 238 | FSTRM_CAPTURE = @FSTRM_CAPTURE@ | 238 | FSTRM_CAPTURE = @FSTRM_CAPTURE@ |
1760 | 239 | FUZZ_LDFLAGS = @FUZZ_LDFLAGS@ | 239 | FUZZ_LDFLAGS = @FUZZ_LDFLAGS@ |
1761 | 240 | FUZZ_LOG_COMPILER = @FUZZ_LOG_COMPILER@ | 240 | FUZZ_LOG_COMPILER = @FUZZ_LOG_COMPILER@ |
1762 | @@ -644,7 +644,6 @@ cscopelist-am: $(am__tagged_files) | |||
1763 | 644 | 644 | ||
1764 | 645 | distclean-tags: | 645 | distclean-tags: |
1765 | 646 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | 646 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
1766 | 647 | |||
1767 | 648 | distdir: $(BUILT_SOURCES) | 647 | distdir: $(BUILT_SOURCES) |
1768 | 649 | $(MAKE) $(AM_MAKEFLAGS) distdir-am | 648 | $(MAKE) $(AM_MAKEFLAGS) distdir-am |
1769 | 650 | 649 | ||
1770 | diff --git a/bin/dig/Makefile.in b/bin/dig/Makefile.in | |||
1771 | index f0cc763..9c9fa5d 100644 | |||
1772 | --- a/bin/dig/Makefile.in | |||
1773 | +++ b/bin/dig/Makefile.in | |||
1774 | @@ -1,7 +1,7 @@ | |||
1776 | 1 | # Makefile.in generated by automake 1.16.3 from Makefile.am. | 1 | # Makefile.in generated by automake 1.16.5 from Makefile.am. |
1777 | 2 | # @configure_input@ | 2 | # @configure_input@ |
1778 | 3 | 3 | ||
1780 | 4 | # Copyright (C) 1994-2020 Free Software Foundation, Inc. | 4 | # Copyright (C) 1994-2021 Free Software Foundation, Inc. |
1781 | 5 | 5 | ||
1782 | 6 | # This Makefile.in is free software; the Free Software Foundation | 6 | # This Makefile.in is free software; the Free Software Foundation |
1783 | 7 | # gives unlimited permission to copy and/or distribute it, | 7 | # gives unlimited permission to copy and/or distribute it, |
1784 | @@ -111,11 +111,9 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_compile_flag.m4 \ | |||
1785 | 111 | $(top_srcdir)/m4/ax_gcc_func_attribute.m4 \ | 111 | $(top_srcdir)/m4/ax_gcc_func_attribute.m4 \ |
1786 | 112 | $(top_srcdir)/m4/ax_jemalloc.m4 \ | 112 | $(top_srcdir)/m4/ax_jemalloc.m4 \ |
1787 | 113 | $(top_srcdir)/m4/ax_lib_lmdb.m4 \ | 113 | $(top_srcdir)/m4/ax_lib_lmdb.m4 \ |
1788 | 114 | $(top_srcdir)/m4/ax_perl_module.m4 \ | ||
1789 | 115 | $(top_srcdir)/m4/ax_posix_shell.m4 \ | 114 | $(top_srcdir)/m4/ax_posix_shell.m4 \ |
1790 | 116 | $(top_srcdir)/m4/ax_prog_cc_for_build.m4 \ | 115 | $(top_srcdir)/m4/ax_prog_cc_for_build.m4 \ |
1791 | 117 | $(top_srcdir)/m4/ax_pthread.m4 \ | 116 | $(top_srcdir)/m4/ax_pthread.m4 \ |
1792 | 118 | $(top_srcdir)/m4/ax_python_module.m4 \ | ||
1793 | 119 | $(top_srcdir)/m4/ax_restore_flags.m4 \ | 117 | $(top_srcdir)/m4/ax_restore_flags.m4 \ |
1794 | 120 | $(top_srcdir)/m4/ax_save_flags.m4 $(top_srcdir)/m4/ax_tls.m4 \ | 118 | $(top_srcdir)/m4/ax_save_flags.m4 $(top_srcdir)/m4/ax_tls.m4 \ |
1795 | 121 | $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ | 119 | $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ |
1796 | @@ -220,8 +218,6 @@ am__define_uniq_tagged_files = \ | |||
1797 | 220 | unique=`for i in $$list; do \ | 218 | unique=`for i in $$list; do \ |
1798 | 221 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | 219 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
1799 | 222 | done | $(am__uniquify_input)` | 220 | done | $(am__uniquify_input)` |
1800 | 223 | ETAGS = etags | ||
1801 | 224 | CTAGS = ctags | ||
1802 | 225 | am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.top \ | 221 | am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.top \ |
1803 | 226 | $(top_srcdir)/depcomp | 222 | $(top_srcdir)/depcomp |
1804 | 227 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | 223 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
1805 | @@ -246,6 +242,8 @@ CPP = @CPP@ | |||
1806 | 246 | CPPFLAGS = @CPPFLAGS@ | 242 | CPPFLAGS = @CPPFLAGS@ |
1807 | 247 | CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@ | 243 | CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@ |
1808 | 248 | CPP_FOR_BUILD = @CPP_FOR_BUILD@ | 244 | CPP_FOR_BUILD = @CPP_FOR_BUILD@ |
1809 | 245 | CSCOPE = @CSCOPE@ | ||
1810 | 246 | CTAGS = @CTAGS@ | ||
1811 | 249 | CURL = @CURL@ | 247 | CURL = @CURL@ |
1812 | 250 | CYGPATH_W = @CYGPATH_W@ | 248 | CYGPATH_W = @CYGPATH_W@ |
1813 | 251 | DEFS = @DEFS@ | 249 | DEFS = @DEFS@ |
1814 | @@ -261,8 +259,10 @@ ECHO_C = @ECHO_C@ | |||
1815 | 261 | ECHO_N = @ECHO_N@ | 259 | ECHO_N = @ECHO_N@ |
1816 | 262 | ECHO_T = @ECHO_T@ | 260 | ECHO_T = @ECHO_T@ |
1817 | 263 | EGREP = @EGREP@ | 261 | EGREP = @EGREP@ |
1818 | 262 | ETAGS = @ETAGS@ | ||
1819 | 264 | EXEEXT = @EXEEXT@ | 263 | EXEEXT = @EXEEXT@ |
1820 | 265 | FGREP = @FGREP@ | 264 | FGREP = @FGREP@ |
1821 | 265 | FILECMD = @FILECMD@ | ||
1822 | 266 | FSTRM_CAPTURE = @FSTRM_CAPTURE@ | 266 | FSTRM_CAPTURE = @FSTRM_CAPTURE@ |
1823 | 267 | FUZZ_LDFLAGS = @FUZZ_LDFLAGS@ | 267 | FUZZ_LDFLAGS = @FUZZ_LDFLAGS@ |
1824 | 268 | FUZZ_LOG_COMPILER = @FUZZ_LOG_COMPILER@ | 268 | FUZZ_LOG_COMPILER = @FUZZ_LOG_COMPILER@ |
1825 | @@ -710,7 +710,6 @@ cscopelist-am: $(am__tagged_files) | |||
1826 | 710 | 710 | ||
1827 | 711 | distclean-tags: | 711 | distclean-tags: |
1828 | 712 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | 712 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
1829 | 713 | |||
1830 | 714 | distdir: $(BUILT_SOURCES) | 713 | distdir: $(BUILT_SOURCES) |
1831 | 715 | $(MAKE) $(AM_MAKEFLAGS) distdir-am | 714 | $(MAKE) $(AM_MAKEFLAGS) distdir-am |
1832 | 716 | 715 | ||
1833 | diff --git a/bin/dig/dighost.c b/bin/dig/dighost.c | |||
1834 | index 55f7bf2..a8ae79f 100644 | |||
1835 | --- a/bin/dig/dighost.c | |||
1836 | +++ b/bin/dig/dighost.c | |||
1837 | @@ -3249,6 +3249,7 @@ udp_ready(isc_nmhandle_t *handle, isc_result_t eresult, void *arg) { | |||
1838 | 3249 | start_udp(next); | 3249 | start_udp(next); |
1839 | 3250 | check_if_done(); | 3250 | check_if_done(); |
1840 | 3251 | } else { | 3251 | } else { |
1841 | 3252 | dighost_error("no servers could be reached\n"); | ||
1842 | 3252 | clear_current_lookup(); | 3253 | clear_current_lookup(); |
1843 | 3253 | } | 3254 | } |
1844 | 3254 | 3255 | ||
1845 | @@ -3654,6 +3655,7 @@ tcp_connected(isc_nmhandle_t *handle, isc_result_t eresult, void *arg) { | |||
1846 | 3654 | start_tcp(next); | 3655 | start_tcp(next); |
1847 | 3655 | check_if_done(); | 3656 | check_if_done(); |
1848 | 3656 | } else { | 3657 | } else { |
1849 | 3658 | dighost_error("no servers could be reached\n"); | ||
1850 | 3657 | clear_current_lookup(); | 3659 | clear_current_lookup(); |
1851 | 3658 | } | 3660 | } |
1852 | 3659 | 3661 | ||
1853 | diff --git a/bin/dnssec/Makefile.in b/bin/dnssec/Makefile.in | |||
1854 | index 376e259..879b86d 100644 | |||
1855 | --- a/bin/dnssec/Makefile.in | |||
1856 | +++ b/bin/dnssec/Makefile.in | |||
1857 | @@ -1,7 +1,7 @@ | |||
1859 | 1 | # Makefile.in generated by automake 1.16.3 from Makefile.am. | 1 | # Makefile.in generated by automake 1.16.5 from Makefile.am. |
1860 | 2 | # @configure_input@ | 2 | # @configure_input@ |
1861 | 3 | 3 | ||
1863 | 4 | # Copyright (C) 1994-2020 Free Software Foundation, Inc. | 4 | # Copyright (C) 1994-2021 Free Software Foundation, Inc. |
1864 | 5 | 5 | ||
1865 | 6 | # This Makefile.in is free software; the Free Software Foundation | 6 | # This Makefile.in is free software; the Free Software Foundation |
1866 | 7 | # gives unlimited permission to copy and/or distribute it, | 7 | # gives unlimited permission to copy and/or distribute it, |
1867 | @@ -109,11 +109,9 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_compile_flag.m4 \ | |||
1868 | 109 | $(top_srcdir)/m4/ax_gcc_func_attribute.m4 \ | 109 | $(top_srcdir)/m4/ax_gcc_func_attribute.m4 \ |
1869 | 110 | $(top_srcdir)/m4/ax_jemalloc.m4 \ | 110 | $(top_srcdir)/m4/ax_jemalloc.m4 \ |
1870 | 111 | $(top_srcdir)/m4/ax_lib_lmdb.m4 \ | 111 | $(top_srcdir)/m4/ax_lib_lmdb.m4 \ |
1871 | 112 | $(top_srcdir)/m4/ax_perl_module.m4 \ | ||
1872 | 113 | $(top_srcdir)/m4/ax_posix_shell.m4 \ | 112 | $(top_srcdir)/m4/ax_posix_shell.m4 \ |
1873 | 114 | $(top_srcdir)/m4/ax_prog_cc_for_build.m4 \ | 113 | $(top_srcdir)/m4/ax_prog_cc_for_build.m4 \ |
1874 | 115 | $(top_srcdir)/m4/ax_pthread.m4 \ | 114 | $(top_srcdir)/m4/ax_pthread.m4 \ |
1875 | 116 | $(top_srcdir)/m4/ax_python_module.m4 \ | ||
1876 | 117 | $(top_srcdir)/m4/ax_restore_flags.m4 \ | 115 | $(top_srcdir)/m4/ax_restore_flags.m4 \ |
1877 | 118 | $(top_srcdir)/m4/ax_save_flags.m4 $(top_srcdir)/m4/ax_tls.m4 \ | 116 | $(top_srcdir)/m4/ax_save_flags.m4 $(top_srcdir)/m4/ax_tls.m4 \ |
1878 | 119 | $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ | 117 | $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ |
1879 | @@ -253,8 +251,6 @@ am__define_uniq_tagged_files = \ | |||
1880 | 253 | unique=`for i in $$list; do \ | 251 | unique=`for i in $$list; do \ |
1881 | 254 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | 252 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
1882 | 255 | done | $(am__uniquify_input)` | 253 | done | $(am__uniquify_input)` |
1883 | 256 | ETAGS = etags | ||
1884 | 257 | CTAGS = ctags | ||
1885 | 258 | am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.top \ | 254 | am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.top \ |
1886 | 259 | $(top_srcdir)/depcomp | 255 | $(top_srcdir)/depcomp |
1887 | 260 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | 256 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
1888 | @@ -279,6 +275,8 @@ CPP = @CPP@ | |||
1889 | 279 | CPPFLAGS = @CPPFLAGS@ | 275 | CPPFLAGS = @CPPFLAGS@ |
1890 | 280 | CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@ | 276 | CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@ |
1891 | 281 | CPP_FOR_BUILD = @CPP_FOR_BUILD@ | 277 | CPP_FOR_BUILD = @CPP_FOR_BUILD@ |
1892 | 278 | CSCOPE = @CSCOPE@ | ||
1893 | 279 | CTAGS = @CTAGS@ | ||
1894 | 282 | CURL = @CURL@ | 280 | CURL = @CURL@ |
1895 | 283 | CYGPATH_W = @CYGPATH_W@ | 281 | CYGPATH_W = @CYGPATH_W@ |
1896 | 284 | DEFS = @DEFS@ | 282 | DEFS = @DEFS@ |
1897 | @@ -294,8 +292,10 @@ ECHO_C = @ECHO_C@ | |||
1898 | 294 | ECHO_N = @ECHO_N@ | 292 | ECHO_N = @ECHO_N@ |
1899 | 295 | ECHO_T = @ECHO_T@ | 293 | ECHO_T = @ECHO_T@ |
1900 | 296 | EGREP = @EGREP@ | 294 | EGREP = @EGREP@ |
1901 | 295 | ETAGS = @ETAGS@ | ||
1902 | 297 | EXEEXT = @EXEEXT@ | 296 | EXEEXT = @EXEEXT@ |
1903 | 298 | FGREP = @FGREP@ | 297 | FGREP = @FGREP@ |
1904 | 298 | FILECMD = @FILECMD@ | ||
1905 | 299 | FSTRM_CAPTURE = @FSTRM_CAPTURE@ | 299 | FSTRM_CAPTURE = @FSTRM_CAPTURE@ |
1906 | 300 | FUZZ_LDFLAGS = @FUZZ_LDFLAGS@ | 300 | FUZZ_LDFLAGS = @FUZZ_LDFLAGS@ |
1907 | 301 | FUZZ_LOG_COMPILER = @FUZZ_LOG_COMPILER@ | 301 | FUZZ_LOG_COMPILER = @FUZZ_LOG_COMPILER@ |
1908 | @@ -777,7 +777,6 @@ cscopelist-am: $(am__tagged_files) | |||
1909 | 777 | 777 | ||
1910 | 778 | distclean-tags: | 778 | distclean-tags: |
1911 | 779 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | 779 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
1912 | 780 | |||
1913 | 781 | distdir: $(BUILT_SOURCES) | 780 | distdir: $(BUILT_SOURCES) |
1914 | 782 | $(MAKE) $(AM_MAKEFLAGS) distdir-am | 781 | $(MAKE) $(AM_MAKEFLAGS) distdir-am |
1915 | 783 | 782 | ||
1916 | diff --git a/bin/dnssec/dnssec-signzone.c b/bin/dnssec/dnssec-signzone.c | |||
1917 | index f52457c..d67ac3d 100644 | |||
1918 | --- a/bin/dnssec/dnssec-signzone.c | |||
1919 | +++ b/bin/dnssec/dnssec-signzone.c | |||
1920 | @@ -99,7 +99,7 @@ static int nsec_datatype = dns_rdatatype_nsec; | |||
1921 | 99 | "dns_dbiterator_current()") | 99 | "dns_dbiterator_current()") |
1922 | 100 | 100 | ||
1923 | 101 | #define IS_NSEC3 (nsec_datatype == dns_rdatatype_nsec3) | 101 | #define IS_NSEC3 (nsec_datatype == dns_rdatatype_nsec3) |
1925 | 102 | #define OPTOUT(x) (((x)&DNS_NSEC3FLAG_OPTOUT) != 0) | 102 | #define OPTOUT(x) (((x) & DNS_NSEC3FLAG_OPTOUT) != 0) |
1926 | 103 | 103 | ||
1927 | 104 | #define REVOKE(x) ((dst_key_flags(x) & DNS_KEYFLAG_REVOKE) != 0) | 104 | #define REVOKE(x) ((dst_key_flags(x) & DNS_KEYFLAG_REVOKE) != 0) |
1928 | 105 | 105 | ||
1929 | diff --git a/bin/named/Makefile.in b/bin/named/Makefile.in | |||
1930 | index fdd4b33..2b60a43 100644 | |||
1931 | --- a/bin/named/Makefile.in | |||
1932 | +++ b/bin/named/Makefile.in | |||
1933 | @@ -1,7 +1,7 @@ | |||
1935 | 1 | # Makefile.in generated by automake 1.16.3 from Makefile.am. | 1 | # Makefile.in generated by automake 1.16.5 from Makefile.am. |
1936 | 2 | # @configure_input@ | 2 | # @configure_input@ |
1937 | 3 | 3 | ||
1939 | 4 | # Copyright (C) 1994-2020 Free Software Foundation, Inc. | 4 | # Copyright (C) 1994-2021 Free Software Foundation, Inc. |
1940 | 5 | 5 | ||
1941 | 6 | # This Makefile.in is free software; the Free Software Foundation | 6 | # This Makefile.in is free software; the Free Software Foundation |
1942 | 7 | # gives unlimited permission to copy and/or distribute it, | 7 | # gives unlimited permission to copy and/or distribute it, |
1943 | @@ -125,11 +125,9 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_compile_flag.m4 \ | |||
1944 | 125 | $(top_srcdir)/m4/ax_gcc_func_attribute.m4 \ | 125 | $(top_srcdir)/m4/ax_gcc_func_attribute.m4 \ |
1945 | 126 | $(top_srcdir)/m4/ax_jemalloc.m4 \ | 126 | $(top_srcdir)/m4/ax_jemalloc.m4 \ |
1946 | 127 | $(top_srcdir)/m4/ax_lib_lmdb.m4 \ | 127 | $(top_srcdir)/m4/ax_lib_lmdb.m4 \ |
1947 | 128 | $(top_srcdir)/m4/ax_perl_module.m4 \ | ||
1948 | 129 | $(top_srcdir)/m4/ax_posix_shell.m4 \ | 128 | $(top_srcdir)/m4/ax_posix_shell.m4 \ |
1949 | 130 | $(top_srcdir)/m4/ax_prog_cc_for_build.m4 \ | 129 | $(top_srcdir)/m4/ax_prog_cc_for_build.m4 \ |
1950 | 131 | $(top_srcdir)/m4/ax_pthread.m4 \ | 130 | $(top_srcdir)/m4/ax_pthread.m4 \ |
1951 | 132 | $(top_srcdir)/m4/ax_python_module.m4 \ | ||
1952 | 133 | $(top_srcdir)/m4/ax_restore_flags.m4 \ | 131 | $(top_srcdir)/m4/ax_restore_flags.m4 \ |
1953 | 134 | $(top_srcdir)/m4/ax_save_flags.m4 $(top_srcdir)/m4/ax_tls.m4 \ | 132 | $(top_srcdir)/m4/ax_save_flags.m4 $(top_srcdir)/m4/ax_tls.m4 \ |
1954 | 135 | $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ | 133 | $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ |
1955 | @@ -249,8 +247,6 @@ am__define_uniq_tagged_files = \ | |||
1956 | 249 | unique=`for i in $$list; do \ | 247 | unique=`for i in $$list; do \ |
1957 | 250 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | 248 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
1958 | 251 | done | $(am__uniquify_input)` | 249 | done | $(am__uniquify_input)` |
1959 | 252 | ETAGS = etags | ||
1960 | 253 | CTAGS = ctags | ||
1961 | 254 | am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.top \ | 250 | am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.top \ |
1962 | 255 | $(top_srcdir)/depcomp | 251 | $(top_srcdir)/depcomp |
1963 | 256 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | 252 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
1964 | @@ -275,6 +271,8 @@ CPP = @CPP@ | |||
1965 | 275 | CPPFLAGS = @CPPFLAGS@ | 271 | CPPFLAGS = @CPPFLAGS@ |
1966 | 276 | CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@ | 272 | CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@ |
1967 | 277 | CPP_FOR_BUILD = @CPP_FOR_BUILD@ | 273 | CPP_FOR_BUILD = @CPP_FOR_BUILD@ |
1968 | 274 | CSCOPE = @CSCOPE@ | ||
1969 | 275 | CTAGS = @CTAGS@ | ||
1970 | 278 | CURL = @CURL@ | 276 | CURL = @CURL@ |
1971 | 279 | CYGPATH_W = @CYGPATH_W@ | 277 | CYGPATH_W = @CYGPATH_W@ |
1972 | 280 | DEFS = @DEFS@ | 278 | DEFS = @DEFS@ |
1973 | @@ -290,8 +288,10 @@ ECHO_C = @ECHO_C@ | |||
1974 | 290 | ECHO_N = @ECHO_N@ | 288 | ECHO_N = @ECHO_N@ |
1975 | 291 | ECHO_T = @ECHO_T@ | 289 | ECHO_T = @ECHO_T@ |
1976 | 292 | EGREP = @EGREP@ | 290 | EGREP = @EGREP@ |
1977 | 291 | ETAGS = @ETAGS@ | ||
1978 | 293 | EXEEXT = @EXEEXT@ | 292 | EXEEXT = @EXEEXT@ |
1979 | 294 | FGREP = @FGREP@ | 293 | FGREP = @FGREP@ |
1980 | 294 | FILECMD = @FILECMD@ | ||
1981 | 295 | FSTRM_CAPTURE = @FSTRM_CAPTURE@ | 295 | FSTRM_CAPTURE = @FSTRM_CAPTURE@ |
1982 | 296 | FUZZ_LDFLAGS = @FUZZ_LDFLAGS@ | 296 | FUZZ_LDFLAGS = @FUZZ_LDFLAGS@ |
1983 | 297 | FUZZ_LOG_COMPILER = @FUZZ_LOG_COMPILER@ | 297 | FUZZ_LOG_COMPILER = @FUZZ_LOG_COMPILER@ |
1984 | @@ -737,7 +737,6 @@ cscopelist-am: $(am__tagged_files) | |||
1985 | 737 | 737 | ||
1986 | 738 | distclean-tags: | 738 | distclean-tags: |
1987 | 739 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | 739 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
1988 | 740 | |||
1989 | 741 | distdir: $(BUILT_SOURCES) | 740 | distdir: $(BUILT_SOURCES) |
1990 | 742 | $(MAKE) $(AM_MAKEFLAGS) distdir-am | 741 | $(MAKE) $(AM_MAKEFLAGS) distdir-am |
1991 | 743 | 742 | ||
1992 | diff --git a/bin/named/config.c b/bin/named/config.c | |||
1993 | index 7f318a2..f95e433 100644 | |||
1994 | --- a/bin/named/config.c | |||
1995 | +++ b/bin/named/config.c | |||
1996 | @@ -337,14 +337,14 @@ dnssec-policy \"insecure\" {\n\ | |||
1997 | 337 | "# END TRUST ANCHORS\n\ | 337 | "# END TRUST ANCHORS\n\ |
1998 | 338 | \n\ | 338 | \n\ |
1999 | 339 | primaries " DEFAULT_IANA_ROOT_ZONE_PRIMARIES " {\n\ | 339 | primaries " DEFAULT_IANA_ROOT_ZONE_PRIMARIES " {\n\ |
2001 | 340 | 2001:500:200::b; # b.root-servers.net\n\ | 340 | 2801:1b8:10::b; # b.root-servers.net\n\ |
2002 | 341 | 2001:500:2::c; # c.root-servers.net\n\ | 341 | 2001:500:2::c; # c.root-servers.net\n\ |
2003 | 342 | 2001:500:2f::f; # f.root-servers.net\n\ | 342 | 2001:500:2f::f; # f.root-servers.net\n\ |
2004 | 343 | 2001:500:12::d0d; # g.root-servers.net\n\ | 343 | 2001:500:12::d0d; # g.root-servers.net\n\ |
2005 | 344 | 2001:7fd::1; # k.root-servers.net\n\ | 344 | 2001:7fd::1; # k.root-servers.net\n\ |
2006 | 345 | 2620:0:2830:202::132; # xfr.cjr.dns.icann.org\n\ | 345 | 2620:0:2830:202::132; # xfr.cjr.dns.icann.org\n\ |
2007 | 346 | 2620:0:2d0:202::132; # xfr.lax.dns.icann.org\n\ | 346 | 2620:0:2d0:202::132; # xfr.lax.dns.icann.org\n\ |
2009 | 347 | 199.9.14.201; # b.root-servers.net\n\ | 347 | 170.247.170.2; # b.root-servers.net\n\ |
2010 | 348 | 192.33.4.12; # c.root-servers.net\n\ | 348 | 192.33.4.12; # c.root-servers.net\n\ |
2011 | 349 | 192.5.5.241; # f.root-servers.net\n\ | 349 | 192.5.5.241; # f.root-servers.net\n\ |
2012 | 350 | 192.112.36.4; # g.root-servers.net\n\ | 350 | 192.112.36.4; # g.root-servers.net\n\ |
2013 | diff --git a/bin/named/os.c b/bin/named/os.c | |||
2014 | index 7af4729..0222abb 100644 | |||
2015 | --- a/bin/named/os.c | |||
2016 | +++ b/bin/named/os.c | |||
2017 | @@ -552,17 +552,19 @@ cleanup_pidfile(void) { | |||
2018 | 552 | } | 552 | } |
2019 | 553 | 553 | ||
2020 | 554 | static void | 554 | static void |
2022 | 555 | cleanup_lockfile(void) { | 555 | cleanup_lockfile(bool unlink_lockfile) { |
2023 | 556 | if (singletonfd != -1) { | 556 | if (singletonfd != -1) { |
2024 | 557 | close(singletonfd); | 557 | close(singletonfd); |
2025 | 558 | singletonfd = -1; | 558 | singletonfd = -1; |
2026 | 559 | } | 559 | } |
2027 | 560 | 560 | ||
2028 | 561 | if (lockfile != NULL) { | 561 | if (lockfile != NULL) { |
2033 | 562 | int n = unlink(lockfile); | 562 | if (unlink_lockfile) { |
2034 | 563 | if (n == -1 && errno != ENOENT) { | 563 | int n = unlink(lockfile); |
2035 | 564 | named_main_earlywarning("unlink '%s': failed", | 564 | if (n == -1 && errno != ENOENT) { |
2036 | 565 | lockfile); | 565 | named_main_earlywarning("unlink '%s': failed", |
2037 | 566 | lockfile); | ||
2038 | 567 | } | ||
2039 | 566 | } | 568 | } |
2040 | 567 | free(lockfile); | 569 | free(lockfile); |
2041 | 568 | lockfile = NULL; | 570 | lockfile = NULL; |
2042 | @@ -830,7 +832,7 @@ named_os_issingleton(const char *filename) { | |||
2043 | 830 | if (ret == -1) { | 832 | if (ret == -1) { |
2044 | 831 | named_main_earlywarning("couldn't create '%s'", | 833 | named_main_earlywarning("couldn't create '%s'", |
2045 | 832 | filename); | 834 | filename); |
2047 | 833 | cleanup_lockfile(); | 835 | cleanup_lockfile(false); |
2048 | 834 | return (false); | 836 | return (false); |
2049 | 835 | } | 837 | } |
2050 | 836 | } | 838 | } |
2051 | @@ -842,7 +844,7 @@ named_os_issingleton(const char *filename) { | |||
2052 | 842 | singletonfd = open(filename, O_WRONLY | O_CREAT, | 844 | singletonfd = open(filename, O_WRONLY | O_CREAT, |
2053 | 843 | S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); | 845 | S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); |
2054 | 844 | if (singletonfd == -1) { | 846 | if (singletonfd == -1) { |
2056 | 845 | cleanup_lockfile(); | 847 | cleanup_lockfile(false); |
2057 | 846 | return (false); | 848 | return (false); |
2058 | 847 | } | 849 | } |
2059 | 848 | 850 | ||
2060 | @@ -854,8 +856,7 @@ named_os_issingleton(const char *filename) { | |||
2061 | 854 | 856 | ||
2062 | 855 | /* Non-blocking (does not wait for lock) */ | 857 | /* Non-blocking (does not wait for lock) */ |
2063 | 856 | if (fcntl(singletonfd, F_SETLK, &lock) == -1) { | 858 | if (fcntl(singletonfd, F_SETLK, &lock) == -1) { |
2066 | 857 | close(singletonfd); | 859 | cleanup_lockfile(false); |
2065 | 858 | singletonfd = -1; | ||
2067 | 859 | return (false); | 860 | return (false); |
2068 | 860 | } | 861 | } |
2069 | 861 | 862 | ||
2070 | @@ -866,7 +867,7 @@ void | |||
2071 | 866 | named_os_shutdown(void) { | 867 | named_os_shutdown(void) { |
2072 | 867 | closelog(); | 868 | closelog(); |
2073 | 868 | cleanup_pidfile(); | 869 | cleanup_pidfile(); |
2075 | 869 | cleanup_lockfile(); | 870 | cleanup_lockfile(true); |
2076 | 870 | } | 871 | } |
2077 | 871 | 872 | ||
2078 | 872 | void | 873 | void |
2079 | diff --git a/bin/named/server.c b/bin/named/server.c | |||
2080 | index 2f21fc5..bfe6df3 100644 | |||
2081 | --- a/bin/named/server.c | |||
2082 | +++ b/bin/named/server.c | |||
2083 | @@ -8407,8 +8407,8 @@ check_lockfile(named_server_t *server, const cfg_obj_t *config, | |||
2084 | 8407 | (void)named_config_get(maps, "lock-file", &obj); | 8407 | (void)named_config_get(maps, "lock-file", &obj); |
2085 | 8408 | 8408 | ||
2086 | 8409 | if (!first_time) { | 8409 | if (!first_time) { |
2089 | 8410 | if (obj != NULL && !cfg_obj_isstring(obj) && | 8410 | if (obj != NULL && cfg_obj_isstring(obj) && |
2090 | 8411 | server->lockfile != NULL && | 8411 | server->lockfile != NULL && !named_g_forcelock && |
2091 | 8412 | strcmp(cfg_obj_asstring(obj), server->lockfile) != 0) | 8412 | strcmp(cfg_obj_asstring(obj), server->lockfile) != 0) |
2092 | 8413 | { | 8413 | { |
2093 | 8414 | isc_log_write(named_g_lctx, NAMED_LOGCATEGORY_GENERAL, | 8414 | isc_log_write(named_g_lctx, NAMED_LOGCATEGORY_GENERAL, |
2094 | @@ -8422,31 +8422,25 @@ check_lockfile(named_server_t *server, const cfg_obj_t *config, | |||
2095 | 8422 | } | 8422 | } |
2096 | 8423 | 8423 | ||
2097 | 8424 | if (obj != NULL) { | 8424 | if (obj != NULL) { |
2104 | 8425 | if (cfg_obj_isvoid(obj)) { | 8425 | if (named_g_forcelock) { |
2099 | 8426 | isc_log_write(named_g_lctx, NAMED_LOGCATEGORY_GENERAL, | ||
2100 | 8427 | NAMED_LOGMODULE_SERVER, ISC_LOG_DEBUG(1), | ||
2101 | 8428 | "skipping lock-file check "); | ||
2102 | 8429 | return (ISC_R_SUCCESS); | ||
2103 | 8430 | } else if (named_g_forcelock) { | ||
2105 | 8431 | isc_log_write(named_g_lctx, NAMED_LOGCATEGORY_GENERAL, | 8426 | isc_log_write(named_g_lctx, NAMED_LOGCATEGORY_GENERAL, |
2106 | 8432 | NAMED_LOGMODULE_SERVER, ISC_LOG_WARNING, | 8427 | NAMED_LOGMODULE_SERVER, ISC_LOG_WARNING, |
2107 | 8433 | "'lock-file' has no effect " | 8428 | "'lock-file' has no effect " |
2108 | 8434 | "because the server was run with -X"); | 8429 | "because the server was run with -X"); |
2112 | 8435 | server->lockfile = isc_mem_strdup( | 8430 | if (named_g_defaultlockfile != NULL) { |
2113 | 8436 | server->mctx, named_g_defaultlockfile); | 8431 | server->lockfile = isc_mem_strdup( |
2114 | 8437 | } else { | 8432 | server->mctx, named_g_defaultlockfile); |
2115 | 8433 | } | ||
2116 | 8434 | } else if (cfg_obj_isvoid(obj)) { | ||
2117 | 8435 | isc_log_write(named_g_lctx, NAMED_LOGCATEGORY_GENERAL, | ||
2118 | 8436 | NAMED_LOGMODULE_SERVER, ISC_LOG_DEBUG(1), | ||
2119 | 8437 | "skipping lock-file check"); | ||
2120 | 8438 | } else if (cfg_obj_isstring(obj)) { | ||
2121 | 8438 | filename = cfg_obj_asstring(obj); | 8439 | filename = cfg_obj_asstring(obj); |
2122 | 8439 | server->lockfile = isc_mem_strdup(server->mctx, | 8440 | server->lockfile = isc_mem_strdup(server->mctx, |
2123 | 8440 | filename); | 8441 | filename); |
2124 | 8441 | } | 8442 | } |
2133 | 8442 | 8443 | } else if (named_g_forcelock && named_g_defaultlockfile != NULL) { | |
2126 | 8443 | if (server->lockfile == NULL) { | ||
2127 | 8444 | return (ISC_R_NOMEMORY); | ||
2128 | 8445 | } | ||
2129 | 8446 | } | ||
2130 | 8447 | |||
2131 | 8448 | if (named_g_forcelock && named_g_defaultlockfile != NULL) { | ||
2132 | 8449 | INSIST(server->lockfile == NULL); | ||
2134 | 8450 | server->lockfile = isc_mem_strdup(server->mctx, | 8444 | server->lockfile = isc_mem_strdup(server->mctx, |
2135 | 8451 | named_g_defaultlockfile); | 8445 | named_g_defaultlockfile); |
2136 | 8452 | } | 8446 | } |
2137 | @@ -15850,6 +15844,8 @@ named_server_nta(named_server_t *server, isc_lex_t *lex, bool readonly, | |||
2138 | 15850 | * If -dump was specified, list NTA's and return | 15844 | * If -dump was specified, list NTA's and return |
2139 | 15851 | */ | 15845 | */ |
2140 | 15852 | if (dump) { | 15846 | if (dump) { |
2141 | 15847 | size_t last = 0; | ||
2142 | 15848 | |||
2143 | 15853 | for (view = ISC_LIST_HEAD(server->viewlist); view != NULL; | 15849 | for (view = ISC_LIST_HEAD(server->viewlist); view != NULL; |
2144 | 15854 | view = ISC_LIST_NEXT(view, link)) | 15850 | view = ISC_LIST_NEXT(view, link)) |
2145 | 15855 | { | 15851 | { |
2146 | @@ -15861,6 +15857,12 @@ named_server_nta(named_server_t *server, isc_lex_t *lex, bool readonly, | |||
2147 | 15861 | continue; | 15857 | continue; |
2148 | 15862 | } | 15858 | } |
2149 | 15863 | 15859 | ||
2150 | 15860 | if (last != isc_buffer_usedlength(*text)) { | ||
2151 | 15861 | CHECK(putstr(text, "\n")); | ||
2152 | 15862 | } | ||
2153 | 15863 | |||
2154 | 15864 | last = isc_buffer_usedlength(*text); | ||
2155 | 15865 | |||
2156 | 15864 | CHECK(dns_ntatable_totext(ntatable, view->name, text)); | 15866 | CHECK(dns_ntatable_totext(ntatable, view->name, text)); |
2157 | 15865 | } | 15867 | } |
2158 | 15866 | CHECK(putnull(text)); | 15868 | CHECK(putnull(text)); |
2159 | diff --git a/bin/nsupdate/Makefile.in b/bin/nsupdate/Makefile.in | |||
2160 | index 4180e9d..2cda13d 100644 | |||
2161 | --- a/bin/nsupdate/Makefile.in | |||
2162 | +++ b/bin/nsupdate/Makefile.in | |||
2163 | @@ -1,7 +1,7 @@ | |||
2165 | 1 | # Makefile.in generated by automake 1.16.3 from Makefile.am. | 1 | # Makefile.in generated by automake 1.16.5 from Makefile.am. |
2166 | 2 | # @configure_input@ | 2 | # @configure_input@ |
2167 | 3 | 3 | ||
2169 | 4 | # Copyright (C) 1994-2020 Free Software Foundation, Inc. | 4 | # Copyright (C) 1994-2021 Free Software Foundation, Inc. |
2170 | 5 | 5 | ||
2171 | 6 | # This Makefile.in is free software; the Free Software Foundation | 6 | # This Makefile.in is free software; the Free Software Foundation |
2172 | 7 | # gives unlimited permission to copy and/or distribute it, | 7 | # gives unlimited permission to copy and/or distribute it, |
2173 | @@ -107,11 +107,9 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_compile_flag.m4 \ | |||
2174 | 107 | $(top_srcdir)/m4/ax_gcc_func_attribute.m4 \ | 107 | $(top_srcdir)/m4/ax_gcc_func_attribute.m4 \ |
2175 | 108 | $(top_srcdir)/m4/ax_jemalloc.m4 \ | 108 | $(top_srcdir)/m4/ax_jemalloc.m4 \ |
2176 | 109 | $(top_srcdir)/m4/ax_lib_lmdb.m4 \ | 109 | $(top_srcdir)/m4/ax_lib_lmdb.m4 \ |
2177 | 110 | $(top_srcdir)/m4/ax_perl_module.m4 \ | ||
2178 | 111 | $(top_srcdir)/m4/ax_posix_shell.m4 \ | 110 | $(top_srcdir)/m4/ax_posix_shell.m4 \ |
2179 | 112 | $(top_srcdir)/m4/ax_prog_cc_for_build.m4 \ | 111 | $(top_srcdir)/m4/ax_prog_cc_for_build.m4 \ |
2180 | 113 | $(top_srcdir)/m4/ax_pthread.m4 \ | 112 | $(top_srcdir)/m4/ax_pthread.m4 \ |
2181 | 114 | $(top_srcdir)/m4/ax_python_module.m4 \ | ||
2182 | 115 | $(top_srcdir)/m4/ax_restore_flags.m4 \ | 113 | $(top_srcdir)/m4/ax_restore_flags.m4 \ |
2183 | 116 | $(top_srcdir)/m4/ax_save_flags.m4 $(top_srcdir)/m4/ax_tls.m4 \ | 114 | $(top_srcdir)/m4/ax_save_flags.m4 $(top_srcdir)/m4/ax_tls.m4 \ |
2184 | 117 | $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ | 115 | $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ |
2185 | @@ -200,8 +198,6 @@ am__define_uniq_tagged_files = \ | |||
2186 | 200 | unique=`for i in $$list; do \ | 198 | unique=`for i in $$list; do \ |
2187 | 201 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | 199 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
2188 | 202 | done | $(am__uniquify_input)` | 200 | done | $(am__uniquify_input)` |
2189 | 203 | ETAGS = etags | ||
2190 | 204 | CTAGS = ctags | ||
2191 | 205 | am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.top \ | 201 | am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.top \ |
2192 | 206 | $(top_srcdir)/depcomp | 202 | $(top_srcdir)/depcomp |
2193 | 207 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | 203 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
2194 | @@ -226,6 +222,8 @@ CPP = @CPP@ | |||
2195 | 226 | CPPFLAGS = @CPPFLAGS@ | 222 | CPPFLAGS = @CPPFLAGS@ |
2196 | 227 | CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@ | 223 | CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@ |
2197 | 228 | CPP_FOR_BUILD = @CPP_FOR_BUILD@ | 224 | CPP_FOR_BUILD = @CPP_FOR_BUILD@ |
2198 | 225 | CSCOPE = @CSCOPE@ | ||
2199 | 226 | CTAGS = @CTAGS@ | ||
2200 | 229 | CURL = @CURL@ | 227 | CURL = @CURL@ |
2201 | 230 | CYGPATH_W = @CYGPATH_W@ | 228 | CYGPATH_W = @CYGPATH_W@ |
2202 | 231 | DEFS = @DEFS@ | 229 | DEFS = @DEFS@ |
2203 | @@ -241,8 +239,10 @@ ECHO_C = @ECHO_C@ | |||
2204 | 241 | ECHO_N = @ECHO_N@ | 239 | ECHO_N = @ECHO_N@ |
2205 | 242 | ECHO_T = @ECHO_T@ | 240 | ECHO_T = @ECHO_T@ |
2206 | 243 | EGREP = @EGREP@ | 241 | EGREP = @EGREP@ |
2207 | 242 | ETAGS = @ETAGS@ | ||
2208 | 244 | EXEEXT = @EXEEXT@ | 243 | EXEEXT = @EXEEXT@ |
2209 | 245 | FGREP = @FGREP@ | 244 | FGREP = @FGREP@ |
2210 | 245 | FILECMD = @FILECMD@ | ||
2211 | 246 | FSTRM_CAPTURE = @FSTRM_CAPTURE@ | 246 | FSTRM_CAPTURE = @FSTRM_CAPTURE@ |
2212 | 247 | FUZZ_LDFLAGS = @FUZZ_LDFLAGS@ | 247 | FUZZ_LDFLAGS = @FUZZ_LDFLAGS@ |
2213 | 248 | FUZZ_LOG_COMPILER = @FUZZ_LOG_COMPILER@ | 248 | FUZZ_LOG_COMPILER = @FUZZ_LOG_COMPILER@ |
2214 | @@ -649,7 +649,6 @@ cscopelist-am: $(am__tagged_files) | |||
2215 | 649 | 649 | ||
2216 | 650 | distclean-tags: | 650 | distclean-tags: |
2217 | 651 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | 651 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
2218 | 652 | |||
2219 | 653 | distdir: $(BUILT_SOURCES) | 652 | distdir: $(BUILT_SOURCES) |
2220 | 654 | $(MAKE) $(AM_MAKEFLAGS) distdir-am | 653 | $(MAKE) $(AM_MAKEFLAGS) distdir-am |
2221 | 655 | 654 | ||
2222 | diff --git a/bin/nsupdate/nsupdate.c b/bin/nsupdate/nsupdate.c | |||
2223 | index 1f06dab..980d543 100644 | |||
2224 | --- a/bin/nsupdate/nsupdate.c | |||
2225 | +++ b/bin/nsupdate/nsupdate.c | |||
2226 | @@ -369,13 +369,13 @@ reset_system(void) { | |||
2227 | 369 | } | 369 | } |
2228 | 370 | 370 | ||
2229 | 371 | static bool | 371 | static bool |
2231 | 372 | parse_hmac(const dns_name_t **hmac, const char *hmacstr, size_t len, | 372 | parse_hmac(const dns_name_t **hmacp, const char *hmacstr, size_t len, |
2232 | 373 | uint16_t *digestbitsp) { | 373 | uint16_t *digestbitsp) { |
2233 | 374 | uint16_t digestbits = 0; | 374 | uint16_t digestbits = 0; |
2234 | 375 | isc_result_t result; | 375 | isc_result_t result; |
2235 | 376 | char buf[20]; | 376 | char buf[20]; |
2236 | 377 | 377 | ||
2238 | 378 | REQUIRE(hmac != NULL && *hmac == NULL); | 378 | REQUIRE(hmacp != NULL && *hmacp == NULL); |
2239 | 379 | REQUIRE(hmacstr != NULL); | 379 | REQUIRE(hmacstr != NULL); |
2240 | 380 | 380 | ||
2241 | 381 | if (len >= sizeof(buf)) { | 381 | if (len >= sizeof(buf)) { |
2242 | @@ -387,9 +387,9 @@ parse_hmac(const dns_name_t **hmac, const char *hmacstr, size_t len, | |||
2243 | 387 | strlcpy(buf, hmacstr, ISC_MIN(len + 1, sizeof(buf))); | 387 | strlcpy(buf, hmacstr, ISC_MIN(len + 1, sizeof(buf))); |
2244 | 388 | 388 | ||
2245 | 389 | if (strcasecmp(buf, "hmac-md5") == 0) { | 389 | if (strcasecmp(buf, "hmac-md5") == 0) { |
2247 | 390 | *hmac = DNS_TSIG_HMACMD5_NAME; | 390 | *hmacp = DNS_TSIG_HMACMD5_NAME; |
2248 | 391 | } else if (strncasecmp(buf, "hmac-md5-", 9) == 0) { | 391 | } else if (strncasecmp(buf, "hmac-md5-", 9) == 0) { |
2250 | 392 | *hmac = DNS_TSIG_HMACMD5_NAME; | 392 | *hmacp = DNS_TSIG_HMACMD5_NAME; |
2251 | 393 | result = isc_parse_uint16(&digestbits, &buf[9], 10); | 393 | result = isc_parse_uint16(&digestbits, &buf[9], 10); |
2252 | 394 | if (result != ISC_R_SUCCESS || digestbits > 128) { | 394 | if (result != ISC_R_SUCCESS || digestbits > 128) { |
2253 | 395 | error("digest-bits out of range [0..128]"); | 395 | error("digest-bits out of range [0..128]"); |
2254 | @@ -397,9 +397,9 @@ parse_hmac(const dns_name_t **hmac, const char *hmacstr, size_t len, | |||
2255 | 397 | } | 397 | } |
2256 | 398 | *digestbitsp = (digestbits + 7) & ~0x7U; | 398 | *digestbitsp = (digestbits + 7) & ~0x7U; |
2257 | 399 | } else if (strcasecmp(buf, "hmac-sha1") == 0) { | 399 | } else if (strcasecmp(buf, "hmac-sha1") == 0) { |
2259 | 400 | *hmac = DNS_TSIG_HMACSHA1_NAME; | 400 | *hmacp = DNS_TSIG_HMACSHA1_NAME; |
2260 | 401 | } else if (strncasecmp(buf, "hmac-sha1-", 10) == 0) { | 401 | } else if (strncasecmp(buf, "hmac-sha1-", 10) == 0) { |
2262 | 402 | *hmac = DNS_TSIG_HMACSHA1_NAME; | 402 | *hmacp = DNS_TSIG_HMACSHA1_NAME; |
2263 | 403 | result = isc_parse_uint16(&digestbits, &buf[10], 10); | 403 | result = isc_parse_uint16(&digestbits, &buf[10], 10); |
2264 | 404 | if (result != ISC_R_SUCCESS || digestbits > 160) { | 404 | if (result != ISC_R_SUCCESS || digestbits > 160) { |
2265 | 405 | error("digest-bits out of range [0..160]"); | 405 | error("digest-bits out of range [0..160]"); |
2266 | @@ -407,9 +407,9 @@ parse_hmac(const dns_name_t **hmac, const char *hmacstr, size_t len, | |||
2267 | 407 | } | 407 | } |
2268 | 408 | *digestbitsp = (digestbits + 7) & ~0x7U; | 408 | *digestbitsp = (digestbits + 7) & ~0x7U; |
2269 | 409 | } else if (strcasecmp(buf, "hmac-sha224") == 0) { | 409 | } else if (strcasecmp(buf, "hmac-sha224") == 0) { |
2271 | 410 | *hmac = DNS_TSIG_HMACSHA224_NAME; | 410 | *hmacp = DNS_TSIG_HMACSHA224_NAME; |
2272 | 411 | } else if (strncasecmp(buf, "hmac-sha224-", 12) == 0) { | 411 | } else if (strncasecmp(buf, "hmac-sha224-", 12) == 0) { |
2274 | 412 | *hmac = DNS_TSIG_HMACSHA224_NAME; | 412 | *hmacp = DNS_TSIG_HMACSHA224_NAME; |
2275 | 413 | result = isc_parse_uint16(&digestbits, &buf[12], 10); | 413 | result = isc_parse_uint16(&digestbits, &buf[12], 10); |
2276 | 414 | if (result != ISC_R_SUCCESS || digestbits > 224) { | 414 | if (result != ISC_R_SUCCESS || digestbits > 224) { |
2277 | 415 | error("digest-bits out of range [0..224]"); | 415 | error("digest-bits out of range [0..224]"); |
2278 | @@ -417,9 +417,9 @@ parse_hmac(const dns_name_t **hmac, const char *hmacstr, size_t len, | |||
2279 | 417 | } | 417 | } |
2280 | 418 | *digestbitsp = (digestbits + 7) & ~0x7U; | 418 | *digestbitsp = (digestbits + 7) & ~0x7U; |
2281 | 419 | } else if (strcasecmp(buf, "hmac-sha256") == 0) { | 419 | } else if (strcasecmp(buf, "hmac-sha256") == 0) { |
2283 | 420 | *hmac = DNS_TSIG_HMACSHA256_NAME; | 420 | *hmacp = DNS_TSIG_HMACSHA256_NAME; |
2284 | 421 | } else if (strncasecmp(buf, "hmac-sha256-", 12) == 0) { | 421 | } else if (strncasecmp(buf, "hmac-sha256-", 12) == 0) { |
2286 | 422 | *hmac = DNS_TSIG_HMACSHA256_NAME; | 422 | *hmacp = DNS_TSIG_HMACSHA256_NAME; |
2287 | 423 | result = isc_parse_uint16(&digestbits, &buf[12], 10); | 423 | result = isc_parse_uint16(&digestbits, &buf[12], 10); |
2288 | 424 | if (result != ISC_R_SUCCESS || digestbits > 256) { | 424 | if (result != ISC_R_SUCCESS || digestbits > 256) { |
2289 | 425 | error("digest-bits out of range [0..256]"); | 425 | error("digest-bits out of range [0..256]"); |
2290 | @@ -427,9 +427,9 @@ parse_hmac(const dns_name_t **hmac, const char *hmacstr, size_t len, | |||
2291 | 427 | } | 427 | } |
2292 | 428 | *digestbitsp = (digestbits + 7) & ~0x7U; | 428 | *digestbitsp = (digestbits + 7) & ~0x7U; |
2293 | 429 | } else if (strcasecmp(buf, "hmac-sha384") == 0) { | 429 | } else if (strcasecmp(buf, "hmac-sha384") == 0) { |
2295 | 430 | *hmac = DNS_TSIG_HMACSHA384_NAME; | 430 | *hmacp = DNS_TSIG_HMACSHA384_NAME; |
2296 | 431 | } else if (strncasecmp(buf, "hmac-sha384-", 12) == 0) { | 431 | } else if (strncasecmp(buf, "hmac-sha384-", 12) == 0) { |
2298 | 432 | *hmac = DNS_TSIG_HMACSHA384_NAME; | 432 | *hmacp = DNS_TSIG_HMACSHA384_NAME; |
2299 | 433 | result = isc_parse_uint16(&digestbits, &buf[12], 10); | 433 | result = isc_parse_uint16(&digestbits, &buf[12], 10); |
2300 | 434 | if (result != ISC_R_SUCCESS || digestbits > 384) { | 434 | if (result != ISC_R_SUCCESS || digestbits > 384) { |
2301 | 435 | error("digest-bits out of range [0..384]"); | 435 | error("digest-bits out of range [0..384]"); |
2302 | @@ -437,9 +437,9 @@ parse_hmac(const dns_name_t **hmac, const char *hmacstr, size_t len, | |||
2303 | 437 | } | 437 | } |
2304 | 438 | *digestbitsp = (digestbits + 7) & ~0x7U; | 438 | *digestbitsp = (digestbits + 7) & ~0x7U; |
2305 | 439 | } else if (strcasecmp(buf, "hmac-sha512") == 0) { | 439 | } else if (strcasecmp(buf, "hmac-sha512") == 0) { |
2307 | 440 | *hmac = DNS_TSIG_HMACSHA512_NAME; | 440 | *hmacp = DNS_TSIG_HMACSHA512_NAME; |
2308 | 441 | } else if (strncasecmp(buf, "hmac-sha512-", 12) == 0) { | 441 | } else if (strncasecmp(buf, "hmac-sha512-", 12) == 0) { |
2310 | 442 | *hmac = DNS_TSIG_HMACSHA512_NAME; | 442 | *hmacp = DNS_TSIG_HMACSHA512_NAME; |
2311 | 443 | result = isc_parse_uint16(&digestbits, &buf[12], 10); | 443 | result = isc_parse_uint16(&digestbits, &buf[12], 10); |
2312 | 444 | if (result != ISC_R_SUCCESS || digestbits > 512) { | 444 | if (result != ISC_R_SUCCESS || digestbits > 512) { |
2313 | 445 | error("digest-bits out of range [0..512]"); | 445 | error("digest-bits out of range [0..512]"); |
2314 | @@ -2594,6 +2594,8 @@ recvsoa(isc_task_t *task, isc_event_t *event) { | |||
2315 | 2594 | result = dns_request_getresponse(request, rcvmsg, | 2594 | result = dns_request_getresponse(request, rcvmsg, |
2316 | 2595 | DNS_MESSAGEPARSE_PRESERVEORDER); | 2595 | DNS_MESSAGEPARSE_PRESERVEORDER); |
2317 | 2596 | if (result == DNS_R_TSIGERRORSET && servers != NULL) { | 2596 | if (result == DNS_R_TSIGERRORSET && servers != NULL) { |
2318 | 2597 | unsigned int options = 0; | ||
2319 | 2598 | |||
2320 | 2597 | dns_message_detach(&rcvmsg); | 2599 | dns_message_detach(&rcvmsg); |
2321 | 2598 | ddebug("Destroying request [%p]", request); | 2600 | ddebug("Destroying request [%p]", request); |
2322 | 2599 | dns_request_destroy(&request); | 2601 | dns_request_destroy(&request); |
2323 | @@ -2603,6 +2605,10 @@ recvsoa(isc_task_t *task, isc_event_t *event) { | |||
2324 | 2603 | dns_message_renderreset(soaquery); | 2605 | dns_message_renderreset(soaquery); |
2325 | 2604 | ddebug("retrying soa request without TSIG"); | 2606 | ddebug("retrying soa request without TSIG"); |
2326 | 2605 | 2607 | ||
2327 | 2608 | if (!default_servers && usevc) { | ||
2328 | 2609 | options |= DNS_REQUESTOPT_TCP; | ||
2329 | 2610 | } | ||
2330 | 2611 | |||
2331 | 2606 | if (isc_sockaddr_pf(addr) == AF_INET6) { | 2612 | if (isc_sockaddr_pf(addr) == AF_INET6) { |
2332 | 2607 | srcaddr = localaddr6; | 2613 | srcaddr = localaddr6; |
2333 | 2608 | } else { | 2614 | } else { |
2334 | @@ -2610,7 +2616,7 @@ recvsoa(isc_task_t *task, isc_event_t *event) { | |||
2335 | 2610 | } | 2616 | } |
2336 | 2611 | 2617 | ||
2337 | 2612 | result = dns_request_create(requestmgr, soaquery, srcaddr, addr, | 2618 | result = dns_request_create(requestmgr, soaquery, srcaddr, addr, |
2339 | 2613 | 0, NULL, timeout, udp_timeout, | 2619 | options, NULL, timeout, udp_timeout, |
2340 | 2614 | udp_retries, global_task, recvsoa, | 2620 | udp_retries, global_task, recvsoa, |
2341 | 2615 | reqinfo, &request); | 2621 | reqinfo, &request); |
2342 | 2616 | check_result(result, "dns_request_create"); | 2622 | check_result(result, "dns_request_create"); |
2343 | @@ -2825,6 +2831,11 @@ sendrequest(isc_sockaddr_t *destaddr, dns_message_t *msg, | |||
2344 | 2825 | isc_result_t result; | 2831 | isc_result_t result; |
2345 | 2826 | nsu_requestinfo_t *reqinfo; | 2832 | nsu_requestinfo_t *reqinfo; |
2346 | 2827 | isc_sockaddr_t *srcaddr; | 2833 | isc_sockaddr_t *srcaddr; |
2347 | 2834 | unsigned int options = 0; | ||
2348 | 2835 | |||
2349 | 2836 | if (!default_servers && usevc) { | ||
2350 | 2837 | options |= DNS_REQUESTOPT_TCP; | ||
2351 | 2838 | } | ||
2352 | 2828 | 2839 | ||
2353 | 2829 | reqinfo = isc_mem_get(gmctx, sizeof(nsu_requestinfo_t)); | 2840 | reqinfo = isc_mem_get(gmctx, sizeof(nsu_requestinfo_t)); |
2354 | 2830 | reqinfo->msg = msg; | 2841 | reqinfo->msg = msg; |
2355 | @@ -2836,7 +2847,7 @@ sendrequest(isc_sockaddr_t *destaddr, dns_message_t *msg, | |||
2356 | 2836 | srcaddr = localaddr4; | 2847 | srcaddr = localaddr4; |
2357 | 2837 | } | 2848 | } |
2358 | 2838 | 2849 | ||
2360 | 2839 | result = dns_request_create(requestmgr, msg, srcaddr, destaddr, 0, | 2850 | result = dns_request_create(requestmgr, msg, srcaddr, destaddr, options, |
2361 | 2840 | default_servers ? NULL : tsigkey, timeout, | 2851 | default_servers ? NULL : tsigkey, timeout, |
2362 | 2841 | udp_timeout, udp_retries, global_task, | 2852 | udp_timeout, udp_retries, global_task, |
2363 | 2842 | recvsoa, reqinfo, request); | 2853 | recvsoa, reqinfo, request); |
2364 | diff --git a/bin/plugins/Makefile.in b/bin/plugins/Makefile.in | |||
2365 | index 33a0766..535ef2e 100644 | |||
2366 | --- a/bin/plugins/Makefile.in | |||
2367 | +++ b/bin/plugins/Makefile.in | |||
2368 | @@ -1,7 +1,7 @@ | |||
2370 | 1 | # Makefile.in generated by automake 1.16.3 from Makefile.am. | 1 | # Makefile.in generated by automake 1.16.5 from Makefile.am. |
2371 | 2 | # @configure_input@ | 2 | # @configure_input@ |
2372 | 3 | 3 | ||
2374 | 4 | # Copyright (C) 1994-2020 Free Software Foundation, Inc. | 4 | # Copyright (C) 1994-2021 Free Software Foundation, Inc. |
2375 | 5 | 5 | ||
2376 | 6 | # This Makefile.in is free software; the Free Software Foundation | 6 | # This Makefile.in is free software; the Free Software Foundation |
2377 | 7 | # gives unlimited permission to copy and/or distribute it, | 7 | # gives unlimited permission to copy and/or distribute it, |
2378 | @@ -103,11 +103,9 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_compile_flag.m4 \ | |||
2379 | 103 | $(top_srcdir)/m4/ax_gcc_func_attribute.m4 \ | 103 | $(top_srcdir)/m4/ax_gcc_func_attribute.m4 \ |
2380 | 104 | $(top_srcdir)/m4/ax_jemalloc.m4 \ | 104 | $(top_srcdir)/m4/ax_jemalloc.m4 \ |
2381 | 105 | $(top_srcdir)/m4/ax_lib_lmdb.m4 \ | 105 | $(top_srcdir)/m4/ax_lib_lmdb.m4 \ |
2382 | 106 | $(top_srcdir)/m4/ax_perl_module.m4 \ | ||
2383 | 107 | $(top_srcdir)/m4/ax_posix_shell.m4 \ | 106 | $(top_srcdir)/m4/ax_posix_shell.m4 \ |
2384 | 108 | $(top_srcdir)/m4/ax_prog_cc_for_build.m4 \ | 107 | $(top_srcdir)/m4/ax_prog_cc_for_build.m4 \ |
2385 | 109 | $(top_srcdir)/m4/ax_pthread.m4 \ | 108 | $(top_srcdir)/m4/ax_pthread.m4 \ |
2386 | 110 | $(top_srcdir)/m4/ax_python_module.m4 \ | ||
2387 | 111 | $(top_srcdir)/m4/ax_restore_flags.m4 \ | 109 | $(top_srcdir)/m4/ax_restore_flags.m4 \ |
2388 | 112 | $(top_srcdir)/m4/ax_save_flags.m4 $(top_srcdir)/m4/ax_tls.m4 \ | 110 | $(top_srcdir)/m4/ax_save_flags.m4 $(top_srcdir)/m4/ax_tls.m4 \ |
2389 | 113 | $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ | 111 | $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ |
2390 | @@ -228,8 +226,6 @@ am__define_uniq_tagged_files = \ | |||
2391 | 228 | unique=`for i in $$list; do \ | 226 | unique=`for i in $$list; do \ |
2392 | 229 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | 227 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
2393 | 230 | done | $(am__uniquify_input)` | 228 | done | $(am__uniquify_input)` |
2394 | 231 | ETAGS = etags | ||
2395 | 232 | CTAGS = ctags | ||
2396 | 233 | am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.top \ | 229 | am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.top \ |
2397 | 234 | $(top_srcdir)/depcomp | 230 | $(top_srcdir)/depcomp |
2398 | 235 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | 231 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
2399 | @@ -254,6 +250,8 @@ CPP = @CPP@ | |||
2400 | 254 | CPPFLAGS = @CPPFLAGS@ | 250 | CPPFLAGS = @CPPFLAGS@ |
2401 | 255 | CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@ | 251 | CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@ |
2402 | 256 | CPP_FOR_BUILD = @CPP_FOR_BUILD@ | 252 | CPP_FOR_BUILD = @CPP_FOR_BUILD@ |
2403 | 253 | CSCOPE = @CSCOPE@ | ||
2404 | 254 | CTAGS = @CTAGS@ | ||
2405 | 257 | CURL = @CURL@ | 255 | CURL = @CURL@ |
2406 | 258 | CYGPATH_W = @CYGPATH_W@ | 256 | CYGPATH_W = @CYGPATH_W@ |
2407 | 259 | DEFS = @DEFS@ | 257 | DEFS = @DEFS@ |
2408 | @@ -269,8 +267,10 @@ ECHO_C = @ECHO_C@ | |||
2409 | 269 | ECHO_N = @ECHO_N@ | 267 | ECHO_N = @ECHO_N@ |
2410 | 270 | ECHO_T = @ECHO_T@ | 268 | ECHO_T = @ECHO_T@ |
2411 | 271 | EGREP = @EGREP@ | 269 | EGREP = @EGREP@ |
2412 | 270 | ETAGS = @ETAGS@ | ||
2413 | 272 | EXEEXT = @EXEEXT@ | 271 | EXEEXT = @EXEEXT@ |
2414 | 273 | FGREP = @FGREP@ | 272 | FGREP = @FGREP@ |
2415 | 273 | FILECMD = @FILECMD@ | ||
2416 | 274 | FSTRM_CAPTURE = @FSTRM_CAPTURE@ | 274 | FSTRM_CAPTURE = @FSTRM_CAPTURE@ |
2417 | 275 | FUZZ_LDFLAGS = @FUZZ_LDFLAGS@ | 275 | FUZZ_LDFLAGS = @FUZZ_LDFLAGS@ |
2418 | 276 | FUZZ_LOG_COMPILER = @FUZZ_LOG_COMPILER@ | 276 | FUZZ_LOG_COMPILER = @FUZZ_LOG_COMPILER@ |
2419 | @@ -664,7 +664,6 @@ cscopelist-am: $(am__tagged_files) | |||
2420 | 664 | 664 | ||
2421 | 665 | distclean-tags: | 665 | distclean-tags: |
2422 | 666 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | 666 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
2423 | 667 | |||
2424 | 668 | distdir: $(BUILT_SOURCES) | 667 | distdir: $(BUILT_SOURCES) |
2425 | 669 | $(MAKE) $(AM_MAKEFLAGS) distdir-am | 668 | $(MAKE) $(AM_MAKEFLAGS) distdir-am |
2426 | 670 | 669 | ||
2427 | diff --git a/bin/rndc/Makefile.in b/bin/rndc/Makefile.in | |||
2428 | index f1c7acd..2778f58 100644 | |||
2429 | --- a/bin/rndc/Makefile.in | |||
2430 | +++ b/bin/rndc/Makefile.in | |||
2431 | @@ -1,7 +1,7 @@ | |||
2433 | 1 | # Makefile.in generated by automake 1.16.3 from Makefile.am. | 1 | # Makefile.in generated by automake 1.16.5 from Makefile.am. |
2434 | 2 | # @configure_input@ | 2 | # @configure_input@ |
2435 | 3 | 3 | ||
2437 | 4 | # Copyright (C) 1994-2020 Free Software Foundation, Inc. | 4 | # Copyright (C) 1994-2021 Free Software Foundation, Inc. |
2438 | 5 | 5 | ||
2439 | 6 | # This Makefile.in is free software; the Free Software Foundation | 6 | # This Makefile.in is free software; the Free Software Foundation |
2440 | 7 | # gives unlimited permission to copy and/or distribute it, | 7 | # gives unlimited permission to copy and/or distribute it, |
2441 | @@ -104,11 +104,9 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_compile_flag.m4 \ | |||
2442 | 104 | $(top_srcdir)/m4/ax_gcc_func_attribute.m4 \ | 104 | $(top_srcdir)/m4/ax_gcc_func_attribute.m4 \ |
2443 | 105 | $(top_srcdir)/m4/ax_jemalloc.m4 \ | 105 | $(top_srcdir)/m4/ax_jemalloc.m4 \ |
2444 | 106 | $(top_srcdir)/m4/ax_lib_lmdb.m4 \ | 106 | $(top_srcdir)/m4/ax_lib_lmdb.m4 \ |
2445 | 107 | $(top_srcdir)/m4/ax_perl_module.m4 \ | ||
2446 | 108 | $(top_srcdir)/m4/ax_posix_shell.m4 \ | 107 | $(top_srcdir)/m4/ax_posix_shell.m4 \ |
2447 | 109 | $(top_srcdir)/m4/ax_prog_cc_for_build.m4 \ | 108 | $(top_srcdir)/m4/ax_prog_cc_for_build.m4 \ |
2448 | 110 | $(top_srcdir)/m4/ax_pthread.m4 \ | 109 | $(top_srcdir)/m4/ax_pthread.m4 \ |
2449 | 111 | $(top_srcdir)/m4/ax_python_module.m4 \ | ||
2450 | 112 | $(top_srcdir)/m4/ax_restore_flags.m4 \ | 110 | $(top_srcdir)/m4/ax_restore_flags.m4 \ |
2451 | 113 | $(top_srcdir)/m4/ax_save_flags.m4 $(top_srcdir)/m4/ax_tls.m4 \ | 111 | $(top_srcdir)/m4/ax_save_flags.m4 $(top_srcdir)/m4/ax_tls.m4 \ |
2452 | 114 | $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ | 112 | $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ |
2453 | @@ -192,8 +190,6 @@ am__define_uniq_tagged_files = \ | |||
2454 | 192 | unique=`for i in $$list; do \ | 190 | unique=`for i in $$list; do \ |
2455 | 193 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | 191 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
2456 | 194 | done | $(am__uniquify_input)` | 192 | done | $(am__uniquify_input)` |
2457 | 195 | ETAGS = etags | ||
2458 | 196 | CTAGS = ctags | ||
2459 | 197 | am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.top \ | 193 | am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.top \ |
2460 | 198 | $(top_srcdir)/depcomp | 194 | $(top_srcdir)/depcomp |
2461 | 199 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | 195 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
2462 | @@ -218,6 +214,8 @@ CPP = @CPP@ | |||
2463 | 218 | CPPFLAGS = @CPPFLAGS@ | 214 | CPPFLAGS = @CPPFLAGS@ |
2464 | 219 | CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@ | 215 | CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@ |
2465 | 220 | CPP_FOR_BUILD = @CPP_FOR_BUILD@ | 216 | CPP_FOR_BUILD = @CPP_FOR_BUILD@ |
2466 | 217 | CSCOPE = @CSCOPE@ | ||
2467 | 218 | CTAGS = @CTAGS@ | ||
2468 | 221 | CURL = @CURL@ | 219 | CURL = @CURL@ |
2469 | 222 | CYGPATH_W = @CYGPATH_W@ | 220 | CYGPATH_W = @CYGPATH_W@ |
2470 | 223 | DEFS = @DEFS@ | 221 | DEFS = @DEFS@ |
2471 | @@ -233,8 +231,10 @@ ECHO_C = @ECHO_C@ | |||
2472 | 233 | ECHO_N = @ECHO_N@ | 231 | ECHO_N = @ECHO_N@ |
2473 | 234 | ECHO_T = @ECHO_T@ | 232 | ECHO_T = @ECHO_T@ |
2474 | 235 | EGREP = @EGREP@ | 233 | EGREP = @EGREP@ |
2475 | 234 | ETAGS = @ETAGS@ | ||
2476 | 236 | EXEEXT = @EXEEXT@ | 235 | EXEEXT = @EXEEXT@ |
2477 | 237 | FGREP = @FGREP@ | 236 | FGREP = @FGREP@ |
2478 | 237 | FILECMD = @FILECMD@ | ||
2479 | 238 | FSTRM_CAPTURE = @FSTRM_CAPTURE@ | 238 | FSTRM_CAPTURE = @FSTRM_CAPTURE@ |
2480 | 239 | FUZZ_LDFLAGS = @FUZZ_LDFLAGS@ | 239 | FUZZ_LDFLAGS = @FUZZ_LDFLAGS@ |
2481 | 240 | FUZZ_LOG_COMPILER = @FUZZ_LOG_COMPILER@ | 240 | FUZZ_LOG_COMPILER = @FUZZ_LOG_COMPILER@ |
2482 | @@ -649,7 +649,6 @@ cscopelist-am: $(am__tagged_files) | |||
2483 | 649 | 649 | ||
2484 | 650 | distclean-tags: | 650 | distclean-tags: |
2485 | 651 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | 651 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
2486 | 652 | |||
2487 | 653 | distdir: $(BUILT_SOURCES) | 652 | distdir: $(BUILT_SOURCES) |
2488 | 654 | $(MAKE) $(AM_MAKEFLAGS) distdir-am | 653 | $(MAKE) $(AM_MAKEFLAGS) distdir-am |
2489 | 655 | 654 | ||
2490 | diff --git a/bin/rndc/rndc.rst b/bin/rndc/rndc.rst | |||
2491 | index 35a4f31..f34975b 100644 | |||
2492 | --- a/bin/rndc/rndc.rst | |||
2493 | +++ b/bin/rndc/rndc.rst | |||
2494 | @@ -428,6 +428,7 @@ Currently supported commands are: | |||
2495 | 428 | .. option:: zone [class [view]] | 428 | .. option:: zone [class [view]] |
2496 | 429 | 429 | ||
2497 | 430 | If a zone is specified, this command reloads only the given zone. | 430 | If a zone is specified, this command reloads only the given zone. |
2498 | 431 | If no zone is specified, the reloading happens asynchronously. | ||
2499 | 431 | 432 | ||
2500 | 432 | .. program:: rndc | 433 | .. program:: rndc |
2501 | 433 | 434 | ||
2502 | @@ -594,7 +595,8 @@ Currently supported commands are: | |||
2503 | 594 | refused. If the zone has changed and the ``ixfr-from-differences`` | 595 | refused. If the zone has changed and the ``ixfr-from-differences`` |
2504 | 595 | option is in use, the journal file is updated to reflect | 596 | option is in use, the journal file is updated to reflect |
2505 | 596 | changes in the zone. Otherwise, if the zone has changed, any existing | 597 | changes in the zone. Otherwise, if the zone has changed, any existing |
2507 | 597 | journal file is removed. | 598 | journal file is removed. If no zone is specified, the reloading happens |
2508 | 599 | asynchronously. | ||
2509 | 598 | 600 | ||
2510 | 599 | See also :option:`rndc freeze`. | 601 | See also :option:`rndc freeze`. |
2511 | 600 | 602 | ||
2512 | diff --git a/bin/tests/Makefile.in b/bin/tests/Makefile.in | |||
2513 | index dad6a21..bb0b392 100644 | |||
2514 | --- a/bin/tests/Makefile.in | |||
2515 | +++ b/bin/tests/Makefile.in | |||
2516 | @@ -1,7 +1,7 @@ | |||
2518 | 1 | # Makefile.in generated by automake 1.16.3 from Makefile.am. | 1 | # Makefile.in generated by automake 1.16.5 from Makefile.am. |
2519 | 2 | # @configure_input@ | 2 | # @configure_input@ |
2520 | 3 | 3 | ||
2522 | 4 | # Copyright (C) 1994-2020 Free Software Foundation, Inc. | 4 | # Copyright (C) 1994-2021 Free Software Foundation, Inc. |
2523 | 5 | 5 | ||
2524 | 6 | # This Makefile.in is free software; the Free Software Foundation | 6 | # This Makefile.in is free software; the Free Software Foundation |
2525 | 7 | # gives unlimited permission to copy and/or distribute it, | 7 | # gives unlimited permission to copy and/or distribute it, |
2526 | @@ -105,11 +105,9 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_compile_flag.m4 \ | |||
2527 | 105 | $(top_srcdir)/m4/ax_gcc_func_attribute.m4 \ | 105 | $(top_srcdir)/m4/ax_gcc_func_attribute.m4 \ |
2528 | 106 | $(top_srcdir)/m4/ax_jemalloc.m4 \ | 106 | $(top_srcdir)/m4/ax_jemalloc.m4 \ |
2529 | 107 | $(top_srcdir)/m4/ax_lib_lmdb.m4 \ | 107 | $(top_srcdir)/m4/ax_lib_lmdb.m4 \ |
2530 | 108 | $(top_srcdir)/m4/ax_perl_module.m4 \ | ||
2531 | 109 | $(top_srcdir)/m4/ax_posix_shell.m4 \ | 108 | $(top_srcdir)/m4/ax_posix_shell.m4 \ |
2532 | 110 | $(top_srcdir)/m4/ax_prog_cc_for_build.m4 \ | 109 | $(top_srcdir)/m4/ax_prog_cc_for_build.m4 \ |
2533 | 111 | $(top_srcdir)/m4/ax_pthread.m4 \ | 110 | $(top_srcdir)/m4/ax_pthread.m4 \ |
2534 | 112 | $(top_srcdir)/m4/ax_python_module.m4 \ | ||
2535 | 113 | $(top_srcdir)/m4/ax_restore_flags.m4 \ | 111 | $(top_srcdir)/m4/ax_restore_flags.m4 \ |
2536 | 114 | $(top_srcdir)/m4/ax_save_flags.m4 $(top_srcdir)/m4/ax_tls.m4 \ | 112 | $(top_srcdir)/m4/ax_save_flags.m4 $(top_srcdir)/m4/ax_tls.m4 \ |
2537 | 115 | $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ | 113 | $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ |
2538 | @@ -215,8 +213,6 @@ am__define_uniq_tagged_files = \ | |||
2539 | 215 | unique=`for i in $$list; do \ | 213 | unique=`for i in $$list; do \ |
2540 | 216 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | 214 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
2541 | 217 | done | $(am__uniquify_input)` | 215 | done | $(am__uniquify_input)` |
2542 | 218 | ETAGS = etags | ||
2543 | 219 | CTAGS = ctags | ||
2544 | 220 | DIST_SUBDIRS = $(SUBDIRS) | 216 | DIST_SUBDIRS = $(SUBDIRS) |
2545 | 221 | am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.top \ | 217 | am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.top \ |
2546 | 222 | $(top_srcdir)/depcomp | 218 | $(top_srcdir)/depcomp |
2547 | @@ -267,6 +263,8 @@ CPP = @CPP@ | |||
2548 | 267 | CPPFLAGS = @CPPFLAGS@ | 263 | CPPFLAGS = @CPPFLAGS@ |
2549 | 268 | CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@ | 264 | CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@ |
2550 | 269 | CPP_FOR_BUILD = @CPP_FOR_BUILD@ | 265 | CPP_FOR_BUILD = @CPP_FOR_BUILD@ |
2551 | 266 | CSCOPE = @CSCOPE@ | ||
2552 | 267 | CTAGS = @CTAGS@ | ||
2553 | 270 | CURL = @CURL@ | 268 | CURL = @CURL@ |
2554 | 271 | CYGPATH_W = @CYGPATH_W@ | 269 | CYGPATH_W = @CYGPATH_W@ |
2555 | 272 | DEFS = @DEFS@ | 270 | DEFS = @DEFS@ |
2556 | @@ -282,8 +280,10 @@ ECHO_C = @ECHO_C@ | |||
2557 | 282 | ECHO_N = @ECHO_N@ | 280 | ECHO_N = @ECHO_N@ |
2558 | 283 | ECHO_T = @ECHO_T@ | 281 | ECHO_T = @ECHO_T@ |
2559 | 284 | EGREP = @EGREP@ | 282 | EGREP = @EGREP@ |
2560 | 283 | ETAGS = @ETAGS@ | ||
2561 | 285 | EXEEXT = @EXEEXT@ | 284 | EXEEXT = @EXEEXT@ |
2562 | 286 | FGREP = @FGREP@ | 285 | FGREP = @FGREP@ |
2563 | 286 | FILECMD = @FILECMD@ | ||
2564 | 287 | FSTRM_CAPTURE = @FSTRM_CAPTURE@ | 287 | FSTRM_CAPTURE = @FSTRM_CAPTURE@ |
2565 | 288 | FUZZ_LDFLAGS = @FUZZ_LDFLAGS@ | 288 | FUZZ_LDFLAGS = @FUZZ_LDFLAGS@ |
2566 | 289 | FUZZ_LOG_COMPILER = @FUZZ_LOG_COMPILER@ | 289 | FUZZ_LOG_COMPILER = @FUZZ_LOG_COMPILER@ |
2567 | @@ -769,7 +769,6 @@ cscopelist-am: $(am__tagged_files) | |||
2568 | 769 | 769 | ||
2569 | 770 | distclean-tags: | 770 | distclean-tags: |
2570 | 771 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | 771 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
2571 | 772 | |||
2572 | 773 | distdir: $(BUILT_SOURCES) | 772 | distdir: $(BUILT_SOURCES) |
2573 | 774 | $(MAKE) $(AM_MAKEFLAGS) distdir-am | 773 | $(MAKE) $(AM_MAKEFLAGS) distdir-am |
2574 | 775 | 774 | ||
2575 | diff --git a/bin/tests/system/Makefile.am b/bin/tests/system/Makefile.am | |||
2576 | index f98be0b..befd512 100644 | |||
2577 | --- a/bin/tests/system/Makefile.am | |||
2578 | +++ b/bin/tests/system/Makefile.am | |||
2579 | @@ -18,8 +18,10 @@ LDADD += \ | |||
2580 | 18 | $(LIBISC_LIBS) | 18 | $(LIBISC_LIBS) |
2581 | 19 | 19 | ||
2582 | 20 | if HAVE_PERL | 20 | if HAVE_PERL |
2583 | 21 | if HAVE_PYTHON | ||
2584 | 22 | if HAVE_PYTEST | ||
2585 | 21 | 23 | ||
2587 | 22 | check_PROGRAMS = \ | 24 | noinst_PROGRAMS = \ |
2588 | 23 | feature-test \ | 25 | feature-test \ |
2589 | 24 | makejournal \ | 26 | makejournal \ |
2590 | 25 | pipelined/pipequeries \ | 27 | pipelined/pipequeries \ |
2591 | @@ -81,23 +83,14 @@ tkey_keydelete_LDADD = \ | |||
2592 | 81 | $(LDADD) \ | 83 | $(LDADD) \ |
2593 | 82 | $(LIBDNS_LIBS) | 84 | $(LIBDNS_LIBS) |
2594 | 83 | 85 | ||
2612 | 84 | TESTS = | 86 | # Longer running tests are listed (and executed) first to take the most |
2613 | 85 | 87 | # advantage of parallel execution. | |
2614 | 86 | if HAVE_PERLMOD_TIME_HIRES | 88 | TESTS = \ |
2615 | 87 | TESTS += serve-stale | 89 | rpz \ |
2616 | 88 | endif HAVE_PERLMOD_TIME_HIRES | 90 | rpzrecurse \ |
2617 | 89 | 91 | serve-stale \ | |
2618 | 90 | if HAVE_PERLMOD_NET_DNS | 92 | timeouts \ |
2619 | 91 | TESTS += \ | 93 | upforwd \ |
2603 | 92 | rpzrecurse | ||
2604 | 93 | endif HAVE_PERLMOD_NET_DNS | ||
2605 | 94 | |||
2606 | 95 | if HAVE_LIBNGHTTP2 | ||
2607 | 96 | TESTS += \ | ||
2608 | 97 | doth | ||
2609 | 98 | endif | ||
2610 | 99 | |||
2611 | 100 | TESTS += \ | ||
2620 | 101 | acl \ | 94 | acl \ |
2621 | 102 | additional \ | 95 | additional \ |
2622 | 103 | addzone \ | 96 | addzone \ |
2623 | @@ -109,13 +102,21 @@ TESTS += \ | |||
2624 | 109 | case \ | 102 | case \ |
2625 | 110 | catz \ | 103 | catz \ |
2626 | 111 | cds \ | 104 | cds \ |
2627 | 105 | chain \ | ||
2628 | 112 | checkconf \ | 106 | checkconf \ |
2629 | 107 | checkds \ | ||
2630 | 113 | checknames \ | 108 | checknames \ |
2631 | 114 | checkzone \ | 109 | checkzone \ |
2632 | 110 | cookie \ | ||
2633 | 115 | database \ | 111 | database \ |
2634 | 116 | dialup \ | 112 | dialup \ |
2635 | 113 | digdelv \ | ||
2636 | 114 | dispatch \ | ||
2637 | 117 | dlzexternal \ | 115 | dlzexternal \ |
2638 | 118 | dns64 \ | 116 | dns64 \ |
2639 | 117 | dnssec \ | ||
2640 | 118 | dnstap \ | ||
2641 | 119 | doth \ | ||
2642 | 119 | dsdigest \ | 120 | dsdigest \ |
2643 | 120 | dupsigs \ | 121 | dupsigs \ |
2644 | 121 | dyndb \ | 122 | dyndb \ |
2645 | @@ -125,18 +126,23 @@ TESTS += \ | |||
2646 | 125 | emptyzones \ | 126 | emptyzones \ |
2647 | 126 | enginepkcs11 \ | 127 | enginepkcs11 \ |
2648 | 127 | filter-aaaa \ | 128 | filter-aaaa \ |
2649 | 129 | fetchlimit \ | ||
2650 | 128 | formerr \ | 130 | formerr \ |
2651 | 131 | forward \ | ||
2652 | 129 | geoip2 \ | 132 | geoip2 \ |
2653 | 130 | glue \ | 133 | glue \ |
2654 | 131 | idna \ | 134 | idna \ |
2655 | 132 | include-multiplecfg \ | 135 | include-multiplecfg \ |
2656 | 133 | inline \ | 136 | inline \ |
2657 | 134 | integrity \ | 137 | integrity \ |
2658 | 138 | ixfr \ | ||
2659 | 135 | hooks \ | 139 | hooks \ |
2660 | 136 | host \ | 140 | host \ |
2661 | 137 | journal \ | 141 | journal \ |
2662 | 142 | kasp \ | ||
2663 | 138 | keepalive \ | 143 | keepalive \ |
2664 | 139 | keyfromlabel \ | 144 | keyfromlabel \ |
2665 | 145 | keymgr2kasp \ | ||
2666 | 140 | legacy \ | 146 | legacy \ |
2667 | 141 | limits \ | 147 | limits \ |
2668 | 142 | logfileconfig \ | 148 | logfileconfig \ |
2669 | @@ -149,24 +155,35 @@ TESTS += \ | |||
2670 | 149 | notify \ | 155 | notify \ |
2671 | 150 | nsec3 \ | 156 | nsec3 \ |
2672 | 151 | nslookup \ | 157 | nslookup \ |
2673 | 158 | nsupdate \ | ||
2674 | 159 | nzd2nzf \ | ||
2675 | 152 | padding \ | 160 | padding \ |
2676 | 153 | pending \ | 161 | pending \ |
2677 | 162 | pipelined \ | ||
2678 | 163 | qmin \ | ||
2679 | 164 | reclimit \ | ||
2680 | 154 | redirect \ | 165 | redirect \ |
2681 | 166 | resolver \ | ||
2682 | 155 | rndc \ | 167 | rndc \ |
2683 | 156 | rootkeysentinel \ | 168 | rootkeysentinel \ |
2685 | 157 | rpz \ | 169 | rpzextra \ |
2686 | 158 | rrchecker \ | 170 | rrchecker \ |
2687 | 159 | rrl \ | 171 | rrl \ |
2688 | 160 | rrsetorder \ | 172 | rrsetorder \ |
2689 | 161 | rsabigexponent \ | 173 | rsabigexponent \ |
2690 | 162 | runtime \ | 174 | runtime \ |
2691 | 163 | sfcache \ | 175 | sfcache \ |
2692 | 176 | shutdown \ | ||
2693 | 164 | smartsign \ | 177 | smartsign \ |
2694 | 165 | sortlist \ | 178 | sortlist \ |
2695 | 166 | spf \ | 179 | spf \ |
2696 | 167 | staticstub \ | 180 | staticstub \ |
2697 | 181 | statistics \ | ||
2698 | 182 | statschannel \ | ||
2699 | 183 | stress \ | ||
2700 | 168 | stub \ | 184 | stub \ |
2701 | 169 | synthfromdnssec \ | 185 | synthfromdnssec \ |
2702 | 186 | tcp \ | ||
2703 | 170 | tkey \ | 187 | tkey \ |
2704 | 171 | tools \ | 188 | tools \ |
2705 | 172 | transport-acl \ | 189 | transport-acl \ |
2706 | @@ -177,62 +194,21 @@ TESTS += \ | |||
2707 | 177 | verify \ | 194 | verify \ |
2708 | 178 | views \ | 195 | views \ |
2709 | 179 | wildcard \ | 196 | wildcard \ |
2710 | 197 | xfer \ | ||
2711 | 180 | xferquota \ | 198 | xferquota \ |
2712 | 199 | zero \ | ||
2713 | 181 | zonechecks | 200 | zonechecks |
2714 | 182 | 201 | ||
2768 | 183 | if HAVE_LMDB | 202 | else !HAVE_PYTEST |
2769 | 184 | TESTS += nzd2nzf | 203 | check: |
2770 | 185 | endif # HAVE_LMDB | 204 | echo pytest is not available, no tests were ran |
2771 | 186 | 205 | exit 1 | |
2772 | 187 | if HAVE_PERLMOD_NET_DNS | 206 | endif !HAVE_PYTEST |
2773 | 188 | 207 | else !HAVE_PYTHON | |
2774 | 189 | TESTS += \ | 208 | check: |
2775 | 190 | fetchlimit \ | 209 | echo Python is not available, no tests were ran |
2776 | 191 | ixfr \ | 210 | exit 1 |
2777 | 192 | nsupdate \ | 211 | endif !HAVE_PYTHON |
2725 | 193 | resolver \ | ||
2726 | 194 | statistics \ | ||
2727 | 195 | stress \ | ||
2728 | 196 | upforwd \ | ||
2729 | 197 | zero | ||
2730 | 198 | |||
2731 | 199 | if HAVE_DNSTAP | ||
2732 | 200 | TESTS += dnstap | ||
2733 | 201 | endif | ||
2734 | 202 | |||
2735 | 203 | if HAVE_PERLMOD_FILE_FETCH | ||
2736 | 204 | TESTS += statschannel | ||
2737 | 205 | endif HAVE_PERLMOD_FILE_FETCH | ||
2738 | 206 | |||
2739 | 207 | if HAVE_PERLMOD_DIGEST_HMAC | ||
2740 | 208 | TESTS += xfer | ||
2741 | 209 | endif HAVE_PERLMOD_DIGEST_HMAC | ||
2742 | 210 | |||
2743 | 211 | if HAVE_PERLMOD_NET_DNS_NAMESERVER | ||
2744 | 212 | TESTS += reclimit | ||
2745 | 213 | endif HAVE_PERLMOD_NET_DNS_NAMESERVER | ||
2746 | 214 | |||
2747 | 215 | endif HAVE_PERLMOD_NET_DNS | ||
2748 | 216 | |||
2749 | 217 | if HAVE_PYTHON | ||
2750 | 218 | TESTS += kasp keymgr2kasp tcp pipelined | ||
2751 | 219 | |||
2752 | 220 | if HAVE_PYTEST | ||
2753 | 221 | TESTS += checkds dispatch rpzextra shutdown timeouts | ||
2754 | 222 | endif | ||
2755 | 223 | |||
2756 | 224 | if HAVE_PYMOD_DNS | ||
2757 | 225 | TESTS += qmin cookie | ||
2758 | 226 | if HAVE_PERLMOD_NET_DNS | ||
2759 | 227 | TESTS += digdelv dnssec forward | ||
2760 | 228 | if HAVE_PERLMOD_NET_DNS_NAMESERVER | ||
2761 | 229 | TESTS += chain | ||
2762 | 230 | endif HAVE_PERLMOD_NET_DNS_NAMESERVER | ||
2763 | 231 | endif HAVE_PERLMOD_NET_DNS | ||
2764 | 232 | endif HAVE_PYMOD_DNS | ||
2765 | 233 | |||
2766 | 234 | endif HAVE_PYTHON | ||
2767 | 235 | |||
2778 | 236 | else !HAVE_PERL | 212 | else !HAVE_PERL |
2779 | 237 | check: | 213 | check: |
2780 | 238 | echo Perl is not available, no tests were ran | 214 | echo Perl is not available, no tests were ran |
2781 | @@ -247,9 +223,9 @@ LOG_DRIVER_V_1 = --verbose yes | |||
2782 | 247 | LOG_DRIVER = $(srcdir)/custom-test-driver | 223 | LOG_DRIVER = $(srcdir)/custom-test-driver |
2783 | 248 | AM_LOG_DRIVER_FLAGS = $(LOG_DRIVER_V) | 224 | AM_LOG_DRIVER_FLAGS = $(LOG_DRIVER_V) |
2784 | 249 | 225 | ||
2789 | 250 | LOG_COMPILER = $(builddir)/legacy.run.sh | 226 | LOG_COMPILER = $(srcdir)/run.sh |
2786 | 251 | AM_LOG_FLAGS = -r | ||
2787 | 252 | |||
2788 | 253 | $(TESTS): legacy.run.sh | ||
2790 | 254 | 227 | ||
2791 | 255 | test-local: check | 228 | test-local: check |
2792 | 229 | |||
2793 | 230 | clean-local:: | ||
2794 | 231 | -find -L . -mindepth 1 -maxdepth 1 -type d -name "*_*" -and -not -name "_common" -exec rm -rf {} \; | ||
2795 | diff --git a/bin/tests/system/Makefile.in b/bin/tests/system/Makefile.in | |||
2796 | index ba4feab..b907194 100644 | |||
2797 | --- a/bin/tests/system/Makefile.in | |||
2798 | +++ b/bin/tests/system/Makefile.in | |||
2799 | @@ -1,7 +1,7 @@ | |||
2801 | 1 | # Makefile.in generated by automake 1.16.3 from Makefile.am. | 1 | # Makefile.in generated by automake 1.16.5 from Makefile.am. |
2802 | 2 | # @configure_input@ | 2 | # @configure_input@ |
2803 | 3 | 3 | ||
2805 | 4 | # Copyright (C) 1994-2020 Free Software Foundation, Inc. | 4 | # Copyright (C) 1994-2021 Free Software Foundation, Inc. |
2806 | 5 | 5 | ||
2807 | 6 | # This Makefile.in is free software; the Free Software Foundation | 6 | # This Makefile.in is free software; the Free Software Foundation |
2808 | 7 | # gives unlimited permission to copy and/or distribute it, | 7 | # gives unlimited permission to copy and/or distribute it, |
2809 | @@ -16,6 +16,7 @@ | |||
2810 | 16 | 16 | ||
2811 | 17 | # Hey Emacs, this is -*- makefile-automake -*- file! | 17 | # Hey Emacs, this is -*- makefile-automake -*- file! |
2812 | 18 | # vim: filetype=automake | 18 | # vim: filetype=automake |
2813 | 19 | |||
2814 | 19 | VPATH = @srcdir@ | 20 | VPATH = @srcdir@ |
2815 | 20 | am__is_gnu_make = { \ | 21 | am__is_gnu_make = { \ |
2816 | 21 | if test -z '$(MAKELEVEL)'; then \ | 22 | if test -z '$(MAKELEVEL)'; then \ |
2817 | @@ -94,39 +95,14 @@ target_triplet = @target@ | |||
2818 | 94 | @HOST_MACOS_TRUE@am__append_1 = \ | 95 | @HOST_MACOS_TRUE@am__append_1 = \ |
2819 | 95 | @HOST_MACOS_TRUE@ -Wl,-flat_namespace | 96 | @HOST_MACOS_TRUE@ -Wl,-flat_namespace |
2820 | 96 | 97 | ||
2854 | 97 | @HAVE_PERL_TRUE@check_PROGRAMS = feature-test$(EXEEXT) \ | 98 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@noinst_PROGRAMS = feature-test$(EXEEXT) \ |
2855 | 98 | @HAVE_PERL_TRUE@ makejournal$(EXEEXT) \ | 99 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ makejournal$(EXEEXT) \ |
2856 | 99 | @HAVE_PERL_TRUE@ pipelined/pipequeries$(EXEEXT) \ | 100 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ pipelined/pipequeries$(EXEEXT) \ |
2857 | 100 | @HAVE_PERL_TRUE@ resolve$(EXEEXT) rndc/gencheck$(EXEEXT) \ | 101 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ resolve$(EXEEXT) \ |
2858 | 101 | @HAVE_PERL_TRUE@ rpz/dnsrps$(EXEEXT) tkey/keycreate$(EXEEXT) \ | 102 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ rndc/gencheck$(EXEEXT) \ |
2859 | 102 | @HAVE_PERL_TRUE@ tkey/keydelete$(EXEEXT) | 103 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ rpz/dnsrps$(EXEEXT) \ |
2860 | 103 | @HAVE_PERLMOD_TIME_HIRES_TRUE@@HAVE_PERL_TRUE@am__append_2 = serve-stale | 104 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ tkey/keycreate$(EXEEXT) \ |
2861 | 104 | @HAVE_PERLMOD_NET_DNS_TRUE@@HAVE_PERL_TRUE@am__append_3 = \ | 105 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ tkey/keydelete$(EXEEXT) |
2829 | 105 | @HAVE_PERLMOD_NET_DNS_TRUE@@HAVE_PERL_TRUE@ rpzrecurse | ||
2830 | 106 | |||
2831 | 107 | @HAVE_LIBNGHTTP2_TRUE@@HAVE_PERL_TRUE@am__append_4 = \ | ||
2832 | 108 | @HAVE_LIBNGHTTP2_TRUE@@HAVE_PERL_TRUE@ doth | ||
2833 | 109 | |||
2834 | 110 | @HAVE_LMDB_TRUE@@HAVE_PERL_TRUE@am__append_5 = nzd2nzf | ||
2835 | 111 | @HAVE_PERLMOD_NET_DNS_TRUE@@HAVE_PERL_TRUE@am__append_6 = \ | ||
2836 | 112 | @HAVE_PERLMOD_NET_DNS_TRUE@@HAVE_PERL_TRUE@ fetchlimit \ | ||
2837 | 113 | @HAVE_PERLMOD_NET_DNS_TRUE@@HAVE_PERL_TRUE@ ixfr \ | ||
2838 | 114 | @HAVE_PERLMOD_NET_DNS_TRUE@@HAVE_PERL_TRUE@ nsupdate \ | ||
2839 | 115 | @HAVE_PERLMOD_NET_DNS_TRUE@@HAVE_PERL_TRUE@ resolver \ | ||
2840 | 116 | @HAVE_PERLMOD_NET_DNS_TRUE@@HAVE_PERL_TRUE@ statistics \ | ||
2841 | 117 | @HAVE_PERLMOD_NET_DNS_TRUE@@HAVE_PERL_TRUE@ stress \ | ||
2842 | 118 | @HAVE_PERLMOD_NET_DNS_TRUE@@HAVE_PERL_TRUE@ upforwd \ | ||
2843 | 119 | @HAVE_PERLMOD_NET_DNS_TRUE@@HAVE_PERL_TRUE@ zero | ||
2844 | 120 | |||
2845 | 121 | @HAVE_DNSTAP_TRUE@@HAVE_PERLMOD_NET_DNS_TRUE@@HAVE_PERL_TRUE@am__append_7 = dnstap | ||
2846 | 122 | @HAVE_PERLMOD_FILE_FETCH_TRUE@@HAVE_PERLMOD_NET_DNS_TRUE@@HAVE_PERL_TRUE@am__append_8 = statschannel | ||
2847 | 123 | @HAVE_PERLMOD_DIGEST_HMAC_TRUE@@HAVE_PERLMOD_NET_DNS_TRUE@@HAVE_PERL_TRUE@am__append_9 = xfer | ||
2848 | 124 | @HAVE_PERLMOD_NET_DNS_NAMESERVER_TRUE@@HAVE_PERLMOD_NET_DNS_TRUE@@HAVE_PERL_TRUE@am__append_10 = reclimit | ||
2849 | 125 | @HAVE_PERL_TRUE@@HAVE_PYTHON_TRUE@am__append_11 = kasp keymgr2kasp tcp pipelined | ||
2850 | 126 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@am__append_12 = checkds dispatch rpzextra shutdown timeouts | ||
2851 | 127 | @HAVE_PERL_TRUE@@HAVE_PYMOD_DNS_TRUE@@HAVE_PYTHON_TRUE@am__append_13 = qmin cookie | ||
2852 | 128 | @HAVE_PERLMOD_NET_DNS_TRUE@@HAVE_PERL_TRUE@@HAVE_PYMOD_DNS_TRUE@@HAVE_PYTHON_TRUE@am__append_14 = digdelv dnssec forward | ||
2853 | 129 | @HAVE_PERLMOD_NET_DNS_NAMESERVER_TRUE@@HAVE_PERLMOD_NET_DNS_TRUE@@HAVE_PERL_TRUE@@HAVE_PYMOD_DNS_TRUE@@HAVE_PYTHON_TRUE@am__append_15 = chain | ||
2862 | 130 | subdir = bin/tests/system | 106 | subdir = bin/tests/system |
2863 | 131 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | 107 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
2864 | 132 | am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_compile_flag.m4 \ | 108 | am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_compile_flag.m4 \ |
2865 | @@ -135,11 +111,9 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_compile_flag.m4 \ | |||
2866 | 135 | $(top_srcdir)/m4/ax_gcc_func_attribute.m4 \ | 111 | $(top_srcdir)/m4/ax_gcc_func_attribute.m4 \ |
2867 | 136 | $(top_srcdir)/m4/ax_jemalloc.m4 \ | 112 | $(top_srcdir)/m4/ax_jemalloc.m4 \ |
2868 | 137 | $(top_srcdir)/m4/ax_lib_lmdb.m4 \ | 113 | $(top_srcdir)/m4/ax_lib_lmdb.m4 \ |
2869 | 138 | $(top_srcdir)/m4/ax_perl_module.m4 \ | ||
2870 | 139 | $(top_srcdir)/m4/ax_posix_shell.m4 \ | 114 | $(top_srcdir)/m4/ax_posix_shell.m4 \ |
2871 | 140 | $(top_srcdir)/m4/ax_prog_cc_for_build.m4 \ | 115 | $(top_srcdir)/m4/ax_prog_cc_for_build.m4 \ |
2872 | 141 | $(top_srcdir)/m4/ax_pthread.m4 \ | 116 | $(top_srcdir)/m4/ax_pthread.m4 \ |
2873 | 142 | $(top_srcdir)/m4/ax_python_module.m4 \ | ||
2874 | 143 | $(top_srcdir)/m4/ax_restore_flags.m4 \ | 117 | $(top_srcdir)/m4/ax_restore_flags.m4 \ |
2875 | 144 | $(top_srcdir)/m4/ax_save_flags.m4 $(top_srcdir)/m4/ax_tls.m4 \ | 118 | $(top_srcdir)/m4/ax_save_flags.m4 $(top_srcdir)/m4/ax_tls.m4 \ |
2876 | 145 | $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ | 119 | $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ |
2877 | @@ -153,6 +127,7 @@ CONFIG_HEADER = $(top_builddir)/config.h | |||
2878 | 153 | CONFIG_CLEAN_FILES = conf.sh ifconfig.sh legacy.run.sh start.sh \ | 127 | CONFIG_CLEAN_FILES = conf.sh ifconfig.sh legacy.run.sh start.sh \ |
2879 | 154 | stop.sh | 128 | stop.sh |
2880 | 155 | CONFIG_CLEAN_VPATH_FILES = | 129 | CONFIG_CLEAN_VPATH_FILES = |
2881 | 130 | PROGRAMS = $(noinst_PROGRAMS) | ||
2882 | 156 | feature_test_SOURCES = feature-test.c | 131 | feature_test_SOURCES = feature-test.c |
2883 | 157 | feature_test_OBJECTS = feature_test-feature-test.$(OBJEXT) | 132 | feature_test_OBJECTS = feature_test-feature-test.$(OBJEXT) |
2884 | 158 | feature_test_LDADD = $(LDADD) | 133 | feature_test_LDADD = $(LDADD) |
2885 | @@ -163,30 +138,40 @@ am__v_lt_0 = --silent | |||
2886 | 163 | am__v_lt_1 = | 138 | am__v_lt_1 = |
2887 | 164 | makejournal_SOURCES = makejournal.c | 139 | makejournal_SOURCES = makejournal.c |
2888 | 165 | makejournal_OBJECTS = makejournal-makejournal.$(OBJEXT) | 140 | makejournal_OBJECTS = makejournal-makejournal.$(OBJEXT) |
2890 | 166 | @HAVE_PERL_TRUE@makejournal_DEPENDENCIES = $(LDADD) $(LIBDNS_LIBS) | 141 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@makejournal_DEPENDENCIES = \ |
2891 | 142 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ $(LDADD) \ | ||
2892 | 143 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ $(LIBDNS_LIBS) | ||
2893 | 167 | pipelined_pipequeries_SOURCES = pipelined/pipequeries.c | 144 | pipelined_pipequeries_SOURCES = pipelined/pipequeries.c |
2894 | 168 | am__dirstamp = $(am__leading_dot)dirstamp | 145 | am__dirstamp = $(am__leading_dot)dirstamp |
2895 | 169 | pipelined_pipequeries_OBJECTS = \ | 146 | pipelined_pipequeries_OBJECTS = \ |
2896 | 170 | pipelined/pipequeries-pipequeries.$(OBJEXT) | 147 | pipelined/pipequeries-pipequeries.$(OBJEXT) |
2899 | 171 | @HAVE_PERL_TRUE@pipelined_pipequeries_DEPENDENCIES = $(LDADD) \ | 148 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@pipelined_pipequeries_DEPENDENCIES = \ |
2900 | 172 | @HAVE_PERL_TRUE@ $(LIBDNS_LIBS) | 149 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ $(LDADD) \ |
2901 | 150 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ $(LIBDNS_LIBS) | ||
2902 | 173 | resolve_SOURCES = resolve.c | 151 | resolve_SOURCES = resolve.c |
2903 | 174 | resolve_OBJECTS = resolve-resolve.$(OBJEXT) | 152 | resolve_OBJECTS = resolve-resolve.$(OBJEXT) |
2906 | 175 | @HAVE_PERL_TRUE@resolve_DEPENDENCIES = $(LIBISC_LIBS) $(LIBIRS_LIBS) \ | 153 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@resolve_DEPENDENCIES = $(LIBISC_LIBS) \ |
2907 | 176 | @HAVE_PERL_TRUE@ $(LIBDNS_LIBS) | 154 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ $(LIBIRS_LIBS) \ |
2908 | 155 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ $(LIBDNS_LIBS) | ||
2909 | 177 | rndc_gencheck_SOURCES = rndc/gencheck.c | 156 | rndc_gencheck_SOURCES = rndc/gencheck.c |
2910 | 178 | rndc_gencheck_OBJECTS = rndc/gencheck.$(OBJEXT) | 157 | rndc_gencheck_OBJECTS = rndc/gencheck.$(OBJEXT) |
2911 | 179 | rndc_gencheck_LDADD = $(LDADD) | 158 | rndc_gencheck_LDADD = $(LDADD) |
2912 | 180 | rndc_gencheck_DEPENDENCIES = $(LIBISC_LIBS) | 159 | rndc_gencheck_DEPENDENCIES = $(LIBISC_LIBS) |
2913 | 181 | rpz_dnsrps_SOURCES = rpz/dnsrps.c | 160 | rpz_dnsrps_SOURCES = rpz/dnsrps.c |
2914 | 182 | rpz_dnsrps_OBJECTS = rpz/dnsrps-dnsrps.$(OBJEXT) | 161 | rpz_dnsrps_OBJECTS = rpz/dnsrps-dnsrps.$(OBJEXT) |
2916 | 183 | @HAVE_PERL_TRUE@rpz_dnsrps_DEPENDENCIES = $(LDADD) $(LIBDNS_LIBS) | 162 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@rpz_dnsrps_DEPENDENCIES = \ |
2917 | 163 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ $(LDADD) \ | ||
2918 | 164 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ $(LIBDNS_LIBS) | ||
2919 | 184 | tkey_keycreate_SOURCES = tkey/keycreate.c | 165 | tkey_keycreate_SOURCES = tkey/keycreate.c |
2920 | 185 | tkey_keycreate_OBJECTS = tkey/keycreate-keycreate.$(OBJEXT) | 166 | tkey_keycreate_OBJECTS = tkey/keycreate-keycreate.$(OBJEXT) |
2922 | 186 | @HAVE_PERL_TRUE@tkey_keycreate_DEPENDENCIES = $(LDADD) $(LIBDNS_LIBS) | 167 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@tkey_keycreate_DEPENDENCIES = \ |
2923 | 168 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ $(LDADD) \ | ||
2924 | 169 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ $(LIBDNS_LIBS) | ||
2925 | 187 | tkey_keydelete_SOURCES = tkey/keydelete.c | 170 | tkey_keydelete_SOURCES = tkey/keydelete.c |
2926 | 188 | tkey_keydelete_OBJECTS = tkey/keydelete-keydelete.$(OBJEXT) | 171 | tkey_keydelete_OBJECTS = tkey/keydelete-keydelete.$(OBJEXT) |
2928 | 189 | @HAVE_PERL_TRUE@tkey_keydelete_DEPENDENCIES = $(LDADD) $(LIBDNS_LIBS) | 172 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@tkey_keydelete_DEPENDENCIES = \ |
2929 | 173 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ $(LDADD) \ | ||
2930 | 174 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ $(LIBDNS_LIBS) | ||
2931 | 190 | AM_V_P = $(am__v_P_@AM_V@) | 175 | AM_V_P = $(am__v_P_@AM_V@) |
2932 | 191 | am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) | 176 | am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) |
2933 | 192 | am__v_P_0 = false | 177 | am__v_P_0 = false |
2934 | @@ -274,8 +259,6 @@ am__define_uniq_tagged_files = \ | |||
2935 | 274 | unique=`for i in $$list; do \ | 259 | unique=`for i in $$list; do \ |
2936 | 275 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | 260 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
2937 | 276 | done | $(am__uniquify_input)` | 261 | done | $(am__uniquify_input)` |
2938 | 277 | ETAGS = etags | ||
2939 | 278 | CTAGS = ctags | ||
2940 | 279 | am__tty_colors_dummy = \ | 262 | am__tty_colors_dummy = \ |
2941 | 280 | mgn= red= grn= lgn= blu= brg= std=; \ | 263 | mgn= red= grn= lgn= blu= brg= std=; \ |
2942 | 281 | am__color_tests=no | 264 | am__color_tests=no |
2943 | @@ -532,6 +515,8 @@ CPP = @CPP@ | |||
2944 | 532 | CPPFLAGS = @CPPFLAGS@ | 515 | CPPFLAGS = @CPPFLAGS@ |
2945 | 533 | CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@ | 516 | CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@ |
2946 | 534 | CPP_FOR_BUILD = @CPP_FOR_BUILD@ | 517 | CPP_FOR_BUILD = @CPP_FOR_BUILD@ |
2947 | 518 | CSCOPE = @CSCOPE@ | ||
2948 | 519 | CTAGS = @CTAGS@ | ||
2949 | 535 | CURL = @CURL@ | 520 | CURL = @CURL@ |
2950 | 536 | CYGPATH_W = @CYGPATH_W@ | 521 | CYGPATH_W = @CYGPATH_W@ |
2951 | 537 | DEFS = @DEFS@ | 522 | DEFS = @DEFS@ |
2952 | @@ -547,8 +532,10 @@ ECHO_C = @ECHO_C@ | |||
2953 | 547 | ECHO_N = @ECHO_N@ | 532 | ECHO_N = @ECHO_N@ |
2954 | 548 | ECHO_T = @ECHO_T@ | 533 | ECHO_T = @ECHO_T@ |
2955 | 549 | EGREP = @EGREP@ | 534 | EGREP = @EGREP@ |
2956 | 535 | ETAGS = @ETAGS@ | ||
2957 | 550 | EXEEXT = @EXEEXT@ | 536 | EXEEXT = @EXEEXT@ |
2958 | 551 | FGREP = @FGREP@ | 537 | FGREP = @FGREP@ |
2959 | 538 | FILECMD = @FILECMD@ | ||
2960 | 552 | FSTRM_CAPTURE = @FSTRM_CAPTURE@ | 539 | FSTRM_CAPTURE = @FSTRM_CAPTURE@ |
2961 | 553 | FUZZ_LDFLAGS = @FUZZ_LDFLAGS@ | 540 | FUZZ_LDFLAGS = @FUZZ_LDFLAGS@ |
2962 | 554 | FUZZ_LOG_COMPILER = @FUZZ_LOG_COMPILER@ | 541 | FUZZ_LOG_COMPILER = @FUZZ_LOG_COMPILER@ |
2963 | @@ -763,88 +750,181 @@ LIBBIND9_LIBS = \ | |||
2964 | 763 | 750 | ||
2965 | 764 | EXTRA_DIST = . | 751 | EXTRA_DIST = . |
2966 | 765 | SUBDIRS = dyndb/driver dlzexternal/driver hooks/driver | 752 | SUBDIRS = dyndb/driver dlzexternal/driver hooks/driver |
3041 | 766 | @HAVE_PERL_TRUE@feature_test_CPPFLAGS = \ | 753 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@feature_test_CPPFLAGS = \ |
3042 | 767 | @HAVE_PERL_TRUE@ $(AM_CPPFLAGS) \ | 754 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ $(AM_CPPFLAGS) \ |
3043 | 768 | @HAVE_PERL_TRUE@ $(LIBDNS_CFLAGS) | 755 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ $(LIBDNS_CFLAGS) |
3044 | 769 | 756 | ||
3045 | 770 | @HAVE_PERL_TRUE@makejournal_CPPFLAGS = \ | 757 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@makejournal_CPPFLAGS = \ |
3046 | 771 | @HAVE_PERL_TRUE@ $(AM_CPPFLAGS) \ | 758 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ $(AM_CPPFLAGS) \ |
3047 | 772 | @HAVE_PERL_TRUE@ $(LIBDNS_CFLAGS) | 759 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ $(LIBDNS_CFLAGS) |
3048 | 773 | 760 | ||
3049 | 774 | @HAVE_PERL_TRUE@makejournal_LDADD = \ | 761 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@makejournal_LDADD = \ |
3050 | 775 | @HAVE_PERL_TRUE@ $(LDADD) \ | 762 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ $(LDADD) \ |
3051 | 776 | @HAVE_PERL_TRUE@ $(LIBDNS_LIBS) | 763 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ $(LIBDNS_LIBS) |
3052 | 777 | 764 | ||
3053 | 778 | @HAVE_PERL_TRUE@pipelined_pipequeries_CPPFLAGS = \ | 765 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@pipelined_pipequeries_CPPFLAGS = \ |
3054 | 779 | @HAVE_PERL_TRUE@ $(AM_CPPFLAGS) \ | 766 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ $(AM_CPPFLAGS) \ |
3055 | 780 | @HAVE_PERL_TRUE@ $(LIBDNS_CFLAGS) | 767 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ $(LIBDNS_CFLAGS) |
3056 | 781 | 768 | ||
3057 | 782 | @HAVE_PERL_TRUE@pipelined_pipequeries_LDADD = \ | 769 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@pipelined_pipequeries_LDADD = \ |
3058 | 783 | @HAVE_PERL_TRUE@ $(LDADD) \ | 770 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ $(LDADD) \ |
3059 | 784 | @HAVE_PERL_TRUE@ $(LIBDNS_LIBS) | 771 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ $(LIBDNS_LIBS) |
3060 | 785 | 772 | ||
3061 | 786 | @HAVE_PERL_TRUE@resolve_CPPFLAGS = \ | 773 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@resolve_CPPFLAGS = \ |
3062 | 787 | @HAVE_PERL_TRUE@ $(AM_CPPFLAGS) \ | 774 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ $(AM_CPPFLAGS) \ |
3063 | 788 | @HAVE_PERL_TRUE@ $(LIBISC_CFLAGS) \ | 775 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ $(LIBISC_CFLAGS) \ |
3064 | 789 | @HAVE_PERL_TRUE@ $(LIBDNS_CFLAGS) \ | 776 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ $(LIBDNS_CFLAGS) \ |
3065 | 790 | @HAVE_PERL_TRUE@ $(LIBIRS_CFLAGS) | 777 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ $(LIBIRS_CFLAGS) |
3066 | 791 | 778 | ||
3067 | 792 | @HAVE_PERL_TRUE@resolve_LDADD = $(LIBISC_LIBS) $(LIBIRS_LIBS) $(LIBDNS_LIBS) | 779 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@resolve_LDADD = $(LIBISC_LIBS) $(LIBIRS_LIBS) $(LIBDNS_LIBS) |
3068 | 793 | @HAVE_PERL_TRUE@rpz_dnsrps_CPPFLAGS = \ | 780 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@rpz_dnsrps_CPPFLAGS = \ |
3069 | 794 | @HAVE_PERL_TRUE@ $(AM_CPPFLAGS) \ | 781 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ $(AM_CPPFLAGS) \ |
3070 | 795 | @HAVE_PERL_TRUE@ $(LIBDNS_CFLAGS) | 782 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ $(LIBDNS_CFLAGS) |
3071 | 796 | 783 | ||
3072 | 797 | @HAVE_PERL_TRUE@rpz_dnsrps_LDADD = \ | 784 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@rpz_dnsrps_LDADD = \ |
3073 | 798 | @HAVE_PERL_TRUE@ $(LDADD) \ | 785 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ $(LDADD) \ |
3074 | 799 | @HAVE_PERL_TRUE@ $(LIBDNS_LIBS) | 786 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ $(LIBDNS_LIBS) |
3075 | 800 | 787 | ||
3076 | 801 | @HAVE_PERL_TRUE@tkey_keycreate_CPPFLAGS = \ | 788 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@tkey_keycreate_CPPFLAGS = \ |
3077 | 802 | @HAVE_PERL_TRUE@ $(AM_CPPFLAGS) \ | 789 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ $(AM_CPPFLAGS) \ |
3078 | 803 | @HAVE_PERL_TRUE@ $(LIBDNS_CFLAGS) | 790 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ $(LIBDNS_CFLAGS) |
3079 | 804 | 791 | ||
3080 | 805 | @HAVE_PERL_TRUE@tkey_keycreate_LDADD = \ | 792 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@tkey_keycreate_LDADD = \ |
3081 | 806 | @HAVE_PERL_TRUE@ $(LDADD) \ | 793 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ $(LDADD) \ |
3082 | 807 | @HAVE_PERL_TRUE@ $(LIBDNS_LIBS) | 794 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ $(LIBDNS_LIBS) |
3083 | 808 | 795 | ||
3084 | 809 | @HAVE_PERL_TRUE@tkey_keydelete_CPPFLAGS = \ | 796 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@tkey_keydelete_CPPFLAGS = \ |
3085 | 810 | @HAVE_PERL_TRUE@ $(AM_CPPFLAGS) \ | 797 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ $(AM_CPPFLAGS) \ |
3086 | 811 | @HAVE_PERL_TRUE@ $(LIBDNS_CFLAGS) | 798 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ $(LIBDNS_CFLAGS) |
3087 | 812 | 799 | ||
3088 | 813 | @HAVE_PERL_TRUE@tkey_keydelete_LDADD = \ | 800 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@tkey_keydelete_LDADD = \ |
3089 | 814 | @HAVE_PERL_TRUE@ $(LDADD) \ | 801 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ $(LDADD) \ |
3090 | 815 | @HAVE_PERL_TRUE@ $(LIBDNS_LIBS) | 802 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ $(LIBDNS_LIBS) |
3091 | 816 | 803 | ||
3092 | 817 | @HAVE_PERL_TRUE@TESTS = $(am__append_2) $(am__append_3) \ | 804 | |
3093 | 818 | @HAVE_PERL_TRUE@ $(am__append_4) acl additional addzone \ | 805 | # Longer running tests are listed (and executed) first to take the most |
3094 | 819 | @HAVE_PERL_TRUE@ allow-query auth autosign builtin cacheclean \ | 806 | # advantage of parallel execution. |
3095 | 820 | @HAVE_PERL_TRUE@ case catz cds checkconf checknames checkzone \ | 807 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@TESTS = \ |
3096 | 821 | @HAVE_PERL_TRUE@ database dialup dlzexternal dns64 dsdigest \ | 808 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ rpz \ |
3097 | 822 | @HAVE_PERL_TRUE@ dupsigs dyndb ecdsa eddsa ednscompliance \ | 809 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ rpzrecurse \ |
3098 | 823 | @HAVE_PERL_TRUE@ emptyzones enginepkcs11 filter-aaaa formerr \ | 810 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ serve-stale \ |
3099 | 824 | @HAVE_PERL_TRUE@ geoip2 glue idna include-multiplecfg inline \ | 811 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ timeouts \ |
3100 | 825 | @HAVE_PERL_TRUE@ integrity hooks host journal keepalive \ | 812 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ upforwd \ |
3101 | 826 | @HAVE_PERL_TRUE@ keyfromlabel legacy limits logfileconfig \ | 813 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ acl \ |
3102 | 827 | @HAVE_PERL_TRUE@ masterfile masterformat metadata mirror mkeys \ | 814 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ additional \ |
3103 | 828 | @HAVE_PERL_TRUE@ names notify nsec3 nslookup padding pending \ | 815 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ addzone \ |
3104 | 829 | @HAVE_PERL_TRUE@ redirect rndc rootkeysentinel rpz rrchecker \ | 816 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ allow-query \ |
3105 | 830 | @HAVE_PERL_TRUE@ rrl rrsetorder rsabigexponent runtime sfcache \ | 817 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ auth \ |
3106 | 831 | @HAVE_PERL_TRUE@ smartsign sortlist spf staticstub stub \ | 818 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ autosign \ |
3107 | 832 | @HAVE_PERL_TRUE@ synthfromdnssec tkey tools transport-acl tsig \ | 819 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ builtin \ |
3108 | 833 | @HAVE_PERL_TRUE@ tsiggss ttl unknown verify views wildcard \ | 820 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ cacheclean \ |
3109 | 834 | @HAVE_PERL_TRUE@ xferquota zonechecks $(am__append_5) \ | 821 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ case \ |
3110 | 835 | @HAVE_PERL_TRUE@ $(am__append_6) $(am__append_7) \ | 822 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ catz \ |
3111 | 836 | @HAVE_PERL_TRUE@ $(am__append_8) $(am__append_9) \ | 823 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ cds \ |
3112 | 837 | @HAVE_PERL_TRUE@ $(am__append_10) $(am__append_11) \ | 824 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ chain \ |
3113 | 838 | @HAVE_PERL_TRUE@ $(am__append_12) $(am__append_13) \ | 825 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ checkconf \ |
3114 | 839 | @HAVE_PERL_TRUE@ $(am__append_14) $(am__append_15) | 826 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ checkds \ |
3115 | 827 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ checknames \ | ||
3116 | 828 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ checkzone \ | ||
3117 | 829 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ cookie \ | ||
3118 | 830 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ database \ | ||
3119 | 831 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ dialup \ | ||
3120 | 832 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ digdelv \ | ||
3121 | 833 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ dispatch \ | ||
3122 | 834 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ dlzexternal \ | ||
3123 | 835 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ dns64 \ | ||
3124 | 836 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ dnssec \ | ||
3125 | 837 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ dnstap \ | ||
3126 | 838 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ doth \ | ||
3127 | 839 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ dsdigest \ | ||
3128 | 840 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ dupsigs \ | ||
3129 | 841 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ dyndb \ | ||
3130 | 842 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ ecdsa \ | ||
3131 | 843 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ eddsa \ | ||
3132 | 844 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ ednscompliance \ | ||
3133 | 845 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ emptyzones \ | ||
3134 | 846 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ enginepkcs11 \ | ||
3135 | 847 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ filter-aaaa \ | ||
3136 | 848 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ fetchlimit \ | ||
3137 | 849 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ formerr \ | ||
3138 | 850 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ forward \ | ||
3139 | 851 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ geoip2 \ | ||
3140 | 852 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ glue \ | ||
3141 | 853 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ idna \ | ||
3142 | 854 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ include-multiplecfg \ | ||
3143 | 855 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ inline \ | ||
3144 | 856 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ integrity \ | ||
3145 | 857 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ ixfr \ | ||
3146 | 858 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ hooks \ | ||
3147 | 859 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ host \ | ||
3148 | 860 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ journal \ | ||
3149 | 861 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ kasp \ | ||
3150 | 862 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ keepalive \ | ||
3151 | 863 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ keyfromlabel \ | ||
3152 | 864 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ keymgr2kasp \ | ||
3153 | 865 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ legacy \ | ||
3154 | 866 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ limits \ | ||
3155 | 867 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ logfileconfig \ | ||
3156 | 868 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ masterfile \ | ||
3157 | 869 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ masterformat \ | ||
3158 | 870 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ metadata \ | ||
3159 | 871 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ mirror \ | ||
3160 | 872 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ mkeys \ | ||
3161 | 873 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ names \ | ||
3162 | 874 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ notify \ | ||
3163 | 875 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ nsec3 \ | ||
3164 | 876 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ nslookup \ | ||
3165 | 877 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ nsupdate \ | ||
3166 | 878 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ nzd2nzf \ | ||
3167 | 879 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ padding \ | ||
3168 | 880 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ pending \ | ||
3169 | 881 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ pipelined \ | ||
3170 | 882 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ qmin \ | ||
3171 | 883 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ reclimit \ | ||
3172 | 884 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ redirect \ | ||
3173 | 885 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ resolver \ | ||
3174 | 886 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ rndc \ | ||
3175 | 887 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ rootkeysentinel \ | ||
3176 | 888 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ rpzextra \ | ||
3177 | 889 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ rrchecker \ | ||
3178 | 890 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ rrl \ | ||
3179 | 891 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ rrsetorder \ | ||
3180 | 892 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ rsabigexponent \ | ||
3181 | 893 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ runtime \ | ||
3182 | 894 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ sfcache \ | ||
3183 | 895 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ shutdown \ | ||
3184 | 896 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ smartsign \ | ||
3185 | 897 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ sortlist \ | ||
3186 | 898 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ spf \ | ||
3187 | 899 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ staticstub \ | ||
3188 | 900 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ statistics \ | ||
3189 | 901 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ statschannel \ | ||
3190 | 902 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ stress \ | ||
3191 | 903 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ stub \ | ||
3192 | 904 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ synthfromdnssec \ | ||
3193 | 905 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ tcp \ | ||
3194 | 906 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ tkey \ | ||
3195 | 907 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ tools \ | ||
3196 | 908 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ transport-acl \ | ||
3197 | 909 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ tsig \ | ||
3198 | 910 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ tsiggss \ | ||
3199 | 911 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ ttl \ | ||
3200 | 912 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ unknown \ | ||
3201 | 913 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ verify \ | ||
3202 | 914 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ views \ | ||
3203 | 915 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ wildcard \ | ||
3204 | 916 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ xfer \ | ||
3205 | 917 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ xferquota \ | ||
3206 | 918 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ zero \ | ||
3207 | 919 | @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ zonechecks | ||
3208 | 920 | |||
3209 | 840 | LOG_DRIVER_V = $(LOG_DRIVER_V_@AM_V@) | 921 | LOG_DRIVER_V = $(LOG_DRIVER_V_@AM_V@) |
3210 | 841 | LOG_DRIVER_V_ = $(LOG_DRIVER_V_@AM_DEFAULT_V@) | 922 | LOG_DRIVER_V_ = $(LOG_DRIVER_V_@AM_DEFAULT_V@) |
3211 | 842 | LOG_DRIVER_V_0 = --verbose no | 923 | LOG_DRIVER_V_0 = --verbose no |
3212 | 843 | LOG_DRIVER_V_1 = --verbose yes | 924 | LOG_DRIVER_V_1 = --verbose yes |
3213 | 844 | LOG_DRIVER = $(srcdir)/custom-test-driver | 925 | LOG_DRIVER = $(srcdir)/custom-test-driver |
3214 | 845 | AM_LOG_DRIVER_FLAGS = $(LOG_DRIVER_V) | 926 | AM_LOG_DRIVER_FLAGS = $(LOG_DRIVER_V) |
3217 | 846 | LOG_COMPILER = $(builddir)/legacy.run.sh | 927 | LOG_COMPILER = $(srcdir)/run.sh |
3216 | 847 | AM_LOG_FLAGS = -r | ||
3218 | 848 | all: all-recursive | 928 | all: all-recursive |
3219 | 849 | 929 | ||
3220 | 850 | .SUFFIXES: | 930 | .SUFFIXES: |
3221 | @@ -890,8 +970,8 @@ start.sh: $(top_builddir)/config.status $(srcdir)/start.sh.in | |||
3222 | 890 | stop.sh: $(top_builddir)/config.status $(srcdir)/stop.sh.in | 970 | stop.sh: $(top_builddir)/config.status $(srcdir)/stop.sh.in |
3223 | 891 | cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ | 971 | cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ |
3224 | 892 | 972 | ||
3227 | 893 | clean-checkPROGRAMS: | 973 | clean-noinstPROGRAMS: |
3228 | 894 | @list='$(check_PROGRAMS)'; test -n "$$list" || exit 0; \ | 974 | @list='$(noinst_PROGRAMS)'; test -n "$$list" || exit 0; \ |
3229 | 895 | echo " rm -f" $$list; \ | 975 | echo " rm -f" $$list; \ |
3230 | 896 | rm -f $$list || exit $$?; \ | 976 | rm -f $$list || exit $$?; \ |
3231 | 897 | test -n "$(EXEEXT)" || exit 0; \ | 977 | test -n "$(EXEEXT)" || exit 0; \ |
3232 | @@ -1344,7 +1424,7 @@ $(TEST_SUITE_LOG): $(TEST_LOGS) | |||
3233 | 1344 | fi; \ | 1424 | fi; \ |
3234 | 1345 | $$success || exit 1 | 1425 | $$success || exit 1 |
3235 | 1346 | 1426 | ||
3237 | 1347 | check-TESTS: $(check_PROGRAMS) | 1427 | check-TESTS: |
3238 | 1348 | @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list | 1428 | @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list |
3239 | 1349 | @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list | 1429 | @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list |
3240 | 1350 | @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) | 1430 | @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) |
3241 | @@ -1354,7 +1434,7 @@ check-TESTS: $(check_PROGRAMS) | |||
3242 | 1354 | log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \ | 1434 | log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \ |
3243 | 1355 | $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \ | 1435 | $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \ |
3244 | 1356 | exit $$?; | 1436 | exit $$?; |
3246 | 1357 | recheck: all $(check_PROGRAMS) | 1437 | recheck: all |
3247 | 1358 | @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) | 1438 | @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) |
3248 | 1359 | @set +e; $(am__set_TESTS_bases); \ | 1439 | @set +e; $(am__set_TESTS_bases); \ |
3249 | 1360 | bases=`for i in $$bases; do echo $$i; done \ | 1440 | bases=`for i in $$bases; do echo $$i; done \ |
3250 | @@ -1365,9 +1445,9 @@ recheck: all $(check_PROGRAMS) | |||
3251 | 1365 | am__force_recheck=am--force-recheck \ | 1445 | am__force_recheck=am--force-recheck \ |
3252 | 1366 | TEST_LOGS="$$log_list"; \ | 1446 | TEST_LOGS="$$log_list"; \ |
3253 | 1367 | exit $$? | 1447 | exit $$? |
3257 | 1368 | serve-stale.log: serve-stale | 1448 | rpz.log: rpz |
3258 | 1369 | @p='serve-stale'; \ | 1449 | @p='rpz'; \ |
3259 | 1370 | b='serve-stale'; \ | 1450 | b='rpz'; \ |
3260 | 1371 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | 1451 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ |
3261 | 1372 | --log-file $$b.log --trs-file $$b.trs \ | 1452 | --log-file $$b.log --trs-file $$b.trs \ |
3262 | 1373 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | 1453 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ |
3263 | @@ -1379,9 +1459,23 @@ rpzrecurse.log: rpzrecurse | |||
3264 | 1379 | --log-file $$b.log --trs-file $$b.trs \ | 1459 | --log-file $$b.log --trs-file $$b.trs \ |
3265 | 1380 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | 1460 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ |
3266 | 1381 | "$$tst" $(AM_TESTS_FD_REDIRECT) | 1461 | "$$tst" $(AM_TESTS_FD_REDIRECT) |
3270 | 1382 | doth.log: doth | 1462 | serve-stale.log: serve-stale |
3271 | 1383 | @p='doth'; \ | 1463 | @p='serve-stale'; \ |
3272 | 1384 | b='doth'; \ | 1464 | b='serve-stale'; \ |
3273 | 1465 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | ||
3274 | 1466 | --log-file $$b.log --trs-file $$b.trs \ | ||
3275 | 1467 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | ||
3276 | 1468 | "$$tst" $(AM_TESTS_FD_REDIRECT) | ||
3277 | 1469 | timeouts.log: timeouts | ||
3278 | 1470 | @p='timeouts'; \ | ||
3279 | 1471 | b='timeouts'; \ | ||
3280 | 1472 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | ||
3281 | 1473 | --log-file $$b.log --trs-file $$b.trs \ | ||
3282 | 1474 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | ||
3283 | 1475 | "$$tst" $(AM_TESTS_FD_REDIRECT) | ||
3284 | 1476 | upforwd.log: upforwd | ||
3285 | 1477 | @p='upforwd'; \ | ||
3286 | 1478 | b='upforwd'; \ | ||
3287 | 1385 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | 1479 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ |
3288 | 1386 | --log-file $$b.log --trs-file $$b.trs \ | 1480 | --log-file $$b.log --trs-file $$b.trs \ |
3289 | 1387 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | 1481 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ |
3290 | @@ -1463,6 +1557,13 @@ cds.log: cds | |||
3291 | 1463 | --log-file $$b.log --trs-file $$b.trs \ | 1557 | --log-file $$b.log --trs-file $$b.trs \ |
3292 | 1464 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | 1558 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ |
3293 | 1465 | "$$tst" $(AM_TESTS_FD_REDIRECT) | 1559 | "$$tst" $(AM_TESTS_FD_REDIRECT) |
3294 | 1560 | chain.log: chain | ||
3295 | 1561 | @p='chain'; \ | ||
3296 | 1562 | b='chain'; \ | ||
3297 | 1563 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | ||
3298 | 1564 | --log-file $$b.log --trs-file $$b.trs \ | ||
3299 | 1565 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | ||
3300 | 1566 | "$$tst" $(AM_TESTS_FD_REDIRECT) | ||
3301 | 1466 | checkconf.log: checkconf | 1567 | checkconf.log: checkconf |
3302 | 1467 | @p='checkconf'; \ | 1568 | @p='checkconf'; \ |
3303 | 1468 | b='checkconf'; \ | 1569 | b='checkconf'; \ |
3304 | @@ -1470,6 +1571,13 @@ checkconf.log: checkconf | |||
3305 | 1470 | --log-file $$b.log --trs-file $$b.trs \ | 1571 | --log-file $$b.log --trs-file $$b.trs \ |
3306 | 1471 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | 1572 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ |
3307 | 1472 | "$$tst" $(AM_TESTS_FD_REDIRECT) | 1573 | "$$tst" $(AM_TESTS_FD_REDIRECT) |
3308 | 1574 | checkds.log: checkds | ||
3309 | 1575 | @p='checkds'; \ | ||
3310 | 1576 | b='checkds'; \ | ||
3311 | 1577 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | ||
3312 | 1578 | --log-file $$b.log --trs-file $$b.trs \ | ||
3313 | 1579 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | ||
3314 | 1580 | "$$tst" $(AM_TESTS_FD_REDIRECT) | ||
3315 | 1473 | checknames.log: checknames | 1581 | checknames.log: checknames |
3316 | 1474 | @p='checknames'; \ | 1582 | @p='checknames'; \ |
3317 | 1475 | b='checknames'; \ | 1583 | b='checknames'; \ |
3318 | @@ -1484,6 +1592,13 @@ checkzone.log: checkzone | |||
3319 | 1484 | --log-file $$b.log --trs-file $$b.trs \ | 1592 | --log-file $$b.log --trs-file $$b.trs \ |
3320 | 1485 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | 1593 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ |
3321 | 1486 | "$$tst" $(AM_TESTS_FD_REDIRECT) | 1594 | "$$tst" $(AM_TESTS_FD_REDIRECT) |
3322 | 1595 | cookie.log: cookie | ||
3323 | 1596 | @p='cookie'; \ | ||
3324 | 1597 | b='cookie'; \ | ||
3325 | 1598 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | ||
3326 | 1599 | --log-file $$b.log --trs-file $$b.trs \ | ||
3327 | 1600 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | ||
3328 | 1601 | "$$tst" $(AM_TESTS_FD_REDIRECT) | ||
3329 | 1487 | database.log: database | 1602 | database.log: database |
3330 | 1488 | @p='database'; \ | 1603 | @p='database'; \ |
3331 | 1489 | b='database'; \ | 1604 | b='database'; \ |
3332 | @@ -1498,6 +1613,20 @@ dialup.log: dialup | |||
3333 | 1498 | --log-file $$b.log --trs-file $$b.trs \ | 1613 | --log-file $$b.log --trs-file $$b.trs \ |
3334 | 1499 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | 1614 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ |
3335 | 1500 | "$$tst" $(AM_TESTS_FD_REDIRECT) | 1615 | "$$tst" $(AM_TESTS_FD_REDIRECT) |
3336 | 1616 | digdelv.log: digdelv | ||
3337 | 1617 | @p='digdelv'; \ | ||
3338 | 1618 | b='digdelv'; \ | ||
3339 | 1619 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | ||
3340 | 1620 | --log-file $$b.log --trs-file $$b.trs \ | ||
3341 | 1621 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | ||
3342 | 1622 | "$$tst" $(AM_TESTS_FD_REDIRECT) | ||
3343 | 1623 | dispatch.log: dispatch | ||
3344 | 1624 | @p='dispatch'; \ | ||
3345 | 1625 | b='dispatch'; \ | ||
3346 | 1626 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | ||
3347 | 1627 | --log-file $$b.log --trs-file $$b.trs \ | ||
3348 | 1628 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | ||
3349 | 1629 | "$$tst" $(AM_TESTS_FD_REDIRECT) | ||
3350 | 1501 | dlzexternal.log: dlzexternal | 1630 | dlzexternal.log: dlzexternal |
3351 | 1502 | @p='dlzexternal'; \ | 1631 | @p='dlzexternal'; \ |
3352 | 1503 | b='dlzexternal'; \ | 1632 | b='dlzexternal'; \ |
3353 | @@ -1512,6 +1641,27 @@ dns64.log: dns64 | |||
3354 | 1512 | --log-file $$b.log --trs-file $$b.trs \ | 1641 | --log-file $$b.log --trs-file $$b.trs \ |
3355 | 1513 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | 1642 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ |
3356 | 1514 | "$$tst" $(AM_TESTS_FD_REDIRECT) | 1643 | "$$tst" $(AM_TESTS_FD_REDIRECT) |
3357 | 1644 | dnssec.log: dnssec | ||
3358 | 1645 | @p='dnssec'; \ | ||
3359 | 1646 | b='dnssec'; \ | ||
3360 | 1647 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | ||
3361 | 1648 | --log-file $$b.log --trs-file $$b.trs \ | ||
3362 | 1649 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | ||
3363 | 1650 | "$$tst" $(AM_TESTS_FD_REDIRECT) | ||
3364 | 1651 | dnstap.log: dnstap | ||
3365 | 1652 | @p='dnstap'; \ | ||
3366 | 1653 | b='dnstap'; \ | ||
3367 | 1654 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | ||
3368 | 1655 | --log-file $$b.log --trs-file $$b.trs \ | ||
3369 | 1656 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | ||
3370 | 1657 | "$$tst" $(AM_TESTS_FD_REDIRECT) | ||
3371 | 1658 | doth.log: doth | ||
3372 | 1659 | @p='doth'; \ | ||
3373 | 1660 | b='doth'; \ | ||
3374 | 1661 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | ||
3375 | 1662 | --log-file $$b.log --trs-file $$b.trs \ | ||
3376 | 1663 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | ||
3377 | 1664 | "$$tst" $(AM_TESTS_FD_REDIRECT) | ||
3378 | 1515 | dsdigest.log: dsdigest | 1665 | dsdigest.log: dsdigest |
3379 | 1516 | @p='dsdigest'; \ | 1666 | @p='dsdigest'; \ |
3380 | 1517 | b='dsdigest'; \ | 1667 | b='dsdigest'; \ |
3381 | @@ -1575,6 +1725,13 @@ filter-aaaa.log: filter-aaaa | |||
3382 | 1575 | --log-file $$b.log --trs-file $$b.trs \ | 1725 | --log-file $$b.log --trs-file $$b.trs \ |
3383 | 1576 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | 1726 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ |
3384 | 1577 | "$$tst" $(AM_TESTS_FD_REDIRECT) | 1727 | "$$tst" $(AM_TESTS_FD_REDIRECT) |
3385 | 1728 | fetchlimit.log: fetchlimit | ||
3386 | 1729 | @p='fetchlimit'; \ | ||
3387 | 1730 | b='fetchlimit'; \ | ||
3388 | 1731 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | ||
3389 | 1732 | --log-file $$b.log --trs-file $$b.trs \ | ||
3390 | 1733 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | ||
3391 | 1734 | "$$tst" $(AM_TESTS_FD_REDIRECT) | ||
3392 | 1578 | formerr.log: formerr | 1735 | formerr.log: formerr |
3393 | 1579 | @p='formerr'; \ | 1736 | @p='formerr'; \ |
3394 | 1580 | b='formerr'; \ | 1737 | b='formerr'; \ |
3395 | @@ -1582,6 +1739,13 @@ formerr.log: formerr | |||
3396 | 1582 | --log-file $$b.log --trs-file $$b.trs \ | 1739 | --log-file $$b.log --trs-file $$b.trs \ |
3397 | 1583 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | 1740 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ |
3398 | 1584 | "$$tst" $(AM_TESTS_FD_REDIRECT) | 1741 | "$$tst" $(AM_TESTS_FD_REDIRECT) |
3399 | 1742 | forward.log: forward | ||
3400 | 1743 | @p='forward'; \ | ||
3401 | 1744 | b='forward'; \ | ||
3402 | 1745 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | ||
3403 | 1746 | --log-file $$b.log --trs-file $$b.trs \ | ||
3404 | 1747 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | ||
3405 | 1748 | "$$tst" $(AM_TESTS_FD_REDIRECT) | ||
3406 | 1585 | geoip2.log: geoip2 | 1749 | geoip2.log: geoip2 |
3407 | 1586 | @p='geoip2'; \ | 1750 | @p='geoip2'; \ |
3408 | 1587 | b='geoip2'; \ | 1751 | b='geoip2'; \ |
3409 | @@ -1624,6 +1788,13 @@ integrity.log: integrity | |||
3410 | 1624 | --log-file $$b.log --trs-file $$b.trs \ | 1788 | --log-file $$b.log --trs-file $$b.trs \ |
3411 | 1625 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | 1789 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ |
3412 | 1626 | "$$tst" $(AM_TESTS_FD_REDIRECT) | 1790 | "$$tst" $(AM_TESTS_FD_REDIRECT) |
3413 | 1791 | ixfr.log: ixfr | ||
3414 | 1792 | @p='ixfr'; \ | ||
3415 | 1793 | b='ixfr'; \ | ||
3416 | 1794 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | ||
3417 | 1795 | --log-file $$b.log --trs-file $$b.trs \ | ||
3418 | 1796 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | ||
3419 | 1797 | "$$tst" $(AM_TESTS_FD_REDIRECT) | ||
3420 | 1627 | hooks.log: hooks | 1798 | hooks.log: hooks |
3421 | 1628 | @p='hooks'; \ | 1799 | @p='hooks'; \ |
3422 | 1629 | b='hooks'; \ | 1800 | b='hooks'; \ |
3423 | @@ -1645,6 +1816,13 @@ journal.log: journal | |||
3424 | 1645 | --log-file $$b.log --trs-file $$b.trs \ | 1816 | --log-file $$b.log --trs-file $$b.trs \ |
3425 | 1646 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | 1817 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ |
3426 | 1647 | "$$tst" $(AM_TESTS_FD_REDIRECT) | 1818 | "$$tst" $(AM_TESTS_FD_REDIRECT) |
3427 | 1819 | kasp.log: kasp | ||
3428 | 1820 | @p='kasp'; \ | ||
3429 | 1821 | b='kasp'; \ | ||
3430 | 1822 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | ||
3431 | 1823 | --log-file $$b.log --trs-file $$b.trs \ | ||
3432 | 1824 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | ||
3433 | 1825 | "$$tst" $(AM_TESTS_FD_REDIRECT) | ||
3434 | 1648 | keepalive.log: keepalive | 1826 | keepalive.log: keepalive |
3435 | 1649 | @p='keepalive'; \ | 1827 | @p='keepalive'; \ |
3436 | 1650 | b='keepalive'; \ | 1828 | b='keepalive'; \ |
3437 | @@ -1659,6 +1837,13 @@ keyfromlabel.log: keyfromlabel | |||
3438 | 1659 | --log-file $$b.log --trs-file $$b.trs \ | 1837 | --log-file $$b.log --trs-file $$b.trs \ |
3439 | 1660 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | 1838 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ |
3440 | 1661 | "$$tst" $(AM_TESTS_FD_REDIRECT) | 1839 | "$$tst" $(AM_TESTS_FD_REDIRECT) |
3441 | 1840 | keymgr2kasp.log: keymgr2kasp | ||
3442 | 1841 | @p='keymgr2kasp'; \ | ||
3443 | 1842 | b='keymgr2kasp'; \ | ||
3444 | 1843 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | ||
3445 | 1844 | --log-file $$b.log --trs-file $$b.trs \ | ||
3446 | 1845 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | ||
3447 | 1846 | "$$tst" $(AM_TESTS_FD_REDIRECT) | ||
3448 | 1662 | legacy.log: legacy | 1847 | legacy.log: legacy |
3449 | 1663 | @p='legacy'; \ | 1848 | @p='legacy'; \ |
3450 | 1664 | b='legacy'; \ | 1849 | b='legacy'; \ |
3451 | @@ -1743,6 +1928,20 @@ nslookup.log: nslookup | |||
3452 | 1743 | --log-file $$b.log --trs-file $$b.trs \ | 1928 | --log-file $$b.log --trs-file $$b.trs \ |
3453 | 1744 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | 1929 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ |
3454 | 1745 | "$$tst" $(AM_TESTS_FD_REDIRECT) | 1930 | "$$tst" $(AM_TESTS_FD_REDIRECT) |
3455 | 1931 | nsupdate.log: nsupdate | ||
3456 | 1932 | @p='nsupdate'; \ | ||
3457 | 1933 | b='nsupdate'; \ | ||
3458 | 1934 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | ||
3459 | 1935 | --log-file $$b.log --trs-file $$b.trs \ | ||
3460 | 1936 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | ||
3461 | 1937 | "$$tst" $(AM_TESTS_FD_REDIRECT) | ||
3462 | 1938 | nzd2nzf.log: nzd2nzf | ||
3463 | 1939 | @p='nzd2nzf'; \ | ||
3464 | 1940 | b='nzd2nzf'; \ | ||
3465 | 1941 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | ||
3466 | 1942 | --log-file $$b.log --trs-file $$b.trs \ | ||
3467 | 1943 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | ||
3468 | 1944 | "$$tst" $(AM_TESTS_FD_REDIRECT) | ||
3469 | 1746 | padding.log: padding | 1945 | padding.log: padding |
3470 | 1747 | @p='padding'; \ | 1946 | @p='padding'; \ |
3471 | 1748 | b='padding'; \ | 1947 | b='padding'; \ |
3472 | @@ -1757,6 +1956,27 @@ pending.log: pending | |||
3473 | 1757 | --log-file $$b.log --trs-file $$b.trs \ | 1956 | --log-file $$b.log --trs-file $$b.trs \ |
3474 | 1758 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | 1957 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ |
3475 | 1759 | "$$tst" $(AM_TESTS_FD_REDIRECT) | 1958 | "$$tst" $(AM_TESTS_FD_REDIRECT) |
3476 | 1959 | pipelined.log: pipelined | ||
3477 | 1960 | @p='pipelined'; \ | ||
3478 | 1961 | b='pipelined'; \ | ||
3479 | 1962 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | ||
3480 | 1963 | --log-file $$b.log --trs-file $$b.trs \ | ||
3481 | 1964 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | ||
3482 | 1965 | "$$tst" $(AM_TESTS_FD_REDIRECT) | ||
3483 | 1966 | qmin.log: qmin | ||
3484 | 1967 | @p='qmin'; \ | ||
3485 | 1968 | b='qmin'; \ | ||
3486 | 1969 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | ||
3487 | 1970 | --log-file $$b.log --trs-file $$b.trs \ | ||
3488 | 1971 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | ||
3489 | 1972 | "$$tst" $(AM_TESTS_FD_REDIRECT) | ||
3490 | 1973 | reclimit.log: reclimit | ||
3491 | 1974 | @p='reclimit'; \ | ||
3492 | 1975 | b='reclimit'; \ | ||
3493 | 1976 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | ||
3494 | 1977 | --log-file $$b.log --trs-file $$b.trs \ | ||
3495 | 1978 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | ||
3496 | 1979 | "$$tst" $(AM_TESTS_FD_REDIRECT) | ||
3497 | 1760 | redirect.log: redirect | 1980 | redirect.log: redirect |
3498 | 1761 | @p='redirect'; \ | 1981 | @p='redirect'; \ |
3499 | 1762 | b='redirect'; \ | 1982 | b='redirect'; \ |
3500 | @@ -1764,6 +1984,13 @@ redirect.log: redirect | |||
3501 | 1764 | --log-file $$b.log --trs-file $$b.trs \ | 1984 | --log-file $$b.log --trs-file $$b.trs \ |
3502 | 1765 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | 1985 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ |
3503 | 1766 | "$$tst" $(AM_TESTS_FD_REDIRECT) | 1986 | "$$tst" $(AM_TESTS_FD_REDIRECT) |
3504 | 1987 | resolver.log: resolver | ||
3505 | 1988 | @p='resolver'; \ | ||
3506 | 1989 | b='resolver'; \ | ||
3507 | 1990 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | ||
3508 | 1991 | --log-file $$b.log --trs-file $$b.trs \ | ||
3509 | 1992 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | ||
3510 | 1993 | "$$tst" $(AM_TESTS_FD_REDIRECT) | ||
3511 | 1767 | rndc.log: rndc | 1994 | rndc.log: rndc |
3512 | 1768 | @p='rndc'; \ | 1995 | @p='rndc'; \ |
3513 | 1769 | b='rndc'; \ | 1996 | b='rndc'; \ |
3514 | @@ -1778,9 +2005,9 @@ rootkeysentinel.log: rootkeysentinel | |||
3515 | 1778 | --log-file $$b.log --trs-file $$b.trs \ | 2005 | --log-file $$b.log --trs-file $$b.trs \ |
3516 | 1779 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | 2006 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ |
3517 | 1780 | "$$tst" $(AM_TESTS_FD_REDIRECT) | 2007 | "$$tst" $(AM_TESTS_FD_REDIRECT) |
3521 | 1781 | rpz.log: rpz | 2008 | rpzextra.log: rpzextra |
3522 | 1782 | @p='rpz'; \ | 2009 | @p='rpzextra'; \ |
3523 | 1783 | b='rpz'; \ | 2010 | b='rpzextra'; \ |
3524 | 1784 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | 2011 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ |
3525 | 1785 | --log-file $$b.log --trs-file $$b.trs \ | 2012 | --log-file $$b.log --trs-file $$b.trs \ |
3526 | 1786 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | 2013 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ |
3527 | @@ -1827,6 +2054,13 @@ sfcache.log: sfcache | |||
3528 | 1827 | --log-file $$b.log --trs-file $$b.trs \ | 2054 | --log-file $$b.log --trs-file $$b.trs \ |
3529 | 1828 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | 2055 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ |
3530 | 1829 | "$$tst" $(AM_TESTS_FD_REDIRECT) | 2056 | "$$tst" $(AM_TESTS_FD_REDIRECT) |
3531 | 2057 | shutdown.log: shutdown | ||
3532 | 2058 | @p='shutdown'; \ | ||
3533 | 2059 | b='shutdown'; \ | ||
3534 | 2060 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | ||
3535 | 2061 | --log-file $$b.log --trs-file $$b.trs \ | ||
3536 | 2062 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | ||
3537 | 2063 | "$$tst" $(AM_TESTS_FD_REDIRECT) | ||
3538 | 1830 | smartsign.log: smartsign | 2064 | smartsign.log: smartsign |
3539 | 1831 | @p='smartsign'; \ | 2065 | @p='smartsign'; \ |
3540 | 1832 | b='smartsign'; \ | 2066 | b='smartsign'; \ |
3541 | @@ -1855,6 +2089,27 @@ staticstub.log: staticstub | |||
3542 | 1855 | --log-file $$b.log --trs-file $$b.trs \ | 2089 | --log-file $$b.log --trs-file $$b.trs \ |
3543 | 1856 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | 2090 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ |
3544 | 1857 | "$$tst" $(AM_TESTS_FD_REDIRECT) | 2091 | "$$tst" $(AM_TESTS_FD_REDIRECT) |
3545 | 2092 | statistics.log: statistics | ||
3546 | 2093 | @p='statistics'; \ | ||
3547 | 2094 | b='statistics'; \ | ||
3548 | 2095 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | ||
3549 | 2096 | --log-file $$b.log --trs-file $$b.trs \ | ||
3550 | 2097 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | ||
3551 | 2098 | "$$tst" $(AM_TESTS_FD_REDIRECT) | ||
3552 | 2099 | statschannel.log: statschannel | ||
3553 | 2100 | @p='statschannel'; \ | ||
3554 | 2101 | b='statschannel'; \ | ||
3555 | 2102 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | ||
3556 | 2103 | --log-file $$b.log --trs-file $$b.trs \ | ||
3557 | 2104 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | ||
3558 | 2105 | "$$tst" $(AM_TESTS_FD_REDIRECT) | ||
3559 | 2106 | stress.log: stress | ||
3560 | 2107 | @p='stress'; \ | ||
3561 | 2108 | b='stress'; \ | ||
3562 | 2109 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | ||
3563 | 2110 | --log-file $$b.log --trs-file $$b.trs \ | ||
3564 | 2111 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | ||
3565 | 2112 | "$$tst" $(AM_TESTS_FD_REDIRECT) | ||
3566 | 1858 | stub.log: stub | 2113 | stub.log: stub |
3567 | 1859 | @p='stub'; \ | 2114 | @p='stub'; \ |
3568 | 1860 | b='stub'; \ | 2115 | b='stub'; \ |
3569 | @@ -1869,6 +2124,13 @@ synthfromdnssec.log: synthfromdnssec | |||
3570 | 1869 | --log-file $$b.log --trs-file $$b.trs \ | 2124 | --log-file $$b.log --trs-file $$b.trs \ |
3571 | 1870 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | 2125 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ |
3572 | 1871 | "$$tst" $(AM_TESTS_FD_REDIRECT) | 2126 | "$$tst" $(AM_TESTS_FD_REDIRECT) |
3573 | 2127 | tcp.log: tcp | ||
3574 | 2128 | @p='tcp'; \ | ||
3575 | 2129 | b='tcp'; \ | ||
3576 | 2130 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | ||
3577 | 2131 | --log-file $$b.log --trs-file $$b.trs \ | ||
3578 | 2132 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | ||
3579 | 2133 | "$$tst" $(AM_TESTS_FD_REDIRECT) | ||
3580 | 1872 | tkey.log: tkey | 2134 | tkey.log: tkey |
3581 | 1873 | @p='tkey'; \ | 2135 | @p='tkey'; \ |
3582 | 1874 | b='tkey'; \ | 2136 | b='tkey'; \ |
3583 | @@ -1939,97 +2201,6 @@ wildcard.log: wildcard | |||
3584 | 1939 | --log-file $$b.log --trs-file $$b.trs \ | 2201 | --log-file $$b.log --trs-file $$b.trs \ |
3585 | 1940 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | 2202 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ |
3586 | 1941 | "$$tst" $(AM_TESTS_FD_REDIRECT) | 2203 | "$$tst" $(AM_TESTS_FD_REDIRECT) |
3587 | 1942 | xferquota.log: xferquota | ||
3588 | 1943 | @p='xferquota'; \ | ||
3589 | 1944 | b='xferquota'; \ | ||
3590 | 1945 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | ||
3591 | 1946 | --log-file $$b.log --trs-file $$b.trs \ | ||
3592 | 1947 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | ||
3593 | 1948 | "$$tst" $(AM_TESTS_FD_REDIRECT) | ||
3594 | 1949 | zonechecks.log: zonechecks | ||
3595 | 1950 | @p='zonechecks'; \ | ||
3596 | 1951 | b='zonechecks'; \ | ||
3597 | 1952 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | ||
3598 | 1953 | --log-file $$b.log --trs-file $$b.trs \ | ||
3599 | 1954 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | ||
3600 | 1955 | "$$tst" $(AM_TESTS_FD_REDIRECT) | ||
3601 | 1956 | nzd2nzf.log: nzd2nzf | ||
3602 | 1957 | @p='nzd2nzf'; \ | ||
3603 | 1958 | b='nzd2nzf'; \ | ||
3604 | 1959 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | ||
3605 | 1960 | --log-file $$b.log --trs-file $$b.trs \ | ||
3606 | 1961 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | ||
3607 | 1962 | "$$tst" $(AM_TESTS_FD_REDIRECT) | ||
3608 | 1963 | fetchlimit.log: fetchlimit | ||
3609 | 1964 | @p='fetchlimit'; \ | ||
3610 | 1965 | b='fetchlimit'; \ | ||
3611 | 1966 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | ||
3612 | 1967 | --log-file $$b.log --trs-file $$b.trs \ | ||
3613 | 1968 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | ||
3614 | 1969 | "$$tst" $(AM_TESTS_FD_REDIRECT) | ||
3615 | 1970 | ixfr.log: ixfr | ||
3616 | 1971 | @p='ixfr'; \ | ||
3617 | 1972 | b='ixfr'; \ | ||
3618 | 1973 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | ||
3619 | 1974 | --log-file $$b.log --trs-file $$b.trs \ | ||
3620 | 1975 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | ||
3621 | 1976 | "$$tst" $(AM_TESTS_FD_REDIRECT) | ||
3622 | 1977 | nsupdate.log: nsupdate | ||
3623 | 1978 | @p='nsupdate'; \ | ||
3624 | 1979 | b='nsupdate'; \ | ||
3625 | 1980 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | ||
3626 | 1981 | --log-file $$b.log --trs-file $$b.trs \ | ||
3627 | 1982 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | ||
3628 | 1983 | "$$tst" $(AM_TESTS_FD_REDIRECT) | ||
3629 | 1984 | resolver.log: resolver | ||
3630 | 1985 | @p='resolver'; \ | ||
3631 | 1986 | b='resolver'; \ | ||
3632 | 1987 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | ||
3633 | 1988 | --log-file $$b.log --trs-file $$b.trs \ | ||
3634 | 1989 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | ||
3635 | 1990 | "$$tst" $(AM_TESTS_FD_REDIRECT) | ||
3636 | 1991 | statistics.log: statistics | ||
3637 | 1992 | @p='statistics'; \ | ||
3638 | 1993 | b='statistics'; \ | ||
3639 | 1994 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | ||
3640 | 1995 | --log-file $$b.log --trs-file $$b.trs \ | ||
3641 | 1996 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | ||
3642 | 1997 | "$$tst" $(AM_TESTS_FD_REDIRECT) | ||
3643 | 1998 | stress.log: stress | ||
3644 | 1999 | @p='stress'; \ | ||
3645 | 2000 | b='stress'; \ | ||
3646 | 2001 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | ||
3647 | 2002 | --log-file $$b.log --trs-file $$b.trs \ | ||
3648 | 2003 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | ||
3649 | 2004 | "$$tst" $(AM_TESTS_FD_REDIRECT) | ||
3650 | 2005 | upforwd.log: upforwd | ||
3651 | 2006 | @p='upforwd'; \ | ||
3652 | 2007 | b='upforwd'; \ | ||
3653 | 2008 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | ||
3654 | 2009 | --log-file $$b.log --trs-file $$b.trs \ | ||
3655 | 2010 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | ||
3656 | 2011 | "$$tst" $(AM_TESTS_FD_REDIRECT) | ||
3657 | 2012 | zero.log: zero | ||
3658 | 2013 | @p='zero'; \ | ||
3659 | 2014 | b='zero'; \ | ||
3660 | 2015 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | ||
3661 | 2016 | --log-file $$b.log --trs-file $$b.trs \ | ||
3662 | 2017 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | ||
3663 | 2018 | "$$tst" $(AM_TESTS_FD_REDIRECT) | ||
3664 | 2019 | dnstap.log: dnstap | ||
3665 | 2020 | @p='dnstap'; \ | ||
3666 | 2021 | b='dnstap'; \ | ||
3667 | 2022 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | ||
3668 | 2023 | --log-file $$b.log --trs-file $$b.trs \ | ||
3669 | 2024 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | ||
3670 | 2025 | "$$tst" $(AM_TESTS_FD_REDIRECT) | ||
3671 | 2026 | statschannel.log: statschannel | ||
3672 | 2027 | @p='statschannel'; \ | ||
3673 | 2028 | b='statschannel'; \ | ||
3674 | 2029 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | ||
3675 | 2030 | --log-file $$b.log --trs-file $$b.trs \ | ||
3676 | 2031 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | ||
3677 | 2032 | "$$tst" $(AM_TESTS_FD_REDIRECT) | ||
3678 | 2033 | xfer.log: xfer | 2204 | xfer.log: xfer |
3679 | 2034 | @p='xfer'; \ | 2205 | @p='xfer'; \ |
3680 | 2035 | b='xfer'; \ | 2206 | b='xfer'; \ |
3681 | @@ -2037,114 +2208,23 @@ xfer.log: xfer | |||
3682 | 2037 | --log-file $$b.log --trs-file $$b.trs \ | 2208 | --log-file $$b.log --trs-file $$b.trs \ |
3683 | 2038 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | 2209 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ |
3684 | 2039 | "$$tst" $(AM_TESTS_FD_REDIRECT) | 2210 | "$$tst" $(AM_TESTS_FD_REDIRECT) |
3779 | 2040 | reclimit.log: reclimit | 2211 | xferquota.log: xferquota |
3780 | 2041 | @p='reclimit'; \ | 2212 | @p='xferquota'; \ |
3781 | 2042 | b='reclimit'; \ | 2213 | b='xferquota'; \ |
3688 | 2043 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | ||
3689 | 2044 | --log-file $$b.log --trs-file $$b.trs \ | ||
3690 | 2045 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | ||
3691 | 2046 | "$$tst" $(AM_TESTS_FD_REDIRECT) | ||
3692 | 2047 | kasp.log: kasp | ||
3693 | 2048 | @p='kasp'; \ | ||
3694 | 2049 | b='kasp'; \ | ||
3695 | 2050 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | ||
3696 | 2051 | --log-file $$b.log --trs-file $$b.trs \ | ||
3697 | 2052 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | ||
3698 | 2053 | "$$tst" $(AM_TESTS_FD_REDIRECT) | ||
3699 | 2054 | keymgr2kasp.log: keymgr2kasp | ||
3700 | 2055 | @p='keymgr2kasp'; \ | ||
3701 | 2056 | b='keymgr2kasp'; \ | ||
3702 | 2057 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | ||
3703 | 2058 | --log-file $$b.log --trs-file $$b.trs \ | ||
3704 | 2059 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | ||
3705 | 2060 | "$$tst" $(AM_TESTS_FD_REDIRECT) | ||
3706 | 2061 | tcp.log: tcp | ||
3707 | 2062 | @p='tcp'; \ | ||
3708 | 2063 | b='tcp'; \ | ||
3709 | 2064 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | ||
3710 | 2065 | --log-file $$b.log --trs-file $$b.trs \ | ||
3711 | 2066 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | ||
3712 | 2067 | "$$tst" $(AM_TESTS_FD_REDIRECT) | ||
3713 | 2068 | pipelined.log: pipelined | ||
3714 | 2069 | @p='pipelined'; \ | ||
3715 | 2070 | b='pipelined'; \ | ||
3716 | 2071 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | ||
3717 | 2072 | --log-file $$b.log --trs-file $$b.trs \ | ||
3718 | 2073 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | ||
3719 | 2074 | "$$tst" $(AM_TESTS_FD_REDIRECT) | ||
3720 | 2075 | checkds.log: checkds | ||
3721 | 2076 | @p='checkds'; \ | ||
3722 | 2077 | b='checkds'; \ | ||
3723 | 2078 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | ||
3724 | 2079 | --log-file $$b.log --trs-file $$b.trs \ | ||
3725 | 2080 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | ||
3726 | 2081 | "$$tst" $(AM_TESTS_FD_REDIRECT) | ||
3727 | 2082 | dispatch.log: dispatch | ||
3728 | 2083 | @p='dispatch'; \ | ||
3729 | 2084 | b='dispatch'; \ | ||
3730 | 2085 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | ||
3731 | 2086 | --log-file $$b.log --trs-file $$b.trs \ | ||
3732 | 2087 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | ||
3733 | 2088 | "$$tst" $(AM_TESTS_FD_REDIRECT) | ||
3734 | 2089 | rpzextra.log: rpzextra | ||
3735 | 2090 | @p='rpzextra'; \ | ||
3736 | 2091 | b='rpzextra'; \ | ||
3737 | 2092 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | ||
3738 | 2093 | --log-file $$b.log --trs-file $$b.trs \ | ||
3739 | 2094 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | ||
3740 | 2095 | "$$tst" $(AM_TESTS_FD_REDIRECT) | ||
3741 | 2096 | shutdown.log: shutdown | ||
3742 | 2097 | @p='shutdown'; \ | ||
3743 | 2098 | b='shutdown'; \ | ||
3744 | 2099 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | ||
3745 | 2100 | --log-file $$b.log --trs-file $$b.trs \ | ||
3746 | 2101 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | ||
3747 | 2102 | "$$tst" $(AM_TESTS_FD_REDIRECT) | ||
3748 | 2103 | timeouts.log: timeouts | ||
3749 | 2104 | @p='timeouts'; \ | ||
3750 | 2105 | b='timeouts'; \ | ||
3751 | 2106 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | ||
3752 | 2107 | --log-file $$b.log --trs-file $$b.trs \ | ||
3753 | 2108 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | ||
3754 | 2109 | "$$tst" $(AM_TESTS_FD_REDIRECT) | ||
3755 | 2110 | qmin.log: qmin | ||
3756 | 2111 | @p='qmin'; \ | ||
3757 | 2112 | b='qmin'; \ | ||
3758 | 2113 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | ||
3759 | 2114 | --log-file $$b.log --trs-file $$b.trs \ | ||
3760 | 2115 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | ||
3761 | 2116 | "$$tst" $(AM_TESTS_FD_REDIRECT) | ||
3762 | 2117 | cookie.log: cookie | ||
3763 | 2118 | @p='cookie'; \ | ||
3764 | 2119 | b='cookie'; \ | ||
3765 | 2120 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | ||
3766 | 2121 | --log-file $$b.log --trs-file $$b.trs \ | ||
3767 | 2122 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | ||
3768 | 2123 | "$$tst" $(AM_TESTS_FD_REDIRECT) | ||
3769 | 2124 | digdelv.log: digdelv | ||
3770 | 2125 | @p='digdelv'; \ | ||
3771 | 2126 | b='digdelv'; \ | ||
3772 | 2127 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | ||
3773 | 2128 | --log-file $$b.log --trs-file $$b.trs \ | ||
3774 | 2129 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | ||
3775 | 2130 | "$$tst" $(AM_TESTS_FD_REDIRECT) | ||
3776 | 2131 | dnssec.log: dnssec | ||
3777 | 2132 | @p='dnssec'; \ | ||
3778 | 2133 | b='dnssec'; \ | ||
3782 | 2134 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | 2214 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ |
3783 | 2135 | --log-file $$b.log --trs-file $$b.trs \ | 2215 | --log-file $$b.log --trs-file $$b.trs \ |
3784 | 2136 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | 2216 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ |
3785 | 2137 | "$$tst" $(AM_TESTS_FD_REDIRECT) | 2217 | "$$tst" $(AM_TESTS_FD_REDIRECT) |
3789 | 2138 | forward.log: forward | 2218 | zero.log: zero |
3790 | 2139 | @p='forward'; \ | 2219 | @p='zero'; \ |
3791 | 2140 | b='forward'; \ | 2220 | b='zero'; \ |
3792 | 2141 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | 2221 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ |
3793 | 2142 | --log-file $$b.log --trs-file $$b.trs \ | 2222 | --log-file $$b.log --trs-file $$b.trs \ |
3794 | 2143 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | 2223 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ |
3795 | 2144 | "$$tst" $(AM_TESTS_FD_REDIRECT) | 2224 | "$$tst" $(AM_TESTS_FD_REDIRECT) |
3799 | 2145 | chain.log: chain | 2225 | zonechecks.log: zonechecks |
3800 | 2146 | @p='chain'; \ | 2226 | @p='zonechecks'; \ |
3801 | 2147 | b='chain'; \ | 2227 | b='zonechecks'; \ |
3802 | 2148 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | 2228 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ |
3803 | 2149 | --log-file $$b.log --trs-file $$b.trs \ | 2229 | --log-file $$b.log --trs-file $$b.trs \ |
3804 | 2150 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | 2230 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ |
3805 | @@ -2163,7 +2243,6 @@ chain.log: chain | |||
3806 | 2163 | @am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \ | 2243 | @am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \ |
3807 | 2164 | @am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \ | 2244 | @am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \ |
3808 | 2165 | @am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT) | 2245 | @am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT) |
3809 | 2166 | |||
3810 | 2167 | distdir: $(BUILT_SOURCES) | 2246 | distdir: $(BUILT_SOURCES) |
3811 | 2168 | $(MAKE) $(AM_MAKEFLAGS) distdir-am | 2247 | $(MAKE) $(AM_MAKEFLAGS) distdir-am |
3812 | 2169 | 2248 | ||
3813 | @@ -2226,10 +2305,9 @@ distdir-am: $(DISTFILES) | |||
3814 | 2226 | top_distdir="$(top_distdir)" distdir="$(distdir)" \ | 2305 | top_distdir="$(top_distdir)" distdir="$(distdir)" \ |
3815 | 2227 | dist-hook | 2306 | dist-hook |
3816 | 2228 | check-am: all-am | 2307 | check-am: all-am |
3817 | 2229 | $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) | ||
3818 | 2230 | $(MAKE) $(AM_MAKEFLAGS) check-TESTS | 2308 | $(MAKE) $(AM_MAKEFLAGS) check-TESTS |
3819 | 2231 | check: check-recursive | 2309 | check: check-recursive |
3821 | 2232 | all-am: Makefile | 2310 | all-am: Makefile $(PROGRAMS) |
3822 | 2233 | installdirs: installdirs-recursive | 2311 | installdirs: installdirs-recursive |
3823 | 2234 | installdirs-am: | 2312 | installdirs-am: |
3824 | 2235 | install: install-recursive | 2313 | install: install-recursive |
3825 | @@ -2275,7 +2353,7 @@ maintainer-clean-generic: | |||
3826 | 2275 | @echo "it deletes files that may require special tools to rebuild." | 2353 | @echo "it deletes files that may require special tools to rebuild." |
3827 | 2276 | clean: clean-recursive | 2354 | clean: clean-recursive |
3828 | 2277 | 2355 | ||
3830 | 2278 | clean-am: clean-checkPROGRAMS clean-generic clean-libtool \ | 2356 | clean-am: clean-generic clean-libtool clean-local clean-noinstPROGRAMS \ |
3831 | 2279 | mostlyclean-am | 2357 | mostlyclean-am |
3832 | 2280 | 2358 | ||
3833 | 2281 | distclean: distclean-recursive | 2359 | distclean: distclean-recursive |
3834 | @@ -2373,8 +2451,8 @@ unit-am: unit-local | |||
3835 | 2373 | .MAKE: $(am__recursive_targets) check-am install-am install-strip | 2451 | .MAKE: $(am__recursive_targets) check-am install-am install-strip |
3836 | 2374 | 2452 | ||
3837 | 2375 | .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \ | 2453 | .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \ |
3840 | 2376 | am--depfiles check check-TESTS check-am clean \ | 2454 | am--depfiles check check-TESTS check-am clean clean-generic \ |
3841 | 2377 | clean-checkPROGRAMS clean-generic clean-libtool cscopelist-am \ | 2455 | clean-libtool clean-local clean-noinstPROGRAMS cscopelist-am \ |
3842 | 2378 | ctags ctags-am dist-hook distclean distclean-compile \ | 2456 | ctags ctags-am dist-hook distclean distclean-compile \ |
3843 | 2379 | distclean-generic distclean-libtool distclean-tags distdir \ | 2457 | distclean-generic distclean-libtool distclean-tags distdir \ |
3844 | 2380 | doc-am doc-local dvi dvi-am html html-am info info-am install \ | 2458 | doc-am doc-local dvi dvi-am html html-am info info-am install \ |
3845 | @@ -2398,14 +2476,21 @@ dist-hook: | |||
3846 | 2398 | sed -n "s|^Would remove \(.*\)|$(distdir)/\1|p" | \ | 2476 | sed -n "s|^Would remove \(.*\)|$(distdir)/\1|p" | \ |
3847 | 2399 | xargs -I{} rm -rf "{}" | 2477 | xargs -I{} rm -rf "{}" |
3848 | 2400 | 2478 | ||
3849 | 2479 | @HAVE_PERL_TRUE@@HAVE_PYTEST_FALSE@@HAVE_PYTHON_TRUE@check: | ||
3850 | 2480 | @HAVE_PERL_TRUE@@HAVE_PYTEST_FALSE@@HAVE_PYTHON_TRUE@ echo pytest is not available, no tests were ran | ||
3851 | 2481 | @HAVE_PERL_TRUE@@HAVE_PYTEST_FALSE@@HAVE_PYTHON_TRUE@ exit 1 | ||
3852 | 2482 | @HAVE_PERL_TRUE@@HAVE_PYTHON_FALSE@check: | ||
3853 | 2483 | @HAVE_PERL_TRUE@@HAVE_PYTHON_FALSE@ echo Python is not available, no tests were ran | ||
3854 | 2484 | @HAVE_PERL_TRUE@@HAVE_PYTHON_FALSE@ exit 1 | ||
3855 | 2401 | @HAVE_PERL_FALSE@check: | 2485 | @HAVE_PERL_FALSE@check: |
3856 | 2402 | @HAVE_PERL_FALSE@ echo Perl is not available, no tests were ran | 2486 | @HAVE_PERL_FALSE@ echo Perl is not available, no tests were ran |
3857 | 2403 | @HAVE_PERL_FALSE@ exit 1 | 2487 | @HAVE_PERL_FALSE@ exit 1 |
3858 | 2404 | 2488 | ||
3859 | 2405 | $(TESTS): legacy.run.sh | ||
3860 | 2406 | |||
3861 | 2407 | test-local: check | 2489 | test-local: check |
3862 | 2408 | 2490 | ||
3863 | 2491 | clean-local:: | ||
3864 | 2492 | -find -L . -mindepth 1 -maxdepth 1 -type d -name "*_*" -and -not -name "_common" -exec rm -rf {} \; | ||
3865 | 2493 | |||
3866 | 2409 | # Tell versions [3.59,3.63) of GNU make to not export all variables. | 2494 | # Tell versions [3.59,3.63) of GNU make to not export all variables. |
3867 | 2410 | # Otherwise a system limit (for SysV at least) may be exceeded. | 2495 | # Otherwise a system limit (for SysV at least) may be exceeded. |
3868 | 2411 | .NOEXPORT: | 2496 | .NOEXPORT: |
3869 | diff --git a/bin/tests/system/README b/bin/tests/system/README | |||
3870 | index 265a9ef..cb9f71b 100644 | |||
3871 | --- a/bin/tests/system/README | |||
3872 | +++ b/bin/tests/system/README | |||
3873 | @@ -14,10 +14,9 @@ Introduction | |||
3874 | 14 | This directory holds a simple test environment for running bind9 system tests | 14 | This directory holds a simple test environment for running bind9 system tests |
3875 | 15 | involving multiple name servers. | 15 | involving multiple name servers. |
3876 | 16 | 16 | ||
3881 | 17 | With the exception of "common" (which holds configuration information common to | 17 | Each system test directory holds a set of scripts and configuration files to |
3882 | 18 | multiple tests), each directory holds a set of scripts and configuration | 18 | test different parts of BIND. The directories are named for the aspect of BIND |
3883 | 19 | files to test different parts of BIND. The directories are named for the | 19 | they test, for example: |
3880 | 20 | aspect of BIND they test, for example: | ||
3884 | 21 | 20 | ||
3885 | 22 | dnssec/ DNSSEC tests | 21 | dnssec/ DNSSEC tests |
3886 | 23 | forward/ Forwarding tests | 22 | forward/ Forwarding tests |
3887 | @@ -25,6 +24,9 @@ aspect of BIND they test, for example: | |||
3888 | 25 | 24 | ||
3889 | 26 | etc. | 25 | etc. |
3890 | 27 | 26 | ||
3891 | 27 | A system test directory must start with an alphabetic character and may not | ||
3892 | 28 | contain any special characters. Only hyphen may be used as a word separator. | ||
3893 | 29 | |||
3894 | 28 | Typically each set of tests sets up 2-5 name servers and then performs one or | 30 | Typically each set of tests sets up 2-5 name servers and then performs one or |
3895 | 29 | more tests against them. Within the test subdirectory, each name server has a | 31 | more tests against them. Within the test subdirectory, each name server has a |
3896 | 30 | separate subdirectory containing its configuration data. These subdirectories | 32 | separate subdirectory containing its configuration data. These subdirectories |
3897 | @@ -323,6 +325,8 @@ setup.sh Run after prereq.sh, this sets up the preconditions for the tests. | |||
3898 | 323 | 325 | ||
3899 | 324 | tests.sh Runs the actual tests. This file is mandatory. | 326 | tests.sh Runs the actual tests. This file is mandatory. |
3900 | 325 | 327 | ||
3901 | 328 | tests_sh_xyz.py A glue file for the pytest runner for executing shell tests. | ||
3902 | 329 | |||
3903 | 326 | clean.sh Run at the end to clean up temporary files, but only if the test | 330 | clean.sh Run at the end to clean up temporary files, but only if the test |
3904 | 327 | was completed successfully and its running was not inhibited by the | 331 | was completed successfully and its running was not inhibited by the |
3905 | 328 | "-n" switch being passed to "legacy.run.sh". Otherwise the | 332 | "-n" switch being passed to "legacy.run.sh". Otherwise the |
3906 | @@ -542,6 +546,17 @@ e. Retain a count of test failures and return this as the exit status from | |||
3907 | 542 | the script. | 546 | the script. |
3908 | 543 | 547 | ||
3909 | 544 | 548 | ||
3910 | 549 | tests_sh_xyz.py | ||
3911 | 550 | --------------- | ||
3912 | 551 | This glue file is required by the pytest runner in order to find and execute | ||
3913 | 552 | the shell tests in tests.sh. | ||
3914 | 553 | |||
3915 | 554 | Replace the "xyz" with the system test name and create the file with the | ||
3916 | 555 | following contents. | ||
3917 | 556 | |||
3918 | 557 | def test_xyz(run_tests_sh): | ||
3919 | 558 | run_tests_sh() | ||
3920 | 559 | |||
3921 | 545 | clean.sh | 560 | clean.sh |
3922 | 546 | --- | 561 | --- |
3923 | 547 | The inverse of "setup.sh", this is invoked by the framework to clean up the | 562 | The inverse of "setup.sh", this is invoked by the framework to clean up the |
3924 | @@ -695,13 +710,13 @@ or SEQUENTIAL variables. | |||
3925 | 695 | need to edit multiple files to add a test.) | 710 | need to edit multiple files to add a test.) |
3926 | 696 | 711 | ||
3927 | 697 | 712 | ||
3929 | 698 | Valgrind | 713 | rr |
3930 | 699 | --- | 714 | --- |
3936 | 700 | When running system tests, named can be run under Valgrind. The output from | 715 | |
3937 | 701 | Valgrind are sent to per-process files that can be reviewed after the test has | 716 | When running system tests, named can be run under the rr tool. rr records a |
3938 | 702 | completed. To enable this, set the USE_VALGRIND environment variable to | 717 | trace to the $system_test/nsX/named-Y/ directory, which can be later used to |
3939 | 703 | "helgrind" to run the Helgrind tool, or any other value to run the Memcheck | 718 | replay named. To enable this, execute start.pl with the USE_RR environment |
3940 | 704 | tool. To use "helgrind" effectively, build BIND with --disable-atomic. | 719 | variable set. |
3941 | 705 | 720 | ||
3942 | 706 | Developer Notes for pytest runner | 721 | Developer Notes for pytest runner |
3943 | 707 | === | 722 | === |
3944 | diff --git a/bin/tests/system/common/controls.conf.in b/bin/tests/system/_common/controls.conf.in | |||
3945 | 708 | similarity index 100% | 723 | similarity index 100% |
3946 | 709 | rename from bin/tests/system/common/controls.conf.in | 724 | rename from bin/tests/system/common/controls.conf.in |
3947 | 710 | rename to bin/tests/system/_common/controls.conf.in | 725 | rename to bin/tests/system/_common/controls.conf.in |
3948 | diff --git a/bin/tests/system/common/rndc.conf b/bin/tests/system/_common/rndc.conf | |||
3949 | 711 | similarity index 100% | 726 | similarity index 100% |
3950 | 712 | rename from bin/tests/system/common/rndc.conf | 727 | rename from bin/tests/system/common/rndc.conf |
3951 | 713 | rename to bin/tests/system/_common/rndc.conf | 728 | rename to bin/tests/system/_common/rndc.conf |
3952 | diff --git a/bin/tests/system/common/rndc.key b/bin/tests/system/_common/rndc.key | |||
3953 | 714 | similarity index 100% | 729 | similarity index 100% |
3954 | 715 | rename from bin/tests/system/common/rndc.key | 730 | rename from bin/tests/system/common/rndc.key |
3955 | 716 | rename to bin/tests/system/_common/rndc.key | 731 | rename to bin/tests/system/_common/rndc.key |
3956 | diff --git a/bin/tests/system/common/root.hint b/bin/tests/system/_common/root.hint | |||
3957 | 717 | similarity index 100% | 732 | similarity index 100% |
3958 | 718 | rename from bin/tests/system/common/root.hint | 733 | rename from bin/tests/system/common/root.hint |
3959 | 719 | rename to bin/tests/system/_common/root.hint | 734 | rename to bin/tests/system/_common/root.hint |
3960 | diff --git a/bin/tests/system/acl/ns2/named1.conf.in b/bin/tests/system/acl/ns2/named1.conf.in | |||
3961 | index c3343a3..d87b1a7 100644 | |||
3962 | --- a/bin/tests/system/acl/ns2/named1.conf.in | |||
3963 | +++ b/bin/tests/system/acl/ns2/named1.conf.in | |||
3964 | @@ -47,7 +47,7 @@ key two { | |||
3965 | 47 | 47 | ||
3966 | 48 | zone "." { | 48 | zone "." { |
3967 | 49 | type hint; | 49 | type hint; |
3969 | 50 | file "../../common/root.hint"; | 50 | file "../../_common/root.hint"; |
3970 | 51 | }; | 51 | }; |
3971 | 52 | 52 | ||
3972 | 53 | zone "example" { | 53 | zone "example" { |
3973 | diff --git a/bin/tests/system/acl/ns2/named2.conf.in b/bin/tests/system/acl/ns2/named2.conf.in | |||
3974 | index ac9ac84..2456e99 100644 | |||
3975 | --- a/bin/tests/system/acl/ns2/named2.conf.in | |||
3976 | +++ b/bin/tests/system/acl/ns2/named2.conf.in | |||
3977 | @@ -47,7 +47,7 @@ key two { | |||
3978 | 47 | 47 | ||
3979 | 48 | zone "." { | 48 | zone "." { |
3980 | 49 | type hint; | 49 | type hint; |
3982 | 50 | file "../../common/root.hint"; | 50 | file "../../_common/root.hint"; |
3983 | 51 | }; | 51 | }; |
3984 | 52 | 52 | ||
3985 | 53 | zone "example" { | 53 | zone "example" { |
3986 | diff --git a/bin/tests/system/acl/ns2/named3.conf.in b/bin/tests/system/acl/ns2/named3.conf.in | |||
3987 | index efa73fa..99320a7 100644 | |||
3988 | --- a/bin/tests/system/acl/ns2/named3.conf.in | |||
3989 | +++ b/bin/tests/system/acl/ns2/named3.conf.in | |||
3990 | @@ -60,7 +60,7 @@ acl accept { | |||
3991 | 60 | 60 | ||
3992 | 61 | zone "." { | 61 | zone "." { |
3993 | 62 | type hint; | 62 | type hint; |
3995 | 63 | file "../../common/root.hint"; | 63 | file "../../_common/root.hint"; |
3996 | 64 | }; | 64 | }; |
3997 | 65 | 65 | ||
3998 | 66 | zone "example" { | 66 | zone "example" { |
3999 | diff --git a/bin/tests/system/acl/ns2/named4.conf.in b/bin/tests/system/acl/ns2/named4.conf.in | |||
4000 | index 54c0da3..08bd80c 100644 | |||
4001 | --- a/bin/tests/system/acl/ns2/named4.conf.in | |||
4002 | +++ b/bin/tests/system/acl/ns2/named4.conf.in | |||
4003 | @@ -59,7 +59,7 @@ acl check2 { !key two; 10.53.0.2; }; | |||
4004 | 59 | 59 | ||
4005 | 60 | zone "." { | 60 | zone "." { |
4006 | 61 | type hint; | 61 | type hint; |
4008 | 62 | file "../../common/root.hint"; | 62 | file "../../_common/root.hint"; |
4009 | 63 | }; | 63 | }; |
4010 | 64 | 64 | ||
4011 | 65 | zone "example" { | 65 | zone "example" { |
4012 | diff --git a/bin/tests/system/acl/ns2/named5.conf.in b/bin/tests/system/acl/ns2/named5.conf.in | |||
4013 | index e5b57f0..94371d0 100644 | |||
4014 | --- a/bin/tests/system/acl/ns2/named5.conf.in | |||
4015 | +++ b/bin/tests/system/acl/ns2/named5.conf.in | |||
4016 | @@ -49,7 +49,7 @@ key two { | |||
4017 | 49 | 49 | ||
4018 | 50 | zone "." { | 50 | zone "." { |
4019 | 51 | type hint; | 51 | type hint; |
4021 | 52 | file "../../common/root.hint"; | 52 | file "../../_common/root.hint"; |
4022 | 53 | }; | 53 | }; |
4023 | 54 | 54 | ||
4024 | 55 | zone "example" { | 55 | zone "example" { |
4025 | diff --git a/bin/tests/system/acl/tests.sh b/bin/tests/system/acl/tests.sh | |||
4026 | index 48536da..4e6c241 100644 | |||
4027 | --- a/bin/tests/system/acl/tests.sh | |||
4028 | +++ b/bin/tests/system/acl/tests.sh | |||
4029 | @@ -16,7 +16,7 @@ set -e | |||
4030 | 16 | . ../conf.sh | 16 | . ../conf.sh |
4031 | 17 | 17 | ||
4032 | 18 | DIGOPTS="+tcp +noadd +nosea +nostat +noquest +nocomm +nocmd -p ${PORT}" | 18 | DIGOPTS="+tcp +noadd +nosea +nostat +noquest +nocomm +nocmd -p ${PORT}" |
4034 | 19 | RNDCCMD="$RNDC -c ../common/rndc.conf -p ${CONTROLPORT} -s" | 19 | RNDCCMD="$RNDC -c ../_common/rndc.conf -p ${CONTROLPORT} -s" |
4035 | 20 | 20 | ||
4036 | 21 | status=0 | 21 | status=0 |
4037 | 22 | t=0 | 22 | t=0 |
4038 | @@ -25,15 +25,20 @@ echo_i "testing basic ACL processing" | |||
4039 | 25 | # key "one" should fail | 25 | # key "one" should fail |
4040 | 26 | t=$((t + 1)) | 26 | t=$((t + 1)) |
4041 | 27 | $DIG $DIGOPTS tsigzone. \ | 27 | $DIG $DIGOPTS tsigzone. \ |
4045 | 28 | @10.53.0.2 -b 10.53.0.1 axfr -y one:1234abcd8765 > dig.out.${t} | 28 | @10.53.0.2 -b 10.53.0.1 axfr -y one:1234abcd8765 >dig.out.${t} |
4046 | 29 | grep "^;" dig.out.${t} > /dev/null 2>&1 || { echo_i "test $t failed" ; status=1; } | 29 | grep "^;" dig.out.${t} >/dev/null 2>&1 || { |
4047 | 30 | 30 | echo_i "test $t failed" | |
4048 | 31 | status=1 | ||
4049 | 32 | } | ||
4050 | 31 | 33 | ||
4051 | 32 | # any other key should be fine | 34 | # any other key should be fine |
4052 | 33 | t=$((t + 1)) | 35 | t=$((t + 1)) |
4053 | 34 | $DIG $DIGOPTS tsigzone. \ | 36 | $DIG $DIGOPTS tsigzone. \ |
4056 | 35 | @10.53.0.2 -b 10.53.0.1 axfr -y two:1234abcd8765 > dig.out.${t} | 37 | @10.53.0.2 -b 10.53.0.1 axfr -y two:1234abcd8765 >dig.out.${t} |
4057 | 36 | grep "^;" dig.out.${t} > /dev/null 2>&1 && { echo_i "test $t failed" ; status=1; } | 38 | grep "^;" dig.out.${t} >/dev/null 2>&1 && { |
4058 | 39 | echo_i "test $t failed" | ||
4059 | 40 | status=1 | ||
4060 | 41 | } | ||
4061 | 37 | 42 | ||
4062 | 38 | copy_setports ns2/named2.conf.in ns2/named.conf | 43 | copy_setports ns2/named2.conf.in ns2/named.conf |
4063 | 39 | rndc_reload ns2 10.53.0.2 | 44 | rndc_reload ns2 10.53.0.2 |
4064 | @@ -42,19 +47,28 @@ sleep 5 | |||
4065 | 42 | # prefix 10/8 should fail | 47 | # prefix 10/8 should fail |
4066 | 43 | t=$((t + 1)) | 48 | t=$((t + 1)) |
4067 | 44 | $DIG $DIGOPTS tsigzone. \ | 49 | $DIG $DIGOPTS tsigzone. \ |
4070 | 45 | @10.53.0.2 -b 10.53.0.1 axfr -y one:1234abcd8765 > dig.out.${t} | 50 | @10.53.0.2 -b 10.53.0.1 axfr -y one:1234abcd8765 >dig.out.${t} |
4071 | 46 | grep "^;" dig.out.${t} > /dev/null 2>&1 || { echo_i "test $t failed" ; status=1; } | 51 | grep "^;" dig.out.${t} >/dev/null 2>&1 || { |
4072 | 52 | echo_i "test $t failed" | ||
4073 | 53 | status=1 | ||
4074 | 54 | } | ||
4075 | 47 | 55 | ||
4076 | 48 | # any other address should work, as long as it sends key "one" | 56 | # any other address should work, as long as it sends key "one" |
4077 | 49 | t=$((t + 1)) | 57 | t=$((t + 1)) |
4078 | 50 | $DIG $DIGOPTS tsigzone. \ | 58 | $DIG $DIGOPTS tsigzone. \ |
4081 | 51 | @10.53.0.2 -b 127.0.0.1 axfr -y two:1234abcd8765 > dig.out.${t} | 59 | @10.53.0.2 -b 127.0.0.1 axfr -y two:1234abcd8765 >dig.out.${t} |
4082 | 52 | grep "^;" dig.out.${t} > /dev/null 2>&1 || { echo_i "test $t failed" ; status=1; } | 60 | grep "^;" dig.out.${t} >/dev/null 2>&1 || { |
4083 | 61 | echo_i "test $t failed" | ||
4084 | 62 | status=1 | ||
4085 | 63 | } | ||
4086 | 53 | 64 | ||
4087 | 54 | t=$((t + 1)) | 65 | t=$((t + 1)) |
4088 | 55 | $DIG $DIGOPTS tsigzone. \ | 66 | $DIG $DIGOPTS tsigzone. \ |
4091 | 56 | @10.53.0.2 -b 127.0.0.1 axfr -y one:1234abcd8765 > dig.out.${t} | 67 | @10.53.0.2 -b 127.0.0.1 axfr -y one:1234abcd8765 >dig.out.${t} |
4092 | 57 | grep "^;" dig.out.${t} > /dev/null 2>&1 && { echo_i "test $t failed" ; status=1; } | 68 | grep "^;" dig.out.${t} >/dev/null 2>&1 && { |
4093 | 69 | echo_i "test $t failed" | ||
4094 | 70 | status=1 | ||
4095 | 71 | } | ||
4096 | 58 | 72 | ||
4097 | 59 | echo_i "testing nested ACL processing" | 73 | echo_i "testing nested ACL processing" |
4098 | 60 | # all combinations of 10.53.0.{1|2} with key {one|two}, should succeed | 74 | # all combinations of 10.53.0.{1|2} with key {one|two}, should succeed |
4099 | @@ -65,43 +79,64 @@ sleep 5 | |||
4100 | 65 | # should succeed | 79 | # should succeed |
4101 | 66 | t=$((t + 1)) | 80 | t=$((t + 1)) |
4102 | 67 | $DIG $DIGOPTS tsigzone. \ | 81 | $DIG $DIGOPTS tsigzone. \ |
4105 | 68 | @10.53.0.2 -b 10.53.0.2 axfr -y two:1234abcd8765 > dig.out.${t} | 82 | @10.53.0.2 -b 10.53.0.2 axfr -y two:1234abcd8765 >dig.out.${t} |
4106 | 69 | grep "^;" dig.out.${t} > /dev/null 2>&1 && { echo_i "test $t failed" ; status=1; } | 83 | grep "^;" dig.out.${t} >/dev/null 2>&1 && { |
4107 | 84 | echo_i "test $t failed" | ||
4108 | 85 | status=1 | ||
4109 | 86 | } | ||
4110 | 70 | 87 | ||
4111 | 71 | # should succeed | 88 | # should succeed |
4112 | 72 | t=$((t + 1)) | 89 | t=$((t + 1)) |
4113 | 73 | $DIG $DIGOPTS tsigzone. \ | 90 | $DIG $DIGOPTS tsigzone. \ |
4116 | 74 | @10.53.0.2 -b 10.53.0.2 axfr -y one:1234abcd8765 > dig.out.${t} | 91 | @10.53.0.2 -b 10.53.0.2 axfr -y one:1234abcd8765 >dig.out.${t} |
4117 | 75 | grep "^;" dig.out.${t} > /dev/null 2>&1 && { echo_i "test $t failed" ; status=1; } | 92 | grep "^;" dig.out.${t} >/dev/null 2>&1 && { |
4118 | 93 | echo_i "test $t failed" | ||
4119 | 94 | status=1 | ||
4120 | 95 | } | ||
4121 | 76 | 96 | ||
4122 | 77 | # should succeed | 97 | # should succeed |
4123 | 78 | t=$((t + 1)) | 98 | t=$((t + 1)) |
4124 | 79 | $DIG $DIGOPTS tsigzone. \ | 99 | $DIG $DIGOPTS tsigzone. \ |
4127 | 80 | @10.53.0.2 -b 10.53.0.1 axfr -y two:1234abcd8765 > dig.out.${t} | 100 | @10.53.0.2 -b 10.53.0.1 axfr -y two:1234abcd8765 >dig.out.${t} |
4128 | 81 | grep "^;" dig.out.${t} > /dev/null 2>&1 && { echo_i "test $t failed" ; status=1; } | 101 | grep "^;" dig.out.${t} >/dev/null 2>&1 && { |
4129 | 102 | echo_i "test $t failed" | ||
4130 | 103 | status=1 | ||
4131 | 104 | } | ||
4132 | 82 | 105 | ||
4133 | 83 | # should succeed | 106 | # should succeed |
4134 | 84 | t=$((t + 1)) | 107 | t=$((t + 1)) |
4135 | 85 | $DIG $DIGOPTS tsigzone. \ | 108 | $DIG $DIGOPTS tsigzone. \ |
4138 | 86 | @10.53.0.2 -b 10.53.0.1 axfr -y two:1234abcd8765 > dig.out.${t} | 109 | @10.53.0.2 -b 10.53.0.1 axfr -y two:1234abcd8765 >dig.out.${t} |
4139 | 87 | grep "^;" dig.out.${t} > /dev/null 2>&1 && { echo_i "test $t failed" ; status=1; } | 110 | grep "^;" dig.out.${t} >/dev/null 2>&1 && { |
4140 | 111 | echo_i "test $t failed" | ||
4141 | 112 | status=1 | ||
4142 | 113 | } | ||
4143 | 88 | 114 | ||
4144 | 89 | # but only one or the other should fail | 115 | # but only one or the other should fail |
4145 | 90 | t=$((t + 1)) | 116 | t=$((t + 1)) |
4146 | 91 | $DIG $DIGOPTS tsigzone. \ | 117 | $DIG $DIGOPTS tsigzone. \ |
4149 | 92 | @10.53.0.2 -b 127.0.0.1 axfr -y one:1234abcd8765 > dig.out.${t} | 118 | @10.53.0.2 -b 127.0.0.1 axfr -y one:1234abcd8765 >dig.out.${t} |
4150 | 93 | grep "^;" dig.out.${t} > /dev/null 2>&1 || { echo_i "test $t failed" ; status=1; } | 119 | grep "^;" dig.out.${t} >/dev/null 2>&1 || { |
4151 | 120 | echo_i "test $t failed" | ||
4152 | 121 | status=1 | ||
4153 | 122 | } | ||
4154 | 94 | 123 | ||
4155 | 95 | t=$((t + 1)) | 124 | t=$((t + 1)) |
4156 | 96 | $DIG $DIGOPTS tsigzone. \ | 125 | $DIG $DIGOPTS tsigzone. \ |
4159 | 97 | @10.53.0.2 -b 10.53.0.2 axfr > dig.out.${t} | 126 | @10.53.0.2 -b 10.53.0.2 axfr >dig.out.${t} |
4160 | 98 | grep "^;" dig.out.${t} > /dev/null 2>&1 || { echo_i "test $tt failed" ; status=1; } | 127 | grep "^;" dig.out.${t} >/dev/null 2>&1 || { |
4161 | 128 | echo_i "test $tt failed" | ||
4162 | 129 | status=1 | ||
4163 | 130 | } | ||
4164 | 99 | 131 | ||
4165 | 100 | # and other values? right out | 132 | # and other values? right out |
4166 | 101 | t=$((t + 1)) | 133 | t=$((t + 1)) |
4167 | 102 | $DIG $DIGOPTS tsigzone. \ | 134 | $DIG $DIGOPTS tsigzone. \ |
4170 | 103 | @10.53.0.2 -b 127.0.0.1 axfr -y "${DEFAULT_HMAC}:three:1234abcd8765" > dig.out.${t} | 135 | @10.53.0.2 -b 127.0.0.1 axfr -y "${DEFAULT_HMAC}:three:1234abcd8765" >dig.out.${t} |
4171 | 104 | grep "^;" dig.out.${t} > /dev/null 2>&1 || { echo_i "test $t failed" ; status=1; } | 136 | grep "^;" dig.out.${t} >/dev/null 2>&1 || { |
4172 | 137 | echo_i "test $t failed" | ||
4173 | 138 | status=1 | ||
4174 | 139 | } | ||
4175 | 105 | 140 | ||
4176 | 106 | # now we only allow 10.53.0.1 *and* key one, or 10.53.0.2 *and* key two | 141 | # now we only allow 10.53.0.1 *and* key one, or 10.53.0.2 *and* key two |
4177 | 107 | copy_setports ns2/named4.conf.in ns2/named.conf | 142 | copy_setports ns2/named4.conf.in ns2/named.conf |
4178 | @@ -111,32 +146,47 @@ sleep 5 | |||
4179 | 111 | # should succeed | 146 | # should succeed |
4180 | 112 | t=$((t + 1)) | 147 | t=$((t + 1)) |
4181 | 113 | $DIG $DIGOPTS tsigzone. \ | 148 | $DIG $DIGOPTS tsigzone. \ |
4184 | 114 | @10.53.0.2 -b 10.53.0.2 axfr -y two:1234abcd8765 > dig.out.${t} | 149 | @10.53.0.2 -b 10.53.0.2 axfr -y two:1234abcd8765 >dig.out.${t} |
4185 | 115 | grep "^;" dig.out.${t} > /dev/null 2>&1 && { echo_i "test $t failed" ; status=1; } | 150 | grep "^;" dig.out.${t} >/dev/null 2>&1 && { |
4186 | 151 | echo_i "test $t failed" | ||
4187 | 152 | status=1 | ||
4188 | 153 | } | ||
4189 | 116 | 154 | ||
4190 | 117 | # should succeed | 155 | # should succeed |
4191 | 118 | t=$((t + 1)) | 156 | t=$((t + 1)) |
4192 | 119 | $DIG $DIGOPTS tsigzone. \ | 157 | $DIG $DIGOPTS tsigzone. \ |
4195 | 120 | @10.53.0.2 -b 10.53.0.1 axfr -y one:1234abcd8765 > dig.out.${t} | 158 | @10.53.0.2 -b 10.53.0.1 axfr -y one:1234abcd8765 >dig.out.${t} |
4196 | 121 | grep "^;" dig.out.${t} > /dev/null 2>&1 && { echo_i "test $t failed" ; status=1; } | 159 | grep "^;" dig.out.${t} >/dev/null 2>&1 && { |
4197 | 160 | echo_i "test $t failed" | ||
4198 | 161 | status=1 | ||
4199 | 162 | } | ||
4200 | 122 | 163 | ||
4201 | 123 | # should fail | 164 | # should fail |
4202 | 124 | t=$((t + 1)) | 165 | t=$((t + 1)) |
4203 | 125 | $DIG $DIGOPTS tsigzone. \ | 166 | $DIG $DIGOPTS tsigzone. \ |
4206 | 126 | @10.53.0.2 -b 10.53.0.2 axfr -y one:1234abcd8765 > dig.out.${t} | 167 | @10.53.0.2 -b 10.53.0.2 axfr -y one:1234abcd8765 >dig.out.${t} |
4207 | 127 | grep "^;" dig.out.${t} > /dev/null 2>&1 || { echo_i "test $t failed" ; status=1; } | 168 | grep "^;" dig.out.${t} >/dev/null 2>&1 || { |
4208 | 169 | echo_i "test $t failed" | ||
4209 | 170 | status=1 | ||
4210 | 171 | } | ||
4211 | 128 | 172 | ||
4212 | 129 | # should fail | 173 | # should fail |
4213 | 130 | t=$((t + 1)) | 174 | t=$((t + 1)) |
4214 | 131 | $DIG $DIGOPTS tsigzone. \ | 175 | $DIG $DIGOPTS tsigzone. \ |
4217 | 132 | @10.53.0.2 -b 10.53.0.1 axfr -y two:1234abcd8765 > dig.out.${t} | 176 | @10.53.0.2 -b 10.53.0.1 axfr -y two:1234abcd8765 >dig.out.${t} |
4218 | 133 | grep "^;" dig.out.${t} > /dev/null 2>&1 || { echo_i "test $t failed" ; status=1; } | 177 | grep "^;" dig.out.${t} >/dev/null 2>&1 || { |
4219 | 178 | echo_i "test $t failed" | ||
4220 | 179 | status=1 | ||
4221 | 180 | } | ||
4222 | 134 | 181 | ||
4223 | 135 | # should fail | 182 | # should fail |
4224 | 136 | t=$((t + 1)) | 183 | t=$((t + 1)) |
4225 | 137 | $DIG $DIGOPTS tsigzone. \ | 184 | $DIG $DIGOPTS tsigzone. \ |
4228 | 138 | @10.53.0.2 -b 10.53.0.3 axfr -y one:1234abcd8765 > dig.out.${t} | 185 | @10.53.0.2 -b 10.53.0.3 axfr -y one:1234abcd8765 >dig.out.${t} |
4229 | 139 | grep "^;" dig.out.${t} > /dev/null 2>&1 || { echo_i "test $t failed" ; status=1; } | 186 | grep "^;" dig.out.${t} >/dev/null 2>&1 || { |
4230 | 187 | echo_i "test $t failed" | ||
4231 | 188 | status=1 | ||
4232 | 189 | } | ||
4233 | 140 | 190 | ||
4234 | 141 | echo_i "testing allow-query-on ACL processing" | 191 | echo_i "testing allow-query-on ACL processing" |
4235 | 142 | copy_setports ns2/named5.conf.in ns2/named.conf | 192 | copy_setports ns2/named5.conf.in ns2/named.conf |
4236 | @@ -144,27 +194,30 @@ rndc_reload ns2 10.53.0.2 | |||
4237 | 144 | sleep 5 | 194 | sleep 5 |
4238 | 145 | t=$((t + 1)) | 195 | t=$((t + 1)) |
4239 | 146 | $DIG -p ${PORT} +tcp soa example. \ | 196 | $DIG -p ${PORT} +tcp soa example. \ |
4242 | 147 | @10.53.0.2 -b 10.53.0.3 > dig.out.${t} | 197 | @10.53.0.2 -b 10.53.0.3 >dig.out.${t} |
4243 | 148 | grep "status: NOERROR" dig.out.${t} > /dev/null 2>&1 || { echo_i "test $t failed" ; status=1; } | 198 | grep "status: NOERROR" dig.out.${t} >/dev/null 2>&1 || { |
4244 | 199 | echo_i "test $t failed" | ||
4245 | 200 | status=1 | ||
4246 | 201 | } | ||
4247 | 149 | 202 | ||
4248 | 150 | echo_i "testing blackhole ACL processing" | 203 | echo_i "testing blackhole ACL processing" |
4249 | 151 | t=$((t + 1)) | 204 | t=$((t + 1)) |
4250 | 152 | ret=0 | 205 | ret=0 |
4251 | 153 | $DIG -p ${PORT} +tcp soa example. \ | 206 | $DIG -p ${PORT} +tcp soa example. \ |
4254 | 154 | @10.53.0.2 -b 10.53.0.3 > dig.out.1.${t} | 207 | @10.53.0.2 -b 10.53.0.3 >dig.out.1.${t} |
4255 | 155 | grep "status: NOERROR" dig.out.1.${t} > /dev/null 2>&1 || ret=1 | 208 | grep "status: NOERROR" dig.out.1.${t} >/dev/null 2>&1 || ret=1 |
4256 | 156 | $DIG -p ${PORT} +tcp soa example. \ | 209 | $DIG -p ${PORT} +tcp soa example. \ |
4260 | 157 | @10.53.0.2 -b 10.53.0.8 > dig.out.2.${t} && ret=1 | 210 | @10.53.0.2 -b 10.53.0.8 >dig.out.2.${t} && ret=1 |
4261 | 158 | grep "status: NOERROR" dig.out.2.${t} > /dev/null 2>&1 && ret=1 | 211 | grep "status: NOERROR" dig.out.2.${t} >/dev/null 2>&1 && ret=1 |
4262 | 159 | grep "communications error" dig.out.2.${t} > /dev/null 2>&1 || ret=1 | 212 | grep "communications error" dig.out.2.${t} >/dev/null 2>&1 || ret=1 |
4263 | 160 | $DIG -p ${PORT} soa example. \ | 213 | $DIG -p ${PORT} soa example. \ |
4266 | 161 | @10.53.0.2 -b 10.53.0.3 > dig.out.3.${t} | 214 | @10.53.0.2 -b 10.53.0.3 >dig.out.3.${t} |
4267 | 162 | grep "status: NOERROR" dig.out.3.${t} > /dev/null 2>&1 || ret=1 | 215 | grep "status: NOERROR" dig.out.3.${t} >/dev/null 2>&1 || ret=1 |
4268 | 163 | $DIG -p ${PORT} soa example. \ | 216 | $DIG -p ${PORT} soa example. \ |
4273 | 164 | @10.53.0.2 -b 10.53.0.8 > dig.out.4.${t} && ret=1 | 217 | @10.53.0.2 -b 10.53.0.8 >dig.out.4.${t} && ret=1 |
4274 | 165 | grep "status: NOERROR" dig.out.4.${t} > /dev/null 2>&1 && ret=1 | 218 | grep "status: NOERROR" dig.out.4.${t} >/dev/null 2>&1 && ret=1 |
4275 | 166 | grep "timed out" dig.out.4.${t} > /dev/null 2>&1 || ret=1 | 219 | grep "timed out" dig.out.4.${t} >/dev/null 2>&1 || ret=1 |
4276 | 167 | grep ";; no servers could be reached" dig.out.4.${t} > /dev/null 2>&1 || ret=1 | 220 | grep ";; no servers could be reached" dig.out.4.${t} >/dev/null 2>&1 || ret=1 |
4277 | 168 | [ $ret -eq 0 ] || echo_i "failed" | 221 | [ $ret -eq 0 ] || echo_i "failed" |
4278 | 169 | status=$((status + ret)) | 222 | status=$((status + ret)) |
4279 | 170 | 223 | ||
4280 | @@ -179,7 +232,7 @@ sleep 1 | |||
4281 | 179 | t=$((t + 1)) | 232 | t=$((t + 1)) |
4282 | 180 | ret=0 | 233 | ret=0 |
4283 | 181 | echo_i "checking AXFR of example.com from ns3 with ACL allow-transfer { none; }; (${t})" | 234 | echo_i "checking AXFR of example.com from ns3 with ACL allow-transfer { none; }; (${t})" |
4285 | 182 | $DIG -p ${PORT} @10.53.0.3 example.com axfr > dig.out.${t} 2>&1 | 235 | $DIG -p ${PORT} @10.53.0.3 example.com axfr >dig.out.${t} 2>&1 |
4286 | 183 | grep "Transfer failed." dig.out.${t} >/dev/null 2>&1 || ret=1 | 236 | grep "Transfer failed." dig.out.${t} >/dev/null 2>&1 || ret=1 |
4287 | 184 | [ $ret -eq 0 ] || echo_i "failed" | 237 | [ $ret -eq 0 ] || echo_i "failed" |
4288 | 185 | status=$((status + ret)) | 238 | status=$((status + ret)) |
4289 | @@ -192,7 +245,7 @@ sleep 1 | |||
4290 | 192 | t=$((t + 1)) | 245 | t=$((t + 1)) |
4291 | 193 | ret=0 | 246 | ret=0 |
4292 | 194 | echo_i "re-checking AXFR of example.com from ns3 with ACL allow-transfer { none; }; (${t})" | 247 | echo_i "re-checking AXFR of example.com from ns3 with ACL allow-transfer { none; }; (${t})" |
4294 | 195 | $DIG -p ${PORT} @10.53.0.3 example.com axfr > dig.out.${t} 2>&1 | 248 | $DIG -p ${PORT} @10.53.0.3 example.com axfr >dig.out.${t} 2>&1 |
4295 | 196 | grep "Transfer failed." dig.out.${t} >/dev/null 2>&1 || ret=1 | 249 | grep "Transfer failed." dig.out.${t} >/dev/null 2>&1 || ret=1 |
4296 | 197 | [ $ret -eq 0 ] || echo_i "failed" | 250 | [ $ret -eq 0 ] || echo_i "failed" |
4297 | 198 | status=$((status + ret)) | 251 | status=$((status + ret)) |
4298 | @@ -208,7 +261,7 @@ sleep 1 | |||
4299 | 208 | t=$((t + 1)) | 261 | t=$((t + 1)) |
4300 | 209 | ret=0 | 262 | ret=0 |
4301 | 210 | echo_i "checking AXFR of example.com from ns4 with ACL allow-transfer { none; }; (${t})" | 263 | echo_i "checking AXFR of example.com from ns4 with ACL allow-transfer { none; }; (${t})" |
4303 | 211 | $DIG -p ${PORT} @10.53.0.4 example.com axfr > dig.out.${t} 2>&1 | 264 | $DIG -p ${PORT} @10.53.0.4 example.com axfr >dig.out.${t} 2>&1 |
4304 | 212 | grep "Transfer failed." dig.out.${t} >/dev/null 2>&1 || ret=1 | 265 | grep "Transfer failed." dig.out.${t} >/dev/null 2>&1 || ret=1 |
4305 | 213 | [ $ret -eq 0 ] || echo_i "failed" | 266 | [ $ret -eq 0 ] || echo_i "failed" |
4306 | 214 | status=$((status + ret)) | 267 | status=$((status + ret)) |
4307 | @@ -221,7 +274,7 @@ sleep 1 | |||
4308 | 221 | t=$((t + 1)) | 274 | t=$((t + 1)) |
4309 | 222 | ret=0 | 275 | ret=0 |
4310 | 223 | echo_i "re-checking AXFR of example.com from ns4 with ACL allow-transfer { none; }; (${t})" | 276 | echo_i "re-checking AXFR of example.com from ns4 with ACL allow-transfer { none; }; (${t})" |
4312 | 224 | $DIG -p ${PORT} @10.53.0.4 example.com axfr > dig.out.${t} 2>&1 | 277 | $DIG -p ${PORT} @10.53.0.4 example.com axfr >dig.out.${t} 2>&1 |
4313 | 225 | grep "Transfer failed." dig.out.${t} >/dev/null 2>&1 || ret=1 | 278 | grep "Transfer failed." dig.out.${t} >/dev/null 2>&1 || ret=1 |
4314 | 226 | [ $ret -eq 0 ] || echo_i "failed" | 279 | [ $ret -eq 0 ] || echo_i "failed" |
4315 | 227 | status=$((status + ret)) | 280 | status=$((status + ret)) |
4316 | diff --git a/bin/tests/system/additional/ns1/named1.conf.in b/bin/tests/system/additional/ns1/named1.conf.in | |||
4317 | index d058d1e..0d07e54 100644 | |||
4318 | --- a/bin/tests/system/additional/ns1/named1.conf.in | |||
4319 | +++ b/bin/tests/system/additional/ns1/named1.conf.in | |||
4320 | @@ -25,7 +25,7 @@ options { | |||
4321 | 25 | minimal-responses yes; | 25 | minimal-responses yes; |
4322 | 26 | }; | 26 | }; |
4323 | 27 | 27 | ||
4325 | 28 | include "../../common/rndc.key"; | 28 | include "../../_common/rndc.key"; |
4326 | 29 | 29 | ||
4327 | 30 | controls { | 30 | controls { |
4328 | 31 | inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; }; | 31 | inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; }; |
4329 | diff --git a/bin/tests/system/additional/ns1/named2.conf.in b/bin/tests/system/additional/ns1/named2.conf.in | |||
4330 | index 56c6d4b..efed639 100644 | |||
4331 | --- a/bin/tests/system/additional/ns1/named2.conf.in | |||
4332 | +++ b/bin/tests/system/additional/ns1/named2.conf.in | |||
4333 | @@ -25,7 +25,7 @@ options { | |||
4334 | 25 | minimal-responses no; | 25 | minimal-responses no; |
4335 | 26 | }; | 26 | }; |
4336 | 27 | 27 | ||
4338 | 28 | include "../../common/rndc.key"; | 28 | include "../../_common/rndc.key"; |
4339 | 29 | 29 | ||
4340 | 30 | controls { | 30 | controls { |
4341 | 31 | inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; }; | 31 | inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; }; |
4342 | diff --git a/bin/tests/system/additional/ns1/named3.conf.in b/bin/tests/system/additional/ns1/named3.conf.in | |||
4343 | index ad453a3..0ff7125 100644 | |||
4344 | --- a/bin/tests/system/additional/ns1/named3.conf.in | |||
4345 | +++ b/bin/tests/system/additional/ns1/named3.conf.in | |||
4346 | @@ -26,7 +26,7 @@ options { | |||
4347 | 26 | minimal-responses no-auth; | 26 | minimal-responses no-auth; |
4348 | 27 | }; | 27 | }; |
4349 | 28 | 28 | ||
4351 | 29 | include "../../common/rndc.key"; | 29 | include "../../_common/rndc.key"; |
4352 | 30 | 30 | ||
4353 | 31 | controls { | 31 | controls { |
4354 | 32 | inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; }; | 32 | inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; }; |
4355 | diff --git a/bin/tests/system/additional/ns1/named4.conf.in b/bin/tests/system/additional/ns1/named4.conf.in | |||
4356 | index 69479b9..8c53086 100644 | |||
4357 | --- a/bin/tests/system/additional/ns1/named4.conf.in | |||
4358 | +++ b/bin/tests/system/additional/ns1/named4.conf.in | |||
4359 | @@ -25,7 +25,7 @@ options { | |||
4360 | 25 | minimal-responses no-auth-recursive; | 25 | minimal-responses no-auth-recursive; |
4361 | 26 | }; | 26 | }; |
4362 | 27 | 27 | ||
4364 | 28 | include "../../common/rndc.key"; | 28 | include "../../_common/rndc.key"; |
4365 | 29 | 29 | ||
4366 | 30 | controls { | 30 | controls { |
4367 | 31 | inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; }; | 31 | inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; }; |
4368 | diff --git a/bin/tests/system/additional/tests.sh b/bin/tests/system/additional/tests.sh | |||
4369 | index a50004c..193c9f9 100644 | |||
4370 | --- a/bin/tests/system/additional/tests.sh | |||
4371 | +++ b/bin/tests/system/additional/tests.sh | |||
4372 | @@ -16,235 +16,251 @@ set -e | |||
4373 | 16 | . ../conf.sh | 16 | . ../conf.sh |
4374 | 17 | 17 | ||
4375 | 18 | DIGOPTS="-p ${PORT}" | 18 | DIGOPTS="-p ${PORT}" |
4377 | 19 | RNDCCMD="$RNDC -c ../common/rndc.conf -p ${CONTROLPORT} -s" | 19 | RNDCCMD="$RNDC -c ../_common/rndc.conf -p ${CONTROLPORT} -s" |
4378 | 20 | 20 | ||
4379 | 21 | status=0 | 21 | status=0 |
4380 | 22 | n=0 | 22 | n=0 |
4381 | 23 | 23 | ||
4382 | 24 | dotests() { | 24 | dotests() { |
4420 | 25 | n=$((n + 1)) | 25 | n=$((n + 1)) |
4421 | 26 | echo_i "test with RT, single zone (+rec) ($n)" | 26 | echo_i "test with RT, single zone (+rec) ($n)" |
4422 | 27 | ret=0 | 27 | ret=0 |
4423 | 28 | $DIG $DIGOPTS +rec -t RT rt.rt.example @10.53.0.1 > dig.out.$n || ret=1 | 28 | $DIG $DIGOPTS +rec -t RT rt.rt.example @10.53.0.1 >dig.out.$n || ret=1 |
4424 | 29 | if [ $ret -eq 1 ] ; then | 29 | if [ $ret -eq 1 ]; then |
4425 | 30 | echo_i "failed"; status=$((status+1)) | 30 | echo_i "failed" |
4426 | 31 | fi | 31 | status=$((status + 1)) |
4427 | 32 | 32 | fi | |
4428 | 33 | n=$((n + 1)) | 33 | |
4429 | 34 | echo_i "test with RT, two zones (+rec) ($n)" | 34 | n=$((n + 1)) |
4430 | 35 | ret=0 | 35 | echo_i "test with RT, two zones (+rec) ($n)" |
4431 | 36 | $DIG $DIGOPTS +rec -t RT rt.rt2.example @10.53.0.1 > dig.out.$n || ret=1 | 36 | ret=0 |
4432 | 37 | if [ $ret -eq 1 ] ; then | 37 | $DIG $DIGOPTS +rec -t RT rt.rt2.example @10.53.0.1 >dig.out.$n || ret=1 |
4433 | 38 | echo_i "failed"; status=$((status+1)) | 38 | if [ $ret -eq 1 ]; then |
4434 | 39 | fi | 39 | echo_i "failed" |
4435 | 40 | 40 | status=$((status + 1)) | |
4436 | 41 | n=$((n + 1)) | 41 | fi |
4437 | 42 | echo_i "test with NAPTR, single zone (+rec) ($n)" | 42 | |
4438 | 43 | ret=0 | 43 | n=$((n + 1)) |
4439 | 44 | $DIG $DIGOPTS +rec -t NAPTR nap.naptr.example @10.53.0.1 > dig.out.$n || ret=1 | 44 | echo_i "test with NAPTR, single zone (+rec) ($n)" |
4440 | 45 | if [ $ret -eq 1 ] ; then | 45 | ret=0 |
4441 | 46 | echo_i "failed"; status=$((status+1)) | 46 | $DIG $DIGOPTS +rec -t NAPTR nap.naptr.example @10.53.0.1 >dig.out.$n || ret=1 |
4442 | 47 | fi | 47 | if [ $ret -eq 1 ]; then |
4443 | 48 | 48 | echo_i "failed" | |
4444 | 49 | n=$((n + 1)) | 49 | status=$((status + 1)) |
4445 | 50 | echo_i "test with NAPTR, two zones (+rec) ($n)" | 50 | fi |
4446 | 51 | ret=0 | 51 | |
4447 | 52 | $DIG $DIGOPTS +rec -t NAPTR nap.hang3b.example @10.53.0.1 > dig.out.$n || ret=1 | 52 | n=$((n + 1)) |
4448 | 53 | if [ $ret -eq 1 ] ; then | 53 | echo_i "test with NAPTR, two zones (+rec) ($n)" |
4449 | 54 | echo_i "failed"; status=$((status+1)) | 54 | ret=0 |
4450 | 55 | fi | 55 | $DIG $DIGOPTS +rec -t NAPTR nap.hang3b.example @10.53.0.1 >dig.out.$n || ret=1 |
4451 | 56 | 56 | if [ $ret -eq 1 ]; then | |
4452 | 57 | n=$((n + 1)) | 57 | echo_i "failed" |
4453 | 58 | echo_i "test with LP (+rec) ($n)" | 58 | status=$((status + 1)) |
4454 | 59 | ret=0 | 59 | fi |
4455 | 60 | $DIG $DIGOPTS +rec -t LP nid2.nid.example @10.53.0.1 > dig.out.$n || ret=1 | 60 | |
4456 | 61 | case $minimal in | 61 | n=$((n + 1)) |
4457 | 62 | echo_i "test with LP (+rec) ($n)" | ||
4458 | 63 | ret=0 | ||
4459 | 64 | $DIG $DIGOPTS +rec -t LP nid2.nid.example @10.53.0.1 >dig.out.$n || ret=1 | ||
4460 | 65 | case $minimal in | ||
4461 | 62 | no) | 66 | no) |
4465 | 63 | grep -w "NS" dig.out.$n > /dev/null || ret=1 | 67 | grep -w "NS" dig.out.$n >/dev/null || ret=1 |
4466 | 64 | grep -w "L64" dig.out.$n > /dev/null || ret=1 | 68 | grep -w "L64" dig.out.$n >/dev/null || ret=1 |
4467 | 65 | grep -w "L32" dig.out.$n > /dev/null || ret=1 | 69 | grep -w "L32" dig.out.$n >/dev/null || ret=1 |
4468 | 66 | ;; | 70 | ;; |
4469 | 67 | yes) | 71 | yes) |
4473 | 68 | grep -w "NS" dig.out.$n > /dev/null && ret=1 | 72 | grep -w "NS" dig.out.$n >/dev/null && ret=1 |
4474 | 69 | grep -w "L64" dig.out.$n > /dev/null && ret=1 | 73 | grep -w "L64" dig.out.$n >/dev/null && ret=1 |
4475 | 70 | grep -w "L32" dig.out.$n > /dev/null && ret=1 | 74 | grep -w "L32" dig.out.$n >/dev/null && ret=1 |
4476 | 71 | ;; | 75 | ;; |
4477 | 72 | no-auth) | 76 | no-auth) |
4481 | 73 | grep -w "NS" dig.out.$n > /dev/null && ret=1 | 77 | grep -w "NS" dig.out.$n >/dev/null && ret=1 |
4482 | 74 | grep -w "L64" dig.out.$n > /dev/null || ret=1 | 78 | grep -w "L64" dig.out.$n >/dev/null || ret=1 |
4483 | 75 | grep -w "L32" dig.out.$n > /dev/null || ret=1 | 79 | grep -w "L32" dig.out.$n >/dev/null || ret=1 |
4484 | 76 | ;; | 80 | ;; |
4485 | 77 | no-auth-recursive) | 81 | no-auth-recursive) |
4489 | 78 | grep -w "NS" dig.out.$n > /dev/null && ret=1 | 82 | grep -w "NS" dig.out.$n >/dev/null && ret=1 |
4490 | 79 | grep -w "L64" dig.out.$n > /dev/null || ret=1 | 83 | grep -w "L64" dig.out.$n >/dev/null || ret=1 |
4491 | 80 | grep -w "L32" dig.out.$n > /dev/null || ret=1 | 84 | grep -w "L32" dig.out.$n >/dev/null || ret=1 |
4492 | 81 | ;; | 85 | ;; |
4569 | 82 | esac | 86 | esac |
4570 | 83 | if [ $ret -eq 1 ] ; then | 87 | if [ $ret -eq 1 ]; then |
4571 | 84 | echo_i "failed"; status=$((status+1)) | 88 | echo_i "failed" |
4572 | 85 | fi | 89 | status=$((status + 1)) |
4573 | 86 | 90 | fi | |
4574 | 87 | n=$((n + 1)) | 91 | |
4575 | 88 | echo_i "test with NID (+rec) ($n)" | 92 | n=$((n + 1)) |
4576 | 89 | ret=0 | 93 | echo_i "test with NID (+rec) ($n)" |
4577 | 90 | $DIG $DIGOPTS +rec -t NID ns1.nid.example @10.53.0.1 > dig.out.$n || ret=1 | 94 | ret=0 |
4578 | 91 | if [ $minimal = no ] ; then | 95 | $DIG $DIGOPTS +rec -t NID ns1.nid.example @10.53.0.1 >dig.out.$n || ret=1 |
4579 | 92 | # change && to || when we support NID additional processing | 96 | if [ $minimal = no ]; then |
4580 | 93 | grep -w "L64" dig.out.$n > /dev/null && ret=1 | 97 | # change && to || when we support NID additional processing |
4581 | 94 | grep -w "L32" dig.out.$n > /dev/null && ret=1 | 98 | grep -w "L64" dig.out.$n >/dev/null && ret=1 |
4582 | 95 | else | 99 | grep -w "L32" dig.out.$n >/dev/null && ret=1 |
4583 | 96 | grep -w "L64" dig.out.$n > /dev/null && ret=1 | 100 | else |
4584 | 97 | grep -w "L32" dig.out.$n > /dev/null && ret=1 | 101 | grep -w "L64" dig.out.$n >/dev/null && ret=1 |
4585 | 98 | fi | 102 | grep -w "L32" dig.out.$n >/dev/null && ret=1 |
4586 | 99 | if [ $ret -eq 1 ] ; then | 103 | fi |
4587 | 100 | echo_i "failed"; status=$((status+1)) | 104 | if [ $ret -eq 1 ]; then |
4588 | 101 | fi | 105 | echo_i "failed" |
4589 | 102 | 106 | status=$((status + 1)) | |
4590 | 103 | n=$((n + 1)) | 107 | fi |
4591 | 104 | echo_i "test with NID + LP (+rec) ($n)" | 108 | |
4592 | 105 | ret=0 | 109 | n=$((n + 1)) |
4593 | 106 | $DIG $DIGOPTS +rec -t NID nid2.nid.example @10.53.0.1 > dig.out.$n || ret=1 | 110 | echo_i "test with NID + LP (+rec) ($n)" |
4594 | 107 | if [ $minimal = no ] ; then | 111 | ret=0 |
4595 | 108 | # change && to || when we support NID additional processing | 112 | $DIG $DIGOPTS +rec -t NID nid2.nid.example @10.53.0.1 >dig.out.$n || ret=1 |
4596 | 109 | grep -w "LP" dig.out.$n > /dev/null && ret=1 | 113 | if [ $minimal = no ]; then |
4597 | 110 | grep -w "L64" dig.out.$n > /dev/null && ret=1 | 114 | # change && to || when we support NID additional processing |
4598 | 111 | grep -w "L32" dig.out.$n > /dev/null && ret=1 | 115 | grep -w "LP" dig.out.$n >/dev/null && ret=1 |
4599 | 112 | else | 116 | grep -w "L64" dig.out.$n >/dev/null && ret=1 |
4600 | 113 | grep -w "LP" dig.out.$n > /dev/null && ret=1 | 117 | grep -w "L32" dig.out.$n >/dev/null && ret=1 |
4601 | 114 | grep -w "L64" dig.out.$n > /dev/null && ret=1 | 118 | else |
4602 | 115 | grep -w "L32" dig.out.$n > /dev/null && ret=1 | 119 | grep -w "LP" dig.out.$n >/dev/null && ret=1 |
4603 | 116 | fi | 120 | grep -w "L64" dig.out.$n >/dev/null && ret=1 |
4604 | 117 | if [ $ret -eq 1 ] ; then | 121 | grep -w "L32" dig.out.$n >/dev/null && ret=1 |
4605 | 118 | echo_i "failed"; status=$((status+1)) | 122 | fi |
4606 | 119 | fi | 123 | if [ $ret -eq 1 ]; then |
4607 | 120 | 124 | echo_i "failed" | |
4608 | 121 | n=$((n + 1)) | 125 | status=$((status + 1)) |
4609 | 122 | echo_i "test with RT, single zone (+norec) ($n)" | 126 | fi |
4610 | 123 | ret=0 | 127 | |
4611 | 124 | $DIG $DIGOPTS +norec -t RT rt.rt.example @10.53.0.1 > dig.out.$n || ret=1 | 128 | n=$((n + 1)) |
4612 | 125 | if [ $ret -eq 1 ] ; then | 129 | echo_i "test with RT, single zone (+norec) ($n)" |
4613 | 126 | echo_i "failed"; status=$((status+1)) | 130 | ret=0 |
4614 | 127 | fi | 131 | $DIG $DIGOPTS +norec -t RT rt.rt.example @10.53.0.1 >dig.out.$n || ret=1 |
4615 | 128 | 132 | if [ $ret -eq 1 ]; then | |
4616 | 129 | n=$((n + 1)) | 133 | echo_i "failed" |
4617 | 130 | echo_i "test with RT, two zones (+norec) ($n)" | 134 | status=$((status + 1)) |
4618 | 131 | ret=0 | 135 | fi |
4619 | 132 | $DIG $DIGOPTS +norec -t RT rt.rt2.example @10.53.0.1 > dig.out.$n || ret=1 | 136 | |
4620 | 133 | if [ $ret -eq 1 ] ; then | 137 | n=$((n + 1)) |
4621 | 134 | echo_i "failed"; status=$((status+1)) | 138 | echo_i "test with RT, two zones (+norec) ($n)" |
4622 | 135 | fi | 139 | ret=0 |
4623 | 136 | 140 | $DIG $DIGOPTS +norec -t RT rt.rt2.example @10.53.0.1 >dig.out.$n || ret=1 | |
4624 | 137 | n=$((n + 1)) | 141 | if [ $ret -eq 1 ]; then |
4625 | 138 | echo_i "test with NAPTR, single zone (+norec) ($n)" | 142 | echo_i "failed" |
4626 | 139 | ret=0 | 143 | status=$((status + 1)) |
4627 | 140 | $DIG $DIGOPTS +norec -t NAPTR nap.naptr.example @10.53.0.1 > dig.out.$n || ret=1 | 144 | fi |
4628 | 141 | if [ $ret -eq 1 ] ; then | 145 | |
4629 | 142 | echo_i "failed"; status=$((status+1)) | 146 | n=$((n + 1)) |
4630 | 143 | fi | 147 | echo_i "test with NAPTR, single zone (+norec) ($n)" |
4631 | 144 | 148 | ret=0 | |
4632 | 145 | n=$((n + 1)) | 149 | $DIG $DIGOPTS +norec -t NAPTR nap.naptr.example @10.53.0.1 >dig.out.$n || ret=1 |
4633 | 146 | echo_i "test with NAPTR, two zones (+norec) ($n)" | 150 | if [ $ret -eq 1 ]; then |
4634 | 147 | ret=0 | 151 | echo_i "failed" |
4635 | 148 | $DIG $DIGOPTS +norec -t NAPTR nap.hang3b.example @10.53.0.1 > dig.out.$n || ret=1 | 152 | status=$((status + 1)) |
4636 | 149 | if [ $ret -eq 1 ] ; then | 153 | fi |
4637 | 150 | echo_i "failed"; status=$((status+1)) | 154 | |
4638 | 151 | fi | 155 | n=$((n + 1)) |
4639 | 152 | 156 | echo_i "test with NAPTR, two zones (+norec) ($n)" | |
4640 | 153 | n=$((n + 1)) | 157 | ret=0 |
4641 | 154 | echo_i "test with LP (+norec) ($n)" | 158 | $DIG $DIGOPTS +norec -t NAPTR nap.hang3b.example @10.53.0.1 >dig.out.$n || ret=1 |
4642 | 155 | ret=0 | 159 | if [ $ret -eq 1 ]; then |
4643 | 156 | $DIG $DIGOPTS +norec -t LP nid2.nid.example @10.53.0.1 > dig.out.$n || ret=1 | 160 | echo_i "failed" |
4644 | 157 | case $minimal in | 161 | status=$((status + 1)) |
4645 | 162 | fi | ||
4646 | 163 | |||
4647 | 164 | n=$((n + 1)) | ||
4648 | 165 | echo_i "test with LP (+norec) ($n)" | ||
4649 | 166 | ret=0 | ||
4650 | 167 | $DIG $DIGOPTS +norec -t LP nid2.nid.example @10.53.0.1 >dig.out.$n || ret=1 | ||
4651 | 168 | case $minimal in | ||
4652 | 158 | no) | 169 | no) |
4656 | 159 | grep -w "NS" dig.out.$n > /dev/null || ret=1 | 170 | grep -w "NS" dig.out.$n >/dev/null || ret=1 |
4657 | 160 | grep -w "L64" dig.out.$n > /dev/null || ret=1 | 171 | grep -w "L64" dig.out.$n >/dev/null || ret=1 |
4658 | 161 | grep -w "L32" dig.out.$n > /dev/null || ret=1 | 172 | grep -w "L32" dig.out.$n >/dev/null || ret=1 |
4659 | 162 | ;; | 173 | ;; |
4660 | 163 | yes) | 174 | yes) |
4664 | 164 | grep -w "NS" dig.out.$n > /dev/null && ret=1 | 175 | grep -w "NS" dig.out.$n >/dev/null && ret=1 |
4665 | 165 | grep -w "L64" dig.out.$n > /dev/null && ret=1 | 176 | grep -w "L64" dig.out.$n >/dev/null && ret=1 |
4666 | 166 | grep -w "L32" dig.out.$n > /dev/null && ret=1 | 177 | grep -w "L32" dig.out.$n >/dev/null && ret=1 |
4667 | 167 | ;; | 178 | ;; |
4668 | 168 | no-auth) | 179 | no-auth) |
4672 | 169 | grep -w "NS" dig.out.$n > /dev/null && ret=1 | 180 | grep -w "NS" dig.out.$n >/dev/null && ret=1 |
4673 | 170 | grep -w "L64" dig.out.$n > /dev/null || ret=1 | 181 | grep -w "L64" dig.out.$n >/dev/null || ret=1 |
4674 | 171 | grep -w "L32" dig.out.$n > /dev/null || ret=1 | 182 | grep -w "L32" dig.out.$n >/dev/null || ret=1 |
4675 | 172 | ;; | 183 | ;; |
4676 | 173 | no-auth-recursive) | 184 | no-auth-recursive) |
4680 | 174 | grep -w "NS" dig.out.$n > /dev/null || ret=1 | 185 | grep -w "NS" dig.out.$n >/dev/null || ret=1 |
4681 | 175 | grep -w "L64" dig.out.$n > /dev/null || ret=1 | 186 | grep -w "L64" dig.out.$n >/dev/null || ret=1 |
4682 | 176 | grep -w "L32" dig.out.$n > /dev/null || ret=1 | 187 | grep -w "L32" dig.out.$n >/dev/null || ret=1 |
4683 | 177 | ;; | 188 | ;; |
4738 | 178 | esac | 189 | esac |
4739 | 179 | if [ $ret -eq 1 ] ; then | 190 | if [ $ret -eq 1 ]; then |
4740 | 180 | echo_i "failed"; status=$((status+1)) | 191 | echo_i "failed" |
4741 | 181 | fi | 192 | status=$((status + 1)) |
4742 | 182 | 193 | fi | |
4743 | 183 | n=$((n + 1)) | 194 | |
4744 | 184 | echo_i "test with NID (+norec) ($n)" | 195 | n=$((n + 1)) |
4745 | 185 | ret=0 | 196 | echo_i "test with NID (+norec) ($n)" |
4746 | 186 | $DIG $DIGOPTS +norec -t NID ns1.nid.example @10.53.0.1 > dig.out.$n || ret=1 | 197 | ret=0 |
4747 | 187 | if [ $minimal = no ] ; then | 198 | $DIG $DIGOPTS +norec -t NID ns1.nid.example @10.53.0.1 >dig.out.$n || ret=1 |
4748 | 188 | # change && to || when we support NID additional processing | 199 | if [ $minimal = no ]; then |
4749 | 189 | grep -w "L64" dig.out.$n > /dev/null && ret=1 | 200 | # change && to || when we support NID additional processing |
4750 | 190 | grep -w "L32" dig.out.$n > /dev/null && ret=1 | 201 | grep -w "L64" dig.out.$n >/dev/null && ret=1 |
4751 | 191 | else | 202 | grep -w "L32" dig.out.$n >/dev/null && ret=1 |
4752 | 192 | grep -w "L64" dig.out.$n > /dev/null && ret=1 | 203 | else |
4753 | 193 | grep -w "L32" dig.out.$n > /dev/null && ret=1 | 204 | grep -w "L64" dig.out.$n >/dev/null && ret=1 |
4754 | 194 | fi | 205 | grep -w "L32" dig.out.$n >/dev/null && ret=1 |
4755 | 195 | if [ $ret -eq 1 ] ; then | 206 | fi |
4756 | 196 | echo_i "failed"; status=$((status+1)) | 207 | if [ $ret -eq 1 ]; then |
4757 | 197 | fi | 208 | echo_i "failed" |
4758 | 198 | 209 | status=$((status + 1)) | |
4759 | 199 | n=$((n + 1)) | 210 | fi |
4760 | 200 | echo_i "test with NID + LP (+norec) ($n)" | 211 | |
4761 | 201 | ret=0 | 212 | n=$((n + 1)) |
4762 | 202 | $DIG $DIGOPTS +norec -t NID nid2.nid.example @10.53.0.1 > dig.out.$n || ret=1 | 213 | echo_i "test with NID + LP (+norec) ($n)" |
4763 | 203 | if [ $minimal = no ] ; then | 214 | ret=0 |
4764 | 204 | # change && to || when we support NID additional processing | 215 | $DIG $DIGOPTS +norec -t NID nid2.nid.example @10.53.0.1 >dig.out.$n || ret=1 |
4765 | 205 | grep -w "LP" dig.out.$n > /dev/null && ret=1 | 216 | if [ $minimal = no ]; then |
4766 | 206 | grep -w "L64" dig.out.$n > /dev/null && ret=1 | 217 | # change && to || when we support NID additional processing |
4767 | 207 | grep -w "L32" dig.out.$n > /dev/null && ret=1 | 218 | grep -w "LP" dig.out.$n >/dev/null && ret=1 |
4768 | 208 | else | 219 | grep -w "L64" dig.out.$n >/dev/null && ret=1 |
4769 | 209 | grep -w "LP" dig.out.$n > /dev/null && ret=1 | 220 | grep -w "L32" dig.out.$n >/dev/null && ret=1 |
4770 | 210 | grep -w "L64" dig.out.$n > /dev/null && ret=1 | 221 | else |
4771 | 211 | grep -w "L32" dig.out.$n > /dev/null && ret=1 | 222 | grep -w "LP" dig.out.$n >/dev/null && ret=1 |
4772 | 212 | fi | 223 | grep -w "L64" dig.out.$n >/dev/null && ret=1 |
4773 | 213 | if [ $ret -eq 1 ] ; then | 224 | grep -w "L32" dig.out.$n >/dev/null && ret=1 |
4774 | 214 | echo_i "failed"; status=$((status+1)) | 225 | fi |
4775 | 215 | fi | 226 | if [ $ret -eq 1 ]; then |
4776 | 216 | 227 | echo_i "failed" | |
4777 | 217 | n=$((n + 1)) | 228 | status=$((status + 1)) |
4778 | 218 | echo_i "test with NS, root zone ($n)" | 229 | fi |
4779 | 219 | ret=0 | 230 | |
4780 | 220 | $DIG $DIGOPTS -t NS . @10.53.0.1 > dig.out.$n || ret=1 | 231 | n=$((n + 1)) |
4781 | 221 | # Always expect glue for root priming queries, regardless $minimal | 232 | echo_i "test with NS, root zone ($n)" |
4782 | 222 | grep 'ADDITIONAL: 3' dig.out.$n > /dev/null || ret=1 | 233 | ret=0 |
4783 | 223 | if [ $ret -eq 1 ] ; then | 234 | $DIG $DIGOPTS -t NS . @10.53.0.1 >dig.out.$n || ret=1 |
4784 | 224 | echo_i "failed"; status=$((status+1)) | 235 | # Always expect glue for root priming queries, regardless $minimal |
4785 | 225 | fi | 236 | grep 'ADDITIONAL: 3' dig.out.$n >/dev/null || ret=1 |
4786 | 226 | 237 | if [ $ret -eq 1 ]; then | |
4787 | 227 | n=$((n + 1)) | 238 | echo_i "failed" |
4788 | 228 | echo_i "test with NS, non-root zone ($n)" | 239 | status=$((status + 1)) |
4789 | 229 | ret=0 | 240 | fi |
4790 | 230 | $DIG $DIGOPTS -t NS rt.example @10.53.0.1 > dig.out.$n || ret=1 | 241 | |
4791 | 231 | case $minimal in | 242 | n=$((n + 1)) |
4792 | 243 | echo_i "test with NS, non-root zone ($n)" | ||
4793 | 244 | ret=0 | ||
4794 | 245 | $DIG $DIGOPTS -t NS rt.example @10.53.0.1 >dig.out.$n || ret=1 | ||
4795 | 246 | case $minimal in | ||
4796 | 232 | yes) | 247 | yes) |
4798 | 233 | grep 'ADDITIONAL: 2' dig.out.$n > /dev/null || ret=1 | 248 | grep 'ADDITIONAL: 2' dig.out.$n >/dev/null || ret=1 |
4799 | 234 | ;; | 249 | ;; |
4800 | 235 | no) | 250 | no) |
4802 | 236 | grep 'ADDITIONAL: 2' dig.out.$n > /dev/null || ret=1 | 251 | grep 'ADDITIONAL: 2' dig.out.$n >/dev/null || ret=1 |
4803 | 237 | ;; | 252 | ;; |
4804 | 238 | no-auth) | 253 | no-auth) |
4806 | 239 | grep 'ADDITIONAL: 2' dig.out.$n > /dev/null || ret=1 | 254 | grep 'ADDITIONAL: 2' dig.out.$n >/dev/null || ret=1 |
4807 | 240 | ;; | 255 | ;; |
4808 | 241 | no-auth-recursive) | 256 | no-auth-recursive) |
4810 | 242 | grep 'ADDITIONAL: 2' dig.out.$n > /dev/null || ret=1 | 257 | grep 'ADDITIONAL: 2' dig.out.$n >/dev/null || ret=1 |
4811 | 243 | ;; | 258 | ;; |
4816 | 244 | esac | 259 | esac |
4817 | 245 | if [ $ret -eq 1 ] ; then | 260 | if [ $ret -eq 1 ]; then |
4818 | 246 | echo_i "failed"; status=$((status+1)) | 261 | echo_i "failed" |
4819 | 247 | fi | 262 | status=$((status + 1)) |
4820 | 263 | fi | ||
4821 | 248 | } | 264 | } |
4822 | 249 | 265 | ||
4823 | 250 | echo_i "testing with 'minimal-responses yes;'" | 266 | echo_i "testing with 'minimal-responses yes;'" |
4824 | @@ -262,10 +278,11 @@ dotests | |||
4825 | 262 | n=$((n + 1)) | 278 | n=$((n + 1)) |
4826 | 263 | echo_i "testing with 'minimal-any no;' ($n)" | 279 | echo_i "testing with 'minimal-any no;' ($n)" |
4827 | 264 | ret=0 | 280 | ret=0 |
4832 | 265 | $DIG $DIGOPTS -t ANY www.rt.example @10.53.0.1 > dig.out.$n || ret=1 | 281 | $DIG $DIGOPTS -t ANY www.rt.example @10.53.0.1 >dig.out.$n || ret=1 |
4833 | 266 | grep "ANSWER: 3, AUTHORITY: 2, ADDITIONAL: 2" dig.out.$n > /dev/null || ret=1 | 282 | grep "ANSWER: 3, AUTHORITY: 2, ADDITIONAL: 2" dig.out.$n >/dev/null || ret=1 |
4834 | 267 | if [ $ret -eq 1 ] ; then | 283 | if [ $ret -eq 1 ]; then |
4835 | 268 | echo_i "failed"; status=$((status+1)) | 284 | echo_i "failed" |
4836 | 285 | status=$((status + 1)) | ||
4837 | 269 | fi | 286 | fi |
4838 | 270 | 287 | ||
4839 | 271 | echo_i "reconfiguring server: minimal-any yes" | 288 | echo_i "reconfiguring server: minimal-any yes" |
4840 | @@ -275,28 +292,31 @@ rndc_reconfig ns1 10.53.0.1 | |||
4841 | 275 | n=$((n + 1)) | 292 | n=$((n + 1)) |
4842 | 276 | echo_i "testing with 'minimal-any yes;' over UDP ($n)" | 293 | echo_i "testing with 'minimal-any yes;' over UDP ($n)" |
4843 | 277 | ret=0 | 294 | ret=0 |
4848 | 278 | $DIG $DIGOPTS -t ANY +notcp www.rt.example @10.53.0.1 > dig.out.$n || ret=1 | 295 | $DIG $DIGOPTS -t ANY +notcp www.rt.example @10.53.0.1 >dig.out.$n || ret=1 |
4849 | 279 | grep "ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1" dig.out.$n > /dev/null || ret=1 | 296 | grep "ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1" dig.out.$n >/dev/null || ret=1 |
4850 | 280 | if [ $ret -eq 1 ] ; then | 297 | if [ $ret -eq 1 ]; then |
4851 | 281 | echo_i "failed"; status=$((status+1)) | 298 | echo_i "failed" |
4852 | 299 | status=$((status + 1)) | ||
4853 | 282 | fi | 300 | fi |
4854 | 283 | n=$((n + 1)) | 301 | n=$((n + 1)) |
4855 | 284 | 302 | ||
4856 | 285 | echo_i "testing with 'minimal-any yes;' over TCP ($n)" | 303 | echo_i "testing with 'minimal-any yes;' over TCP ($n)" |
4857 | 286 | ret=0 | 304 | ret=0 |
4862 | 287 | $DIG $DIGOPTS -t ANY +tcp www.rt.example @10.53.0.1 > dig.out.$n || ret=1 | 305 | $DIG $DIGOPTS -t ANY +tcp www.rt.example @10.53.0.1 >dig.out.$n || ret=1 |
4863 | 288 | grep "ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 1" dig.out.$n > /dev/null || ret=1 | 306 | grep "ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 1" dig.out.$n >/dev/null || ret=1 |
4864 | 289 | if [ $ret -eq 1 ] ; then | 307 | if [ $ret -eq 1 ]; then |
4865 | 290 | echo_i "failed"; status=$((status+1)) | 308 | echo_i "failed" |
4866 | 309 | status=$((status + 1)) | ||
4867 | 291 | fi | 310 | fi |
4868 | 292 | 311 | ||
4869 | 293 | n=$((n + 1)) | 312 | n=$((n + 1)) |
4870 | 294 | echo_i "testing with 'minimal-any yes;' over UDP ($n)" | 313 | echo_i "testing with 'minimal-any yes;' over UDP ($n)" |
4871 | 295 | ret=0 | 314 | ret=0 |
4876 | 296 | $DIG $DIGOPTS -t ANY +notcp www.rt.example @10.53.0.1 > dig.out.$n || ret=1 | 315 | $DIG $DIGOPTS -t ANY +notcp www.rt.example @10.53.0.1 >dig.out.$n || ret=1 |
4877 | 297 | grep "ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1" dig.out.$n > /dev/null || ret=1 | 316 | grep "ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1" dig.out.$n >/dev/null || ret=1 |
4878 | 298 | if [ $ret -eq 1 ] ; then | 317 | if [ $ret -eq 1 ]; then |
4879 | 299 | echo_i "failed"; status=$((status+1)) | 318 | echo_i "failed" |
4880 | 319 | status=$((status + 1)) | ||
4881 | 300 | fi | 320 | fi |
4882 | 301 | 321 | ||
4883 | 302 | echo_i "testing with 'minimal-responses no-auth;'" | 322 | echo_i "testing with 'minimal-responses no-auth;'" |
4884 | @@ -314,23 +334,25 @@ dotests | |||
4885 | 314 | n=$((n + 1)) | 334 | n=$((n + 1)) |
4886 | 315 | echo_i "testing returning TLSA records with MX query ($n)" | 335 | echo_i "testing returning TLSA records with MX query ($n)" |
4887 | 316 | ret=0 | 336 | ret=0 |
4894 | 317 | $DIG $DIGOPTS -t mx mx.example @10.53.0.1 > dig.out.$n || ret=1 | 337 | $DIG $DIGOPTS -t mx mx.example @10.53.0.1 >dig.out.$n || ret=1 |
4895 | 318 | grep "mx\.example\..*MX.0 mail\.mx\.example" dig.out.$n > /dev/null || ret=1 | 338 | grep "mx\.example\..*MX.0 mail\.mx\.example" dig.out.$n >/dev/null || ret=1 |
4896 | 319 | grep "mail\.mx\.example\..*A.1\.2\.3\.4" dig.out.$n > /dev/null || ret=1 | 339 | grep "mail\.mx\.example\..*A.1\.2\.3\.4" dig.out.$n >/dev/null || ret=1 |
4897 | 320 | grep "_25\._tcp\.mail\.mx\.example\..*TLSA.3 0 1 5B30F9602297D558EB719162C225088184FAA32CA45E1ED15DE58A21 D9FCE383" dig.out.$n > /dev/null || ret=1 | 340 | grep "_25\._tcp\.mail\.mx\.example\..*TLSA.3 0 1 5B30F9602297D558EB719162C225088184FAA32CA45E1ED15DE58A21 D9FCE383" dig.out.$n >/dev/null || ret=1 |
4898 | 321 | if [ $ret -eq 1 ] ; then | 341 | if [ $ret -eq 1 ]; then |
4899 | 322 | echo_i "failed"; status=$((status+1)) | 342 | echo_i "failed" |
4900 | 343 | status=$((status + 1)) | ||
4901 | 323 | fi | 344 | fi |
4902 | 324 | 345 | ||
4903 | 325 | n=$((n + 1)) | 346 | n=$((n + 1)) |
4904 | 326 | echo_i "testing returning TLSA records with SRV query ($n)" | 347 | echo_i "testing returning TLSA records with SRV query ($n)" |
4905 | 327 | ret=0 | 348 | ret=0 |
4912 | 328 | $DIG $DIGOPTS -t srv _xmpp-client._tcp.srv.example @10.53.0.1 > dig.out.$n || ret=1 | 349 | $DIG $DIGOPTS -t srv _xmpp-client._tcp.srv.example @10.53.0.1 >dig.out.$n || ret=1 |
4913 | 329 | grep "_xmpp-client\._tcp\.srv\.example\..*SRV.1 0 5222 server\.srv\.example" dig.out.$n > /dev/null || ret=1 | 350 | grep "_xmpp-client\._tcp\.srv\.example\..*SRV.1 0 5222 server\.srv\.example" dig.out.$n >/dev/null || ret=1 |
4914 | 330 | grep "server\.srv\.example\..*A.1\.2\.3\.4" dig.out.$n > /dev/null || ret=1 | 351 | grep "server\.srv\.example\..*A.1\.2\.3\.4" dig.out.$n >/dev/null || ret=1 |
4915 | 331 | grep "_5222\._tcp\.server\.srv\.example\..*TLSA.3 0 1 5B30F9602297D558EB719162C225088184FAA32CA45E1ED15DE58A21 D9FCE383" dig.out.$n > /dev/null || ret=1 | 352 | grep "_5222\._tcp\.server\.srv\.example\..*TLSA.3 0 1 5B30F9602297D558EB719162C225088184FAA32CA45E1ED15DE58A21 D9FCE383" dig.out.$n >/dev/null || ret=1 |
4916 | 332 | if [ $ret -eq 1 ] ; then | 353 | if [ $ret -eq 1 ]; then |
4917 | 333 | echo_i "failed"; status=$((status+1)) | 354 | echo_i "failed" |
4918 | 355 | status=$((status + 1)) | ||
4919 | 334 | fi | 356 | fi |
4920 | 335 | 357 | ||
4921 | 336 | echo_i "reconfiguring server: minimal-responses no" | 358 | echo_i "reconfiguring server: minimal-responses no" |
4922 | @@ -340,39 +362,43 @@ rndc_reconfig ns1 10.53.0.1 | |||
4923 | 340 | n=$((n + 1)) | 362 | n=$((n + 1)) |
4924 | 341 | echo_i "testing NS handling in ANY responses (authoritative) ($n)" | 363 | echo_i "testing NS handling in ANY responses (authoritative) ($n)" |
4925 | 342 | ret=0 | 364 | ret=0 |
4931 | 343 | $DIG $DIGOPTS -t ANY rt.example @10.53.0.1 > dig.out.$n || ret=1 | 365 | $DIG $DIGOPTS -t ANY rt.example @10.53.0.1 >dig.out.$n || ret=1 |
4932 | 344 | grep "AUTHORITY: 0" dig.out.$n > /dev/null || ret=1 | 366 | grep "AUTHORITY: 0" dig.out.$n >/dev/null || ret=1 |
4933 | 345 | grep "NS[ ]*ns" dig.out.$n > /dev/null || ret=1 | 367 | grep "NS[ ]*ns" dig.out.$n >/dev/null || ret=1 |
4934 | 346 | if [ $ret -eq 1 ] ; then | 368 | if [ $ret -eq 1 ]; then |
4935 | 347 | echo_i "failed"; status=$((status+1)) | 369 | echo_i "failed" |
4936 | 370 | status=$((status + 1)) | ||
4937 | 348 | fi | 371 | fi |
4938 | 349 | 372 | ||
4939 | 350 | n=$((n + 1)) | 373 | n=$((n + 1)) |
4940 | 351 | echo_i "testing NS handling in ANY responses (recursive) ($n)" | 374 | echo_i "testing NS handling in ANY responses (recursive) ($n)" |
4941 | 352 | ret=0 | 375 | ret=0 |
4947 | 353 | $DIG $DIGOPTS -t ANY rt.example @10.53.0.3 > dig.out.$n || ret=1 | 376 | $DIG $DIGOPTS -t ANY rt.example @10.53.0.3 >dig.out.$n || ret=1 |
4948 | 354 | grep "AUTHORITY: 0" dig.out.$n > /dev/null || ret=1 | 377 | grep "AUTHORITY: 0" dig.out.$n >/dev/null || ret=1 |
4949 | 355 | grep "NS[ ]*ns" dig.out.$n > /dev/null || ret=1 | 378 | grep "NS[ ]*ns" dig.out.$n >/dev/null || ret=1 |
4950 | 356 | if [ $ret -eq 1 ] ; then | 379 | if [ $ret -eq 1 ]; then |
4951 | 357 | echo_i "failed"; status=$((status+1)) | 380 | echo_i "failed" |
4952 | 381 | status=$((status + 1)) | ||
4953 | 358 | fi | 382 | fi |
4954 | 359 | 383 | ||
4955 | 360 | n=$((n + 1)) | 384 | n=$((n + 1)) |
4956 | 361 | echo_i "testing out-of-zone additional data from auth zones (authoritative) ($n)" | 385 | echo_i "testing out-of-zone additional data from auth zones (authoritative) ($n)" |
4957 | 362 | ret=0 | 386 | ret=0 |
4962 | 363 | $DIG $DIGOPTS -t NS rt.example @10.53.0.1 > dig.out.$n || ret=1 | 387 | $DIG $DIGOPTS -t NS rt.example @10.53.0.1 >dig.out.$n || ret=1 |
4963 | 364 | grep "ADDITIONAL: 2" dig.out.$n > /dev/null || ret=1 | 388 | grep "ADDITIONAL: 2" dig.out.$n >/dev/null || ret=1 |
4964 | 365 | if [ $ret -eq 1 ] ; then | 389 | if [ $ret -eq 1 ]; then |
4965 | 366 | echo_i "failed"; status=$((status+1)) | 390 | echo_i "failed" |
4966 | 391 | status=$((status + 1)) | ||
4967 | 367 | fi | 392 | fi |
4968 | 368 | 393 | ||
4969 | 369 | n=$((n + 1)) | 394 | n=$((n + 1)) |
4970 | 370 | echo_i "testing out-of-zone additional data from auth zones (recursive) ($n)" | 395 | echo_i "testing out-of-zone additional data from auth zones (recursive) ($n)" |
4971 | 371 | ret=0 | 396 | ret=0 |
4976 | 372 | $DIG $DIGOPTS -t NS ex @10.53.0.3 > dig.out.$n || ret=1 | 397 | $DIG $DIGOPTS -t NS ex @10.53.0.3 >dig.out.$n || ret=1 |
4977 | 373 | grep "ADDITIONAL: 3" dig.out.$n > /dev/null || ret=1 | 398 | grep "ADDITIONAL: 3" dig.out.$n >/dev/null || ret=1 |
4978 | 374 | if [ $ret -eq 1 ] ; then | 399 | if [ $ret -eq 1 ]; then |
4979 | 375 | echo_i "failed"; status=$((status+1)) | 400 | echo_i "failed" |
4980 | 401 | status=$((status + 1)) | ||
4981 | 376 | fi | 402 | fi |
4982 | 377 | 403 | ||
4983 | 378 | echo_i "exit status: $status" | 404 | echo_i "exit status: $status" |
4984 | diff --git a/bin/tests/system/addzone/ns1/named.conf.in b/bin/tests/system/addzone/ns1/named.conf.in | |||
4985 | index 9015e1b..8c94791 100644 | |||
4986 | --- a/bin/tests/system/addzone/ns1/named.conf.in | |||
4987 | +++ b/bin/tests/system/addzone/ns1/named.conf.in | |||
4988 | @@ -33,7 +33,7 @@ options { | |||
4989 | 33 | 33 | ||
4990 | 34 | zone "." { | 34 | zone "." { |
4991 | 35 | type hint; | 35 | type hint; |
4993 | 36 | file "../../common/root.hint"; | 36 | file "../../_common/root.hint"; |
4994 | 37 | }; | 37 | }; |
4995 | 38 | 38 | ||
4996 | 39 | zone "inlinesec.example" { | 39 | zone "inlinesec.example" { |
4997 | diff --git a/bin/tests/system/addzone/ns2/named1.conf.in b/bin/tests/system/addzone/ns2/named1.conf.in | |||
4998 | index 23be60e..bd94f6e 100644 | |||
4999 | --- a/bin/tests/system/addzone/ns2/named1.conf.in | |||
5000 | +++ b/bin/tests/system/addzone/ns2/named1.conf.in |
The bug fixes/security fixes look good and I wanted to dig into the functional changes a little bit for breaking changes. Only 2 looked like potential issues but are fine.
6282. [func] Deprecate AES-based DNS cookies. [GL #4421]
This is not a concern since the code was not being used other than in internal testing.
6269. [maint] B.ROOT-SERVERS.NET addresses are now 170.247.170.2 and
2801:1b8:10::b. [GL #4101]
This is fine for this merge, but I wonder if this change will need to be made for Focal as well once these old addresses get deprecated?
I tested a basic upgrade in a mantic VM and the apt upgrade was very smooth.
1) Is Debian also be suffering due to the stdatomic header change? If so that delta would be great to add there.
These changes LGTM. +1