]> eyrie.org Git - kerberos/krb5-strength.git/commitdiff
Add SPDX-License-Identifier headers
authorRuss Allbery <eagle@eyrie.org>
Sat, 16 May 2020 23:18:02 +0000 (16:18 -0700)
committerRuss Allbery <eagle@eyrie.org>
Sat, 16 May 2020 23:18:02 +0000 (16:18 -0700)
Add SPDX-License-Identifier headers to all substantial source files
other than those in the bundled version of CrackLib.

33 files changed:
Makefile.am
NEWS
bootstrap
configure.ac
docs/krb5-strength.pod
m4/cracklib.m4
plugin/cdb.c
plugin/classes.c
plugin/config.c
plugin/cracklib.c
plugin/error.c
plugin/general.c
plugin/heimdal.c
plugin/internal.h
plugin/mit.c
plugin/principal.c
plugin/sqlite.c
plugin/vector.c
tests/TESTS
tests/data/make-krb5-conf
tests/data/passwords/tests.h
tests/docs/spdx-license-t [new file with mode: 0755]
tests/plugin/heimdal-t.c
tests/plugin/mit-t.c
tests/tools/heimdal-history-t
tests/tools/heimdal-strength-t
tests/tools/wordlist-cdb-t
tests/tools/wordlist-sqlite-t
tests/tools/wordlist-t
tools/heimdal-history
tools/heimdal-strength.c
tools/heimdal-strength.pod
tools/krb5-strength-wordlist

index a5af3267c694a7fd3e7516de0755f725d7827632..8b3ab501aee783ec458e85e6e8e823f3cd2ae8b1 100644 (file)
@@ -5,7 +5,7 @@
 # Copyright 2007, 2009-2010, 2012-2014
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 ACLOCAL_AMFLAGS = -I m4
 EXTRA_DIST = .clang-format .github .gitignore README.md LICENSE bootstrap   \
diff --git a/NEWS b/NEWS
index 1f78aa3446002aaa756dd91815469e7022511583..3c24e4ce1cc072ed05497082851fd1efea7fe57a 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -10,6 +10,9 @@ krb5-strength 3.2 (unreleased)
     copies of passwords before freeing memory.  This reduces the lifetime
     of passwords in memory.
 
+    Add SPDX-License-Identifier headers to all substantial source files
+    other than those in the bundled version of CrackLib.
+
     Update to rra-c-util 8.2:
 
     * Implement explicit_bzero with memset if it is not available.
index 46c154cb1c6b592e5dbf9cb7aa053855fa6e62d4..21cd6fb560bfa49724497d9ddcd8be4fdf807a2f 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -4,10 +4,10 @@
 #
 # Written by Russ Allbery <eagle@eyrie.org>
 # Copyright 2016 Russ Allbery <eagle@eyrie.org>
-# Copyright 2007, 2010, 20132014
+# Copyright 2007, 2010, 2013-2014
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 set -e
 
index eb1dc58325297795f84448cdf4d2db094cdc5262..49dfc84e4489331ef0b33067ef7ead49575a2402 100644 (file)
@@ -5,7 +5,7 @@ dnl Copyright 2016, 2020 Russ Allbery <eagle@eyrie.org>
 dnl Copyright 2006-2007, 2009-2010, 2012-2014
 dnl     The Board of Trustees of the Leland Stanford Junior University
 dnl
-dnl See LICENSE for licensing terms.
+dnl SPDX-License-Identifier: MIT
 
 dnl Basic Autoconf configuration.
 AC_PREREQ([2.64])
index 0db76e858ba731d81e1cae713a3a93cb28a1515a..597378d67e0fce2d8b38c25a012a6e53ab1a2098 100644 (file)
@@ -2,6 +2,7 @@
 Allbery CDB CrackLib Heimdal KDC KDCs canonicalization cracklib-format
 cracklib-packer heimdal-strength heimdal-history kadmind kpasswd kpasswdd
 krb5-strength mkdict pwqual cracklib-runtime krb5-strength-wordlist
+SPDX-License-Identifier FSFAP
 
 =head1 NAME
 
@@ -315,14 +316,16 @@ Russ Allbery <eagle@eyrie.org>
 
 Copyright 2016 Russ Allbery <eagle@eyrie.org>
 
-Copyright 2006, 2007, 2009, 2010, 2012, 2013, 2014 The Board of Trustees
-of the Leland Stanford Junior University
+Copyright 2006-2007, 2009-2010, 2012-2014 The Board of Trustees of the
+Leland Stanford Junior University
 
 Copying and distribution of this file, with or without modification, are
 permitted in any medium without royalty provided the copyright notice and
 this notice are preserved.  This file is offered as-is, without any
 warranty.
 
+SPDX-License-Identifier: FSFAP
+
 =head1 SEE ALSO
 
 L<cracklib-format(8)>, L<cracklib-packer(8)>, L<heimdal-strength(1)>,
index 7dcd25393d2555c413cb376664c57ab0aa1d80f4..6732ee0c813f711bd0ed12e7f14f4e83a6b003f8 100644 (file)
@@ -18,12 +18,15 @@ dnl
 dnl Depends on RRA_SET_LDFLAGS.
 dnl
 dnl Written by Russ Allbery <eagle@eyrie.org>
+dnl Copyright 2020 Russ Allbery <eagle@eyrie.org>
 dnl Copyright 2010
 dnl     The Board of Trustees of the Leland Stanford Junior University
 dnl
 dnl This file is free software; the authors give unlimited permission to copy
 dnl and/or distribute it, with or without modifications, as long as this
 dnl notice is preserved.
+dnl
+dnl SPDX-License-Identifier: FSFULLR
 
 dnl Save the current CPPFLAGS, LDFLAGS, and LIBS settings and switch to
 dnl versions that include the Kerberos v5 flags.  Used as a wrapper, with
index d7e97daa72e71adb5ad7227b2cfdf63cf4527341..7b268d95f848f8ce59e51d21c45453ce2ece396b 100644 (file)
@@ -12,7 +12,7 @@
  * Copyright 2013
  *     The Board of Trustees of the Leland Stanford Junior University
  *
- * See LICENSE for licensing terms.
+ * SPDX-License-Identifier: MIT
  */
 
 #include <config.h>
index 3bded464ac33d7390d1bd296108b459d36552666..f7c985a078b4864581745145a4c190e1ca34fda5 100644 (file)
@@ -5,10 +5,10 @@
  *
  * Written by Russ Allbery <eagle@eyrie.org>
  * Copyright 2016 Russ Allbery <eagle@eyrie.org>
- * Copyright 20132014
+ * Copyright 2013-2014
  *     The Board of Trustees of the Leland Stanford Junior University
  *
- * See LICENSE for licensing terms.
+ * SPDX-License-Identifier: MIT
  */
 
 #include <config.h>
index 2ce310b5a3623d18ad543284b9e88d43cf8eb4e2..d9d2a5248bc58e2ec5c73b1b02cbbe8c8fc0dd97 100644 (file)
@@ -10,7 +10,7 @@
  * Copyright 2013
  *     The Board of Trustees of the Leland Stanford Junior University
  *
- * See LICENSE for licensing terms.
+ * SPDX-License-Identifier: MIT
  */
 
 #include <config.h>
index 76d02617cfae94d3fef70d4b506bb8b218cff887..95656bdcb62e3b065c6a45472a3245dbc371b17d 100644 (file)
@@ -9,10 +9,10 @@
  *     on behalf of Stanford University
  * Extensive modifications by Russ Allbery <eagle@eyrie.org>
  * Copyright 2017 Russ Allbery <eagle@eyrie.org>
- * Copyright 2006, 2007, 2009, 2012, 2013
+ * Copyright 2006-2007, 2009, 2012-2013
  *     The Board of Trustees of the Leland Stanford Junior University
  *
- * See LICENSE for licensing terms.
+ * SPDX-License-Identifier: MIT
  */
 
 #include <config.h>
index d509c052d6b3ed60d350af3d6827ae3966946ed1..4c6541c76d19460b1266b8c513bc965c347cc706 100644 (file)
@@ -9,7 +9,7 @@
  * Copyright 2013
  *     The Board of Trustees of the Leland Stanford Junior University
  *
- * See LICENSE for licensing terms.
+ * SPDX-License-Identifier: MIT
  */
 
 #include <config.h>
index 66f2d2da87f7a2462c402c6499822ce7a67bdc9c..4fb5f334516a5273288412815a28bc27ca992932 100644 (file)
@@ -9,10 +9,10 @@
  * Developed by Derrick Brashear and Ken Hornstein of Sine Nomine Associates,
  *     on behalf of Stanford University
  * Extensive modifications by Russ Allbery <eagle@eyrie.org>
- * Copyright 2006, 2007, 2009, 2012, 2013, 2014
+ * Copyright 2006-2007, 2009, 2012-2014
  *     The Board of Trustees of the Leland Stanford Junior University
  *
- * See LICENSE for licensing terms.
+ * SPDX-License-Identifier: MIT
  */
 
 #include <config.h>
index 6cdfe1a5ed8a5367335d7b91a536e14f68541062..13a18e8d73a4323873d64c7bb77afc8d8c766d52 100644 (file)
@@ -16,7 +16,7 @@
  * Copyright 2009, 2013
  *     The Board of Trustees of the Leland Stanford Junior University
  *
- * See LICENSE for licensing terms.
+ * SPDX-License-Identifier: MIT
  */
 
 #include <config.h>
index 1d3d4f4c6fd7b815b2e15c2966e5cbb412991d85..7132de0f2ca770bb57c3ba18b653d9b11fd338af 100644 (file)
@@ -4,10 +4,10 @@
  * Developed by Derrick Brashear and Ken Hornstein of Sine Nomine Associates,
  *     on behalf of Stanford University
  * Extensive modifications by Russ Allbery <eagle@eyrie.org>
- * Copyright 2006, 2007, 2009, 2012, 2013, 2014
+ * Copyright 2006-2007, 2009, 2012-2014
  *     The Board of Trustees of the Leland Stanford Junior University
  *
- * See LICENSE for licensing terms.
+ * SPDX-License-Identifier: MIT
  */
 
 #ifndef PLUGIN_INTERNAL_H
index 0bacfb05482a4ae9319782a72f0696513c9405d6..06a351cd59ec70defaba203b4da205e2bb858fbb 100644 (file)
@@ -9,7 +9,7 @@
  * Copyright 2013
  *     The Board of Trustees of the Leland Stanford Junior University
  *
- * See LICENSE for licensing terms.
+ * SPDX-License-Identifier: MIT
  */
 
 #include <config.h>
index 67d8be5858923b9098ef18d2ac7d0d729edec95e..18d5e78ce9f0fe949898e22cb600cb17d9a48be1 100644 (file)
@@ -12,7 +12,7 @@
  * Copyright 2006-2007, 2009, 2012-2014
  *     The Board of Trustees of the Leland Stanford Junior University
  *
- * See LICENSE for licensing terms.
+ * SPDX-License-Identifier: MIT
  */
 
 #include <config.h>
index 8d4fc2c335875bb38a0ddd8262f1eef7bd79fc68..fc91e5bf97926578eb36818696527016ce97a2cb 100644 (file)
@@ -33,7 +33,7 @@
  * Copyright 2014
  *     The Board of Trustees of the Leland Stanford Junior University
  *
- * See LICENSE for licensing terms.
+ * SPDX-License-Identifier: MIT
  */
 
 #include <config.h>
index d85518cba027673b881fca6e9bb4dbb5cdbe8da4..9c432077cdc58f57e467461a5cae094252f2dd8e 100644 (file)
@@ -22,7 +22,7 @@
  * Copyright 2013
  *     The Board of Trustees of the Leland Stanford Junior University
  *
- * See LICENSE for licensing terms.
+ * SPDX-License-Identifier: MIT
  */
 
 #include <config.h>
index 3ecca1e36f737d0c8ad278e08fc40dc07bf50474..6d7410986c70b136a43fc9e6f6b9f98ae664d492 100644 (file)
@@ -1,5 +1,20 @@
+# Test list for krb5-strength.  -*- conf -*-
+#
+# Written by Russ Allbery <eagle@eyrie.org>
+# Copyright 2016, 2020 Russ Allbery <eagle@eyrie.org>
+# Copyright 2009-2010, 2013-2014
+#     The Board of Trustees of the Leland Stanford Junior University
+#
+# Copying and distribution of this file, with or without modification, are
+# permitted in any medium without royalty provided the copyright notice and
+# this notice are preserved.  This file is offered as-is, without any
+# warranty.
+#
+# SPDX-License-Identifier: FSFAP
+
 docs/pod
 docs/pod-spelling
+docs/spdx-license
 plugin/heimdal
 plugin/mit
 perl/critic
index abff6d11a1a0e2ccbdf67ef77eaab9a0874b11e1..32655c2e61a05c987e4bb4c2a14ced645d6b0a91 100755 (executable)
@@ -8,7 +8,7 @@
 # Copyright 2009, 2013
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 set -e
 
index dd38bdee6b1e23c969f5fef943bfffd9b4c70f3d..b42bf374dfd3903c933482ae47c07bf655a1b533 100644 (file)
@@ -8,7 +8,7 @@
  * Copyright 2013
  *     The Board of Trustees of the Leland Stanford Junior University
  *
- * See LICENSE for licensing terms.
+ * SPDX-License-Identifier: MIT
  */
 
 #ifndef TESTS_DATA_PASSWORD_TESTS_H
diff --git a/tests/docs/spdx-license-t b/tests/docs/spdx-license-t
new file mode 100755 (executable)
index 0000000..24e4db0
--- /dev/null
@@ -0,0 +1,149 @@
+#!/usr/bin/perl
+#
+# Check source files for SPDX-License-Identifier fields.
+#
+# Examine all source files in a distribution to check that they contain an
+# SPDX-License-Identifier field.  This does not check the syntax or whether
+# the identifiers are valid.
+#
+# The canonical version of this file is maintained in the rra-c-util package,
+# which can be found at <https://www.eyrie.org/~eagle/software/rra-c-util/>.
+#
+# Copyright 2018-2020 Russ Allbery <eagle@eyrie.org>
+#
+# Permission is hereby granted, free of charge, to any person obtaining a
+# copy of this software and associated documentation files (the "Software"),
+# to deal in the Software without restriction, including without limitation
+# the rights to use, copy, modify, merge, publish, distribute, sublicense,
+# and/or sell copies of the Software, and to permit persons to whom the
+# Software is furnished to do so, subject to the following conditions:
+#
+# The above copyright notice and this permission notice shall be included in
+# all copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
+# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+# DEALINGS IN THE SOFTWARE.
+#
+# SPDX-License-Identifier: MIT
+
+use 5.008;
+use strict;
+use warnings;
+
+use lib "$ENV{C_TAP_SOURCE}/tap/perl";
+
+use Test::RRA qw(skip_unless_automated);
+use Test::RRA::Automake qw(all_files automake_setup);
+
+use File::Basename qw(basename);
+use Test::More;
+
+# File name (the file without any directory component) and path patterns to
+# skip for this check.
+## no critic (RegularExpressions::ProhibitFixedStringMatches)
+my @IGNORE = (
+    qr{ \A LICENSE \z }xms,             # Generated file with no license itself
+    qr{ \A (NEWS|THANKS|TODO) \z }xms,  # Package license should be fine
+    qr{ \A README ( [.] .* )? \z }xms,  # Package license should be fine
+    qr{ \A (Makefile|libtool) \z }xms,  # Generated file
+    qr{ [.] json \z }xms,               # Data files without comment support
+    qr{ [.] output \z }xms,             # Test data
+);
+my @IGNORE_PATHS = (
+    qr{ \A cracklib/ }xms,                     # Special case for krb5-strength
+    qr{ \A debian/ }xms,                       # Found in debian/* branches
+    qr{ \A docs/metadata/ }xms,                # Package license should be fine
+    qr{ \A docs/protocol[.](html|txt) \z }xms, # Generated by xml2rfc
+    qr{ \A m4/ (libtool|lt.*) [.] m4 \z }xms,  # Files from Libtool
+    qr{ \A perl/Build \z }xms,                 # Perl build files
+    qr{ \A perl/MANIFEST \z }xms,              # Perl build files
+    qr{ \A perl/MYMETA [.] }xms,               # Perl build files
+    qr{ \A perl/blib/ }xms,                    # Perl build files
+    qr{ \A perl/cover_db/ }xms,                # Perl test files
+    qr{ \A perl/_build }xms,                   # Perl build files
+    qr{ \A php/Makefile [.] global \z }xms,    # Created by phpize
+    qr{ \A php/autom4te [.] cache/ }xms,       # Created by phpize
+    qr{ \A php/acinclude [.] m4 \z }xms,       # Created by phpize
+    qr{ \A php/build/ }xms,                    # Created by phpize
+    qr{ \A php/config [.] (guess|sub) \z }xms, # Created by phpize
+    qr{ \A php/configure [.] (ac|in) \z }xms,  # Created by phpize
+    qr{ \A php/ltmain [.] sh \z }xms,          # Created by phpize
+    qr{ \A php/run-tests [.] php \z }xms,      # Created by phpize
+    qr{ \A python/ .* [.] egg-info/ }xms,      # Python build files
+    qr{ \A tests/config/ (?!README) }xms,      # Test configuration
+    qr{ [.] l?a \z }xms,                       # Created by libtool
+    qr{ [.] o \z }xms,                         # Compiler objects
+);
+## use critic
+
+# Only run this test during automated testing, since failure doesn't indicate
+# any user-noticable flaw in the package itself.
+skip_unless_automated('SPDX identifier tests');
+
+# Set up Automake testing.
+automake_setup();
+
+# Check a single file for an occurrence of the string.
+#
+# $path - Path to the file
+#
+# Returns: undef
+sub check_file {
+    my ($path) = @_;
+    my $filename = basename($path);
+
+    # Ignore files in the whitelist and binary files.
+    for my $pattern (@IGNORE) {
+        return if $filename =~ $pattern;
+    }
+    for my $pattern (@IGNORE_PATHS) {
+        return if $path =~ $pattern;
+    }
+    return if !-T $path;
+
+    # Scan the file.
+    my ($saw_legacy_notice, $saw_spdx, $skip_spdx);
+    open(my $file, '<', $path) or BAIL_OUT("Cannot open $path: $!");
+    while (defined(my $line = <$file>)) {
+        if ($line =~ m{ Generated [ ] by [ ] libtool [ ] }xms) {
+            close($file) or BAIL_OUT("Cannot close $path: $!");
+            return;
+        }
+        if ($line =~ m{ \b See \s+ LICENSE \s+ for \s+ licensing }xms) {
+            $saw_legacy_notice = 1;
+        }
+        if ($line =~ m{ \b SPDX-License-Identifier: \s+ \S+ }xms) {
+            $saw_spdx = 1;
+            last;
+        }
+        if ($line =~ m{ no \s SPDX-License-Identifier \s registered }xms) {
+            $skip_spdx = 1;
+            last;
+        }
+    }
+    close($file) or BAIL_OUT("Cannot close $path: $!");
+
+    # If there is a legacy license notice, report a failure regardless of file
+    # size.  Otherwise, skip files under 1KB.  They can be rolled up into the
+    # overall project license and the license notice may be a substantial
+    # portion of the file size.
+    if ($saw_legacy_notice) {
+        ok(!$saw_legacy_notice, "$path has legacy license notice");
+    } else {
+        ok($saw_spdx || $skip_spdx || -s $path < 1024, $path);
+    }
+    return;
+}
+
+# Scan every file.  We don't declare a plan since we skip a lot of files and
+# don't want to precalculate the file list.
+my @paths = all_files();
+for my $path (@paths) {
+    check_file($path);
+}
+done_testing();
index 4146c2622ffa2b63f2d2075446608d13f9c656ec..fbabb6b5188a30b4684c50f32eb2da7f46b6b5c7 100644 (file)
@@ -2,10 +2,10 @@
  * Test for the Heimdal shared module API.
  *
  * Written by Russ Allbery <eagle@eyrie.org>
- * Copyright 2009, 20132014
+ * Copyright 2009, 2013-2014
  *     The Board of Trustees of the Leland Stanford Junior University
  *
- * See LICENSE for licensing terms.
+ * SPDX-License-Identifier: MIT
  */
 
 #include <config.h>
index cdfeec9b8ce4b46017fa7787c64778bf9dcac6db..ebf885b60850ae2b2c80c97b1c785c9e80fcee98 100644 (file)
@@ -3,10 +3,10 @@
  *
  * Written by Russ Allbery <eagle@eyrie.org>
  * Copyright 2017, 2020 Russ Allbery <eagle@eyrie.org>
- * Copyright 2010, 20132014
+ * Copyright 2010, 2013-2014
  *     The Board of Trustees of the Leland Stanford Junior University
  *
- * See LICENSE for licensing terms.
+ * SPDX-License-Identifier: MIT
  */
 
 #include <config.h>
index 8bb37775a208a641e9c26bcea28fa2ccd92beb7b..b88f997085e5506a3bae9df41046096137347f29 100755 (executable)
@@ -7,7 +7,7 @@
 # Copyright 2014
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 use 5.006;
 use strict;
index ee0831e7475f006a758ca0d7ea4c386d66e1c5a2..21f94301b56a7b4d4e8728ba468710b53f3d7976 100755 (executable)
@@ -3,11 +3,11 @@
 # Test suite for basic Heimdal external strength checking functionality.
 #
 # Written by Russ Allbery <eagle@eyrie.org>
-# Copyright 20162017, 2020 Russ Allbery <eagle@eyrie.org>
-# Copyright 2009, 2012, 2013, 2014
+# Copyright 2016-2017, 2020 Russ Allbery <eagle@eyrie.org>
+# Copyright 2009, 2012-2014
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 use 5.006;
 use strict;
index 32a69992dd4c548aff02022053158556724ec97e..8ae42652f50cf063a8997d9b0d5fa8d59ed6a39c 100755 (executable)
@@ -3,10 +3,10 @@
 # Test suite for the CDB handling in the krb5-strength-wordlist utility.
 #
 # Written by Russ Allbery <eagle@eyrie.org>
-# Copyright 20132014
+# Copyright 2013-2014
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 . "$SOURCE/tap/libtap.sh"
 cd "$BUILD"
index 066d7f81de9e6248e8f1bc9d638a633beb058402..e21c867c065112f0dd37aa7793c5add75303f763 100755 (executable)
@@ -7,7 +7,7 @@
 # Copyright 2014
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 use 5.006;
 use strict;
index 0abae8fe3941d793017a549dbdb2e432874268d5..07a2fc885e835051e628ac033db8e874e2b472f7 100755 (executable)
@@ -7,7 +7,7 @@
 # Copyright 2014
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 use 5.006;
 use strict;
index 6ca0a0c533c639f1885b1b7c0c6e03ac8371d93c..54f55dc5d2f2d653ac290e962b3ec7c3310c2f16 100755 (executable)
@@ -662,7 +662,8 @@ __END__
 =for stopwords
 heimdal-history heimdal-strength Heimdal -hmq BerkeleyDB timestamps POSIX
 whitespace API Allbery sublicense MERCHANTABILITY NONINFRINGEMENT syslog
-pseudorandom JSON LDAP-compatible PBKDF2 SHA-256 KDC
+pseudorandom JSON LDAP-compatible PBKDF2 SHA-256 KDC SPDX-License-Identifier
+MIT
 
 =head1 NAME
 
@@ -889,9 +890,9 @@ Russ Allbery <eagle@eyrie.org>
 
 =head1 COPYRIGHT AND LICENSE
 
-Copyright 2016, 2017 Russ Allbery <eagle@eyrie.org>
+Copyright 2016-2017, 2020 Russ Allbery <eagle@eyrie.org>
 
-Copyright 20132014 The Board of Trustees of the Leland Stanford Junior
+Copyright 2013-2014 The Board of Trustees of the Leland Stanford Junior
 University
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -912,8 +913,14 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 SOFTWARE.
 
+SPDX-License-Identifier: MIT
+
 =head1 SEE ALSO
 
 L<Crypt::PBKDF2>, L<heimdal-strength(1)>
 
 =cut
+
+# Local Variables:
+# copyright-at-end-flag: t
+# End:
index 7cb86a67271873b3945bde6083829d1e00f247e2..e44b7a45305e4b1f000643b395e559ec7c05b508 100644 (file)
@@ -11,7 +11,7 @@
  * Copyright 2009, 2013
  *     The Board of Trustees of the Leland Stanford Junior University
  *
- * See LICENSE for licensing terms.
+ * SPDX-License-Identifier: MIT
  */
 
 #include <config.h>
index 802da322f34642761952df46b85c7e73607725a5..eab8d0f8f99cdd7b8f7691f22211f7c5ebf681bf 100644 (file)
@@ -1,6 +1,7 @@
 =for stopwords
 heimdal-strength Heimdal CrackLib krb5-strength Allbery CDB
 canonicalization krb5-strength-wordlist reproducibly
+SPDX-License-Identifier FSFAP
 
 =head1 NAME
 
@@ -203,7 +204,7 @@ Russ Allbery <eagle@eyrie.org>
 
 Copyright 2016 Russ Allbery <eagle@eyrie.org>
 
-Copyright 2010, 20132014 The Board of Trustees of the Leland Stanford
+Copyright 2010, 2013-2014 The Board of Trustees of the Leland Stanford
 Junior University
 
 Copying and distribution of this file, with or without modification, are
@@ -211,4 +212,6 @@ permitted in any medium without royalty provided the copyright notice and
 this notice are preserved.  This file is offered as-is, without any
 warranty.
 
+SPDX-License-Identifier: FSFAP
+
 =cut
index 16e0c38a91185c4b897a3839c8efb0d1ed1083d4..f8e2a83327dbca4e99911c4ddde9b0e6f81e8a96 100755 (executable)
@@ -294,7 +294,7 @@ __END__
 krb5-strength-wordlist krb5-strength cdb whitespace lookups lookup
 sublicense MERCHANTABILITY NONINFRINGEMENT krb5-strength --ascii Allbery
 regexes output-wordlist heimdal-strength SQLite output-wordlist
-output-sqlite DBI wordlist
+output-sqlite DBI wordlist SPDX-License-Identifier MIT
 
 =head1 NAME
 
@@ -428,9 +428,9 @@ Russ Allbery <eagle@eyrie.org>
 
 =head1 COPYRIGHT AND LICENSE
 
-Copyright 2016 Russ Allbery <eagle@eyrie.org>
+Copyright 2016, 2020 Russ Allbery <eagle@eyrie.org>
 
-Copyright 20132014 The Board of Trustees of the Leland Stanford Junior
+Copyright 2013-2014 The Board of Trustees of the Leland Stanford Junior
 University
 
 Permission is hereby granted, free of charge, to any person obtaining a
@@ -451,6 +451,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
 FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
 DEALINGS IN THE SOFTWARE.
 
+SPDX-License-Identifier: MIT
+
 =head1 SEE ALSO
 
 cdb(1), L<DBI>, L<DBD::SQLite>
@@ -462,3 +464,7 @@ L<https://www.eyrie.org/~eagle/software/krb5-strength/> as part of the
 krb5-strength package.
 
 =cut
+
+# Local Variables:
+# copyright-at-end-flag: t
+# End: