update_copyrights revision 3d17258ff6c22bee15e3197d0e61a7ecaba7ed86
3edf445cce90224c4218c6987d6709e8481cae58ab# Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
3edf445cce90224c4218c6987d6709e8481cae58ab# Copyright (C) 1998-2001 Internet Software Consortium.
3edf445cce90224c4218c6987d6709e8481cae58ab# Permission to use, copy, modify, and distribute this software for any
3edf445cce90224c4218c6987d6709e8481cae58ab# purpose with or without fee is hereby granted, provided that the above
3edf445cce90224c4218c6987d6709e8481cae58ab# copyright notice and this permission notice appear in all copies.
3edf445cce90224c4218c6987d6709e8481cae58ab# THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
3edf445cce90224c4218c6987d6709e8481cae58ab# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
3edf445cce90224c4218c6987d6709e8481cae58ab# AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
3edf445cce90224c4218c6987d6709e8481cae58ab# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
3edf445cce90224c4218c6987d6709e8481cae58ab# LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
3edf445cce90224c4218c6987d6709e8481cae58ab# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
3edf445cce90224c4218c6987d6709e8481cae58ab# PERFORMANCE OF THIS SOFTWARE.
3edf445cce90224c4218c6987d6709e8481cae58ab# $Id: update_copyrights,v 1.46 2007/01/05 04:28:12 marka Exp $
3edf445cce90224c4218c6987d6709e8481cae58abrequire 5.002;
3edf445cce90224c4218c6987d6709e8481cae58ab# Map copyright owners to the files containing copyright messages.
3edf445cce90224c4218c6987d6709e8481cae58ab# The first line of the copyright message is not in the file;
3edf445cce90224c4218c6987d6709e8481cae58ab# it is constructed by this script.
3edf445cce90224c4218c6987d6709e8481cae58ab# Map each copyright owner name to a reference to an array containing
3edf445cce90224c4218c6987d6709e8481cae58ab# the lines of the copyright message.
3edf445cce90224c4218c6987d6709e8481cae58ab $parent =~ s/\.[^.]*$/.docbook/;
3edf445cce90224c4218c6987d6709e8481cae58ab my $holder = shift;
3edf445cce90224c4218c6987d6709e8481cae58ab my $a = copyright("Internet Systems Consortium, Inc. (\"ISC\")",
$c_comment = 0;
$shell_comment = 0;
$m4_comment = 0;
$sgml_comment = 0;
$zone_comment = 0;
$man_comment = 0;
$c_comment = 1;
$shell_comment = 1;
$zone_comment = 1;
$man_comment = 1;
$m4_comment = 1;
$sgml_comment = 1;
$_ = <SOURCE>;
$_ = <SOURCE>;
$_ = <SOURCE>;
last if $_ =~ /\*\//;
$_ = <SOURCE>;
$first = $_;
last;
$first = $_;
$_ = <SOURCE>;
$first = $_;
last;
$_ = <SOURCE>;
$_ = <SOURCE>;
last if s/.*-->//;
$_ = <SOURCE>;
$first = $_;
$first = $_;
/Permission to use, copy, modify, and / ||
$first = $_;
$first = $_;
print TARGET $before_copyright if $before_copyright;
print TARGET $start_comment if $start_comment;
$last_year = 0;
$anchor_year = 0;
$last_year = $year;
$last_year = 0;
$anchor_year = 0;
$last_year = $year;
$last_year = 0;
$anchor_year = 0;
$last_year = $year;
$firstline =~ s/\@SYSYEARS\@/$sysyears/;
$secondline =~ s/\@SFTYEARS\@/$sftyears/;
$thirdline =~ s/\@NOMYEARS\@/$nomyears/;
print TARGET $secondline =~ /^$/ ? $nonspaceprefix : $prefix;
print TARGET $thirdline =~ /^$/ ? $nonspaceprefix : $prefix;
print TARGET $end_comment if $end_comment;
undef $/;
$_ = <SOURCE>;
s:<articleinfo>.*?</articleinfo>:<articleinfo>\n$r </articleinfo>:s;
print TARGET $_;