]> eyrie.org Git - kerberos/wallet.git/commitdiff
Add SPDX-License-Identifier headers
authorRuss Allbery <eagle@eyrie.org>
Sun, 3 Jun 2018 22:36:21 +0000 (15:36 -0700)
committerRuss Allbery <eagle@eyrie.org>
Sun, 3 Jun 2018 22:36:42 +0000 (15:36 -0700)
Add SPDX-License-Identifier headers to all substantial source files.
Collapse copyright years.  Add some Emacs configuration for files
where the copyright notice is at the end.  Add a test that every
file has SPDX-License-Identifier.

121 files changed:
Makefile.am
NEWS
client/file.c
client/internal.h
client/keytab.c
client/krb5.c
client/options.c
client/remctl.c
client/srvtab.c
client/wallet-rekey.c
client/wallet-rekey.pod
client/wallet.c
client/wallet.pod
contrib/ad-keytab
contrib/commerzbank/wallet-history
contrib/convert-srvtab-db
contrib/used-principals
contrib/wallet-contacts
contrib/wallet-rekey-periodic
contrib/wallet-summary
contrib/wallet-unknown-hosts
docs/design
docs/design-acl
docs/design-api
docs/netdb-role-api
docs/notes
docs/objects-and-schemes
docs/setup
docs/stanford-naming
examples/stanford.conf
perl/Build.PL
perl/create-ddl
perl/lib/Wallet/ACL.pm
perl/lib/Wallet/ACL/Base.pm
perl/lib/Wallet/ACL/External.pm
perl/lib/Wallet/ACL/Krb5.pm
perl/lib/Wallet/ACL/Krb5/Regex.pm
perl/lib/Wallet/ACL/LDAP/Attribute.pm
perl/lib/Wallet/ACL/LDAP/Attribute/Root.pm
perl/lib/Wallet/ACL/Nested.pm
perl/lib/Wallet/ACL/NetDB.pm
perl/lib/Wallet/ACL/NetDB/Root.pm
perl/lib/Wallet/Admin.pm
perl/lib/Wallet/Config.pm
perl/lib/Wallet/Database.pm
perl/lib/Wallet/Kadmin.pm
perl/lib/Wallet/Kadmin/AD.pm
perl/lib/Wallet/Kadmin/Heimdal.pm
perl/lib/Wallet/Kadmin/MIT.pm
perl/lib/Wallet/Object/Base.pm
perl/lib/Wallet/Object/Duo.pm
perl/lib/Wallet/Object/File.pm
perl/lib/Wallet/Object/Keytab.pm
perl/lib/Wallet/Object/Password.pm
perl/lib/Wallet/Object/WAKeyring.pm
perl/lib/Wallet/Policy/Stanford.pm
perl/lib/Wallet/Report.pm
perl/lib/Wallet/Schema.pm
perl/lib/Wallet/Schema/Result/Acl.pm
perl/lib/Wallet/Schema/Result/AclEntry.pm
perl/lib/Wallet/Schema/Result/AclHistory.pm
perl/lib/Wallet/Schema/Result/AclScheme.pm
perl/lib/Wallet/Schema/Result/Duo.pm
perl/lib/Wallet/Schema/Result/Flag.pm
perl/lib/Wallet/Schema/Result/Object.pm
perl/lib/Wallet/Schema/Result/ObjectHistory.pm
perl/lib/Wallet/Schema/Result/SyncTarget.pm
perl/lib/Wallet/Schema/Result/Type.pm
perl/lib/Wallet/Server.pm
perl/sql/Wallet-Schema-0.07-MySQL.sql
perl/sql/Wallet-Schema-0.07-SQLite.sql
perl/sql/Wallet-Schema-0.08-MySQL.sql
perl/sql/Wallet-Schema-0.08-PostgreSQL.sql
perl/sql/Wallet-Schema-0.08-SQLite.sql
perl/sql/Wallet-Schema-0.09-MySQL.sql
perl/sql/Wallet-Schema-0.09-PostgreSQL.sql
perl/sql/Wallet-Schema-0.09-SQLite.sql
perl/sql/Wallet-Schema-0.10-MySQL.sql
perl/sql/Wallet-Schema-0.10-PostgreSQL.sql
perl/sql/Wallet-Schema-0.10-SQLite.sql
perl/t/data/acl-command
perl/t/general/acl.t
perl/t/general/admin.t
perl/t/general/config.t
perl/t/general/init.t
perl/t/general/report.t
perl/t/general/server.t
perl/t/lib/Util.pm
perl/t/object/base.t
perl/t/object/duo-ldap.t
perl/t/object/duo-pam.t
perl/t/object/duo-radius.t
perl/t/object/duo-rdp.t
perl/t/object/duo.t
perl/t/object/file.t
perl/t/object/keytab.t
perl/t/object/password.t
perl/t/object/wa-keyring.t
perl/t/policy/stanford.t
perl/t/util/kadmin.t
perl/t/verifier/basic.t
perl/t/verifier/external.t
perl/t/verifier/ldap-attr.t
perl/t/verifier/nested.t
perl/t/verifier/netdb.t
server/keytab-backend.in
server/wallet-admin.in
server/wallet-backend.in
server/wallet-report.in
tests/TESTS
tests/client/basic-t.in
tests/client/full-t.in
tests/client/prompt-t.in
tests/client/rekey-t.in
tests/data/cmd-fake
tests/docs/spdx-license-t [new file with mode: 0755]
tests/server/admin-t
tests/server/backend-t
tests/server/keytab-t
tests/server/report-t
tests/tap/perl/Test/RRA/Automake.pm

index ffd3560ad42ad3963964366d18a3d16ec0b79f26..98e52fe644a403842f94d240108e56eaa2232f31 100644 (file)
@@ -5,7 +5,7 @@
 # Copyright 2006-2008, 2010, 2013-2014
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 # These variables exist only for the use of the Debian packaging and similar
 # situations and aren't normally set.  We want to honor them if they're set
diff --git a/NEWS b/NEWS
index 1af55fc775bc7897e55d51656dccae78d3f28264..74e28840047f4dae86fb9c4de535fa0b2298a6ec 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -28,6 +28,8 @@ wallet 1.4 (unreleased)
     Rename the script to bootstrap from a Git checkout to bootstrap,
     matching the emerging consensus in the Autoconf world.
 
+    Add SPDX-License-Identifier headers to all substantial source files.
+
     Update to rra-c-util 7.2:
 
     * Improve configure output for krb5-config testing.
index 468eb306fa43d53a0dd32763d66b4afc4fb55fb1..809e78b3f9d1a25fed282ae25b02c975571ca5f0 100644 (file)
@@ -2,10 +2,10 @@
  * File handling for the wallet client.
  *
  * Written by Russ Allbery <eagle@eyrie.org>
- * Copyright 20072008, 2010
+ * Copyright 2007-2008, 2010
  *     The Board of Trustees of the Leland Stanford Junior University
  *
- * See LICENSE for licensing terms.
+ * SPDX-License-Identifier: MIT
  */
 
 #include <config.h>
index 7f58e3381d49ce933a4fbfc48f58592aee1f8868..1aed874a92765048ebbde4fb96cc84afdc45ed64 100644 (file)
@@ -6,7 +6,7 @@
  * Copyright 2007-2008, 2010
  *     The Board of Trustees of the Leland Stanford Junior University
  *
- * See LICENSE for licensing terms.
+ * SPDX-License-Identifier: MIT
  */
 
 #ifndef CLIENT_INTERNAL_H
index 7bec459a0a9907dadbcca2edfd5f8a2d448cafa1..ed1bdb971b54df6a2e7d0e573a16414b0cfcdb63 100644 (file)
@@ -2,10 +2,10 @@
  * Implementation of keytab handling for the wallet client.
  *
  * Written by Russ Allbery <eagle@eyrie.org>
- * Copyright 2007, 2008, 2010, 2013, 2014
+ * Copyright 2007-2008, 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 345df643e3215981c9d1a0f011c74bd99e78a095..f0c0ff13da3dac457534adaced7e2d9c1f6ed27f 100644 (file)
@@ -6,10 +6,10 @@
  * client.
  *
  * Written by Russ Allbery <eagle@eyrie.org>
- * Copyright 20072008, 2010
+ * Copyright 2007-2008, 2010
  *     The Board of Trustees of the Leland Stanford Junior University
  *
- * See LICENSE for licensing terms.
+ * SPDX-License-Identifier: MIT
  */
 
 #include <config.h>
index f011b79c1064953f005e11d0e193b19cb65a28a6..7b1f04e42e9e060e0decd5b8749fc0c89c8586ab 100644 (file)
@@ -9,7 +9,7 @@
  * Copyright 2006-2008, 2010
  *     The Board of Trustees of the Leland Stanford Junior University
  *
- * See LICENSE for licensing terms.
+ * SPDX-License-Identifier: MIT
  */
 
 #include <config.h>
index d4cd09ee50a2fb1722b7f5e9e56de265d6b87265..26d7e8f7d8de09ed709a8f912fb41039d94cfaf6 100644 (file)
@@ -5,7 +5,7 @@
  * Copyright 2007, 2010
  *     The Board of Trustees of the Leland Stanford Junior University
  *
- * See LICENSE for licensing terms.
+ * SPDX-License-Identifier: MIT
  */
 
 #include <config.h>
index 045f56d1f2f1a36a62640239d70085556772fa69..2b600c279d627f886c48e291d4f52e091140cba2 100644 (file)
@@ -5,7 +5,7 @@
  * Copyright 2007, 2008, 2010
  *     The Board of Trustees of the Leland Stanford Junior University
  *
- * See LICENSE for licensing terms.
+ * SPDX-License-Identifier: MIT
  */
 
 #include <config.h>
index caab13087733978087f26f6d97f5cecda6ab4b0e..2aedf579ac70eec9f6dca02e15ec6e45a3c3e089 100644 (file)
@@ -7,7 +7,7 @@
  * Copyright 2010
  *     The Board of Trustees of the Leland Stanford Junior University
  *
- * See LICENSE for licensing terms.
+ * SPDX-License-Identifier: MIT
  */
 
 #include <config.h>
index e4c01b3ccaba66bdb121ae176c2f8bd01882efb2..d76420f727609800170418133941aa179995c09d 100644 (file)
@@ -1,6 +1,6 @@
 =for stopwords
 wallet-rekey rekey rekeying keytab -hv Heimdal remctl remctld PKINIT kinit
-appdefaults Allbery kadmin
+appdefaults Allbery kadmin SPDX-License-Identifier FSFAP
 
 =head1 NAME
 
@@ -161,6 +161,8 @@ 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
 
 kadmin(8), kinit(1), krb5.conf(5), remctl(1), remctld(8), wallet(1)
index 5a80876136969c3a8d2e6757dbd9ade41d35836f..194f1f5d843b68fcb95413a9ad395dcfc3109c00 100644 (file)
@@ -6,7 +6,7 @@
  * Copyright 2006-2008, 2010, 2014
  *     The Board of Trustees of the Leland Stanford Junior University
  *
- * See LICENSE for licensing terms.
+ * SPDX-License-Identifier: MIT
  */
 
 #include <config.h>
index 2033fec854f8b330c597632159f2a4ec598efe39..63336db56e7e5cd580ac1116553bda7ce4717f89 100644 (file)
@@ -2,6 +2,7 @@
 -hv srvtab arg keytabs metadata keytab ACL PTS kinit klist remctl PKINIT
 acl timestamp autocreate backend-specific setacl enctypes enctype ktadd
 KDC appdefaults remctld Allbery uuencode getacl backend ACL's DES
+SPDX-License-Identifier FSFAP
 
 =head1 NAME
 
@@ -487,14 +488,16 @@ Russ Allbery <eagle@eyrie.org>
 
 =head1 COPYRIGHT AND LICENSE
 
-Copyright 2007, 2008, 2010, 2011, 2012, 2013 The Board of Trustees of the
-Leland Stanford Junior University
+Copyright 2007-2008, 2010-2013 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
 
 kadmin(8), kinit(1), krb5.conf(5), remctl(1), remctld(8)
index 836cda51d53a0e6ef0170cd9b9b9b0559310dbb4..badcb8db727ec694f5a797c5a6eed10a2d3f6ca2 100755 (executable)
@@ -5,7 +5,7 @@
 # Written by Bill MacAllister <whm@dropbox.com>
 # Copyright 2016 Dropbox, Inc.
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 ##############################################################################
 # Declarations
@@ -537,7 +537,8 @@ exit;
 __END__
 
 =for stopwords
-KDC LDAP MacAllister keytab keytabs msktutil ldapsearch
+KDC LDAP MacAllister keytab keytabs msktutil ldapsearch MERCHANTABILITY
+NONINFRINGEMENT sublicense SPDX-License-Identifier MIT
 
 =head1 NAME
 
@@ -664,4 +665,28 @@ perldoc Wallet::Config.
 
 Bill MacAllister <whm@dropbox.com>
 
+=head1 COPYRIGHT AND LICENSE
+
+Copyright 2016 Dropbox, Inc.
+
+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
+
 =cut
index 9826057bdb38422a4011d084bad763611aa87654..0adc766b4113d3a59a08a1e9845bd25ce15b1ddf 100755 (executable)
@@ -31,6 +31,9 @@
 # perl wallet-history.pl ... (t.b.d.)...
 #
 #--------------------------------------------------------------------------------------------------------------
+#
+# SPDX-License-Identifier: MIT
+
 # Version.
 
 my $VERSION = "0.5";
index e05b39401eaeff3b6fcecef1daa5b4a39729f9fd..28017674cc98faa7fab1243646dd8a83d5df006d 100755 (executable)
@@ -6,7 +6,7 @@
 # Copyright 2008
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 ##############################################################################
 # Modules and site configuration
index 7169f0b19c23cfcd9215eebed154698db599ec67..c6cac9b5ff374ce2d230f8ae2b7fdff0d7c68e4c 100755 (executable)
@@ -6,7 +6,7 @@
 # Copyright 2008
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 require 5.006;
 use strict;
index 0c72c9cbe8d28ea0d2e7171dce4c7404ba8947cb..6ad22922280ed679bcaadf323cf640e6b190eaa5 100755 (executable)
@@ -6,7 +6,7 @@
 # Copyright 2009, 2015
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 ##############################################################################
 # Modules and declarations
index c15d83fabb8ad9c1ccd5ff13eb6447a99ea79952..1e22e1eba257195d72204f7976919eace55152f2 100755 (executable)
@@ -170,7 +170,7 @@ DOCS=<<__END_OF_DOCS__
 
 =for stopwords
 Allbery DES Heimdal hostname keytab keytabs ktutil rekey rekeyable
-rekeying wallet-rekey wallet-rekey-periodic
+rekeying wallet-rekey wallet-rekey-periodic SPDX-License-Identifier MIT
 
 =head1 NAME
 
@@ -232,7 +232,7 @@ Russ Allbery <eagle@eyrie.org>
 
 =head1 COPYRIGHT AND LICENSE
 
-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
@@ -253,6 +253,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
 
 ktutil(8), wallet(1), wallet-rekey(1)
@@ -260,3 +262,7 @@ ktutil(8), wallet(1), wallet-rekey(1)
 =cut
 
 __END_OF_DOCS__
+
+# Local Variables:
+# copyright-at-end-flag: t
+# End:
index ba224d05e62e2171a1cbeab50c902c6b1a901a5e..8a12294dd98b59342080081fc0e5f12b59927c40 100755 (executable)
@@ -173,6 +173,7 @@ close REPORT;
 
 =for stopwords
 -hm keytab keytabs MERCHANTABILITY NONINFRINGEMENT sublicense Allbery
+SPDX-License-Identifier MIT
 
 =head1 NAME
 
@@ -260,4 +261,6 @@ 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
+
 =cut
index 50b5a04dc1f3ad18358aee79ed6b032ea942ae66..adf7b2713531046e6aa0df90275e067d168180be 100755 (executable)
@@ -190,7 +190,7 @@ if ($command eq 'check') {
 
 =for stopwords
 ACL API CNAME DNS IP env keytab keytabs timestamp MERCHANTABILITY
-NONINFRINGEMENT sublicense Allbery
+NONINFRINGEMENT sublicense Allbery SPDX-License-Identifier MIT
 
 =head1 NAME
 
@@ -282,4 +282,10 @@ 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
+
 =cut
+
+# Local Variables:
+# copyright-at-end-flag: t
+# End:
index 0d7193166de79506ec7b605240aab2eed6b2979b..55707b2b33f690adeb7eab4bfd1fc8cd7caf1ef2 100644 (file)
@@ -372,10 +372,12 @@ Security Considerations
 
 License
 
-    Copyright 20072008, 2013
+    Copyright 2007-2008, 2013
         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
index 836c41150ee79c10879b0c45321d69ba4dc0f178..e0c831741748b500befd6552fcfc12858cfb6953 100644 (file)
@@ -101,10 +101,12 @@ ACL Schemes
 License
 
     Copyright 2016 Russ Allbery <eagle@eyrie.org>
-    Copyright 2006, 2007, 2008, 2013
+    Copyright 2006-2008, 2013
         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
index 9a36e616b56b05a4c79192c3b1fd747707bbdea4..c4d37425386e1fcf796b2f3e31408ad6670bcbf3 100644 (file)
@@ -170,10 +170,12 @@ Registering New Implementations
 
 License
 
-    Copyright 2006, 2007, 2008, 2013
+    Copyright 2006-2008, 2013
         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
index c90182a6df95484162b783eb98c6b47911ba6278..35c7bc6ccf48955403dcf13c28fbce1651f17739 100644 (file)
@@ -33,10 +33,12 @@ Wallet Issues
 
 License
 
-    Copyright 20062007, 2013
+    Copyright 2006-2007, 2013
         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
index 5a7d3bc5be417dc069342087c8a6c5714b88ccc0..c3e529a9b681041339ef781a25b06fb3d8f7f279 100644 (file)
@@ -229,10 +229,12 @@ Client Issues
 
 License
 
-    Copyright 2006, 2007, 2008, 2013
+    Copyright 2006-2008, 2013
         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
index 763a24bc7ec1b710cfbe622b0cd85cf12ba34af5..cb42bd841f13024f254482cbc89361d061642e8f 100644 (file)
@@ -117,10 +117,12 @@ ACL Schemes
 
 License
 
-    Copyright 2012, 2013, 2014
+    Copyright 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
index 670cf57056666f62ef951a03764dd682262a16b5..bd0c5d220fa8b30580022e4b4f1eb4cbed1fd00f 100644 (file)
@@ -88,10 +88,12 @@ Wallet Configuration
 
 License
 
-    Copyright 2007, 2008, 2010, 2012, 2013
+    Copyright 2007-2008, 2010, 2012-2013
         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
index cb05a23c14d6c49c49d63098f489faddd0500731..b1956863fc3a5c9170ccae2da5d507dfc08e90b8 100644 (file)
@@ -351,10 +351,12 @@ ACL Naming
 
 License
 
-    Copyright 2008, 2009, 2010, 2011, 2013
+    Copyright 2008-2011, 2013
         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
index b4cd65a7ff6a79848c29cd44a7ae117cf903c612..697342b7cdb780c85b0ead75404e567e555959e8 100644 (file)
@@ -6,10 +6,10 @@
 # of a naming policy check and default ACL rules.
 #
 # Written by Russ Allbery <eagle@eyrie.org>
-# Copyright 2007, 2008, 2009, 2010, 2012, 2013
+# Copyright 2007-2010, 2012-2013
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 # default_owner and verify_name come from our policy module.
 use Wallet::Policy::Stanford qw(default_owner verify_name);
index 70c3972b76d1848b0de9fe0ca74ab8a73c7c4939..79adf5844c4d66816dccca1c72bace1e73ddf144 100644 (file)
@@ -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 51fa8ffeb499da6bf6a498cc3220393d58c05a79..d31fdf49a2db1ca3aaa7f3186fc9b332d77f9436 100755 (executable)
@@ -6,7 +6,7 @@
 # Copyright 2012, 2014
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 #############################################################################
 # Modules and declarations
index 312ce8853406cee4f49d05eb1ad8c6dd7416f294..948b71c645478d1e59f83c188f26a6869c840a03 100644 (file)
@@ -2,10 +2,10 @@
 #
 # Written by Russ Allbery <eagle@eyrie.org>
 # Copyright 2016 Russ Allbery <eagle@eyrie.org>
-# Copyright 2007, 2008, 2010, 2013, 2014, 2015
+# Copyright 2007-2008, 2010, 2013-2015
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 ##############################################################################
 # Modules and declarations
index e5e304d49bb3b750c9882c05652588369b162992..320a731860593abca5786736ea0ea9c41cf88649 100644 (file)
@@ -5,7 +5,7 @@
 # Copyright 2007, 2010, 2014
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 ##############################################################################
 # Modules and declarations
index fb4b61b13eb72ccf6ff27d1de8610e6f0686a592..22854694c0f0880244b652916adaa716c3424d7f 100644 (file)
@@ -2,7 +2,7 @@
 #
 # Copyright 2016 Russ Allbery <eagle@eyrie.org>
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 ##############################################################################
 # Modules and declarations
index 97643915db88d245d258e466cdbb5432ef097239..33092745fe546be8c23378eb2838bff485896cc6 100644 (file)
@@ -5,7 +5,7 @@
 # Copyright 2007, 2010, 2014
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 ##############################################################################
 # Modules and declarations
index 39a71d3679e6126430ca3847a3d888734e9d2e7f..be6c5e14633aa768bb6b7f3d5733d7d2be83d66e 100644 (file)
@@ -5,7 +5,7 @@
 # Copyright 2007, 2010, 2014
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 ##############################################################################
 # Modules and declarations
index 7bb1c68f0fb7926dc51eb85176f7c1472523e838..65e0208bb0df825670cdbdada6b5da860f849869 100644 (file)
@@ -2,10 +2,10 @@
 #
 # Written by Russ Allbery
 # Copyright 2016 Russ Allbery <eagle@eyrie.org>
-# Copyright 2012, 2013, 2014
+# Copyright 2012-2014
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 ##############################################################################
 # Modules and declarations
index 079dadb01c0f537131eac4667ec3992fdadb9fab..5ebece6987c188977e60b6ba036e648fb97bb96a 100644 (file)
@@ -1,12 +1,11 @@
 # Wallet::ACL::LDAP::Attribute::Root -- Wallet root instance LDAP ACL verifier
 #
 # Written by Jon Robertson <jonrober@stanford.edu>
-# Based on Wallet::ACL::NetDB::Root by Russ Allbery <eagle@eyrie.org>
 # Copyright 2016 Russ Allbery <eagle@eyrie.org>
 # Copyright 2015
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 ##############################################################################
 # Modules and declarations
index efaf5a9c47c085f11222bf8ec742a6e85bf04a99..a6b66556c7dc41ce945e8e408b4243efed2dd59b 100644 (file)
@@ -5,7 +5,7 @@
 # Copyright 2015
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 ##############################################################################
 # Modules and declarations
index 8a170ba4e61ffb93fda8d9e5db6f469f367dee2d..c5fdc39054a2e7a385a667d9a942a901fb1d2e85 100644 (file)
@@ -5,7 +5,7 @@
 # Copyright 2007, 2010, 2014
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 ##############################################################################
 # Modules and declarations
index 8ae510d41e267845bcf9312ee36dac2c414cc0cf..2dd1562b1c33368041fcbf592f8355f6b65144bd 100644 (file)
@@ -5,7 +5,7 @@
 # Copyright 2007, 2010, 2014
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 ##############################################################################
 # Modules and declarations
index ccd093259ac7c7e5343aec678b66841382768fb4..707f4105535a3037711d44ba24175b54012cde50 100644 (file)
@@ -2,10 +2,10 @@
 #
 # Written by Russ Allbery <eagle@eyrie.org>
 # Copyright 2016 Russ Allbery <eagle@eyrie.org>
-# Copyright 2008, 2009, 2010, 2011, 2012, 2013, 2014
+# Copyright 2008-2014
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 ##############################################################################
 # Modules and declarations
index 14731d3f2a4bbf46a29b4c967bb58a2e8a9fd09c..60f0e10ea65b8c1890d0a98c2c738b9f8508e4b6 100644 (file)
@@ -2,10 +2,10 @@
 #
 # Written by Russ Allbery <eagle@eyrie.org>
 # Copyright 2016, 2018 Russ Allbery <eagle@eyrie.org>
-# Copyright 2007, 2008, 2010, 2013, 2014, 2015
+# Copyright 2007-2008, 2010, 2013-2015
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 package Wallet::Config;
 
index 2549d06454486e29b9408c47ed78fdd7e808020d..83b8dfc231dbba78059b1ccf43999d1292014058 100644 (file)
@@ -7,10 +7,10 @@
 #
 # Written by Russ Allbery <eagle@eyrie.org>
 # Copyright 2016 Russ Allbery <eagle@eyrie.org>
-# Copyright 2008, 2009, 2010, 2012, 2013, 2014
+# Copyright 2008-2010, 2012-2014
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 ##############################################################################
 # Modules and declarations
index f46bd14b4f6a724f1134c93fde2712139df529ee..150c1887e65bd34fca344ee11c8defcfe8d35a0d 100644 (file)
@@ -2,10 +2,10 @@
 #
 # Written by Jon Robertson <jonrober@stanford.edu>
 # Copyright 2016 Russ Allbery <eagle@eyrie.org>
-# Copyright 20092010, 2014
+# Copyright 2009-2010, 2014
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 ##############################################################################
 # Modules and declarations
index 5bb662df701b21de0be1d419a85ce36f824a7689..f2f86b9b4929a90bfe7082aed98dcdcb89ac8957 100644 (file)
@@ -2,11 +2,11 @@
 #
 # Written by Bill MacAllister <whm@dropbox.com>
 # Copyright 2016, 2018 Russ Allbery <eagle@eyrie.org>
-# Copyright 20152016 Dropbox, Inc.
-# Copyright 2007, 2008, 2009, 2010, 2014
+# Copyright 2015-2016 Dropbox, Inc.
+# Copyright 2007-2010, 2014
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 ##############################################################################
 # Modules and declarations
index a8bc4ddbf8f95a6334f39777dad64c8a933a724b..57013de5df437318a7d873233cf61c758b5845ef 100644 (file)
@@ -2,10 +2,10 @@
 #
 # Written by Jon Robertson <jonrober@stanford.edu>
 # Copyright 2016 Russ Allbery <eagle@eyrie.org>
-# Copyright 20092010, 2014
+# Copyright 2009-2010, 2014
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 ##############################################################################
 # Modules and declarations
index b4143af517b118756ddd881ab0523aad930152f3..373d4cfe5ff8f04a03e823449069527dd47ff087 100644 (file)
@@ -3,10 +3,10 @@
 # Written by Russ Allbery <eagle@eyrie.org>
 # Pulled into a module by Jon Robertson <jonrober@stanford.edu>
 # Copyright 2016 Russ Allbery <eagle@eyrie.org>
-# Copyright 2007, 2008, 2009, 2010, 2014
+# Copyright 2007-2010, 2014
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 ##############################################################################
 # Modules and declarations
index 0c88e8a92be7d4063d4dcc0f207acd88a8a9f618..bf535e98db1108dcb58e57bf71d3e6c5727b4bc9 100644 (file)
@@ -2,10 +2,10 @@
 #
 # Written by Russ Allbery <eagle@eyrie.org>
 # Copyright 2016 Russ Allbery <eagle@eyrie.org>
-# Copyright 2007, 2008, 2010, 2011, 2014
+# Copyright 2007-2008, 2010-2011, 2014
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 ##############################################################################
 # Modules and declarations
index 87212ba73b6358ffcdb44a813e987a26248ff6c7..1ec527e55f8ba40e0699cb0a9bc46a330a85023c 100644 (file)
@@ -2,10 +2,10 @@
 #
 # Written by Russ Allbery <eagle@eyrie.org>
 # Copyright 2016 Russ Allbery <eagle@eyrie.org>
-# Copyright 20142015
+# Copyright 2014-2015
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 ##############################################################################
 # Modules and declarations
index 8811fd3bf48c69ccf5af074d14e15f37f5ffa959..bef8981e1c1afd937459cbef43d318a553d36071 100644 (file)
@@ -5,7 +5,7 @@
 # Copyright 2008, 2010, 2014
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 ##############################################################################
 # Modules and declarations
index 21cea91093ffb6cff41169545e10e0bbe3688b10..498e6571dad185a147769f221dd596eb5a4c895a 100644 (file)
@@ -2,10 +2,10 @@
 #
 # Written by Russ Allbery <eagle@eyrie.org>
 # Copyright 2016 Russ Allbery <eagle@eyrie.org>
-# Copyright 2007, 2008, 2009, 2010, 2013, 2014
+# Copyright 2007-2010, 2013-2014
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 ##############################################################################
 # Modules and declarations
index 8218371f2df6e4cf31b41d91d3aa239197ff33fc..336aa9d30d5acc8d0e475bddfd48cac329ace859 100644 (file)
@@ -5,7 +5,7 @@
 # Copyright 2015
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 ##############################################################################
 # Modules and declarations
index d763cc56504ca0653f2c9dc04fb4b40e455ca4ee..a64b376106c15090dcdf5f4537896bb806c35424 100644 (file)
@@ -2,10 +2,10 @@
 #
 # Written by Russ Allbery <eagle@eyrie.org>
 # Copyright 2016 Russ Allbery <eagle@eyrie.org>
-# Copyright 2012, 2013, 2014
+# Copyright 2012-2014
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 ##############################################################################
 # Modules and declarations
index 6b1b0073bd151ff7de41d90b58a6a7c3a5581e45..2c761bb92a3da88d7caae2fed10b937ffba9ee26 100644 (file)
@@ -2,10 +2,10 @@
 #
 # Written by Russ Allbery <eagle@eyrie.org>
 # Copyright 2016 Russ Allbery <eagle@eyrie.org>
-# Copyright 2013, 2014, 2015
+# Copyright 2013-2015
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 ##############################################################################
 # Modules and declarations
index 5c154a1efd319973454b54e57b7f6f1bbcda5e3c..151a28580cd22258766f7793c068617bf08cc3b0 100644 (file)
@@ -2,10 +2,10 @@
 #
 # Written by Russ Allbery <eagle@eyrie.org>
 # Copyright 2016 Russ Allbery <eagle@eyrie.org>
-# Copyright 2008, 2009, 2010, 2013, 2014
+# Copyright 2008-2010, 2013-2014
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 ##############################################################################
 # Modules and declarations
index d535b5cee3844e52bb84bc3590a806f0628b28c5..f75fda860ecc29d301572cede463c5d6167c8811 100644 (file)
@@ -2,10 +2,10 @@
 #
 # Written by Jon Robertson <jonrober@stanford.edu>
 # Copyright 2016 Russ Allbery <eagle@eyrie.org>
-# Copyright 2012, 2013, 2014
+# Copyright 2012-2014
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 package Wallet::Schema;
 
index ed206dcd443abbadd66ec92ca14f62e7ff39857e..9a73b185af21bc6b54c4ae9d038c857927fd69ea 100644 (file)
@@ -1,10 +1,10 @@
 # Wallet schema for an ACL.
 #
 # Written by Jon Robertson <jonrober@stanford.edu>
-# Copyright 20122013
+# Copyright 2012-2013
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 package Wallet::Schema::Result::Acl;
 
index c696ba289d880616a29688370eeebef855202894..17370842a716ef0ac6ecbfd0326e087f53b732f2 100644 (file)
@@ -1,10 +1,10 @@
 # Wallet schema for an entry in an ACL.
 #
 # Written by Jon Robertson <jonrober@stanford.edu>
-# Copyright 20122013
+# Copyright 2012-2013
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 package Wallet::Schema::Result::AclEntry;
 
index b519fd504185911a7b18bb14b528910bcfd0e01c..48aed493c64389f15af8901c7c37912bb049b642 100644 (file)
@@ -1,10 +1,10 @@
 # Wallet schema for ACL history.
 #
 # Written by Jon Robertson <jonrober@stanford.edu>
-# Copyright 2012, 2013, 2014
+# Copyright 2012-2014
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 package Wallet::Schema::Result::AclHistory;
 
index 982390cffda867096eaaf237720d5e5e8218fc2d..abdd541136f53ac5f078d332baceaa383a5cc049 100644 (file)
@@ -1,10 +1,10 @@
 # Wallet schema for ACL scheme.
 #
 # Written by Jon Robertson <jonrober@stanford.edu>
-# Copyright 20122013
+# Copyright 2012-2013
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 package Wallet::Schema::Result::AclScheme;
 
index d392e29de581d1f72090085a3af9712eada5bde0..def9dce40ab30feeeded09b72cc3384790ed6d22 100644 (file)
@@ -4,7 +4,7 @@
 # Copyright 2014
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 package Wallet::Schema::Result::Duo;
 
index 0d5fb1cebbb17440dff4f113f97999376c46b2fd..4ed8dcb478e74e2096a80cf925c3abe0c0d30709 100644 (file)
@@ -1,10 +1,10 @@
 # Wallet schema for object flags.
 #
 # Written by Jon Robertson <jonrober@stanford.edu>
-# Copyright 20122013
+# Copyright 2012-2013
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 package Wallet::Schema::Result::Flag;
 
index 89330703ec88ffcf9c57546e83033a655ce869ec..b4bc46f478a091a8236e100dd799d8bc4e7d3821 100644 (file)
@@ -1,10 +1,10 @@
 # Wallet schema for an object.
 #
 # Written by Jon Robertson <jonrober@stanford.edu>
-# Copyright 20122013
+# Copyright 2012-2013
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 package Wallet::Schema::Result::Object;
 
index eae2f89897d13584d44f89b575b0853926a55b1d..c6c6225c7410c9f987a36880aacb3e616906a378 100644 (file)
@@ -1,10 +1,10 @@
 # Wallet schema for object history.
 #
 # Written by Jon Robertson <jonrober@stanford.edu>
-# Copyright 2012, 2013, 2014
+# Copyright 2012-2014
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 package Wallet::Schema::Result::ObjectHistory;
 
index 388446c53ca5e0af605ae23dd334b7550aa05494..ff6e3f334662e09a361be504decbe4cdcc31531d 100644 (file)
@@ -1,10 +1,10 @@
 # Wallet schema for synchronization targets.
 #
 # Written by Jon Robertson <jonrober@stanford.edu>
-# Copyright 20122013
+# Copyright 2012-2013
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 package Wallet::Schema::Result::SyncTarget;
 
index f191808016e94f05fd14456859947f9f3d622671..a9238e6a59556dc33f9c559100f5589b649c78fd 100644 (file)
@@ -1,10 +1,10 @@
 # Wallet schema for object types.
 #
 # Written by Jon Robertson <jonrober@stanford.edu>
-# Copyright 20122013
+# Copyright 2012-2013
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 package Wallet::Schema::Result::Type;
 
index ae65932045030fd7cd21d58200701ed23c70d323..af0d8a8fe08b48828932a23b7ed61650697c9415 100644 (file)
@@ -2,10 +2,10 @@
 #
 # Written by Russ Allbery <eagle@eyrie.org>
 # Copyright 2016 Russ Allbery <eagle@eyrie.org>
-# Copyright 2007, 2008, 2010, 2011, 2013, 2014
+# Copyright 2007-2008, 2010-2014
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 ##############################################################################
 # Modules and declarations
index 71a9bc61e56ee0e8410c633d8885586b301fdb5c..ddb7ca3d5323be133724b73049df8dfbd3a53b56 100644 (file)
@@ -2,27 +2,10 @@
 -- Created by SQL::Translator::Producer::MySQL
 -- Created on Fri Jan 25 14:12:02 2013
 --
--- Copyright 20122013
+-- Copyright 2012-2013
 --     The Board of Trustees of the Leland Stanford Junior University
 --
--- 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
 -- 
 SET foreign_key_checks=0;
 
index f14d168d860ad32034f49a4d3b7b5523facd9258..0491ea74f7530079d524ecd2b2d3ac4a87db2dfa 100644 (file)
@@ -2,27 +2,10 @@
 -- Created by SQL::Translator::Producer::SQLite
 -- Created on Fri Jan 25 14:12:02 2013
 --
--- Copyright 20122013
+-- Copyright 2012-2013
 --     The Board of Trustees of the Leland Stanford Junior University
 --
--- 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
 --
 
 BEGIN TRANSACTION;
index 2deca3c309ebc8781f77e115d68207320590d555..eb56d0eab182118cba4f888c1974da357b71e710 100644 (file)
@@ -2,27 +2,10 @@
 -- Created by SQL::Translator::Producer::MySQL
 -- Created on Fri Jan 25 14:12:02 2013
 --
--- Copyright 20122013
+-- Copyright 2012-2013
 --     The Board of Trustees of the Leland Stanford Junior University
 --
--- 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
 -- 
 SET foreign_key_checks=0;
 
index 4347de8c3b0a67bfffe21ba4fb0f60d107803f13..db8ff98e1862b21d083165ece17c289ebf5061f8 100644 (file)
@@ -2,27 +2,10 @@
 -- Created by SQL::Translator::Producer::PostgreSQL
 -- Created on Fri Jan 25 14:12:02 2013
 --
--- Copyright 2012, 2013, 2014
+-- Copyright 2012-2014
 --     The Board of Trustees of the Leland Stanford Junior University
 --
--- 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
 --
 --
 -- Table: acl_history
index f581a4c850195c73f49c2fac9bab321dd748cea6..4f7b1b381091f80d17327804fa9f7443f03e774f 100644 (file)
@@ -2,27 +2,10 @@
 -- Created by SQL::Translator::Producer::SQLite
 -- Created on Fri Jan 25 14:12:02 2013
 --
--- Copyright 20122013
+-- Copyright 2012-2013
 --     The Board of Trustees of the Leland Stanford Junior University
 --
--- 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
 --
 
 BEGIN TRANSACTION;
index a9aa745cafeffc0742939229f95a2dc6a5a678b7..41e098fde82886453e0a38858e2709e2a14fd33a 100644 (file)
@@ -2,27 +2,10 @@
 -- Created by SQL::Translator::Producer::MySQL
 -- Created on Tue Jul 15 17:41:01 2014
 -- 
--- Copyright 2012, 2013, 2014
+-- Copyright 2012-2014
 --     The Board of Trustees of the Leland Stanford Junior University
 --
--- 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
 --
 
 SET foreign_key_checks=0;
index 67f4a1b1ff7772fadcf309cabf60dc9caaaedae4..1bec9f7a055fc638a50fd62d2f137ebfa432fa07 100644 (file)
@@ -2,27 +2,10 @@
 -- Created by SQL::Translator::Producer::PostgreSQL
 -- Created on Tue Jul 15 17:41:03 2014
 -- 
--- Copyright 2012, 2013, 2014
+-- Copyright 2012-2014
 --     The Board of Trustees of the Leland Stanford Junior University
 --
--- 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
 --
 
 --
index 9ce9b08cc17f652e4a3a2f0de562247156503490..e9977ef1e7f6f42ee5fa9781236202f685d4b9db 100644 (file)
@@ -2,27 +2,10 @@
 -- Created by SQL::Translator::Producer::SQLite
 -- Created on Tue Jul 15 17:41:02 2014
 --
--- Copyright 2012, 2013, 2014
+-- Copyright 2012-2014
 --     The Board of Trustees of the Leland Stanford Junior University
 --
--- 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
 --
 
 BEGIN TRANSACTION;
index ba73062adbec2eb58e736db10e5de4720461f273..982f127d45f24a5f1235c171ec9247ccfcd55f5d 100644 (file)
@@ -5,24 +5,7 @@
 -- Copyright 2014
 --     The Board of Trustees of the Leland Stanford Junior University
 --
--- 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
 --
 
 SET foreign_key_checks=0;
index d1658dd983b371d72c74ab2803aa6588bba948d4..8c762729722230958ee8c1611d7207e3da70efcf 100644 (file)
@@ -5,24 +5,7 @@
 -- Copyright 2014
 --     The Board of Trustees of the Leland Stanford Junior University
 --
--- 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
 --
 
 --
index c13bc29c253ca260449aadef19269e18ee1d3017..4f0516432a855d69aeb358c8472edb19b5bd3d17 100644 (file)
@@ -5,24 +5,7 @@
 -- Copyright 2014
 --     The Board of Trustees of the Leland Stanford Junior University
 --
--- 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
 --
 
 BEGIN TRANSACTION;
index b7c3066f701408e864e7dc482d3192b85eff3891..bdf106acc5b18e23d0e3a77a4202ce67f45f6a08 100755 (executable)
@@ -5,10 +5,9 @@
 # failure, or reports an error based on whether the second argument is
 # success, failure, or error.
 #
-# Written by Russ Allbery <eagle@eyrie.org>
 # Copyright 2016 Russ Allbery <eagle@eyrie.org>
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 set -e
 
index 4de74939f7ac54422ffe52e937f6c9563e775189..c6e33f970e0f81be58f9671208f7aa937060c2cc 100755 (executable)
@@ -3,10 +3,10 @@
 # Tests for the wallet ACL API.
 #
 # Written by Russ Allbery <eagle@eyrie.org>
-# Copyright 20072008, 2014
+# Copyright 2007-2008, 2014
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 use strict;
 use warnings;
index 17671b6fa28a7f000ed73f2468a3cbdc7637594a..a20455838076794fa8bbca37e7845cd204caf951 100755 (executable)
@@ -3,10 +3,10 @@
 # Tests for wallet administrative interface.
 #
 # Written by Russ Allbery <eagle@eyrie.org>
-# Copyright 2008, 2009, 2010, 2011, 2013, 2014
+# Copyright 2008-2011, 2013-2014
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 use strict;
 use warnings;
index bc200de1bbadfe26807ee4477defeb45f04841f9..a0848bad0b64d6c0e0692928324bf0d1d0731405 100755 (executable)
@@ -6,7 +6,7 @@
 # Copyright 2008, 2010, 2014
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 use strict;
 use warnings;
index 58b9a4c92c7c7c99a850ef01fce8074b00275327..ddc4aa1331bbcd7938d84d12dfda263948ee2338 100755 (executable)
@@ -3,10 +3,10 @@
 # Tests for database initialization.
 #
 # Written by Russ Allbery <eagle@eyrie.org>
-# Copyright 20072008, 2014
+# Copyright 2007-2008, 2014
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 use strict;
 use warnings;
index e47cdc62683da67221356db65e2260c6c1307571..8b491f59eaef982c0344509d70ac38cc867905f5 100755 (executable)
@@ -3,10 +3,10 @@
 # Tests for the wallet reporting interface.
 #
 # Written by Russ Allbery <eagle@eyrie.org>
-# Copyright 2008, 2009, 2010, 2014
+# Copyright 2008-2010, 2014
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 use strict;
 use warnings;
index 8f4c16c3850d0f782be1b42bf933a9def03e2678..0794f1583f0680a95a09b571982943e1ff263557 100755 (executable)
@@ -3,10 +3,10 @@
 # Tests for the wallet server API.
 #
 # Written by Russ Allbery <eagle@eyrie.org>
-# Copyright 2007, 2008, 2010, 2011, 2012, 2013, 2014
+# Copyright 2007-2014
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 use strict;
 use warnings;
index 187e48381b5f290f355905bbcdc84fffd62d1092..c58337365cf4faedc9b9526e2119c33ab293966c 100644 (file)
@@ -1,10 +1,10 @@
 # Utility class for wallet tests.
 #
 # Written by Russ Allbery <eagle@eyrie.org>
-# Copyright 20072008, 2014
+# Copyright 2007-2008, 2014
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 package Util;
 require 5.006;
index 8fedd644250d55558c485455be7a525a441955bb..2126ebf68d49e91819d2f8a00ef09eb177d015c5 100755 (executable)
@@ -3,10 +3,10 @@
 # Tests for the basic object implementation.
 #
 # Written by Russ Allbery <eagle@eyrie.org>
-# Copyright 20072008, 2011, 2014
+# Copyright 2007-2008, 2011, 2014
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 use strict;
 use warnings;
index 8a00dbb69166d90a5c9b92fb3807397054831a93..e2b5d5d001c2904ecc45f0ff98b00fe682ace6c7 100644 (file)
@@ -6,7 +6,7 @@
 # Copyright 2014
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 use strict;
 use warnings;
index 047343e2e0fec9d730753a352c68c4181bee93a1..f0c9e618ec58b5e03a8a3e863d3f1c3cd1a984c7 100644 (file)
@@ -6,7 +6,7 @@
 # Copyright 2014
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 use strict;
 use warnings;
index 55cbb9d527fb34342b0a3671f2955495ec6fbaf0..5532a68d8e2a91c27c723edbfe2bb39bbc7a2c3a 100644 (file)
@@ -6,7 +6,7 @@
 # Copyright 2014
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 use strict;
 use warnings;
index 25060acfbc3bc9b0a7081bb78235e08304b3e32b..52f061370b406b7e4df619db979ee0300c8b03fe 100644 (file)
@@ -6,7 +6,7 @@
 # Copyright 2014
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 use strict;
 use warnings;
index a9755973fc4e390e61bbcb994abfc469bd1d4efd..75b58344837342b38a705c8f69a45fd9a97e200a 100755 (executable)
@@ -6,7 +6,7 @@
 # Copyright 2014
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 use strict;
 use warnings;
index b7f295acf8986896808a0a700ff121f66377825d..80173cd313c2c81bfbcac8fde5c2f8b75a1ea741 100755 (executable)
@@ -6,7 +6,7 @@
 # Copyright 2008, 2014
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 use strict;
 use warnings;
index 111b7d0c726539c3c9778741ded89e978572f5d9..dfb96bdb2de13cdd9c78cf0c53dac63ea45f237e 100755 (executable)
@@ -3,10 +3,10 @@
 # Tests for the keytab object implementation.
 #
 # Written by Russ Allbery <eagle@eyrie.org>
-# Copyright 2007, 2008, 2009, 2010, 2013, 2014
+# Copyright 2007-2010, 2013-2014
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 use strict;
 use warnings;
index 306d82be25fa96b62e40fde5f457bd2412e38f6d..72a818cea3f8759b18d06b62c49f2bf48afa97ff 100644 (file)
@@ -7,7 +7,7 @@
 # Copyright 2015
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 use strict;
 use warnings;
index 4a3bd4812e3e5aee3a9080d36e57d334ef363f21..aa38e9cc5072388c213a5ee0cb850ea2966346e5 100755 (executable)
@@ -3,10 +3,10 @@
 # Tests for the WebAuth keyring object implementation.
 #
 # 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
 
 use strict;
 use warnings;
index d2727c822ad791eec45e37a003c5390d2da921d6..f7b2f1687f790f350cb2d6b0d17032f708ada1fe 100755 (executable)
@@ -7,10 +7,10 @@
 # behavior at Stanford.
 #
 # 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
 
 use 5.008;
 use strict;
index db947804ab68b5deb2d132e8ab619f983b5c116e..60a493344c244b435eb7b817df0f3e1215430783 100755 (executable)
@@ -3,10 +3,10 @@
 # Tests for the kadmin object implementation.
 #
 # Written by Jon Robertson <jonrober@stanford.edu>
-# Copyright 2009, 2010, 2012, 2013, 2014
+# Copyright 2009-2010, 2012-2014
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 use strict;
 use warnings;
index be3c4277a0bdef0ade4d6f2ffca6c05461b96a72..3ee71d6207e1c5be3fa6cd96ca588d976fea7e80 100755 (executable)
@@ -3,10 +3,10 @@
 # Tests for the basic wallet ACL verifiers.
 #
 # Written by Russ Allbery <eagle@eyrie.org>
-# Copyright 20072008, 2010, 2014
+# Copyright 2007-2008, 2010, 2014
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 use strict;
 use warnings;
index d1438dea183dda0efbdfbddb62cd13156fdc5cd4..2b725bd516650a2a67a1e7967ce6c6f2c51c03b6 100755 (executable)
@@ -2,10 +2,9 @@
 #
 # Tests for the external wallet ACL verifier.
 #
-# Written by Russ Allbery <eagle@eyrie.org>
 # Copyright 2016 Russ Allbery <eagle@eyrie.org>
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 use strict;
 use warnings;
index 3665edb563cd89d691d9000c65422ad6ab1e77d2..321822de5bae2741cd9eeae9710d4a44d5d72ba6 100755 (executable)
@@ -10,7 +10,7 @@
 # Copyright 2012-2014
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 use strict;
 use warnings;
index ec7ce40c760a5fe38b999ce431b67ee4fbbd2d0b..a975ea3566f5765651837cdeb3bacb35ae80ab0c 100755 (executable)
@@ -6,7 +6,7 @@
 # Copyright 2015
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 use strict;
 use warnings;
index 200fc9e81c67902ecc253a6159551ee057651b57..0f3e2d45e2f1d8b37e66499e53211ff1cef59a4b 100755 (executable)
@@ -11,7 +11,7 @@
 # Copyright 2008, 2014
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 use strict;
 use warnings;
index a029e6ca33529c04e21c73f292f75750c3c6c9fd..6a7870a018ddf169054a30eba12459d051b3fda6 100644 (file)
@@ -152,7 +152,7 @@ __END__
 =for stopwords
 keytab-backend keytabs KDC keytab kadmin.local -norandkey ktadd remctld
 auth Allbery rekeying MERCHANTABILITY NONINFRINGEMENT sublicense
-kadmin.local.
+kadmin.local. SPDX-License-Identifier MIT
 
 =head1 NAME
 
@@ -215,8 +215,8 @@ Russ Allbery <eagle@eyrie.org>
 
 =head1 COPYRIGHT AND LICENSE
 
-Copyright 2006, 2007, 2008, 2010, 2013 The Board of Trustees of the Leland
-Stanford Junior University
+Copyright 2006-2008, 2010, 2013 The Board of Trustees of the Leland Stanford
+Junior University
 
 Permission is hereby granted, free of charge, to any person obtaining a
 copy of this software and associated documentation files (the "Software"),
@@ -236,6 +236,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
 
 kadmin.local(8), remctld(8)
@@ -244,3 +246,7 @@ This program is part of the wallet system.  The current version is
 available from L<https://www.eyrie.org/~eagle/software/wallet/>.
 
 =cut
+
+# Local Variables:
+# copyright-at-end-flag: t
+# End:
index c2d5bf82a32f1cc84d3bfb937b4957891069246d..4940c890b263449477ae77c8b6e303ea6159dfa7 100644 (file)
@@ -67,7 +67,7 @@ __END__
 
 =for stopwords
 metadata ACL hostname backend acl acls wildcard SQL Allbery verifier
-MERCHANTABILITY NONINFRINGEMENT sublicense
+MERCHANTABILITY NONINFRINGEMENT sublicense SPDX-License-Identifier MIT
 
 =head1 NAME
 
@@ -145,8 +145,8 @@ Russ Allbery <eagle@eyrie.org>
 
 =head1 COPYRIGHT AND LICENSE
 
-Copyright 2008, 2009, 2010, 2011, 2013 The Board of Trustees of the Leland
-Stanford Junior University
+Copyright 2008-2011, 2013 The Board of Trustees of the Leland Stanford Junior
+University
 
 Permission is hereby granted, free of charge, to any person obtaining a
 copy of this software and associated documentation files (the "Software"),
@@ -166,6 +166,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
 
 Wallet::Admin(3), Wallet::Config(3), wallet-backend(8)
@@ -174,3 +176,7 @@ This program is part of the wallet system.  The current version is
 available from L<https://www.eyrie.org/~eagle/software/wallet/>.
 
 =cut
+
+# Local Variables:
+# copyright-at-end-flag: t
+# End:
index 4937b66cb113a6434a8f3f6d6c63e9c832642786..8e384607fb64f6505d39ef36b486e46eea51f76f 100644 (file)
@@ -347,8 +347,8 @@ __END__
 
 =for stopwords
 wallet-backend backend backend-specific remctld ACL acl timestamp getacl
-setacl metadata keytab keytabs enctypes enctype ktadd KDC Allbery
-autocreate MERCHANTABILITY NONINFRINGEMENT sublicense
+setacl metadata keytab keytabs enctypes enctype ktadd KDC Allbery autocreate
+MERCHANTABILITY NONINFRINGEMENT sublicense SPDX-License-Identifier MIT
 
 =head1 NAME
 
@@ -665,8 +665,8 @@ Russ Allbery <eagle@eyrie.org>
 
 =head1 COPYRIGHT AND LICENSE
 
-Copyright 2007, 2008, 2010, 2011, 2012, 2013 The Board of Trustees of the
-Leland Stanford Junior University
+Copyright 2007-2008, 2010-2013 The Board of Trustees of the Leland Stanford
+Junior University
 
 Permission is hereby granted, free of charge, to any person obtaining a
 copy of this software and associated documentation files (the "Software"),
@@ -686,6 +686,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
 
 Wallet::Server(3), remctld(8)
@@ -694,3 +696,7 @@ This program is part of the wallet system.  The current version is
 available from L<https://www.eyrie.org/~eagle/software/wallet/>.
 
 =cut
+
+# Local Variables:
+# copyright-at-end-flag: t
+# End:
index 4c96e7e22fb080d4fa14e012573f1d7c78cd526b..292ba396a83f7e208fbfde0b42a48b5a948afd78 100644 (file)
@@ -135,7 +135,8 @@ wallet-report - Wallet server reporting interface
 
 =for stopwords
 metadata ACL hostname backend acl acls wildcard SQL Allbery remctl
-MERCHANTABILITY NONINFRINGEMENT sublicense unstored
+MERCHANTABILITY NONINFRINGEMENT sublicense unstored SPDX-License-Identifier
+MIT
 
 =head1 SYNOPSIS
 
@@ -330,8 +331,8 @@ Russ Allbery <eagle@eyrie.org>
 
 Copyright 2016 Russ Allbery <eagle@eyrie.org>
 
-Copyright 2008, 2009, 2010, 2013, 2015 The Board of Trustees of the Leland
-Stanford Junior University
+Copyright 2008-2010, 2013, 2015 The Board of Trustees of the Leland Stanford
+Junior University
 
 Permission is hereby granted, free of charge, to any person obtaining a
 copy of this software and associated documentation files (the "Software"),
@@ -351,6 +352,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
 
 Wallet::Config(3), Wallet::Report(3), wallet-backend(8)
@@ -359,3 +362,7 @@ This program is part of the wallet system.  The current version is
 available from L<https://www.eyrie.org/~eagle/software/wallet/>.
 
 =cut
+
+# Local Variables:
+# copyright-at-end-flag: t
+# End:
index a2c672e4d824bfc125c5f81a110b762b56ba8a9d..81fe051af30aa06ee2577bc82359796ea03eecc5 100644 (file)
@@ -4,6 +4,7 @@ client/prompt
 client/rekey
 docs/pod
 docs/pod-spelling
+docs/spdx-license-t
 perl/minimum-version
 perl/module-version
 perl/strict
index f9dc6dd3def419fbaefee9e5714467c5fafc7778..7634d73cbb4b8d3b1adffae17a821cce685846a5 100644 (file)
@@ -7,7 +7,7 @@
 # Copyright 2006-2008, 2010
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 # Load the test library.
 . "$C_TAP_SOURCE/tap/libtap.sh"
index 1ad486cdc361361d28683f5a98a2e18b5c69a21c..5f7406a14af9a1eda6775c473dd60925e5f26b4b 100644 (file)
@@ -8,7 +8,7 @@
 # Copyright 2008, 2010, 2014
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 use strict;
 use warnings;
index d5e9f170eb8ee8af9f7e1c0d56b8efb2e14a48f4..8c5ff9ac89c6b14d795baa1acf8cf1ebbd138411 100644 (file)
@@ -8,7 +8,7 @@
 # Copyright 2008, 2010, 2014
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 use strict;
 use warnings;
index 2e95a4e51b6957743345ff493ed87cc8d4345e4b..c2e507c456dc57dd37e10109d20cfacf52308519 100644 (file)
@@ -7,7 +7,7 @@
 # Copyright 2006-2008, 2010
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 # Load the test library.
 . "$C_TAP_SOURCE/tap/libtap.sh"
index f889edd6a4432e83c9146ae42b8382c6e13c4aab..4d2d8a1e9d101c0ee155da9c6faebd39c1a02865 100755 (executable)
@@ -4,10 +4,10 @@
 # the client test suite.  It doesn't test any of the wallet server code.
 #
 # Written by Russ Allbery <eagle@eyrie.org>
-# Copyright 20072008, 2010
+# Copyright 2007-2008, 2010
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 command="$1"
 shift
diff --git a/tests/docs/spdx-license-t b/tests/docs/spdx-license-t
new file mode 100755 (executable)
index 0000000..e05e13f
--- /dev/null
@@ -0,0 +1,133 @@
+#!/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 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.006;
+use strict;
+use warnings;
+
+use lib "$ENV{C_TAP_SOURCE}/tap/perl";
+
+use File::Basename qw(basename);
+use Test::More;
+use Test::RRA qw(skip_unless_automated);
+use Test::RRA::Automake qw(all_files automake_setup);
+
+# 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{ [.] output \z }xms,             # Test data
+);
+my @IGNORE_PATHS = (
+    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 [.] 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{ [.] l?a \z }xms,                       # Created by libtool
+);
+## 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, binary files, and files under 1KB.  The
+    # latter can be rolled up into the overall project license and the license
+    # notice may be a substantial portion of the file size.
+    for my $pattern (@IGNORE) {
+        return if $filename =~ $pattern;
+    }
+    for my $pattern (@IGNORE_PATHS) {
+        return if $path =~ $pattern;
+    }
+    return if !-T $path;
+    return if -s $path < 1024;
+
+    # Scan the file.
+    my ($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 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: $!");
+    ok($saw_spdx || $skip_spdx, $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 8fde012ff4c2cc6d1a082ef1fd8de30b19658e4d..4d6670b36b4eaf31f75d678417f0665ffeb96cab 100755 (executable)
@@ -7,7 +7,7 @@
 # Copyright 2008-2011, 2014
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 use strict;
 use Test::More tests => 42;
index e8ea1ce47c75913c75f31ecc413b7e17c3d81340..de59458303cc8ef67454b8c8c6e406d39afead81 100755 (executable)
@@ -7,7 +7,7 @@
 # Copyright 2006-2014
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 use strict;
 use Test::More tests => 1311;
index 00c6e92910c99c2b43c65ba2ef8cc7f7237087ea..5cf6788403273fc71067cfa68b8ed511e7ee1002 100755 (executable)
@@ -7,7 +7,7 @@
 # Copyright 2006-2007, 2010
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 use strict;
 use vars qw($CONFIG $KADMIN $SYSLOG $TMP);
index 2e0cef7c2984530d92f486e3374b137afbb859de..20382f07b5ec862181df5c66bdd475052b23a2b5 100755 (executable)
@@ -7,7 +7,7 @@
 # Copyright 2008-2010
 #     The Board of Trustees of the Leland Stanford Junior University
 #
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
 
 use strict;
 use Test::More tests => 48;
index 3ba5bcb18014c6dedf9d8fa86654fa542173ce0f..6c6e947130ed5a8c1d4319aa8f796558311bbc0d 100644 (file)
@@ -104,7 +104,7 @@ sub all_files {
         my $file = $_;
         my $path = $File::Find::name;
         $path =~ s{ \A [.]/ }{}xms;
-        if ($skip{$path} or $files_skip{$file} or $file =~ m{ [.] lo \z }xms) {
+        if ($skip{$path} || $files_skip{$file} || $file =~ m{ [.] lo \z }xms) {
             $File::Find::prune = 1;
             return;
         }