Exclude configuration files from the copyright mumbo-jumbo
This commit is contained in:
685
util/copyrights
685
util/copyrights
File diff suppressed because it is too large
Load Diff
@@ -42,6 +42,8 @@ while (<CHANGES>) {
|
||||
util/newcopyrights | # our output
|
||||
\.bak$ | # created by update_copyrights
|
||||
\.md$ | # READMEs and such
|
||||
\.conf$ | # configuration files
|
||||
\.conf\.in$ | # configuration files
|
||||
/(dnssafe|openssl)/.*\.[ch]$ | # imported
|
||||
doc/(draft|expired|rfc)/ # imported
|
||||
%x);
|
||||
@@ -92,10 +94,6 @@ while (<CHANGES>) {
|
||||
$base = $base . ".docbook";
|
||||
} elsif ($base =~ /\/Makefile$/) {
|
||||
$file_types{$_} = "MAKE";
|
||||
} elsif ($base =~ /\/(named|rndc|good|bad).{0,2}\.conf$/) {
|
||||
$file_types{$_} = "CONF-C";
|
||||
} elsif ($base =~ /\/checkconf\/(good|bad)-.*\.conf$/) {
|
||||
$file_types{$_} = "CONF-C";
|
||||
} elsif ($base =~ /\/resolv.?\.conf$/) {
|
||||
$file_types{$_} = "CONF-SH";
|
||||
} elsif ($base =~ /\.(db|hint)$/) {
|
||||
|
||||
@@ -184,7 +184,7 @@ foreach $file (keys %file_types) {
|
||||
$start_comment = "";
|
||||
$end_comment = "";
|
||||
$first = "";
|
||||
if ($type =~ /^(C|YACC|CONF-C)$/) {
|
||||
if ($type =~ /^(C|YACC)$/) {
|
||||
$c_comment = 1;
|
||||
$start_comment = "/*\n";
|
||||
$prefix = " * ";
|
||||
@@ -518,7 +518,7 @@ foreach $file (keys %file_types) {
|
||||
print TARGET "\n";
|
||||
}
|
||||
|
||||
if (($type eq "C" || $type eq "CONF-C") &&
|
||||
if (($type eq "C") &&
|
||||
$sysyears =~ /$this_year/) {
|
||||
my $body = "";
|
||||
while (<SOURCE>) {
|
||||
|
||||
Reference in New Issue
Block a user