summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPedro F. Giffuni <pfg@FreeBSD.org>2017-11-20 19:49:47 +0000
committerPedro F. Giffuni <pfg@FreeBSD.org>2017-11-20 19:49:47 +0000
commit1da01bc2c9c5e29456c09c08cdd92a391612fcdd (patch)
tree642f09cb040449db3d44028f94c01ec7ff875533
parentbe827baf14808651beda18feb48e4bb9ddfe6491 (diff)
downloadpw-darwin-1da01bc2c9c5e29456c09c08cdd92a391612fcdd.tar.gz
pw-darwin-1da01bc2c9c5e29456c09c08cdd92a391612fcdd.tar.zst
pw-darwin-1da01bc2c9c5e29456c09c08cdd92a391612fcdd.zip
General further adoption of SPDX licensing ID tags.
Mainly focus on files that use BSD 3-Clause license. 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. Special thanks to Wind River for providing access to "The Duke of Highlander" tool: an older (2014) run over FreeBSD tree was useful as a starting point.
-rw-r--r--chpass/table.c2
-rw-r--r--libc/gen/pw_scan.c2
-rw-r--r--libc/gen/pw_scan.h2
-rw-r--r--libutil/pw_util.c4
4 files changed, 9 insertions, 1 deletions
diff --git a/chpass/table.c b/chpass/table.c
index 572b7d0..bebb27c 100644
--- a/chpass/table.c
+++ b/chpass/table.c
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1990, 1993, 1994
* The Regents of the University of California. All rights reserved.
*
diff --git a/libc/gen/pw_scan.c b/libc/gen/pw_scan.c
index 64293a5..8267931 100644
--- a/libc/gen/pw_scan.c
+++ b/libc/gen/pw_scan.c
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1990, 1993, 1994
* The Regents of the University of California. All rights reserved.
*
diff --git a/libc/gen/pw_scan.h b/libc/gen/pw_scan.h
index 488dc41..44ff818 100644
--- a/libc/gen/pw_scan.h
+++ b/libc/gen/pw_scan.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1994
* The Regents of the University of California. All rights reserved.
*
diff --git a/libutil/pw_util.c b/libutil/pw_util.c
index 85b8d04..d28741c 100644
--- a/libutil/pw_util.c
+++ b/libutil/pw_util.c
@@ -1,4 +1,6 @@
-/*-
+/*--
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1990, 1993, 1994
* The Regents of the University of California. All rights reserved.
* Copyright (c) 2002 Networks Associates Technology, Inc.