merge_copyrights revision fcb54ce0a4f7377486df5bec83b3aa4711bf4131
75c0816e8295e180f4bc7f10db3d0d880383bc1cMark Andrews# Copyright (C) 1998-2001 Internet Software Consortium.
4a14ce5ba00ab7bc55c99ffdcf59c7a4ab902721Automatic Updater# Permission to use, copy, modify, and distribute this software for any
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# purpose with or without fee is hereby granted, provided that the above
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# copyright notice and this permission notice appear in all copies.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# $Id: merge_copyrights,v 1.17 2003/10/17 03:46:46 marka Exp $
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austeinopen(COPYRIGHTS, "<util/copyrights") || die "can't open ./util/copyrights: $!";
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time());
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austeinopen(FILES, "$find | sort |") || die "can't start \"$find\": $!";
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein # Strip any .in extension to find out the file's real type.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein # .in files are processed by configure to produce the target file.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein } elsif ($base =~ /(\/\.cvsignore|\.gif|\.jpg)$/i) {
990d0e893f5b70e735cdf990af66e9ec6e91fa78Tinderbox User ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,$atime,$mtime,$ctime,
990d0e893f5b70e735cdf990af66e9ec6e91fa78Tinderbox User ($sec,$min,$hour,$mday,$mon,$c_year,$wday,$yday,$isdst) =
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein ($sec,$min,$hour,$mday,$mon,$m_year,$wday,$yday,$isdst) =
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein print "$_: must set copyright year(s) manually\n";
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein # keep perl from issuing warnings about "used only once"
990d0e893f5b70e735cdf990af66e9ec6e91fa78Tinderbox User $dev = $ino = $mode = $nlink = $uid = $gid = $rdev = $size = 0;
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein if (! defined($file_years{$_}) || $file_years{$_} eq "????") {
990d0e893f5b70e735cdf990af66e9ec6e91fa78Tinderbox User print "$_: must set copyright year(s) manually\n";
6f64d4ab8e68f9b2333bcbfc755396d29a4a9d7cAutomatic Updater ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,$atime,$mtime,$ctime,
bbbf2e27d3a981163dab139497d6b2dc85449db0Tinderbox User ($sec,$min,$hour,$mday,$mon,$m_year,$wday,$yday,$isdst) =