merge_copyrights revision f7a6d4f915ce622d988916397f313b33ae954afc
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# Copyright (C) 2004-2007, 2009-2015 Internet Systems Consortium, Inc. ("ISC")
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# Copyright (C) 1998-2001, 2003 Internet Software Consortium.
df14f0d3a5191cdd7c4bb5b03acd135d43a6f51brbb# Permission to use, copy, modify, and/or distribute this software for any
df14f0d3a5191cdd7c4bb5b03acd135d43a6f51brbb# purpose with or without fee is hereby granted, provided that the above
ab71b233b3a36489e44a7b061c48293be0b17788jwoolley# copyright notice and this permission notice appear in all copies.
571760de5e60c0b459cb11be45507b923cd023eejwoolley# THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
9180a5933673ffb1af633c255ceee029340f3b1erbb# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
bcb6e1be6041dfeb549c8ea8d37f97ad4e90a0c3rbb# AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
9bd71e35f5d26d26d23fe3a677401828e842ed72wrowe# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
2900ab946a2d76b73a14cebfe2985d253f01c967stoddard# LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
a548c09e6a8ca1b059d0e93b5256c6ccb2b3c3cdrbb# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
a548c09e6a8ca1b059d0e93b5256c6ccb2b3c3cdrbb# PERFORMANCE OF THIS SOFTWARE.
70f6f32765cfaadd6da8de6f0fea97ddd72d8fadmanojopen(COPYRIGHTS, "<util/copyrights") || die "can't open ./util/copyrights: $!";
2a6c49cfaef5979a5a06098f3ce987cd76769409manojmy ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = gmtime(time());
531c23ff01a2489646f0a2029097013b328d935agstein$sec = $min = $hour = $mday = $mon = $wday = $yday = $isdst = 0;
bf9acc131271d18db51d30ace549d3c3b6a2b9fbrbbopen(FILES, "git ls-files | sed 's;^;./;' |") || die "git ls-files: $!";
79d5106a9b65b956d646f5daae4b94bc79e315b8trawickopen(CHANGES, "sh util/recent_changes.sh |") || die "recent_changes.sh: $!";
dc96a5e6f9af3c514df4c61ab9468fcf97f9846fwrowe # Strip any .in extension to find out the file's real type.
dc96a5e6f9af3c514df4c61ab9468fcf97f9846fwrowe # .in files are processed by configure to produce the target file.
410912d9cb56a09a74f8655647ed9e81d49023f4gregames } elsif ($base =~ /\/(named|rndc|good|bad).{0,2}\.conf$/) {
410912d9cb56a09a74f8655647ed9e81d49023f4gregames } elsif ($base =~ /\/checkconf\/(good|bad)-.*\.conf$/) {
60d567a0c2aae815ee6fc20c0d65032bea52c92cwrowe } elsif ($base =~ /(\/\.(gitignore|gitattributes)|Atffile|\.(gif|jpg))$/i) {
1b9744b72f26e9a0e935f9c08d49feb1fcce72f9jwoolley if (! defined($file_years{$_}) || $file_years{$_} eq "????") {
19cbe4d7b7c931723e7249de6829bf965a1fee72stoddard # track the modification years even if we are not going to be
3bb28269556842ebf8888208fd0c7a7f3e343186jerenkrantz printf NEWCOPYRIGHTS "%s\t%s\n", $file_types{$file}, $file_years{$file};
3bb28269556842ebf8888208fd0c7a7f3e343186jerenkrantz if (($file_years{$file} eq "????") || ($file_types{$file} eq "?")) {