aboutsummaryrefslogtreecommitdiff
path: root/libexec
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
commit8a16b7a18f5d0b031f09832fd7752fba717e2a97 (patch)
tree5827510e6ce5a4c2c06381904731bd7dfefbfde0 /libexec
parent2321c474185e657ad1bdb4ef0a323cb10ba09cfc (diff)
downloadsrc-8a16b7a18f5d0b031f09832fd7752fba717e2a97.tar.gz
src-8a16b7a18f5d0b031f09832fd7752fba717e2a97.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.
Notes
Notes: svn path=/head/; revision=326025
Diffstat (limited to 'libexec')
-rw-r--r--libexec/bootpd/rtmsg.c4
-rw-r--r--libexec/comsat/comsat.c4
-rw-r--r--libexec/fingerd/fingerd.c4
-rw-r--r--libexec/fingerd/pathnames.h4
-rw-r--r--libexec/ftpd/extern.h2
-rw-r--r--libexec/ftpd/ftpcmd.y4
-rw-r--r--libexec/ftpd/ftpd.c4
-rw-r--r--libexec/ftpd/logwtmp.c4
-rw-r--r--libexec/ftpd/pathnames.h4
-rw-r--r--libexec/ftpd/popen.c4
-rw-r--r--libexec/getty/extern.h4
-rw-r--r--libexec/getty/gettytab.h4
-rw-r--r--libexec/getty/init.c4
-rw-r--r--libexec/getty/main.c2
-rw-r--r--libexec/getty/pathnames.h4
-rw-r--r--libexec/getty/subr.c4
-rw-r--r--libexec/mknetid/parse_group.c4
-rw-r--r--libexec/rbootd/bpf.c4
-rw-r--r--libexec/rbootd/conf.c4
-rw-r--r--libexec/rbootd/defs.h4
-rw-r--r--libexec/rbootd/parseconf.c4
-rw-r--r--libexec/rbootd/pathnames.h4
-rw-r--r--libexec/rbootd/rbootd.c4
-rw-r--r--libexec/rbootd/rmp.h4
-rw-r--r--libexec/rbootd/rmp_var.h4
-rw-r--r--libexec/rbootd/rmpproto.c4
-rw-r--r--libexec/rbootd/utils.c4
-rw-r--r--libexec/revnetgroup/parse_netgroup.c4
-rw-r--r--libexec/rpc.rstatd/rstatd.c2
-rw-r--r--libexec/rpc.rusersd/extern.h2
-rw-r--r--libexec/rpc.rusersd/rusers_proc.c2
-rw-r--r--libexec/rpc.rusersd/rusersd.c2
-rw-r--r--libexec/rtld-elf/malloc.c2
-rw-r--r--libexec/rtld-elf/rtld_printf.c2
-rw-r--r--libexec/talkd/announce.c4
-rw-r--r--libexec/talkd/print.c4
-rw-r--r--libexec/talkd/process.c4
-rw-r--r--libexec/talkd/table.c4
-rw-r--r--libexec/talkd/talkd.c2
-rw-r--r--libexec/tftpd/tftpd.c4
40 files changed, 111 insertions, 31 deletions
diff --git a/libexec/bootpd/rtmsg.c b/libexec/bootpd/rtmsg.c
index a3dbb8e06805..a689a5ac139f 100644
--- a/libexec/bootpd/rtmsg.c
+++ b/libexec/bootpd/rtmsg.c
@@ -1,4 +1,6 @@
-/*
+/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1984, 1993
* The Regents of the University of California. All rights reserved.
* Copyright (c) 1994
diff --git a/libexec/comsat/comsat.c b/libexec/comsat/comsat.c
index 4420f00f7a12..c9d490d2cf6e 100644
--- a/libexec/comsat/comsat.c
+++ b/libexec/comsat/comsat.c
@@ -1,4 +1,6 @@
-/*
+/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1980, 1993
* The Regents of the University of California. All rights reserved.
*
diff --git a/libexec/fingerd/fingerd.c b/libexec/fingerd/fingerd.c
index 485afe5b06b7..ff8d5046a577 100644
--- a/libexec/fingerd/fingerd.c
+++ b/libexec/fingerd/fingerd.c
@@ -1,4 +1,6 @@
-/*
+/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1983, 1993
* The Regents of the University of California. All rights reserved.
*
diff --git a/libexec/fingerd/pathnames.h b/libexec/fingerd/pathnames.h
index 0a9154112eca..5f70e892e5b8 100644
--- a/libexec/fingerd/pathnames.h
+++ b/libexec/fingerd/pathnames.h
@@ -1,4 +1,6 @@
-/*
+/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1989, 1993
* The Regents of the University of California. All rights reserved.
*
diff --git a/libexec/ftpd/extern.h b/libexec/ftpd/extern.h
index 9d56cb235b4c..80d24b46d2e4 100644
--- a/libexec/ftpd/extern.h
+++ b/libexec/ftpd/extern.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
*
diff --git a/libexec/ftpd/ftpcmd.y b/libexec/ftpd/ftpcmd.y
index 8d4e3bdeae2f..43718a44191f 100644
--- a/libexec/ftpd/ftpcmd.y
+++ b/libexec/ftpd/ftpcmd.y
@@ -1,4 +1,6 @@
-/*
+/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1985, 1988, 1993, 1994
* The Regents of the University of California. All rights reserved.
*
diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c
index 1e9c794eefcd..e41ffd253b0b 100644
--- a/libexec/ftpd/ftpd.c
+++ b/libexec/ftpd/ftpd.c
@@ -1,4 +1,6 @@
-/*
+/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1985, 1988, 1990, 1992, 1993, 1994
* The Regents of the University of California. All rights reserved.
*
diff --git a/libexec/ftpd/logwtmp.c b/libexec/ftpd/logwtmp.c
index 9beade307044..0ae48dd4cd7b 100644
--- a/libexec/ftpd/logwtmp.c
+++ b/libexec/ftpd/logwtmp.c
@@ -1,4 +1,6 @@
-/*
+/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1988, 1993
* The Regents of the University of California. All rights reserved.
*
diff --git a/libexec/ftpd/pathnames.h b/libexec/ftpd/pathnames.h
index 208303498654..47dc25a5dfe7 100644
--- a/libexec/ftpd/pathnames.h
+++ b/libexec/ftpd/pathnames.h
@@ -1,4 +1,6 @@
-/*
+/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1989, 1993
* The Regents of the University of California. All rights reserved.
*
diff --git a/libexec/ftpd/popen.c b/libexec/ftpd/popen.c
index 2dad033f0419..082b2270a953 100644
--- a/libexec/ftpd/popen.c
+++ b/libexec/ftpd/popen.c
@@ -1,4 +1,6 @@
-/*
+/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1988, 1993, 1994
* The Regents of the University of California. All rights reserved.
*
diff --git a/libexec/getty/extern.h b/libexec/getty/extern.h
index c7b73a87236e..9ee77f06eeda 100644
--- a/libexec/getty/extern.h
+++ b/libexec/getty/extern.h
@@ -1,4 +1,6 @@
-/*
+/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1993
* The Regents of the University of California. All rights reserved.
*
diff --git a/libexec/getty/gettytab.h b/libexec/getty/gettytab.h
index 83b17f013740..2d3972e3bc10 100644
--- a/libexec/getty/gettytab.h
+++ b/libexec/getty/gettytab.h
@@ -1,4 +1,6 @@
-/*
+/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1983, 1993, 1994
* The Regents of the University of California. All rights reserved.
*
diff --git a/libexec/getty/init.c b/libexec/getty/init.c
index a7077a332665..cac81fb072dd 100644
--- a/libexec/getty/init.c
+++ b/libexec/getty/init.c
@@ -1,4 +1,6 @@
-/*
+/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1983, 1993
* The Regents of the University of California. All rights reserved.
*
diff --git a/libexec/getty/main.c b/libexec/getty/main.c
index 9b2c964873bf..61e13ba2cad6 100644
--- a/libexec/getty/main.c
+++ b/libexec/getty/main.c
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1980, 1993
* The Regents of the University of California. All rights reserved.
*
diff --git a/libexec/getty/pathnames.h b/libexec/getty/pathnames.h
index df59a2ca85cf..749875a6d183 100644
--- a/libexec/getty/pathnames.h
+++ b/libexec/getty/pathnames.h
@@ -1,4 +1,6 @@
-/*
+/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1989, 1993
* The Regents of the University of California. All rights reserved.
*
diff --git a/libexec/getty/subr.c b/libexec/getty/subr.c
index 2496b4c40b2f..3d8a658c17b3 100644
--- a/libexec/getty/subr.c
+++ b/libexec/getty/subr.c
@@ -1,4 +1,6 @@
-/*
+/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1983, 1993
* The Regents of the University of California. All rights reserved.
*
diff --git a/libexec/mknetid/parse_group.c b/libexec/mknetid/parse_group.c
index 6244a8c6847e..e876bd9f2ff0 100644
--- a/libexec/mknetid/parse_group.c
+++ b/libexec/mknetid/parse_group.c
@@ -1,4 +1,6 @@
-/*
+/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1989, 1993
* The Regents of the University of California. All rights reserved.
*
diff --git a/libexec/rbootd/bpf.c b/libexec/rbootd/bpf.c
index bfe20adc426e..0edcc06ccf7e 100644
--- a/libexec/rbootd/bpf.c
+++ b/libexec/rbootd/bpf.c
@@ -1,4 +1,6 @@
-/*
+/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1988, 1992 The University of Utah and the Center
* for Software Science (CSS).
* Copyright (c) 1992, 1993
diff --git a/libexec/rbootd/conf.c b/libexec/rbootd/conf.c
index 32b878274548..af46f53c3c88 100644
--- a/libexec/rbootd/conf.c
+++ b/libexec/rbootd/conf.c
@@ -1,4 +1,6 @@
-/*
+/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1988, 1992 The University of Utah and the Center
* for Software Science (CSS).
* Copyright (c) 1992, 1993
diff --git a/libexec/rbootd/defs.h b/libexec/rbootd/defs.h
index ebf82439cf76..4c082cbbfc78 100644
--- a/libexec/rbootd/defs.h
+++ b/libexec/rbootd/defs.h
@@ -1,4 +1,6 @@
-/*
+/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1988, 1992 The University of Utah and the Center
* for Software Science (CSS).
* Copyright (c) 1992, 1993
diff --git a/libexec/rbootd/parseconf.c b/libexec/rbootd/parseconf.c
index 58b9ac5d6a4b..9585e87185c6 100644
--- a/libexec/rbootd/parseconf.c
+++ b/libexec/rbootd/parseconf.c
@@ -1,4 +1,6 @@
-/*
+/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1988, 1992 The University of Utah and the Center
* for Software Science (CSS).
* Copyright (c) 1992, 1993
diff --git a/libexec/rbootd/pathnames.h b/libexec/rbootd/pathnames.h
index 54f8c67bf3a3..49412a9eb0f4 100644
--- a/libexec/rbootd/pathnames.h
+++ b/libexec/rbootd/pathnames.h
@@ -1,4 +1,6 @@
-/*
+/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1988, 1992 The University of Utah and the Center
* for Software Science (CSS).
* Copyright (c) 1992, 1993
diff --git a/libexec/rbootd/rbootd.c b/libexec/rbootd/rbootd.c
index de142f17fbec..3bc02ec9cb80 100644
--- a/libexec/rbootd/rbootd.c
+++ b/libexec/rbootd/rbootd.c
@@ -1,4 +1,6 @@
-/*
+/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1988, 1992 The University of Utah and the Center
* for Software Science (CSS).
* Copyright (c) 1992, 1993
diff --git a/libexec/rbootd/rmp.h b/libexec/rbootd/rmp.h
index 09b67eedce01..0e8d17532ec0 100644
--- a/libexec/rbootd/rmp.h
+++ b/libexec/rbootd/rmp.h
@@ -1,4 +1,6 @@
-/*
+/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1988, 1992 The University of Utah and the Center
* for Software Science (CSS).
* Copyright (c) 1992, 1993
diff --git a/libexec/rbootd/rmp_var.h b/libexec/rbootd/rmp_var.h
index fdaacf7c7c51..8c5201295ccc 100644
--- a/libexec/rbootd/rmp_var.h
+++ b/libexec/rbootd/rmp_var.h
@@ -1,4 +1,6 @@
-/*
+/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1988, 1992 The University of Utah and the Center
* for Software Science (CSS).
* Copyright (c) 1992, 1993
diff --git a/libexec/rbootd/rmpproto.c b/libexec/rbootd/rmpproto.c
index aa4be5647222..26f4a069581e 100644
--- a/libexec/rbootd/rmpproto.c
+++ b/libexec/rbootd/rmpproto.c
@@ -1,4 +1,6 @@
-/*
+/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1988, 1992 The University of Utah and the Center
* for Software Science (CSS).
* Copyright (c) 1992, 1993
diff --git a/libexec/rbootd/utils.c b/libexec/rbootd/utils.c
index 81ef584813bc..f5c2d62d30d7 100644
--- a/libexec/rbootd/utils.c
+++ b/libexec/rbootd/utils.c
@@ -1,4 +1,6 @@
-/*
+/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1988, 1992 The University of Utah and the Center
* for Software Science (CSS).
* Copyright (c) 1992, 1993
diff --git a/libexec/revnetgroup/parse_netgroup.c b/libexec/revnetgroup/parse_netgroup.c
index b89148143894..a1e954164ea9 100644
--- a/libexec/revnetgroup/parse_netgroup.c
+++ b/libexec/revnetgroup/parse_netgroup.c
@@ -1,4 +1,6 @@
-/*
+/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
*
diff --git a/libexec/rpc.rstatd/rstatd.c b/libexec/rpc.rstatd/rstatd.c
index bb74eb806024..6a6b09b9ae0c 100644
--- a/libexec/rpc.rstatd/rstatd.c
+++ b/libexec/rpc.rstatd/rstatd.c
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1993, John Brezak
* All rights reserved.
*
diff --git a/libexec/rpc.rusersd/extern.h b/libexec/rpc.rusersd/extern.h
index ac91526318ed..8c2fef55755f 100644
--- a/libexec/rpc.rusersd/extern.h
+++ b/libexec/rpc.rusersd/extern.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1993, John Brezak
* All rights reserved.
*
diff --git a/libexec/rpc.rusersd/rusers_proc.c b/libexec/rpc.rusersd/rusers_proc.c
index 51e9a4dc0faf..bfb65dadb004 100644
--- a/libexec/rpc.rusersd/rusers_proc.c
+++ b/libexec/rpc.rusersd/rusers_proc.c
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1993, John Brezak
* All rights reserved.
*
diff --git a/libexec/rpc.rusersd/rusersd.c b/libexec/rpc.rusersd/rusersd.c
index 2a1e7bdadb31..e1e77398c8ff 100644
--- a/libexec/rpc.rusersd/rusersd.c
+++ b/libexec/rpc.rusersd/rusersd.c
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1993, John Brezak
* All rights reserved.
*
diff --git a/libexec/rtld-elf/malloc.c b/libexec/rtld-elf/malloc.c
index d7934d143174..cfd541eabc9d 100644
--- a/libexec/rtld-elf/malloc.c
+++ b/libexec/rtld-elf/malloc.c
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1983 Regents of the University of California.
* All rights reserved.
*
diff --git a/libexec/rtld-elf/rtld_printf.c b/libexec/rtld-elf/rtld_printf.c
index c899d4722b9f..5fa20af71e84 100644
--- a/libexec/rtld-elf/rtld_printf.c
+++ b/libexec/rtld-elf/rtld_printf.c
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1986, 1988, 1991, 1993
* The Regents of the University of California. All rights reserved.
* (c) UNIX System Laboratories, Inc.
diff --git a/libexec/talkd/announce.c b/libexec/talkd/announce.c
index 00c01ac6d735..9cf326669998 100644
--- a/libexec/talkd/announce.c
+++ b/libexec/talkd/announce.c
@@ -1,4 +1,6 @@
-/*
+/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1983, 1993
* The Regents of the University of California. All rights reserved.
*
diff --git a/libexec/talkd/print.c b/libexec/talkd/print.c
index 9a749618ff70..4d10329dd7f8 100644
--- a/libexec/talkd/print.c
+++ b/libexec/talkd/print.c
@@ -1,4 +1,6 @@
-/*
+/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1983, 1993
* The Regents of the University of California. All rights reserved.
*
diff --git a/libexec/talkd/process.c b/libexec/talkd/process.c
index 742043f8ceb0..2bd22a1becb2 100644
--- a/libexec/talkd/process.c
+++ b/libexec/talkd/process.c
@@ -1,4 +1,6 @@
-/*
+/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1983, 1993
* The Regents of the University of California. All rights reserved.
*
diff --git a/libexec/talkd/table.c b/libexec/talkd/table.c
index 30200c45e997..ed1560f86ff8 100644
--- a/libexec/talkd/table.c
+++ b/libexec/talkd/table.c
@@ -1,4 +1,6 @@
-/*
+/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1983, 1993
* The Regents of the University of California. All rights reserved.
*
diff --git a/libexec/talkd/talkd.c b/libexec/talkd/talkd.c
index a444fe7c9ed3..984afbce905a 100644
--- a/libexec/talkd/talkd.c
+++ b/libexec/talkd/talkd.c
@@ -1,4 +1,6 @@
/*
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1983, 1993
* The Regents of the University of California. All rights reserved.
*
diff --git a/libexec/tftpd/tftpd.c b/libexec/tftpd/tftpd.c
index 26d81051ab5a..e8ae35506ae3 100644
--- a/libexec/tftpd/tftpd.c
+++ b/libexec/tftpd/tftpd.c
@@ -1,4 +1,6 @@
-/*
+/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1983, 1993
* The Regents of the University of California. All rights reserved.
*