-Copyright (C) @SYSYEARS@ Internet Systems Consortium, Inc. ("ISC")
+Copyright (C) Internet Systems Consortium, Inc. ("ISC")
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+See the COPYRIGHT file distributed with this work for additional
+information regarding copyright ownership.
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+See the COPYRIGHT file distributed with this work for additional
+information regarding copyright ownership.
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
+See the COPYRIGHT file distributed with this work for additional
+information regarding copyright ownership.
+
This code is derived from software contributed to ISC by
Berkeley Software Design, Inc.
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
-Portions Copyright (C) 1995-2000 by Network Associates, Inc.
+See the COPYRIGHT file distributed with this work for additional
+information regarding copyright ownership.
+
+Portions Copyright (C) Network Associates, Inc.
Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
-Portions Copyright (C) @NOMYEARS@ Nominum, Inc.
+See the COPYRIGHT file distributed with this work for additional
+information regarding copyright ownership.
+
+Portions Copyright (C) Nominum, Inc.
Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+See the COPYRIGHT file distributed with this work for additional
+information regarding copyright ownership.
./.gitlab-ci.yml X 2018
./Atffile X 2011
./CHANGES X 2000,2001,2002,2003,2004,2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016,2017,2018
-./COPYRIGHT TXT 1996,1997,1998,1999,2000,2001,2002,2003,2004,2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016,2017,2018
+./COPYRIGHT X 1996,1997,1998,1999,2000,2001,2002,2003,2004,2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016,2017,2018
./HISTORY X 2010,2013,2016,2017
./HISTORY.md MKD 2017
./Kyuafile X 2017
+++ /dev/null
-#!/bin/sh
-#
-# Copyright (C) 2012, 2016 Internet Systems Consortium, Inc. ("ISC")
-#
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-
-# $Id$
-
-# Given a file in the currently checked-out branch of the Git
-# repository, find out in what year it was most recently committed.
-# Used by merge_copyrights.
-
-rev=`git rev-list HEAD -- "$1" | head -n 1`
-git show --pretty=format:%ai $rev | head -n 1 | sed 's;-.*;;'
my %file_types = ();
my %file_years = ();
-my %exists = ();
open(COPYRIGHTS, "<util/copyrights") || die "can't open ./util/copyrights: $!";
while (<COPYRIGHTS>) {
$sec = $min = $hour = $mday = $mon = $wday = $yday = $isdst = 0;
$year += 1900;
-open(FILES, "git ls-files | sed 's;^;./;' |") || die "git ls-files: $!";
-while (<FILES>) {
- chomp;
- $exists{$_} = 1;
-}
-close(FILES);
-
-open(CHANGES, "sh util/recent_changes.sh |") || die "recent_changes.sh: $!";
+open(CHANGES, "git ls-files | sed 's;^;./;' | sort |") || die "git ls-files: $!";
while (<CHANGES>) {
chomp;
- # this file isn't in the repository now
- next unless ($exists{$_});
-
next if (m%/\.\# | # CVS old conflict file
/CVS/ | # CVS directory
/.git/ | # git directory
} else {
$file_types{$_} = "?";
}
- my $m_year = int(`sh util/file_year.sh $_`);
if (($file_types{$_} eq "MAN" || $file_types{$_} eq "HTML") &&
$base =~ /\.docbook$/ && -e $base) {
$file_years{$_} = "DOCBOOK";
- } elsif ($m_year != $year) {
- print "$_: must set copyright year(s) manually\n";
- $file_years{$_} = "????";
} else {
$file_years{$_} = "$year";
}
+++ /dev/null
-#!/bin/sh
-#
-# Copyright (C) 2012, 2016, 2017 Internet Systems Consortium, Inc. ("ISC")
-#
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-
-# Find the list of files that have been touched in the Git repository
-# during the current calendar year. This is done by walking backwards
-# through the output of "git whatchanged" until a year other than the
-# current one is seen. Used by merge_copyrights.
-
-thisyear=`date +%Y`
-when="`expr $thisyear - 1`-12-31"
-git whatchanged --since="$when" --pretty="" | awk '
- BEGIN { change=0 }
- NF == 0 { next; }
- $(NF-1) ~ /[AM]/ { print "./" $NF; change=1 }
- END { if (change) print "./COPYRIGHT" } ' | sort | uniq