merge_copyrights revision 0c27b3fe77ac1d5094ba3521e8142d9e7973133f
96e08422d46465ebd7105bf48e475f77e60250d7wrowe# Copyright (C) 1998-2001, 2003-2007, 2009-2016 Internet Systems Consortium, Inc. ("ISC")
96e08422d46465ebd7105bf48e475f77e60250d7wrowe# This Source Code Form is subject to the terms of the Mozilla Public
96e08422d46465ebd7105bf48e475f77e60250d7wrowe# License, v. 2.0. If a copy of the MPL was not distributed with this
96e08422d46465ebd7105bf48e475f77e60250d7wrowe# file, You can obtain one at http://mozilla.org/MPL/2.0/.
96e08422d46465ebd7105bf48e475f77e60250d7wroweopen(COPYRIGHTS, "<util/copyrights") || die "can't open ./util/copyrights: $!";
96e08422d46465ebd7105bf48e475f77e60250d7wrowemy ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = gmtime(time());
96e08422d46465ebd7105bf48e475f77e60250d7wrowe$sec = $min = $hour = $mday = $mon = $wday = $yday = $isdst = 0;
96e08422d46465ebd7105bf48e475f77e60250d7wroweopen(FILES, "git ls-files | sed 's;^;./;' |") || die "git ls-files: $!";
96e08422d46465ebd7105bf48e475f77e60250d7wroweopen(CHANGES, "sh util/recent_changes.sh |") || die "recent_changes.sh: $!";
96e08422d46465ebd7105bf48e475f77e60250d7wrowe # Strip any .in extension to find out the file's real type.
4772145ced1391b7fc8aee0df304982815aab6ebwrowe # .in files are processed by configure to produce the target file.
96e08422d46465ebd7105bf48e475f77e60250d7wrowe $base =~ s/\.[0-9]$//;
96e08422d46465ebd7105bf48e475f77e60250d7wrowe } elsif ($base =~ /\/(named|rndc|good|bad).{0,2}\.conf$/) {
96e08422d46465ebd7105bf48e475f77e60250d7wrowe } elsif ($base =~ /\/checkconf\/(good|bad)-.*\.conf$/) {
96e08422d46465ebd7105bf48e475f77e60250d7wrowe } elsif ($base =~ /(\/\.(gitignore|gitattributes)|Atffile|\.(gif|jpg))$/i) {
96e08422d46465ebd7105bf48e475f77e60250d7wrowe } elsif ($base =~ /\.(vcxproj(|\.(user|filters)))$/i) {
my $has_current = 0;
$has_current = 1;
my $tabs = 0;
$tabs = 1;
$tabs++;