aboutsummaryrefslogtreecommitdiff
path: root/sys/tools
diff options
context:
space:
mode:
authorPedro F. Giffuni <pfg@FreeBSD.org>2017-11-27 15:23:17 +0000
committerPedro F. Giffuni <pfg@FreeBSD.org>2017-11-27 15:23:17 +0000
commitfe267a559009cbf34f9341666fe4d88a92c02d5e (patch)
treedc026fba8ab0571f5b3e641e6fa01b7462a97dbc /sys/tools
parent8a36da99deb0e19363ec04e4d3facd869c1028f5 (diff)
downloadsrc-fe267a559009cbf34f9341666fe4d88a92c02d5e.tar.gz
src-fe267a559009cbf34f9341666fe4d88a92c02d5e.zip
sys: 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=326272
Diffstat (limited to 'sys/tools')
-rw-r--r--sys/tools/acpi_quirks2h.awk2
-rw-r--r--sys/tools/bus_macro.sh2
-rw-r--r--sys/tools/embed_mfs.sh2
-rwxr-xr-xsys/tools/fdt/embed_dtb.sh2
-rw-r--r--sys/tools/fw_stub.awk2
-rw-r--r--sys/tools/miidevs2h.awk2
-rw-r--r--sys/tools/pccarddevs2h.awk2
-rw-r--r--sys/tools/sound/feeder_eq_mkfilter.awk2
-rw-r--r--sys/tools/sound/feeder_rate_mkfilter.awk2
-rw-r--r--sys/tools/sound/snd_fxdiv_gen.awk2
-rw-r--r--sys/tools/usbdevs2h.awk2
11 files changed, 22 insertions, 0 deletions
diff --git a/sys/tools/acpi_quirks2h.awk b/sys/tools/acpi_quirks2h.awk
index 3b4a0aea594b..51b21cc2bbe2 100644
--- a/sys/tools/acpi_quirks2h.awk
+++ b/sys/tools/acpi_quirks2h.awk
@@ -3,6 +3,8 @@
# $FreeBSD$
#-
+# SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+#
# Copyright (c) 2004 Mark Santcroos <marks@ripe.net>
# All rights reserved.
#
diff --git a/sys/tools/bus_macro.sh b/sys/tools/bus_macro.sh
index 95b06e529a72..1d5aeba623fd 100644
--- a/sys/tools/bus_macro.sh
+++ b/sys/tools/bus_macro.sh
@@ -1,5 +1,7 @@
#!/bin/sh
#
+# SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+#
# Copyright (c) 2004-2005 Poul-Henning Kamp.
# All rights reserved.
#
diff --git a/sys/tools/embed_mfs.sh b/sys/tools/embed_mfs.sh
index 780ad891ae06..fc6bacb470d1 100644
--- a/sys/tools/embed_mfs.sh
+++ b/sys/tools/embed_mfs.sh
@@ -1,5 +1,7 @@
#!/bin/sh
#
+# SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+#
# Copyright (C) 2008 The FreeBSD Project. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
diff --git a/sys/tools/fdt/embed_dtb.sh b/sys/tools/fdt/embed_dtb.sh
index 7869a2088a15..d5c9c00a9e8a 100755
--- a/sys/tools/fdt/embed_dtb.sh
+++ b/sys/tools/fdt/embed_dtb.sh
@@ -1,5 +1,7 @@
#!/bin/sh
#
+# SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+#
# Copyright (c) 2010 The FreeBSD Foundation
# All rights reserved.
#
diff --git a/sys/tools/fw_stub.awk b/sys/tools/fw_stub.awk
index 4a82c0b2441b..1c4827ec228e 100644
--- a/sys/tools/fw_stub.awk
+++ b/sys/tools/fw_stub.awk
@@ -1,6 +1,8 @@
#!/usr/bin/awk -f
#-
+# SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+#
# Copyright (c) 2006 Max Laier.
# All rights reserved.
#
diff --git a/sys/tools/miidevs2h.awk b/sys/tools/miidevs2h.awk
index b3b31e0a5099..6c58464e649d 100644
--- a/sys/tools/miidevs2h.awk
+++ b/sys/tools/miidevs2h.awk
@@ -2,6 +2,8 @@
# $NetBSD: devlist2h.awk,v 1.2 1998/09/05 14:42:06 christos Exp $
#-
+# SPDX-License-Identifier: BSD-2-Clause-NetBSD AND BSD-4-Clause
+#
# Copyright (c) 1998 The NetBSD Foundation, Inc.
# All rights reserved.
#
diff --git a/sys/tools/pccarddevs2h.awk b/sys/tools/pccarddevs2h.awk
index 63972a0aa09a..3e09fe45a5e6 100644
--- a/sys/tools/pccarddevs2h.awk
+++ b/sys/tools/pccarddevs2h.awk
@@ -3,6 +3,8 @@
# $FreeBSD$
#-
+# SPDX-License-Identifier: BSD-2-Clause-NetBSD AND BSD-4-Clause
+#
# Copyright (c) 1998 The NetBSD Foundation, Inc.
# All rights reserved.
#
diff --git a/sys/tools/sound/feeder_eq_mkfilter.awk b/sys/tools/sound/feeder_eq_mkfilter.awk
index 5c2efb6253ad..f956ffe1d082 100644
--- a/sys/tools/sound/feeder_eq_mkfilter.awk
+++ b/sys/tools/sound/feeder_eq_mkfilter.awk
@@ -1,5 +1,7 @@
#!/usr/bin/awk -f
#
+# SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+#
# Copyright (c) 2008-2009 Ariff Abdullah <ariff@FreeBSD.org>
# All rights reserved.
#
diff --git a/sys/tools/sound/feeder_rate_mkfilter.awk b/sys/tools/sound/feeder_rate_mkfilter.awk
index 22fdff02445e..264bec4d47f2 100644
--- a/sys/tools/sound/feeder_rate_mkfilter.awk
+++ b/sys/tools/sound/feeder_rate_mkfilter.awk
@@ -1,5 +1,7 @@
#!/usr/bin/awk -f
#
+# SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+#
# Copyright (c) 2007-2009 Ariff Abdullah <ariff@FreeBSD.org>
# All rights reserved.
#
diff --git a/sys/tools/sound/snd_fxdiv_gen.awk b/sys/tools/sound/snd_fxdiv_gen.awk
index 6e869d071b27..9939e562ff32 100644
--- a/sys/tools/sound/snd_fxdiv_gen.awk
+++ b/sys/tools/sound/snd_fxdiv_gen.awk
@@ -1,5 +1,7 @@
#!/usr/bin/awk -f
#
+# SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+#
# Copyright (c) 2008-2009 Ariff Abdullah <ariff@FreeBSD.org>
# All rights reserved.
#
diff --git a/sys/tools/usbdevs2h.awk b/sys/tools/usbdevs2h.awk
index e6db3bdef979..8d641d0677b2 100644
--- a/sys/tools/usbdevs2h.awk
+++ b/sys/tools/usbdevs2h.awk
@@ -3,6 +3,8 @@
# $NetBSD: usb/devlist2h.awk,v 1.9 2001/01/18 20:28:22 jdolecek Exp $
# $FreeBSD$
#
+# SPDX-License-Identifier: BSD-4-Clause
+#
# Copyright (c) 1995, 1996 Christopher G. Demetriou
# All rights reserved.
#