aboutsummaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorRuss Allbery <eagle@eyrie.org>2018-06-03 15:36:21 -0700
committerRuss Allbery <eagle@eyrie.org>2018-06-03 15:36:42 -0700
commit4a0b9e747c8abfca24f30b7ce1e9a725ce11474a (patch)
tree9ed741a1fcc25fe23a6231782769d975c76a81c1 /client
parent85f851653191bb9f0fc8435ada239f00f182d34a (diff)
Add SPDX-License-Identifier headers
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.
Diffstat (limited to 'client')
-rw-r--r--client/file.c4
-rw-r--r--client/internal.h2
-rw-r--r--client/keytab.c4
-rw-r--r--client/krb5.c4
-rw-r--r--client/options.c2
-rw-r--r--client/remctl.c2
-rw-r--r--client/srvtab.c2
-rw-r--r--client/wallet-rekey.c2
-rw-r--r--client/wallet-rekey.pod4
-rw-r--r--client/wallet.c2
-rw-r--r--client/wallet.pod7
11 files changed, 20 insertions, 15 deletions
diff --git a/client/file.c b/client/file.c
index 468eb30..809e78b 100644
--- a/client/file.c
+++ b/client/file.c
@@ -2,10 +2,10 @@
* File handling for the wallet client.
*
* Written by Russ Allbery <eagle@eyrie.org>
- * Copyright 2007, 2008, 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>
diff --git a/client/internal.h b/client/internal.h
index 7f58e33..1aed874 100644
--- a/client/internal.h
+++ b/client/internal.h
@@ -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
diff --git a/client/keytab.c b/client/keytab.c
index 7bec459..ed1bdb9 100644
--- a/client/keytab.c
+++ b/client/keytab.c
@@ -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>
diff --git a/client/krb5.c b/client/krb5.c
index 345df64..f0c0ff1 100644
--- a/client/krb5.c
+++ b/client/krb5.c
@@ -6,10 +6,10 @@
* client.
*
* Written by Russ Allbery <eagle@eyrie.org>
- * Copyright 2007, 2008, 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>
diff --git a/client/options.c b/client/options.c
index f011b79..7b1f04e 100644
--- a/client/options.c
+++ b/client/options.c
@@ -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>
diff --git a/client/remctl.c b/client/remctl.c
index d4cd09e..26d7e8f 100644
--- a/client/remctl.c
+++ b/client/remctl.c
@@ -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>
diff --git a/client/srvtab.c b/client/srvtab.c
index 045f56d..2b600c2 100644
--- a/client/srvtab.c
+++ b/client/srvtab.c
@@ -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>
diff --git a/client/wallet-rekey.c b/client/wallet-rekey.c
index caab130..2aedf57 100644
--- a/client/wallet-rekey.c
+++ b/client/wallet-rekey.c
@@ -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>
diff --git a/client/wallet-rekey.pod b/client/wallet-rekey.pod
index e4c01b3..d76420f 100644
--- a/client/wallet-rekey.pod
+++ b/client/wallet-rekey.pod
@@ -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)
diff --git a/client/wallet.c b/client/wallet.c
index 5a80876..194f1f5 100644
--- a/client/wallet.c
+++ b/client/wallet.c
@@ -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>
diff --git a/client/wallet.pod b/client/wallet.pod
index 2033fec..63336db 100644
--- a/client/wallet.pod
+++ b/client/wallet.pod
@@ -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)