merge_copyrights revision dabea86dac4c01f852b7aea728f73b4f55a89d44
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# Copyright (C) 1998-2001, 2003 Internet Software Consortium.
178f6ad061e54bc5babfca3577f72058fa0797c1Bob Halley# Permission to use, copy, modify, and distribute this software for any
178f6ad061e54bc5babfca3577f72058fa0797c1Bob Halley# purpose with or without fee is hereby granted, provided that the above
178f6ad061e54bc5babfca3577f72058fa0797c1Bob Halley# copyright notice and this permission notice appear in all copies.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# PERFORMANCE OF THIS SOFTWARE.
dabea86dac4c01f852b7aea728f73b4f55a89d44Mark Andrews# $Id: merge_copyrights,v 1.19 2004/03/05 12:56:28 marka Exp $
460b427411b72da26b1836b9424e2e70d65d9394David Lawrenceopen(COPYRIGHTS, "<util/copyrights") || die "can't open ./util/copyrights: $!";
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time());
460b427411b72da26b1836b9424e2e70d65d9394David Lawrenceopen(FILES, "$find | sort |") || die "can't start \"$find\": $!";
12e63bfe1d111ccb57f482b28d56c785cccc7cf7David Lawrence # Strip any .in extension to find out the file's real type.
12e63bfe1d111ccb57f482b28d56c785cccc7cf7David Lawrence # .in files are processed by configure to produce the target file.
dabea86dac4c01f852b7aea728f73b4f55a89d44Mark Andrews # Contributed code should maintain its own copyright.
0014d6342b0d50ae37126ac16d5bf821d02ffff7David Lawrence } elsif ($base =~ /\/(named|rndc).?\.conf$/) {
12e63bfe1d111ccb57f482b28d56c785cccc7cf7David Lawrence } elsif ($base =~ /(\/\.cvsignore|\.gif|\.jpg)$/i) {
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,$atime,$mtime,$ctime,
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley ($sec,$min,$hour,$mday,$mon,$c_year,$wday,$yday,$isdst) =
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley ($sec,$min,$hour,$mday,$mon,$m_year,$wday,$yday,$isdst) =
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley print "$_: must set copyright year(s) manually\n";
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley # keep perl from issuing warnings about "used only once"
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley $dev = $ino = $mode = $nlink = $uid = $gid = $rdev = $size = 0;
0014d6342b0d50ae37126ac16d5bf821d02ffff7David Lawrence if (! defined($file_years{$_}) || $file_years{$_} eq "????") {
0014d6342b0d50ae37126ac16d5bf821d02ffff7David Lawrence print "$_: must set copyright year(s) manually\n";
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,$atime,$mtime,$ctime,
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley ($sec,$min,$hour,$mday,$mon,$m_year,$wday,$yday,$isdst) =