merge_copyrights revision 0014d6342b0d50ae37126ac16d5bf821d02ffff7
7a2a1b8b14fc804ac80612d7b98064095e445be5Automatic Updater# Copyright (C) 1998-2000 Internet Software Consortium.
1167fc7904c5f0a472f8df207ac46dd52c7f1ec8Automatic Updater# Permission to use, copy, modify, and distribute this software for any
0c39b3ed9409ecb277d5e32fa763a4e4d6598df8Automatic Updater# purpose with or without fee is hereby granted, provided that the above
46da3117812814a29432a8d9a9ccf8acdbfdadceAutomatic Updater# copyright notice and this permission notice appear in all copies.
fe84edc17e0d582cf7b4270f8df9d4742a107b1cAutomatic Updater# THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS
79b273c187a4aa1016a62181983dfdd0521681aeMark Andrews# ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
3349f0044fda807e1fd6681c833d3593a22dad86Tinderbox User# OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
b253dcf9668f95e141bce9556dc88e30d3305a1dTinderbox User# DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User# PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User# ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# $Id: merge_copyrights,v 1.13 2000/07/27 03:27:35 tale Exp $
a01aa536188bb3535dfc1107a623e6355a8e6b7cMark Andrewsopen(COPYRIGHTS, "<util/copyrights") || die "can't open ./util/copyrights: $!";
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time());
e130ab53e992670e2a2ecf043976ac09f21358d1Automatic Updateropen(FILES, "$find | sort |") || die "can't start \"$find\": $!";
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater next if (m%/\.\# | # CVS old conflict file
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater # Strip any .in extension to find out the file's real type.
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater # .in files are processed by configure to produce the target file.
114f7780384371121918624ae2c80ecfce545683Tinderbox User } elsif ($base =~ /(\/\.cvsignore|\.gif|\.jpg)$/i) {
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,$atime,$mtime,$ctime,
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater ($sec,$min,$hour,$mday,$mon,$c_year,$wday,$yday,$isdst) =
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater ($sec,$min,$hour,$mday,$mon,$m_year,$wday,$yday,$isdst) =
b871c7156eb037d41f53828c6fcb9cc876128962Mark Andrews print "$_: must set copyright year(s) manually\n";
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont # keep perl from issuing warnings about "used only once"
3349f0044fda807e1fd6681c833d3593a22dad86Tinderbox User $dev = $ino = $mode = $nlink = $uid = $gid = $rdev = $size = 0;
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews if (! defined($file_years{$_}) || $file_years{$_} eq "????") {
3349f0044fda807e1fd6681c833d3593a22dad86Tinderbox User print "$_: must set copyright year(s) manually\n";
b871c7156eb037d41f53828c6fcb9cc876128962Mark Andrews ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,$atime,$mtime,$ctime,
b871c7156eb037d41f53828c6fcb9cc876128962Mark Andrews ($sec,$min,$hour,$mday,$mon,$m_year,$wday,$yday,$isdst) =
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updateropen(NEWCOPYRIGHTS, ">util/newcopyrights") ||