From: Mark Andrews Date: Wed, 15 Oct 2025 06:51:55 +0000 (+1100) Subject: Don't hardcode shared library extension X-Git-Tag: v9.21.15~65^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0abef4fa3503406b984d0c85ba676c93faf4a3c;p=thirdparty%2Fbind9.git Don't hardcode shared library extension --- diff --git a/bin/tests/system/synthrecord/conf/bad-multi-label-prefix.conf.j2 b/bin/tests/system/synthrecord/conf/bad-multi-label-prefix.conf.j2 index b064813b59f..79414226de0 100644 --- a/bin/tests/system/synthrecord/conf/bad-multi-label-prefix.conf.j2 +++ b/bin/tests/system/synthrecord/conf/bad-multi-label-prefix.conf.j2 @@ -14,7 +14,7 @@ zone 192.in-addr.arpa { type primary; file "file"; - plugin query "@TOP_BUILDDIR@/synthrecord.so" { + plugin query "@TOP_BUILDDIR@/synthrecord.@DYLIB@" { prefix "dynam.ic-"; allow-synth { 192.168.1.0/24; diff --git a/bin/tests/system/synthrecord/conf/bad-neg-ttl.conf.j2 b/bin/tests/system/synthrecord/conf/bad-neg-ttl.conf.j2 index 177cee5708d..19493451a7d 100644 --- a/bin/tests/system/synthrecord/conf/bad-neg-ttl.conf.j2 +++ b/bin/tests/system/synthrecord/conf/bad-neg-ttl.conf.j2 @@ -14,7 +14,7 @@ zone 192.in-addr.arpa { type primary; file "file"; - plugin query "@TOP_BUILDDIR@/synthrecord.so" { + plugin query "@TOP_BUILDDIR@/synthrecord.@DYLIB@" { prefix "dynamic-"; allow-synth { 192.168.1.0/24; diff --git a/bin/tests/system/synthrecord/conf/bad-no-origin.conf.j2 b/bin/tests/system/synthrecord/conf/bad-no-origin.conf.j2 index 153cf93acfa..0e9a9c60d59 100644 --- a/bin/tests/system/synthrecord/conf/bad-no-origin.conf.j2 +++ b/bin/tests/system/synthrecord/conf/bad-no-origin.conf.j2 @@ -14,7 +14,7 @@ zone 10.in-addr.arpa { type primary; file "file"; - plugin query "@TOP_BUILDDIR@/synthrecord.so" { + plugin query "@TOP_BUILDDIR@/synthrecord.@DYLIB@" { prefix dynamic-; allow-synth { 10.53.0.0/16; diff --git a/bin/tests/system/synthrecord/conf/bad-no-prefix.conf.j2 b/bin/tests/system/synthrecord/conf/bad-no-prefix.conf.j2 index 2e2e6a28c53..da1bc7a677d 100644 --- a/bin/tests/system/synthrecord/conf/bad-no-prefix.conf.j2 +++ b/bin/tests/system/synthrecord/conf/bad-no-prefix.conf.j2 @@ -14,7 +14,7 @@ zone 10.in-addr.arpa { type primary; file "file"; - plugin query "@TOP_BUILDDIR@/synthrecord.so" { + plugin query "@TOP_BUILDDIR@/synthrecord.@DYLIB@" { allow-synth { 10.53.0.0/16; }; diff --git a/bin/tests/system/synthrecord/conf/bad-origin-name.conf.j2 b/bin/tests/system/synthrecord/conf/bad-origin-name.conf.j2 index 4f450d8a9e4..e1b291636a9 100644 --- a/bin/tests/system/synthrecord/conf/bad-origin-name.conf.j2 +++ b/bin/tests/system/synthrecord/conf/bad-origin-name.conf.j2 @@ -14,7 +14,7 @@ zone 10.in-addr.arpa { type primary; file "file"; - plugin query "@TOP_BUILDDIR@/synthrecord.so" { + plugin query "@TOP_BUILDDIR@/synthrecord.@DYLIB@" { prefix dynamic-; origin _e/x'ample.; ttl 60; diff --git a/bin/tests/system/synthrecord/conf/bad-origin-no-absolute.conf.j2 b/bin/tests/system/synthrecord/conf/bad-origin-no-absolute.conf.j2 index c07d4e15d49..2d4317b450c 100644 --- a/bin/tests/system/synthrecord/conf/bad-origin-no-absolute.conf.j2 +++ b/bin/tests/system/synthrecord/conf/bad-origin-no-absolute.conf.j2 @@ -14,7 +14,7 @@ zone 192.in-addr.arpa { type primary; file "file"; - plugin query "@TOP_BUILDDIR@/synthrecord.so" { + plugin query "@TOP_BUILDDIR@/synthrecord.@DYLIB@" { prefix dynamic-; origin "example"; ttl 60; diff --git a/bin/tests/system/synthrecord/conf/bad-origin-type.conf.j2 b/bin/tests/system/synthrecord/conf/bad-origin-type.conf.j2 index 730b9d2b092..741e96b256f 100644 --- a/bin/tests/system/synthrecord/conf/bad-origin-type.conf.j2 +++ b/bin/tests/system/synthrecord/conf/bad-origin-type.conf.j2 @@ -14,7 +14,7 @@ zone example { type primary; file "file"; - plugin query "@TOP_BUILDDIR@/synthrecord.so" { + plugin query "@TOP_BUILDDIR@/synthrecord.@DYLIB@" { prefix dynamic-; origin { 10.0.0.1/24; }; ttl 60; diff --git a/bin/tests/system/synthrecord/conf/bad-prefix-type.conf.j2 b/bin/tests/system/synthrecord/conf/bad-prefix-type.conf.j2 index 6090073cf4b..d9a575e340b 100644 --- a/bin/tests/system/synthrecord/conf/bad-prefix-type.conf.j2 +++ b/bin/tests/system/synthrecord/conf/bad-prefix-type.conf.j2 @@ -14,7 +14,7 @@ zone example { type primary; file "file"; - plugin query "@TOP_BUILDDIR@/synthrecord.so" { + plugin query "@TOP_BUILDDIR@/synthrecord.@DYLIB@" { prefix { 10.43.4.5/2; }; origin "example."; ttl 60; diff --git a/bin/tests/system/synthrecord/conf/bad-reverse-missing-origin.conf.j2 b/bin/tests/system/synthrecord/conf/bad-reverse-missing-origin.conf.j2 index 94ca7c668f6..42de9f287b5 100644 --- a/bin/tests/system/synthrecord/conf/bad-reverse-missing-origin.conf.j2 +++ b/bin/tests/system/synthrecord/conf/bad-reverse-missing-origin.conf.j2 @@ -14,7 +14,7 @@ zone 10.in-addr.arpa { type primary; file "file"; - plugin query "@TOP_BUILDDIR@/synthrecord.so" { + plugin query "@TOP_BUILDDIR@/synthrecord.@DYLIB@" { prefix "dynamic-"; ttl 60; }; diff --git a/bin/tests/system/synthrecord/conf/bad-tsig.conf.j2 b/bin/tests/system/synthrecord/conf/bad-tsig.conf.j2 index e870a2d270c..30c018b2da5 100644 --- a/bin/tests/system/synthrecord/conf/bad-tsig.conf.j2 +++ b/bin/tests/system/synthrecord/conf/bad-tsig.conf.j2 @@ -19,7 +19,7 @@ key "test-tsig." { zone example { type primary; file "file"; - plugin query "@TOP_BUILDDIR@/synthrecord.so" { + plugin query "@TOP_BUILDDIR@/synthrecord.@DYLIB@" { prefix "dynamic-"; allow-synth { 192.168.1.5; diff --git a/bin/tests/system/synthrecord/conf/bad-wrong-ttl-type.conf.j2 b/bin/tests/system/synthrecord/conf/bad-wrong-ttl-type.conf.j2 index db8014c9b98..0d5f1ec4286 100644 --- a/bin/tests/system/synthrecord/conf/bad-wrong-ttl-type.conf.j2 +++ b/bin/tests/system/synthrecord/conf/bad-wrong-ttl-type.conf.j2 @@ -14,7 +14,7 @@ zone 10.in-addr.arpa { type primary; file "file"; - plugin query "@TOP_BUILDDIR@/synthrecord.so" { + plugin query "@TOP_BUILDDIR@/synthrecord.@DYLIB@" { prefix "dynamic-"; allow-synth { 192.168.1.0/24; diff --git a/bin/tests/system/synthrecord/conf/good-forward-missing-origin.conf.j2 b/bin/tests/system/synthrecord/conf/good-forward-missing-origin.conf.j2 index e21139dd574..54855d5b4a9 100644 --- a/bin/tests/system/synthrecord/conf/good-forward-missing-origin.conf.j2 +++ b/bin/tests/system/synthrecord/conf/good-forward-missing-origin.conf.j2 @@ -14,7 +14,7 @@ zone example { type primary; file "file"; - plugin query "@TOP_BUILDDIR@/synthrecord.so" { + plugin query "@TOP_BUILDDIR@/synthrecord.@DYLIB@" { prefix "dynamic-"; allow-synth { 10.53.0.0/16; diff --git a/bin/tests/system/synthrecord/conf/good-no-allow-synth.conf.j2 b/bin/tests/system/synthrecord/conf/good-no-allow-synth.conf.j2 index a8ef0530160..ad018386950 100644 --- a/bin/tests/system/synthrecord/conf/good-no-allow-synth.conf.j2 +++ b/bin/tests/system/synthrecord/conf/good-no-allow-synth.conf.j2 @@ -14,7 +14,7 @@ zone 10.in-addr.arpa { type primary; file "file"; - plugin query "@TOP_BUILDDIR@/synthrecord.so" { + plugin query "@TOP_BUILDDIR@/synthrecord.@DYLIB@" { prefix dynamic-; origin "example."; ttl 60; diff --git a/bin/tests/system/synthrecord/conf/good-no-ttl.conf.j2 b/bin/tests/system/synthrecord/conf/good-no-ttl.conf.j2 index 4d05862fe54..314866d03a8 100644 --- a/bin/tests/system/synthrecord/conf/good-no-ttl.conf.j2 +++ b/bin/tests/system/synthrecord/conf/good-no-ttl.conf.j2 @@ -14,7 +14,7 @@ zone example { type primary; file "file"; - plugin query "@TOP_BUILDDIR@/synthrecord.so" { + plugin query "@TOP_BUILDDIR@/synthrecord.@DYLIB@" { prefix "dynamic-"; allow-synth { 10.53.0.0/16; diff --git a/bin/tests/system/synthrecord/conf/good1.conf.j2 b/bin/tests/system/synthrecord/conf/good1.conf.j2 index 120b79b74df..184c81c53c4 100644 --- a/bin/tests/system/synthrecord/conf/good1.conf.j2 +++ b/bin/tests/system/synthrecord/conf/good1.conf.j2 @@ -14,7 +14,7 @@ zone 10.in-addr.arpa { type primary; file "10.in-addr.arpa.db"; - plugin query "@TOP_BUILDDIR@/synthrecord.so" { + plugin query "@TOP_BUILDDIR@/synthrecord.@DYLIB@" { prefix "dynamic-"; allow-synth { 10.53.0.0/16; @@ -27,7 +27,7 @@ zone 10.in-addr.arpa { zone e.f.a.c.ip6.arpa { type primary; file "e.f.a.c.in-addr.arpa.db"; - plugin query "@TOP_BUILDDIR@/synthrecord.so" { + plugin query "@TOP_BUILDDIR@/synthrecord.@DYLIB@" { prefix "dynamic-"; allow-synth { cafe:cafe::/32; @@ -40,7 +40,7 @@ zone e.f.a.c.ip6.arpa { zone example { type primary; file "example.db"; - plugin query "@TOP_BUILDDIR@/synthrecord.so" { + plugin query "@TOP_BUILDDIR@/synthrecord.@DYLIB@" { prefix "dynamic-"; allow-synth { 10.53.0.0/16;