[9.20] chg: nil: License test data files in REUSE.toml

In order to avoid the need to repeat the license header in named.conf
files and zone files, add the paths to REUSE.toml to assign the license.

Backport of MR !11766

Merge branch 'backport-nicki/reuse-cover-configs-and-zones-9.20' into 'bind-9.20'

See merge request isc-projects/bind9!11773
This commit is contained in:
Nicki Křížek 2026-03-31 17:57:42 +02:00
commit b04dcddf6c
7 changed files with 2 additions and 83 deletions

View file

@ -31,15 +31,8 @@ path = [
"Makefile",
"Makefile.**",
"bin/tests/system/**/README*",
"bin/tests/system/checkzone/zones/bad-caa-rr.db",
"bin/tests/system/checkzone/zones/bad1.db",
"bin/tests/system/checkzone/zones/crashzone.db",
"bin/tests/system/checkzone/zones/warn.deprecated.cds-sha1.db",
"bin/tests/system/checkzone/zones/warn.deprecated.digest-sha1.db",
"bin/tests/system/checkzone/zones/warn.deprecated.ds-alg.db",
"bin/tests/system/checkzone/zones/warn.deprecated.key-alg.db",
"bin/tests/system/checkzone/zones/warn.deprecated.nsec3rsasha1.db",
"bin/tests/system/checkzone/zones/warn.deprecated.rsasha1.db",
"bin/tests/system/_common/**",
"bin/tests/system/**.conf*",
"bin/tests/system/dnstap/large-answer.fstrm",
"bin/tests/system/doth/CA/CA.cfg",
"bin/tests/system/doth/CA/index.txt",
@ -74,8 +67,6 @@ path = [
"bin/tests/system/journal/ns2/managed-keys.bind.in",
"bin/tests/system/journal/ns2/managed-keys.bind.jnl.in",
"bin/tests/system/keepalive/expected",
"bin/tests/system/legacy/ns6/edns512.db.signed",
"bin/tests/system/legacy/ns7/edns512-notcp.db.signed",
"bin/tests/system/masterfile/knowngood.include",
"bin/tests/system/masterfile/knowngood.ttl1",
"bin/tests/system/masterfile/knowngood.ttl2",

View file

@ -1,16 +1,3 @@
/*
* Copyright (C) Internet Systems Consortium, Inc. ("ISC")
*
* SPDX-License-Identifier: MPL-2.0
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, you can obtain one at https://mozilla.org/MPL/2.0/.
*
* See the COPYRIGHT file distributed with this work for additional
* information regarding copyright ownership.
*/
key rndc_key {
secret "1234abcd8765";
algorithm @DEFAULT_HMAC@;

View file

@ -1,16 +1,3 @@
/*
* Copyright (C) Internet Systems Consortium, Inc. ("ISC")
*
* SPDX-License-Identifier: MPL-2.0
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, you can obtain one at https://mozilla.org/MPL/2.0/.
*
* See the COPYRIGHT file distributed with this work for additional
* information regarding copyright ownership.
*/
options {
default-key "rndc_key";
};

View file

@ -1,14 +1,3 @@
/*
* Copyright (C) Internet Systems Consortium, Inc. ("ISC")
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, you can obtain one at https://mozilla.org/MPL/2.0/.
*
* See the COPYRIGHT file distributed with this work for additional
* information regarding copyright ownership.
*/
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;

View file

@ -1,14 +1,3 @@
; Copyright (C) Internet Systems Consortium, Inc. ("ISC")
;
; SPDX-License-Identifier: MPL-2.0
;
; This Source Code Form is subject to the terms of the Mozilla Public
; License, v. 2.0. If a copy of the MPL was not distributed with this
; file, you can obtain one at https://mozilla.org/MPL/2.0/.
;
; See the COPYRIGHT file distributed with this work for additional
; information regarding copyright ownership.
$TTL 999999
. IN NS a.root-servers.nil.
a.root-servers.nil. IN A 10.53.0.1

View file

@ -1,14 +1,3 @@
; Copyright (C) Internet Systems Consortium, Inc. ("ISC")
;
; SPDX-License-Identifier: MPL-2.0
;
; This Source Code Form is subject to the terms of the Mozilla Public
; License, v. 2.0. If a copy of the MPL was not distributed with this
; file, you can obtain one at https://mozilla.org/MPL/2.0/.
;
; See the COPYRIGHT file distributed with this work for additional
; information regarding copyright ownership.
$TTL 999999
. IN NS ns99.root-servers.nil.
ns99.root-servers.nil. IN A 10.53.0.99

View file

@ -1,16 +1,3 @@
/*
* Copyright (C) Internet Systems Consortium, Inc. ("ISC")
*
* SPDX-License-Identifier: MPL-2.0
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, you can obtain one at https://mozilla.org/MPL/2.0/.
*
* See the COPYRIGHT file distributed with this work for additional
* information regarding copyright ownership.
*/
trust-anchors {
{% for ta in trust_anchors %}
"@ta.domain@" @ta.type@ @ta.contents@;