From f0cfa1b168014f56c02b83e5f28412cc5f78d117 Mon Sep 17 00:00:00 2001 From: "Pedro F. Giffuni" Date: Mon, 27 Nov 2017 15:28:26 +0000 Subject: [PATCH] share and pc-sysinstall: 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. Commit these apart because compile testing doesn't guarantee I didn't made some nasty mistake. No functional change intended. --- share/examples/bhyve/vmrun.sh | 2 ++ share/examples/hast/ucarp.sh | 2 ++ share/examples/hast/ucarp_down.sh | 2 ++ share/examples/hast/ucarp_up.sh | 2 ++ share/examples/ipfw/change_rules.sh | 2 ++ share/examples/kld/cdev/module/cdev.c | 4 +++- share/examples/kld/cdev/module/cdev.h | 4 +++- share/examples/kld/cdev/module/cdevmod.c | 4 +++- share/examples/kld/cdev/test/testcdev.c | 4 +++- share/examples/kld/dyn_sysctl/dyn_sysctl.c | 2 ++ share/examples/kld/firmware/fwconsumer/fw_consumer.c | 2 ++ share/examples/kld/khelp/h_example.c | 2 ++ share/examples/kld/random_adaptor/random_adaptor_example.c | 2 ++ share/examples/kld/syscall/module/syscall.c | 2 ++ share/examples/kld/syscall/test/call.c | 2 ++ share/examples/libvgl/demo.c | 2 ++ share/examples/scsi_target/scsi_cmds.c | 4 +++- share/examples/scsi_target/scsi_target.c | 4 +++- share/examples/scsi_target/scsi_target.h | 4 +++- share/mk/version_gen.awk | 2 ++ share/syscons/scrnmaps/mkscrfil.c | 4 +++- usr.sbin/pc-sysinstall/backend-partmanager/create-part.sh | 2 ++ usr.sbin/pc-sysinstall/backend-partmanager/delete-part.sh | 2 ++ usr.sbin/pc-sysinstall/backend-query/detect-emulation.sh | 2 ++ usr.sbin/pc-sysinstall/backend-query/detect-laptop.sh | 2 ++ usr.sbin/pc-sysinstall/backend-query/detect-nics.sh | 2 ++ usr.sbin/pc-sysinstall/backend-query/disk-info.sh | 2 ++ usr.sbin/pc-sysinstall/backend-query/disk-list.sh | 2 ++ usr.sbin/pc-sysinstall/backend-query/disk-part.sh | 2 ++ usr.sbin/pc-sysinstall/backend-query/enable-net.sh | 2 ++ usr.sbin/pc-sysinstall/backend-query/get-packages.sh | 2 ++ usr.sbin/pc-sysinstall/backend-query/list-components.sh | 2 ++ usr.sbin/pc-sysinstall/backend-query/list-config.sh | 2 ++ usr.sbin/pc-sysinstall/backend-query/list-mirrors.sh | 2 ++ usr.sbin/pc-sysinstall/backend-query/list-packages.sh | 2 ++ usr.sbin/pc-sysinstall/backend-query/list-rsync-backups.sh | 2 ++ usr.sbin/pc-sysinstall/backend-query/list-tzones.sh | 2 ++ usr.sbin/pc-sysinstall/backend-query/query-langs.sh | 2 ++ usr.sbin/pc-sysinstall/backend-query/send-logs.sh | 2 ++ usr.sbin/pc-sysinstall/backend-query/set-mirror.sh | 2 ++ usr.sbin/pc-sysinstall/backend-query/setup-ssh-keys.sh | 2 ++ usr.sbin/pc-sysinstall/backend-query/sys-mem.sh | 2 ++ usr.sbin/pc-sysinstall/backend-query/test-live.sh | 2 ++ usr.sbin/pc-sysinstall/backend-query/test-netup.sh | 2 ++ usr.sbin/pc-sysinstall/backend-query/update-part-list.sh | 2 ++ usr.sbin/pc-sysinstall/backend-query/xkeyboard-layouts.sh | 2 ++ usr.sbin/pc-sysinstall/backend-query/xkeyboard-models.sh | 2 ++ usr.sbin/pc-sysinstall/backend-query/xkeyboard-variants.sh | 2 ++ usr.sbin/pc-sysinstall/backend/functions-bsdlabel.sh | 2 ++ usr.sbin/pc-sysinstall/backend/functions-cleanup.sh | 2 ++ usr.sbin/pc-sysinstall/backend/functions-disk.sh | 2 ++ usr.sbin/pc-sysinstall/backend/functions-extractimage.sh | 2 ++ usr.sbin/pc-sysinstall/backend/functions-ftp.sh | 2 ++ usr.sbin/pc-sysinstall/backend/functions-installcomponents.sh | 2 ++ usr.sbin/pc-sysinstall/backend/functions-installpackages.sh | 2 ++ usr.sbin/pc-sysinstall/backend/functions-localize.sh | 2 ++ usr.sbin/pc-sysinstall/backend/functions-mountdisk.sh | 2 ++ usr.sbin/pc-sysinstall/backend/functions-mountoptical.sh | 2 ++ usr.sbin/pc-sysinstall/backend/functions-networking.sh | 2 ++ usr.sbin/pc-sysinstall/backend/functions-newfs.sh | 2 ++ usr.sbin/pc-sysinstall/backend/functions-packages.sh | 2 ++ usr.sbin/pc-sysinstall/backend/functions-parse.sh | 2 ++ usr.sbin/pc-sysinstall/backend/functions-runcommands.sh | 2 ++ usr.sbin/pc-sysinstall/backend/functions-unmount.sh | 2 ++ usr.sbin/pc-sysinstall/backend/functions-upgrade.sh | 2 ++ usr.sbin/pc-sysinstall/backend/functions-users.sh | 2 ++ usr.sbin/pc-sysinstall/backend/functions.sh | 2 ++ usr.sbin/pc-sysinstall/backend/installimage.sh | 2 ++ usr.sbin/pc-sysinstall/backend/parseconfig.sh | 2 ++ usr.sbin/pc-sysinstall/backend/startautoinstall.sh | 2 ++ usr.sbin/pc-sysinstall/pc-sysinstall/pc-sysinstall.sh | 2 ++ 71 files changed, 150 insertions(+), 8 deletions(-) diff --git a/share/examples/bhyve/vmrun.sh b/share/examples/bhyve/vmrun.sh index 7deb4b361ff..d1176f217c9 100755 --- a/share/examples/bhyve/vmrun.sh +++ b/share/examples/bhyve/vmrun.sh @@ -1,5 +1,7 @@ #!/bin/sh # +# SPDX-License-Identifier: BSD-2-Clause-FreeBSD +# # Copyright (c) 2013 NetApp, Inc. # All rights reserved. # diff --git a/share/examples/hast/ucarp.sh b/share/examples/hast/ucarp.sh index 6a02c89fe97..988c6b73c2c 100755 --- a/share/examples/hast/ucarp.sh +++ b/share/examples/hast/ucarp.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/share/examples/hast/ucarp_down.sh b/share/examples/hast/ucarp_down.sh index a5b34281e3b..f18df05d4d6 100755 --- a/share/examples/hast/ucarp_down.sh +++ b/share/examples/hast/ucarp_down.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/share/examples/hast/ucarp_up.sh b/share/examples/hast/ucarp_up.sh index 9e56040bebd..e8b14740562 100755 --- a/share/examples/hast/ucarp_up.sh +++ b/share/examples/hast/ucarp_up.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/share/examples/ipfw/change_rules.sh b/share/examples/ipfw/change_rules.sh index be7f7644064..6148630a373 100755 --- a/share/examples/ipfw/change_rules.sh +++ b/share/examples/ipfw/change_rules.sh @@ -1,5 +1,7 @@ #!/bin/sh # +# SPDX-License-Identifier: BSD-2-Clause-FreeBSD +# # Copyright (c) 2000 Alexandre Peixoto # All rights reserved. # diff --git a/share/examples/kld/cdev/module/cdev.c b/share/examples/kld/cdev/module/cdev.c index dda63c4fa70..3ab9ae4d422 100644 --- a/share/examples/kld/cdev/module/cdev.c +++ b/share/examples/kld/cdev/module/cdev.c @@ -1,9 +1,11 @@ /* 08 Nov 1998*/ -/* +/*- * cdev.c * * 08 Nov 1998 Rajesh Vaidheeswarran * + * SPDX-License-Identifier: BSD-4-Clause + * * Copyright (c) 1998 Rajesh Vaidheeswarran * All rights reserved. * diff --git a/share/examples/kld/cdev/module/cdev.h b/share/examples/kld/cdev/module/cdev.h index b09e53ae3db..42eaf36bdf3 100644 --- a/share/examples/kld/cdev/module/cdev.h +++ b/share/examples/kld/cdev/module/cdev.h @@ -1,10 +1,12 @@ /* 08 Nov 1998*/ -/* +/*- * cdev.h - header for sample kld module implementing a character device * driver. * * 08 Nov 1998 Rajesh Vaidheeswarran * + * SPDX-License-Identifier: BSD-4-Clause + * * Copyright (c) 1998 Rajesh Vaidheeswarran * All rights reserved. * diff --git a/share/examples/kld/cdev/module/cdevmod.c b/share/examples/kld/cdev/module/cdevmod.c index f21723f132f..3a9db3fbc92 100644 --- a/share/examples/kld/cdev/module/cdevmod.c +++ b/share/examples/kld/cdev/module/cdevmod.c @@ -1,9 +1,11 @@ /* 08 Nov 1998*/ -/* +/*- * cdevmod.c - a sample kld module implementing a character device driver. * * 08 Nov 1998 Rajesh Vaidheeswarran * + * SPDX-License-Identifier: BSD-4-Clause + * * Copyright (c) 1998 Rajesh Vaidheeswarran * All rights reserved. * diff --git a/share/examples/kld/cdev/test/testcdev.c b/share/examples/kld/cdev/test/testcdev.c index 50b5ef89fd3..7d069768cb6 100644 --- a/share/examples/kld/cdev/test/testcdev.c +++ b/share/examples/kld/cdev/test/testcdev.c @@ -1,5 +1,5 @@ /* 08 Nov 1998*/ -/* +/*- * testmisc.c * * Test program to call the sample loaded kld device driver. @@ -7,6 +7,8 @@ * 05 Jun 93 Rajesh Vaidheeswarran Original * * + * SPDX-License-Identifier: BSD-4-Clause + * * Copyright (c) 1993 Rajesh Vaidheeswarran. * All rights reserved. * diff --git a/share/examples/kld/dyn_sysctl/dyn_sysctl.c b/share/examples/kld/dyn_sysctl/dyn_sysctl.c index 684f58d48e2..0d8634f6151 100644 --- a/share/examples/kld/dyn_sysctl/dyn_sysctl.c +++ b/share/examples/kld/dyn_sysctl/dyn_sysctl.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-2-Clause-NetBSD + * * Copyright (c) 2000 Andrzej Bialecki * All rights reserved. * diff --git a/share/examples/kld/firmware/fwconsumer/fw_consumer.c b/share/examples/kld/firmware/fwconsumer/fw_consumer.c index 6a51737846e..d0b038c8339 100644 --- a/share/examples/kld/firmware/fwconsumer/fw_consumer.c +++ b/share/examples/kld/firmware/fwconsumer/fw_consumer.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-2-Clause-NetBSD + * * Copyright (c) 2006, Max Laier * All rights reserved. * diff --git a/share/examples/kld/khelp/h_example.c b/share/examples/kld/khelp/h_example.c index 9f58f06f395..6eb394a9e67 100644 --- a/share/examples/kld/khelp/h_example.c +++ b/share/examples/kld/khelp/h_example.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 2010-2011 The FreeBSD Foundation * All rights reserved. * diff --git a/share/examples/kld/random_adaptor/random_adaptor_example.c b/share/examples/kld/random_adaptor/random_adaptor_example.c index 34993c17b9d..72017bef2c4 100644 --- a/share/examples/kld/random_adaptor/random_adaptor_example.c +++ b/share/examples/kld/random_adaptor/random_adaptor_example.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 2013 Arthur Mesh * All rights reserved. * diff --git a/share/examples/kld/syscall/module/syscall.c b/share/examples/kld/syscall/module/syscall.c index 8d4f1fade0f..701e2492884 100644 --- a/share/examples/kld/syscall/module/syscall.c +++ b/share/examples/kld/syscall/module/syscall.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 1999 Assar Westerlund * All rights reserved. * diff --git a/share/examples/kld/syscall/test/call.c b/share/examples/kld/syscall/test/call.c index 3611966e097..25e27082bf0 100644 --- a/share/examples/kld/syscall/test/call.c +++ b/share/examples/kld/syscall/test/call.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 1999 Assar Westerlund * All rights reserved. * diff --git a/share/examples/libvgl/demo.c b/share/examples/libvgl/demo.c index c2edfbc7b07..5da1c8bb2ef 100644 --- a/share/examples/libvgl/demo.c +++ b/share/examples/libvgl/demo.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 1991-1997 Søren Schmidt * All rights reserved. * diff --git a/share/examples/scsi_target/scsi_cmds.c b/share/examples/scsi_target/scsi_cmds.c index 7a95606566d..e871c374336 100644 --- a/share/examples/scsi_target/scsi_cmds.c +++ b/share/examples/scsi_target/scsi_cmds.c @@ -1,4 +1,6 @@ -/* +/*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * SCSI Disk Emulator * * Copyright (c) 2002 Nate Lawson. diff --git a/share/examples/scsi_target/scsi_target.c b/share/examples/scsi_target/scsi_target.c index 0609ce12f65..f7484fda461 100644 --- a/share/examples/scsi_target/scsi_target.c +++ b/share/examples/scsi_target/scsi_target.c @@ -1,4 +1,6 @@ -/* +/*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * SCSI Disk Emulator * * Copyright (c) 2002 Nate Lawson. diff --git a/share/examples/scsi_target/scsi_target.h b/share/examples/scsi_target/scsi_target.h index 51af49225b6..09822bed68e 100644 --- a/share/examples/scsi_target/scsi_target.h +++ b/share/examples/scsi_target/scsi_target.h @@ -1,4 +1,6 @@ -/* +/*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * SCSI Target Emulator * * Copyright (c) 2002 Nate Lawson. diff --git a/share/mk/version_gen.awk b/share/mk/version_gen.awk index 93fbc4fc912..b9747cefd56 100644 --- a/share/mk/version_gen.awk +++ b/share/mk/version_gen.awk @@ -1,4 +1,6 @@ # +# SPDX-License-Identifier: BSD-2-Clause-FreeBSD +# # Copyright (C) 2006 Daniel M. Eischen. All rights reserved. # # Redistribution and use in source and binary forms, with or without diff --git a/share/syscons/scrnmaps/mkscrfil.c b/share/syscons/scrnmaps/mkscrfil.c index c981b23bf57..82e5c078799 100644 --- a/share/syscons/scrnmaps/mkscrfil.c +++ b/share/syscons/scrnmaps/mkscrfil.c @@ -1,4 +1,6 @@ -/* +/*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (C) 1994 by Andrew A. Chernov, Moscow, Russia. * All rights reserved. * diff --git a/usr.sbin/pc-sysinstall/backend-partmanager/create-part.sh b/usr.sbin/pc-sysinstall/backend-partmanager/create-part.sh index 25430a0acc6..c3fbbbb5c73 100755 --- a/usr.sbin/pc-sysinstall/backend-partmanager/create-part.sh +++ b/usr.sbin/pc-sysinstall/backend-partmanager/create-part.sh @@ -1,5 +1,7 @@ #!/bin/sh #- +# SPDX-License-Identifier: BSD-2-Clause-FreeBSD +# # Copyright (c) 2010 iXsystems, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without diff --git a/usr.sbin/pc-sysinstall/backend-partmanager/delete-part.sh b/usr.sbin/pc-sysinstall/backend-partmanager/delete-part.sh index 1db01ff1f71..b8ad426ca0e 100755 --- a/usr.sbin/pc-sysinstall/backend-partmanager/delete-part.sh +++ b/usr.sbin/pc-sysinstall/backend-partmanager/delete-part.sh @@ -1,5 +1,7 @@ #!/bin/sh #- +# SPDX-License-Identifier: BSD-2-Clause-FreeBSD +# # Copyright (c) 2010 iXsystems, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without diff --git a/usr.sbin/pc-sysinstall/backend-query/detect-emulation.sh b/usr.sbin/pc-sysinstall/backend-query/detect-emulation.sh index 5eefd269fd2..96a23206c46 100755 --- a/usr.sbin/pc-sysinstall/backend-query/detect-emulation.sh +++ b/usr.sbin/pc-sysinstall/backend-query/detect-emulation.sh @@ -1,5 +1,7 @@ #!/bin/sh #- +# SPDX-License-Identifier: BSD-2-Clause-FreeBSD +# # Copyright (c) 2010 iXsystems, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without diff --git a/usr.sbin/pc-sysinstall/backend-query/detect-laptop.sh b/usr.sbin/pc-sysinstall/backend-query/detect-laptop.sh index d23a420c78c..147cc3b091b 100755 --- a/usr.sbin/pc-sysinstall/backend-query/detect-laptop.sh +++ b/usr.sbin/pc-sysinstall/backend-query/detect-laptop.sh @@ -1,5 +1,7 @@ #!/bin/sh #- +# SPDX-License-Identifier: BSD-2-Clause-FreeBSD +# # Copyright (c) 2010 iXsystems, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without diff --git a/usr.sbin/pc-sysinstall/backend-query/detect-nics.sh b/usr.sbin/pc-sysinstall/backend-query/detect-nics.sh index 2f7272a6e2d..74a308aaa66 100755 --- a/usr.sbin/pc-sysinstall/backend-query/detect-nics.sh +++ b/usr.sbin/pc-sysinstall/backend-query/detect-nics.sh @@ -1,5 +1,7 @@ #!/bin/sh #- +# SPDX-License-Identifier: BSD-2-Clause-FreeBSD +# # Copyright (c) 2010 iXsystems, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without diff --git a/usr.sbin/pc-sysinstall/backend-query/disk-info.sh b/usr.sbin/pc-sysinstall/backend-query/disk-info.sh index adaeaa50f2c..f1a998eec2e 100755 --- a/usr.sbin/pc-sysinstall/backend-query/disk-info.sh +++ b/usr.sbin/pc-sysinstall/backend-query/disk-info.sh @@ -1,5 +1,7 @@ #!/bin/sh #- +# SPDX-License-Identifier: BSD-2-Clause-FreeBSD +# # Copyright (c) 2010 iXsystems, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without diff --git a/usr.sbin/pc-sysinstall/backend-query/disk-list.sh b/usr.sbin/pc-sysinstall/backend-query/disk-list.sh index 875b330ef64..495e7853bdf 100755 --- a/usr.sbin/pc-sysinstall/backend-query/disk-list.sh +++ b/usr.sbin/pc-sysinstall/backend-query/disk-list.sh @@ -1,5 +1,7 @@ #!/bin/sh #- +# SPDX-License-Identifier: BSD-2-Clause-FreeBSD +# # Copyright (c) 2010 iXsystems, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without diff --git a/usr.sbin/pc-sysinstall/backend-query/disk-part.sh b/usr.sbin/pc-sysinstall/backend-query/disk-part.sh index e5e73556597..88feffc3740 100755 --- a/usr.sbin/pc-sysinstall/backend-query/disk-part.sh +++ b/usr.sbin/pc-sysinstall/backend-query/disk-part.sh @@ -1,5 +1,7 @@ #!/bin/sh #- +# SPDX-License-Identifier: BSD-2-Clause-FreeBSD +# # Copyright (c) 2010 iXsystems, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without diff --git a/usr.sbin/pc-sysinstall/backend-query/enable-net.sh b/usr.sbin/pc-sysinstall/backend-query/enable-net.sh index 8cd72a1bc5e..a2e53f49b83 100755 --- a/usr.sbin/pc-sysinstall/backend-query/enable-net.sh +++ b/usr.sbin/pc-sysinstall/backend-query/enable-net.sh @@ -1,5 +1,7 @@ #!/bin/sh #- +# SPDX-License-Identifier: BSD-2-Clause-FreeBSD +# # Copyright (c) 2010 iXsystems, Inc. All rights reserved. # Copyright (c) 2011 The FreeBSD Foundation # All rights reserved. diff --git a/usr.sbin/pc-sysinstall/backend-query/get-packages.sh b/usr.sbin/pc-sysinstall/backend-query/get-packages.sh index 6bdcd3b522a..59790903590 100755 --- a/usr.sbin/pc-sysinstall/backend-query/get-packages.sh +++ b/usr.sbin/pc-sysinstall/backend-query/get-packages.sh @@ -1,5 +1,7 @@ #!/bin/sh #- +# SPDX-License-Identifier: BSD-2-Clause-FreeBSD +# # Copyright (c) 2010 iXsystems, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without diff --git a/usr.sbin/pc-sysinstall/backend-query/list-components.sh b/usr.sbin/pc-sysinstall/backend-query/list-components.sh index a7cde89076d..51fc95f1917 100755 --- a/usr.sbin/pc-sysinstall/backend-query/list-components.sh +++ b/usr.sbin/pc-sysinstall/backend-query/list-components.sh @@ -1,5 +1,7 @@ #!/bin/sh #- +# SPDX-License-Identifier: BSD-2-Clause-FreeBSD +# # Copyright (c) 2010 iXsystems, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without diff --git a/usr.sbin/pc-sysinstall/backend-query/list-config.sh b/usr.sbin/pc-sysinstall/backend-query/list-config.sh index b7edda2c67d..0982da7356e 100755 --- a/usr.sbin/pc-sysinstall/backend-query/list-config.sh +++ b/usr.sbin/pc-sysinstall/backend-query/list-config.sh @@ -1,5 +1,7 @@ #!/bin/sh #- +# SPDX-License-Identifier: BSD-2-Clause-FreeBSD +# # Copyright (c) 2010 iXsystems, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without diff --git a/usr.sbin/pc-sysinstall/backend-query/list-mirrors.sh b/usr.sbin/pc-sysinstall/backend-query/list-mirrors.sh index 0fe209dc815..12ae2f11646 100755 --- a/usr.sbin/pc-sysinstall/backend-query/list-mirrors.sh +++ b/usr.sbin/pc-sysinstall/backend-query/list-mirrors.sh @@ -1,5 +1,7 @@ #!/bin/sh #- +# SPDX-License-Identifier: BSD-2-Clause-FreeBSD +# # Copyright (c) 2010 iXsystems, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without diff --git a/usr.sbin/pc-sysinstall/backend-query/list-packages.sh b/usr.sbin/pc-sysinstall/backend-query/list-packages.sh index 45941ffd370..a59d39c005a 100755 --- a/usr.sbin/pc-sysinstall/backend-query/list-packages.sh +++ b/usr.sbin/pc-sysinstall/backend-query/list-packages.sh @@ -1,5 +1,7 @@ #!/bin/sh #- +# SPDX-License-Identifier: BSD-2-Clause-FreeBSD +# # Copyright (c) 2010 iXsystems, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without diff --git a/usr.sbin/pc-sysinstall/backend-query/list-rsync-backups.sh b/usr.sbin/pc-sysinstall/backend-query/list-rsync-backups.sh index 68ced7f5f50..9c1a760ff00 100755 --- a/usr.sbin/pc-sysinstall/backend-query/list-rsync-backups.sh +++ b/usr.sbin/pc-sysinstall/backend-query/list-rsync-backups.sh @@ -1,5 +1,7 @@ #!/bin/sh #- +# SPDX-License-Identifier: BSD-2-Clause-FreeBSD +# # Copyright (c) 2010 iXsystems, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without diff --git a/usr.sbin/pc-sysinstall/backend-query/list-tzones.sh b/usr.sbin/pc-sysinstall/backend-query/list-tzones.sh index c7009b0c52f..987556cdf47 100755 --- a/usr.sbin/pc-sysinstall/backend-query/list-tzones.sh +++ b/usr.sbin/pc-sysinstall/backend-query/list-tzones.sh @@ -1,5 +1,7 @@ #!/bin/sh #- +# SPDX-License-Identifier: BSD-2-Clause-FreeBSD +# # Copyright (c) 2010 iXsystems, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without diff --git a/usr.sbin/pc-sysinstall/backend-query/query-langs.sh b/usr.sbin/pc-sysinstall/backend-query/query-langs.sh index 2ce60662403..7cf2b5f7214 100755 --- a/usr.sbin/pc-sysinstall/backend-query/query-langs.sh +++ b/usr.sbin/pc-sysinstall/backend-query/query-langs.sh @@ -1,5 +1,7 @@ #!/bin/sh #- +# SPDX-License-Identifier: BSD-2-Clause-FreeBSD +# # Copyright (c) 2010 iXsystems, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without diff --git a/usr.sbin/pc-sysinstall/backend-query/send-logs.sh b/usr.sbin/pc-sysinstall/backend-query/send-logs.sh index b81087cd4da..948ed705d1a 100755 --- a/usr.sbin/pc-sysinstall/backend-query/send-logs.sh +++ b/usr.sbin/pc-sysinstall/backend-query/send-logs.sh @@ -1,5 +1,7 @@ #!/bin/sh #- +# SPDX-License-Identifier: BSD-2-Clause-FreeBSD +# # Copyright (c) 2010 iXsystems, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without diff --git a/usr.sbin/pc-sysinstall/backend-query/set-mirror.sh b/usr.sbin/pc-sysinstall/backend-query/set-mirror.sh index 23306bb1ba0..552afd45575 100755 --- a/usr.sbin/pc-sysinstall/backend-query/set-mirror.sh +++ b/usr.sbin/pc-sysinstall/backend-query/set-mirror.sh @@ -1,5 +1,7 @@ #!/bin/sh #- +# SPDX-License-Identifier: BSD-2-Clause-FreeBSD +# # Copyright (c) 2010 iXSystems, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without diff --git a/usr.sbin/pc-sysinstall/backend-query/setup-ssh-keys.sh b/usr.sbin/pc-sysinstall/backend-query/setup-ssh-keys.sh index ac3d6ac9b72..0a7a1004f09 100755 --- a/usr.sbin/pc-sysinstall/backend-query/setup-ssh-keys.sh +++ b/usr.sbin/pc-sysinstall/backend-query/setup-ssh-keys.sh @@ -1,5 +1,7 @@ #!/bin/sh #- +# SPDX-License-Identifier: BSD-2-Clause-FreeBSD +# # Copyright (c) 2010 iXsystems, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without diff --git a/usr.sbin/pc-sysinstall/backend-query/sys-mem.sh b/usr.sbin/pc-sysinstall/backend-query/sys-mem.sh index a7263708f13..bdf95b790de 100755 --- a/usr.sbin/pc-sysinstall/backend-query/sys-mem.sh +++ b/usr.sbin/pc-sysinstall/backend-query/sys-mem.sh @@ -1,5 +1,7 @@ #!/bin/sh #- +# SPDX-License-Identifier: BSD-2-Clause-FreeBSD +# # Copyright (c) 2010 iXsystems, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without diff --git a/usr.sbin/pc-sysinstall/backend-query/test-live.sh b/usr.sbin/pc-sysinstall/backend-query/test-live.sh index 86acc30705c..5779ccaa967 100755 --- a/usr.sbin/pc-sysinstall/backend-query/test-live.sh +++ b/usr.sbin/pc-sysinstall/backend-query/test-live.sh @@ -1,5 +1,7 @@ #!/bin/sh #- +# SPDX-License-Identifier: BSD-2-Clause-FreeBSD +# # Copyright (c) 2010 iXsystems, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without diff --git a/usr.sbin/pc-sysinstall/backend-query/test-netup.sh b/usr.sbin/pc-sysinstall/backend-query/test-netup.sh index e0a3ebae0bb..54646a8f439 100755 --- a/usr.sbin/pc-sysinstall/backend-query/test-netup.sh +++ b/usr.sbin/pc-sysinstall/backend-query/test-netup.sh @@ -1,5 +1,7 @@ #!/bin/sh #- +# SPDX-License-Identifier: BSD-2-Clause-FreeBSD +# # Copyright (c) 2010 iXsystems, Inc. All rights reserved. # Copyright (c) 2011 The FreeBSD Foundation # All rights reserved. diff --git a/usr.sbin/pc-sysinstall/backend-query/update-part-list.sh b/usr.sbin/pc-sysinstall/backend-query/update-part-list.sh index 298609b7639..c1f99bcfcf7 100755 --- a/usr.sbin/pc-sysinstall/backend-query/update-part-list.sh +++ b/usr.sbin/pc-sysinstall/backend-query/update-part-list.sh @@ -1,5 +1,7 @@ #!/bin/sh #- +# SPDX-License-Identifier: BSD-2-Clause-FreeBSD +# # Copyright (c) 2010 iXsystems, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without diff --git a/usr.sbin/pc-sysinstall/backend-query/xkeyboard-layouts.sh b/usr.sbin/pc-sysinstall/backend-query/xkeyboard-layouts.sh index 17821be103a..1de74beca39 100755 --- a/usr.sbin/pc-sysinstall/backend-query/xkeyboard-layouts.sh +++ b/usr.sbin/pc-sysinstall/backend-query/xkeyboard-layouts.sh @@ -1,5 +1,7 @@ #!/bin/sh #- +# SPDX-License-Identifier: BSD-2-Clause-FreeBSD +# # Copyright (c) 2010 iXsystems, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without diff --git a/usr.sbin/pc-sysinstall/backend-query/xkeyboard-models.sh b/usr.sbin/pc-sysinstall/backend-query/xkeyboard-models.sh index c89811e164e..60630d19f1c 100755 --- a/usr.sbin/pc-sysinstall/backend-query/xkeyboard-models.sh +++ b/usr.sbin/pc-sysinstall/backend-query/xkeyboard-models.sh @@ -1,5 +1,7 @@ #!/bin/sh #- +# SPDX-License-Identifier: BSD-2-Clause-FreeBSD +# # Copyright (c) 2010 iXsystems, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without diff --git a/usr.sbin/pc-sysinstall/backend-query/xkeyboard-variants.sh b/usr.sbin/pc-sysinstall/backend-query/xkeyboard-variants.sh index c8c0aa5c9fe..e874a9a1d91 100755 --- a/usr.sbin/pc-sysinstall/backend-query/xkeyboard-variants.sh +++ b/usr.sbin/pc-sysinstall/backend-query/xkeyboard-variants.sh @@ -1,5 +1,7 @@ #!/bin/sh #- +# SPDX-License-Identifier: BSD-2-Clause-FreeBSD +# # Copyright (c) 2010 iXsystems, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without diff --git a/usr.sbin/pc-sysinstall/backend/functions-bsdlabel.sh b/usr.sbin/pc-sysinstall/backend/functions-bsdlabel.sh index 37353d7c82c..7f6d47fd3c7 100755 --- a/usr.sbin/pc-sysinstall/backend/functions-bsdlabel.sh +++ b/usr.sbin/pc-sysinstall/backend/functions-bsdlabel.sh @@ -1,5 +1,7 @@ #!/bin/sh #- +# SPDX-License-Identifier: BSD-2-Clause-FreeBSD +# # Copyright (c) 2010 iXsystems, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without diff --git a/usr.sbin/pc-sysinstall/backend/functions-cleanup.sh b/usr.sbin/pc-sysinstall/backend/functions-cleanup.sh index 787f8915b64..e43bdc362ec 100755 --- a/usr.sbin/pc-sysinstall/backend/functions-cleanup.sh +++ b/usr.sbin/pc-sysinstall/backend/functions-cleanup.sh @@ -1,5 +1,7 @@ #!/bin/sh #- +# SPDX-License-Identifier: BSD-2-Clause-FreeBSD +# # Copyright (c) 2010 iXsystems, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without diff --git a/usr.sbin/pc-sysinstall/backend/functions-disk.sh b/usr.sbin/pc-sysinstall/backend/functions-disk.sh index 03b6cde7d5f..0492a3479ce 100755 --- a/usr.sbin/pc-sysinstall/backend/functions-disk.sh +++ b/usr.sbin/pc-sysinstall/backend/functions-disk.sh @@ -1,5 +1,7 @@ #!/bin/sh #- +# SPDX-License-Identifier: BSD-2-Clause-FreeBSD +# # Copyright (c) 2010 iXsystems, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without diff --git a/usr.sbin/pc-sysinstall/backend/functions-extractimage.sh b/usr.sbin/pc-sysinstall/backend/functions-extractimage.sh index a75fad792b0..c9aebe88ed0 100755 --- a/usr.sbin/pc-sysinstall/backend/functions-extractimage.sh +++ b/usr.sbin/pc-sysinstall/backend/functions-extractimage.sh @@ -1,5 +1,7 @@ #!/bin/sh #- +# SPDX-License-Identifier: BSD-2-Clause-FreeBSD +# # Copyright (c) 2010 iXsystems, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without diff --git a/usr.sbin/pc-sysinstall/backend/functions-ftp.sh b/usr.sbin/pc-sysinstall/backend/functions-ftp.sh index e974f3181e0..a47f99f66b2 100755 --- a/usr.sbin/pc-sysinstall/backend/functions-ftp.sh +++ b/usr.sbin/pc-sysinstall/backend/functions-ftp.sh @@ -1,5 +1,7 @@ #!/bin/sh #- +# SPDX-License-Identifier: BSD-2-Clause-FreeBSD +# # Copyright (c) 2010 iXsystems, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without diff --git a/usr.sbin/pc-sysinstall/backend/functions-installcomponents.sh b/usr.sbin/pc-sysinstall/backend/functions-installcomponents.sh index f388dd4e5d8..9627a38a0e8 100755 --- a/usr.sbin/pc-sysinstall/backend/functions-installcomponents.sh +++ b/usr.sbin/pc-sysinstall/backend/functions-installcomponents.sh @@ -1,5 +1,7 @@ #!/bin/sh #- +# SPDX-License-Identifier: BSD-2-Clause-FreeBSD +# # Copyright (c) 2010 iXsystems, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without diff --git a/usr.sbin/pc-sysinstall/backend/functions-installpackages.sh b/usr.sbin/pc-sysinstall/backend/functions-installpackages.sh index c1a879ae966..09a7abb9940 100755 --- a/usr.sbin/pc-sysinstall/backend/functions-installpackages.sh +++ b/usr.sbin/pc-sysinstall/backend/functions-installpackages.sh @@ -1,5 +1,7 @@ #!/bin/sh #- +# SPDX-License-Identifier: BSD-2-Clause-FreeBSD +# # Copyright (c) 2010 iXsystems, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without diff --git a/usr.sbin/pc-sysinstall/backend/functions-localize.sh b/usr.sbin/pc-sysinstall/backend/functions-localize.sh index b92e710f196..8279e589510 100755 --- a/usr.sbin/pc-sysinstall/backend/functions-localize.sh +++ b/usr.sbin/pc-sysinstall/backend/functions-localize.sh @@ -1,5 +1,7 @@ #!/bin/sh #- +# SPDX-License-Identifier: BSD-2-Clause-FreeBSD +# # Copyright (c) 2010 iXsystems, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without diff --git a/usr.sbin/pc-sysinstall/backend/functions-mountdisk.sh b/usr.sbin/pc-sysinstall/backend/functions-mountdisk.sh index e9eb148a2b4..9020d2a6495 100755 --- a/usr.sbin/pc-sysinstall/backend/functions-mountdisk.sh +++ b/usr.sbin/pc-sysinstall/backend/functions-mountdisk.sh @@ -1,5 +1,7 @@ #!/bin/sh #- +# SPDX-License-Identifier: BSD-2-Clause-FreeBSD +# # Copyright (c) 2010 iXsystems, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without diff --git a/usr.sbin/pc-sysinstall/backend/functions-mountoptical.sh b/usr.sbin/pc-sysinstall/backend/functions-mountoptical.sh index d46a7ffb329..bd3ac44886c 100755 --- a/usr.sbin/pc-sysinstall/backend/functions-mountoptical.sh +++ b/usr.sbin/pc-sysinstall/backend/functions-mountoptical.sh @@ -1,5 +1,7 @@ #!/bin/sh #- +# SPDX-License-Identifier: BSD-2-Clause-FreeBSD +# # Copyright (c) 2010 iXsystems, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without diff --git a/usr.sbin/pc-sysinstall/backend/functions-networking.sh b/usr.sbin/pc-sysinstall/backend/functions-networking.sh index 1aa08bdd808..1a7b500b9b5 100755 --- a/usr.sbin/pc-sysinstall/backend/functions-networking.sh +++ b/usr.sbin/pc-sysinstall/backend/functions-networking.sh @@ -1,5 +1,7 @@ #!/bin/sh #- +# SPDX-License-Identifier: BSD-2-Clause-FreeBSD +# # Copyright (c) 2010 iXsystems, Inc. All rights reserved. # Copyright (c) 2011 The FreeBSD Foundation # All rights reserved. diff --git a/usr.sbin/pc-sysinstall/backend/functions-newfs.sh b/usr.sbin/pc-sysinstall/backend/functions-newfs.sh index f8664f05f4b..1a92753bf8e 100755 --- a/usr.sbin/pc-sysinstall/backend/functions-newfs.sh +++ b/usr.sbin/pc-sysinstall/backend/functions-newfs.sh @@ -1,5 +1,7 @@ #!/bin/sh #- +# SPDX-License-Identifier: BSD-2-Clause-FreeBSD +# # Copyright (c) 2010 iXsystems, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without diff --git a/usr.sbin/pc-sysinstall/backend/functions-packages.sh b/usr.sbin/pc-sysinstall/backend/functions-packages.sh index ee4192870d7..f55f91d4bf7 100755 --- a/usr.sbin/pc-sysinstall/backend/functions-packages.sh +++ b/usr.sbin/pc-sysinstall/backend/functions-packages.sh @@ -1,5 +1,7 @@ #!/bin/sh #- +# SPDX-License-Identifier: BSD-2-Clause-FreeBSD +# # Copyright (c) 2010 iXsystems, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without diff --git a/usr.sbin/pc-sysinstall/backend/functions-parse.sh b/usr.sbin/pc-sysinstall/backend/functions-parse.sh index fb7cdd2e57f..d661a8001aa 100755 --- a/usr.sbin/pc-sysinstall/backend/functions-parse.sh +++ b/usr.sbin/pc-sysinstall/backend/functions-parse.sh @@ -1,5 +1,7 @@ #!/bin/sh #- +# SPDX-License-Identifier: BSD-2-Clause-FreeBSD +# # Copyright (c) 2010 iXsystems, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without diff --git a/usr.sbin/pc-sysinstall/backend/functions-runcommands.sh b/usr.sbin/pc-sysinstall/backend/functions-runcommands.sh index b36482364b2..0de361948f1 100755 --- a/usr.sbin/pc-sysinstall/backend/functions-runcommands.sh +++ b/usr.sbin/pc-sysinstall/backend/functions-runcommands.sh @@ -1,5 +1,7 @@ #!/bin/sh #- +# SPDX-License-Identifier: BSD-2-Clause-FreeBSD +# # Copyright (c) 2010 iXsystems, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without diff --git a/usr.sbin/pc-sysinstall/backend/functions-unmount.sh b/usr.sbin/pc-sysinstall/backend/functions-unmount.sh index a61a5e60e23..c26cad458e5 100755 --- a/usr.sbin/pc-sysinstall/backend/functions-unmount.sh +++ b/usr.sbin/pc-sysinstall/backend/functions-unmount.sh @@ -1,5 +1,7 @@ #!/bin/sh #- +# SPDX-License-Identifier: BSD-2-Clause-FreeBSD +# # Copyright (c) 2010 iXsystems, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without diff --git a/usr.sbin/pc-sysinstall/backend/functions-upgrade.sh b/usr.sbin/pc-sysinstall/backend/functions-upgrade.sh index f191e6f48cd..6c3c470e65d 100755 --- a/usr.sbin/pc-sysinstall/backend/functions-upgrade.sh +++ b/usr.sbin/pc-sysinstall/backend/functions-upgrade.sh @@ -1,5 +1,7 @@ #!/bin/sh #- +# SPDX-License-Identifier: BSD-2-Clause-FreeBSD +# # Copyright (c) 2010 iXsystems, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without diff --git a/usr.sbin/pc-sysinstall/backend/functions-users.sh b/usr.sbin/pc-sysinstall/backend/functions-users.sh index bf1a72fc90a..01ef2742634 100755 --- a/usr.sbin/pc-sysinstall/backend/functions-users.sh +++ b/usr.sbin/pc-sysinstall/backend/functions-users.sh @@ -1,5 +1,7 @@ #!/bin/sh #- +# SPDX-License-Identifier: BSD-2-Clause-FreeBSD +# # Copyright (c) 2010 iXsystems, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without diff --git a/usr.sbin/pc-sysinstall/backend/functions.sh b/usr.sbin/pc-sysinstall/backend/functions.sh index a2d039b5342..a30c7311804 100755 --- a/usr.sbin/pc-sysinstall/backend/functions.sh +++ b/usr.sbin/pc-sysinstall/backend/functions.sh @@ -1,5 +1,7 @@ #!/bin/sh #- +# SPDX-License-Identifier: BSD-2-Clause-FreeBSD +# # Copyright (c) 2010 iXsystems, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without diff --git a/usr.sbin/pc-sysinstall/backend/installimage.sh b/usr.sbin/pc-sysinstall/backend/installimage.sh index 242ecfedb0c..49ee67c2bdb 100755 --- a/usr.sbin/pc-sysinstall/backend/installimage.sh +++ b/usr.sbin/pc-sysinstall/backend/installimage.sh @@ -1,5 +1,7 @@ #!/bin/sh #- +# SPDX-License-Identifier: BSD-2-Clause-FreeBSD +# # Copyright (c) 2010 iXsystems, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without diff --git a/usr.sbin/pc-sysinstall/backend/parseconfig.sh b/usr.sbin/pc-sysinstall/backend/parseconfig.sh index f3d89fc7cb5..d71c5308592 100755 --- a/usr.sbin/pc-sysinstall/backend/parseconfig.sh +++ b/usr.sbin/pc-sysinstall/backend/parseconfig.sh @@ -1,5 +1,7 @@ #!/bin/sh #- +# SPDX-License-Identifier: BSD-2-Clause-FreeBSD +# # Copyright (c) 2010 iXsystems, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without diff --git a/usr.sbin/pc-sysinstall/backend/startautoinstall.sh b/usr.sbin/pc-sysinstall/backend/startautoinstall.sh index 5e4dcfc8df7..5e2b78fb63e 100755 --- a/usr.sbin/pc-sysinstall/backend/startautoinstall.sh +++ b/usr.sbin/pc-sysinstall/backend/startautoinstall.sh @@ -1,5 +1,7 @@ #!/bin/sh #- +# SPDX-License-Identifier: BSD-2-Clause-FreeBSD +# # Copyright (c) 2010 iXsystems, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without diff --git a/usr.sbin/pc-sysinstall/pc-sysinstall/pc-sysinstall.sh b/usr.sbin/pc-sysinstall/pc-sysinstall/pc-sysinstall.sh index 2dc7093fc84..add77805bf6 100755 --- a/usr.sbin/pc-sysinstall/pc-sysinstall/pc-sysinstall.sh +++ b/usr.sbin/pc-sysinstall/pc-sysinstall/pc-sysinstall.sh @@ -6,6 +6,8 @@ # system installations, as well as calls which a front-end can use # to retrive information about the system ##################################################################### +# SPDX-License-Identifier: BSD-2-Clause-FreeBSD +# # Copyright 2010 iXsystems # All rights reserved # -- 2.45.0