aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/sa
diff options
context:
space:
mode:
authorPedro F. Giffuni <pfg@FreeBSD.org>2017-11-27 15:37:16 +0000
committerPedro F. Giffuni <pfg@FreeBSD.org>2017-11-27 15:37:16 +0000
commit1de7b4b805ddbf2429da511c053686ac4591ed89 (patch)
treef8124ad7243ccb1b4e727aa06c7f7c643addfc17 /usr.sbin/sa
parentf0cfa1b168014f56c02b83e5f28412cc5f78d117 (diff)
downloadsrc-1de7b4b805ddbf2429da511c053686ac4591ed89.tar.gz
src-1de7b4b805ddbf2429da511c053686ac4591ed89.zip
various: general adoption of SPDX licensing ID tags.
Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. No functional change intended.
Notes
Notes: svn path=/head/; revision=326276
Diffstat (limited to 'usr.sbin/sa')
-rw-r--r--usr.sbin/sa/db.c2
-rw-r--r--usr.sbin/sa/extern.h4
-rw-r--r--usr.sbin/sa/main.c4
-rw-r--r--usr.sbin/sa/pathnames.h4
-rw-r--r--usr.sbin/sa/pdb.c4
-rw-r--r--usr.sbin/sa/usrdb.c4
6 files changed, 17 insertions, 5 deletions
diff --git a/usr.sbin/sa/db.c b/usr.sbin/sa/db.c
index 6634e542fd8e..b0c9656d980a 100644
--- a/usr.sbin/sa/db.c
+++ b/usr.sbin/sa/db.c
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2007 Diomidis Spinellis
* All rights reserved.
*
diff --git a/usr.sbin/sa/extern.h b/usr.sbin/sa/extern.h
index 62acf71e263a..17c77e1b2371 100644
--- a/usr.sbin/sa/extern.h
+++ b/usr.sbin/sa/extern.h
@@ -1,4 +1,6 @@
-/*
+/*-
+ * SPDX-License-Identifier: BSD-4-Clause
+ *
* Copyright (c) 1994 Christopher G. Demetriou
* All rights reserved.
*
diff --git a/usr.sbin/sa/main.c b/usr.sbin/sa/main.c
index d8ad5f5a912d..b6c9708de74f 100644
--- a/usr.sbin/sa/main.c
+++ b/usr.sbin/sa/main.c
@@ -1,4 +1,6 @@
-/*
+/*-
+ * SPDX-License-Identifier: BSD-4-Clause
+ *
* Copyright (c) 1994 Christopher G. Demetriou
* All rights reserved.
*
diff --git a/usr.sbin/sa/pathnames.h b/usr.sbin/sa/pathnames.h
index 7a7edf68caf6..7352818addad 100644
--- a/usr.sbin/sa/pathnames.h
+++ b/usr.sbin/sa/pathnames.h
@@ -1,4 +1,6 @@
-/*
+/*-
+ * SPDX-License-Identifier: BSD-4-Clause
+ *
* Copyright (c) 1994 Christopher G. Demetriou
* All rights reserved.
*
diff --git a/usr.sbin/sa/pdb.c b/usr.sbin/sa/pdb.c
index e5e35f5db834..eb3f4a40c983 100644
--- a/usr.sbin/sa/pdb.c
+++ b/usr.sbin/sa/pdb.c
@@ -1,4 +1,6 @@
-/*
+/*-
+ * SPDX-License-Identifier: BSD-4-Clause
+ *
* Copyright (c) 1994 Christopher G. Demetriou
* All rights reserved.
*
diff --git a/usr.sbin/sa/usrdb.c b/usr.sbin/sa/usrdb.c
index 50778ef50470..50a33e1a91ae 100644
--- a/usr.sbin/sa/usrdb.c
+++ b/usr.sbin/sa/usrdb.c
@@ -1,4 +1,6 @@
-/*
+/*-
+ * SPDX-License-Identifier: BSD-4-Clause
+ *
* Copyright (c) 1994 Christopher G. Demetriou
* All rights reserved.
*