summaryrefslogtreecommitdiff
path: root/ruby
diff options
context:
space:
mode:
authorRuss Allbery <eagle@eyrie.org>2018-04-29 20:27:42 -0700
committerRuss Allbery <eagle@eyrie.org>2018-04-29 20:27:42 -0700
commit9a32ef5489ee16e7bdd2ec995234a1d06c4b77de (patch)
tree3fa67981d3ed7817b2b65bde21e72fb2682c481a /ruby
parenta317e01a7371061ff825d846ad51ab3a02a78fd5 (diff)
Add SPDX-License-Identifier
Add SPDX-License-Identifier headers to all substantial source files. Also canonicalize copyright date formats and fix a few copyright notices that weren't in my standard layout.
Diffstat (limited to 'ruby')
-rw-r--r--ruby/README2
-rw-r--r--ruby/extconf.rb.in2
-rw-r--r--ruby/remctl.c4
-rw-r--r--ruby/test_remctl.rb.in2
4 files changed, 7 insertions, 3 deletions
diff --git a/ruby/README b/ruby/README
index 0360601..278e83b 100644
--- a/ruby/README
+++ b/ruby/README
@@ -263,3 +263,5 @@ LICENSE
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
diff --git a/ruby/extconf.rb.in b/ruby/extconf.rb.in
index 9661553..ec5e455 100644
--- a/ruby/extconf.rb.in
+++ b/ruby/extconf.rb.in
@@ -6,7 +6,7 @@
# Copyright 2010
# The Board of Trustees of the Leland Stanford Junior University
#
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
# This hack is to force the extension to build against the local client
# library rather than some other library already installed on the system.
diff --git a/ruby/remctl.c b/ruby/remctl.c
index 9737621..15b5a9e 100644
--- a/ruby/remctl.c
+++ b/ruby/remctl.c
@@ -6,7 +6,7 @@
*
* Original implementation by Anthony M. Martinez <twopir@nmt.edu>
* Copyright 2018 Russ Allbery <eagle@eyrie.org>
- * Copyright 2010, 2011, 2012, 2013
+ * Copyright 2010-2013
* The Board of Trustees of the Leland Stanford Junior University
* Copyright 2010 Anthony M. Martinez <twopir@nmt.edu>
*
@@ -23,6 +23,8 @@
* THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ * There is no SPDX-License-Identifier registered for this license.
*/
#include <config.h>
diff --git a/ruby/test_remctl.rb.in b/ruby/test_remctl.rb.in
index 176e9a8..73933ea 100644
--- a/ruby/test_remctl.rb.in
+++ b/ruby/test_remctl.rb.in
@@ -4,7 +4,7 @@
# Copyright 2010, 2012, 2014
# The Board of Trustees of the Leland Stanford Junior University
#
-# See LICENSE for licensing terms.
+# SPDX-License-Identifier: MIT
require 'fileutils'
require 'test/unit'