diff --git a/.cirrus.yml b/.cirrus.yml index ce260da3..036e24e3 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: MPL-2.0 task: name: FreeBSD env: diff --git a/.gitattributes b/.gitattributes index 7278b224..b1d07ddd 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: MPL-2.0 #this file specifies some rules on specific files for line endings and more. #it also has a section on which files should NOT be part of an export (git archive) command. diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 975db06f..c8bcf6d8 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: MPL-2.0 name: C/C++ CI on: diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index c50022f1..1362c8ea 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: MPL-2.0 # For most projects, this workflow file will not need changing; you simply need # to commit it to your repository. # diff --git a/.github/workflows/meson.yml b/.github/workflows/meson.yml index b4da7192..67fd8e0d 100644 --- a/.github/workflows/meson.yml +++ b/.github/workflows/meson.yml @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: MPL-2.0 name: CI for meson build on: diff --git a/.github/workflows/msbuild.yml b/.github/workflows/msbuild.yml index 6a910cca..c4fa47e7 100644 --- a/.github/workflows/msbuild.yml +++ b/.github/workflows/msbuild.yml @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: MPL-2.0 name: MSBuild on: diff --git a/.github/workflows/source-release.yml b/.github/workflows/source-release.yml index e437df70..92a25a82 100644 --- a/.github/workflows/source-release.yml +++ b/.github/workflows/source-release.yml @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: MPL-2.0 name: Create Complete Source Archive on: diff --git a/.gitignore b/.gitignore index 35d10550..d3c478b4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: MPL-2.0 ## Ignore Visual Studio temporary files, build results, and ## files generated by popular Visual Studio add-ons. ## diff --git a/.gitmodules b/.gitmodules index 91a55378..75f3f8f1 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: MPL-2.0 [submodule "opensea-common"] path = subprojects/opensea-common url = https://github.com/Seagate/opensea-common.git diff --git a/Make/UEFI/copy_files.sh b/Make/UEFI/copy_files.sh index 3d848d22..da64a081 100755 --- a/Make/UEFI/copy_files.sh +++ b/Make/UEFI/copy_files.sh @@ -1,5 +1,5 @@ #!/bin/bash - +# SPDX-License-Identifier: MPL-2.0 function usage { echo "This script will copy all files required to build openSeaChest to the edk2/UDK path specified." echo "Once the script is done copying, change the target.txt to build one of the following:" diff --git a/Make/UEFI/openSeaChestPkg.dec b/Make/UEFI/openSeaChestPkg.dec index 52e7084d..41e31fae 100644 --- a/Make/UEFI/openSeaChestPkg.dec +++ b/Make/UEFI/openSeaChestPkg.dec @@ -1,5 +1,5 @@ ## @file - +# SPDX-License-Identifier: MPL-2.0 ## diff --git a/Make/UEFI/openSeaChestPkg.dsc b/Make/UEFI/openSeaChestPkg.dsc index e9c4fa7f..56915b93 100644 --- a/Make/UEFI/openSeaChestPkg.dsc +++ b/Make/UEFI/openSeaChestPkg.dsc @@ -8,6 +8,7 @@ # environment. # ## +# SPDX-License-Identifier: MPL-2.0 [Defines] PLATFORM_NAME = openSeaChestPkg diff --git a/Make/UEFI/openSeaChest_Basics.inf b/Make/UEFI/openSeaChest_Basics.inf index 3ccd55a3..c723c797 100644 --- a/Make/UEFI/openSeaChest_Basics.inf +++ b/Make/UEFI/openSeaChest_Basics.inf @@ -3,6 +3,7 @@ # # ## +# SPDX-License-Identifier: MPL-2.0 [Defines] INF_VERSION = 0x00010006 diff --git a/Make/UEFI/openSeaChest_Configure.inf b/Make/UEFI/openSeaChest_Configure.inf index 82a6a9df..047aafd0 100644 --- a/Make/UEFI/openSeaChest_Configure.inf +++ b/Make/UEFI/openSeaChest_Configure.inf @@ -3,6 +3,7 @@ # # ## +# SPDX-License-Identifier: MPL-2.0 [Defines] INF_VERSION = 0x00010006 diff --git a/Make/UEFI/openSeaChest_Erase.inf b/Make/UEFI/openSeaChest_Erase.inf index c2170a6b..17ad0b6b 100644 --- a/Make/UEFI/openSeaChest_Erase.inf +++ b/Make/UEFI/openSeaChest_Erase.inf @@ -3,6 +3,7 @@ # # ## +# SPDX-License-Identifier: MPL-2.0 [Defines] INF_VERSION = 0x00010006 diff --git a/Make/UEFI/openSeaChest_Firmware.inf b/Make/UEFI/openSeaChest_Firmware.inf index 2f2ec61f..b60eb94d 100644 --- a/Make/UEFI/openSeaChest_Firmware.inf +++ b/Make/UEFI/openSeaChest_Firmware.inf @@ -3,6 +3,7 @@ # # ## +# SPDX-License-Identifier: MPL-2.0 [Defines] INF_VERSION = 0x00010006 diff --git a/Make/UEFI/openSeaChest_Format.inf b/Make/UEFI/openSeaChest_Format.inf index 5e40c511..6f3f05a1 100644 --- a/Make/UEFI/openSeaChest_Format.inf +++ b/Make/UEFI/openSeaChest_Format.inf @@ -3,6 +3,7 @@ # # ## +# SPDX-License-Identifier: MPL-2.0 [Defines] INF_VERSION = 0x00010006 diff --git a/Make/UEFI/openSeaChest_GenericTests.inf b/Make/UEFI/openSeaChest_GenericTests.inf index 31c3377f..89be1625 100644 --- a/Make/UEFI/openSeaChest_GenericTests.inf +++ b/Make/UEFI/openSeaChest_GenericTests.inf @@ -3,6 +3,7 @@ # # ## +# SPDX-License-Identifier: MPL-2.0 [Defines] INF_VERSION = 0x00010006 diff --git a/Make/UEFI/openSeaChest_Info.inf b/Make/UEFI/openSeaChest_Info.inf index feff0572..b0600a86 100644 --- a/Make/UEFI/openSeaChest_Info.inf +++ b/Make/UEFI/openSeaChest_Info.inf @@ -3,6 +3,7 @@ # # ## +# SPDX-License-Identifier: MPL-2.0 [Defines] INF_VERSION = 0x00010006 diff --git a/Make/UEFI/openSeaChest_Logs.inf b/Make/UEFI/openSeaChest_Logs.inf index 099ca761..c319bf3c 100644 --- a/Make/UEFI/openSeaChest_Logs.inf +++ b/Make/UEFI/openSeaChest_Logs.inf @@ -3,6 +3,7 @@ # # ## +# SPDX-License-Identifier: MPL-2.0 [Defines] INF_VERSION = 0x00010006 diff --git a/Make/UEFI/openSeaChest_NVMe.inf b/Make/UEFI/openSeaChest_NVMe.inf index f4e40b8f..184279f4 100644 --- a/Make/UEFI/openSeaChest_NVMe.inf +++ b/Make/UEFI/openSeaChest_NVMe.inf @@ -3,6 +3,7 @@ # # ## +# SPDX-License-Identifier: MPL-2.0 [Defines] INF_VERSION = 0x00010006 diff --git a/Make/UEFI/openSeaChest_PowerControl.inf b/Make/UEFI/openSeaChest_PowerControl.inf index 8429a15c..5ea06b5d 100644 --- a/Make/UEFI/openSeaChest_PowerControl.inf +++ b/Make/UEFI/openSeaChest_PowerControl.inf @@ -3,6 +3,7 @@ # # ## +# SPDX-License-Identifier: MPL-2.0 [Defines] INF_VERSION = 0x00010006 diff --git a/Make/UEFI/openSeaChest_SMART.inf b/Make/UEFI/openSeaChest_SMART.inf index 1fd696a0..cc79cd84 100644 --- a/Make/UEFI/openSeaChest_SMART.inf +++ b/Make/UEFI/openSeaChest_SMART.inf @@ -3,6 +3,7 @@ # # ## +# SPDX-License-Identifier: MPL-2.0 [Defines] INF_VERSION = 0x00010006 diff --git a/Make/UEFI/openSeaChest_Sample.inf b/Make/UEFI/openSeaChest_Sample.inf index 9ea29497..0b35a90e 100644 --- a/Make/UEFI/openSeaChest_Sample.inf +++ b/Make/UEFI/openSeaChest_Sample.inf @@ -3,6 +3,7 @@ # # ## +# SPDX-License-Identifier: MPL-2.0 [Defines] INF_VERSION = 0x00010006 diff --git a/Make/UEFI/openSeaChest_Security.inf b/Make/UEFI/openSeaChest_Security.inf index 086caf7a..994912dc 100644 --- a/Make/UEFI/openSeaChest_Security.inf +++ b/Make/UEFI/openSeaChest_Security.inf @@ -3,6 +3,7 @@ # # ## +# SPDX-License-Identifier: MPL-2.0 [Defines] INF_VERSION = 0x00010006 diff --git a/Make/UEFI/openSeaChest_ZBD.inf b/Make/UEFI/openSeaChest_ZBD.inf index 44e61c35..28004969 100644 --- a/Make/UEFI/openSeaChest_ZBD.inf +++ b/Make/UEFI/openSeaChest_ZBD.inf @@ -3,6 +3,7 @@ # # ## +# SPDX-License-Identifier: MPL-2.0 [Defines] INF_VERSION = 0x00010006 diff --git a/Make/gcc/Makefile b/Make/gcc/Makefile index 51d26703..533ee1b1 100644 --- a/Make/gcc/Makefile +++ b/Make/gcc/Makefile @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: MPL-2.0 # # Do NOT modify or remove this copyright and license # diff --git a/Make/gccWin/Makefile.gccWin b/Make/gccWin/Makefile.gccWin index 0ecbad5e..e068b19c 100644 --- a/Make/gccWin/Makefile.gccWin +++ b/Make/gccWin/Makefile.gccWin @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: MPL-2.0 # # Do NOT modify or remove this copyright and license # diff --git a/Make/gccWin/rename_seachest.sh b/Make/gccWin/rename_seachest.sh index b44deebd..c9213d18 100755 --- a/Make/gccWin/rename_seachest.sh +++ b/Make/gccWin/rename_seachest.sh @@ -1,4 +1,5 @@ #!/bin/bash +# SPDX-License-Identifier: MPL-2.0 # #=============== Global Variables ============================================ # Date last edit diff --git a/Make/vmware/Makefile b/Make/vmware/Makefile index 7d5164f8..55ffaafc 100644 --- a/Make/vmware/Makefile +++ b/Make/vmware/Makefile @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: MPL-2.0 # # Do NOT modify or remove this copyright and license # diff --git a/Make/vmware/Makefile.openSeaChest_firmware b/Make/vmware/Makefile.openSeaChest_firmware index 33ea9631..cf909222 100644 --- a/Make/vmware/Makefile.openSeaChest_firmware +++ b/Make/vmware/Makefile.openSeaChest_firmware @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: MPL-2.0 # # Do NOT modify or remove this copyright and license # diff --git a/cirrus_ci_post_freebsd_release.sh b/cirrus_ci_post_freebsd_release.sh index 938547aa..9aa3dff4 100755 --- a/cirrus_ci_post_freebsd_release.sh +++ b/cirrus_ci_post_freebsd_release.sh @@ -1,5 +1,7 @@ #!/bin/sh +# SPDX-License-Identifier: MPL-2.0 + #This script is based on the original example found here: https://cirrus-ci.org/examples/#release-assets #modifications made to upload only the single artificate necessary from each freeBSD build of #openSeaChest. This script should be run after the tar.xz file is created by a successful build @@ -61,4 +63,4 @@ if [ -f "$file_to_upload" ]; then else echo "tar file not found. Nothing to upload!" -fi \ No newline at end of file +fi diff --git a/include/EULA.h b/include/EULA.h index 3b007a97..e3c399e2 100644 --- a/include/EULA.h +++ b/include/EULA.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 // // Do NOT modify or remove this copyright and license // diff --git a/include/openseachest_util_options.h b/include/openseachest_util_options.h index 0009020f..35a34cde 100644 --- a/include/openseachest_util_options.h +++ b/include/openseachest_util_options.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 // // Do NOT modify or remove this copyright and license // diff --git a/meson.build b/meson.build index adcea946..4a1cda76 100644 --- a/meson.build +++ b/meson.build @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: MPL-2.0 project('openSeaChest', 'c', license: 'MPL-2.0', default_options : ['warning_level=2']) c = meson.get_compiler('c') diff --git a/meson_options.txt b/meson_options.txt index 3e641704..4d63807e 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: MPL-2.0 option('tools', type : 'array', choices : [ 'Basics', 'Configure', diff --git a/nfpm.yaml b/nfpm.yaml index 7a3b3ed8..300fd70e 100644 --- a/nfpm.yaml +++ b/nfpm.yaml @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: MPL-2.0 name: "openseachest" arch: "amd64" platform: "linux" @@ -14,9 +15,9 @@ homepage: "https://www.github.com/Seagate/openSeaChest" license: "MPL" contents: - src: openSeaChest_* - dst: /usr/bin/openSeaChest + dst: /usr/local/bin/openSeaChest file_info: # Make sure that the mode is specified in octal, e.g. 0644 instead of 644. mode: 0755 - src: man/man8/openSeaChest_*.8 - dst: /usr/bin/openSeaChest/man/man8/ + dst: /usr/local/share/man/man8/ diff --git a/src/EULA.c b/src/EULA.c index cf7bae5f..9a6bd7c3 100644 --- a/src/EULA.c +++ b/src/EULA.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 // // Do NOT modify or remove this copyright and license // diff --git a/src/openseachest_util_options.c b/src/openseachest_util_options.c index 44549d88..3f79008d 100644 --- a/src/openseachest_util_options.c +++ b/src/openseachest_util_options.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 // // Do NOT modify or remove this copyright and license // diff --git a/subprojects/opensea-common b/subprojects/opensea-common index 6a27d95e..eb786178 160000 --- a/subprojects/opensea-common +++ b/subprojects/opensea-common @@ -1 +1 @@ -Subproject commit 6a27d95e56d018fdb869753ad9792db941a700b4 +Subproject commit eb786178a1b033a21fd30336db0f6e1c5fec68be diff --git a/subprojects/opensea-operations b/subprojects/opensea-operations index 1be3e638..b8ddc5b0 160000 --- a/subprojects/opensea-operations +++ b/subprojects/opensea-operations @@ -1 +1 @@ -Subproject commit 1be3e638d9362e4e93a2b05dc5d794db69d09f5d +Subproject commit b8ddc5b0050f0bae0306f7b82bd01c79b743426a diff --git a/subprojects/opensea-transport b/subprojects/opensea-transport index f727753d..f25bea37 160000 --- a/subprojects/opensea-transport +++ b/subprojects/opensea-transport @@ -1 +1 @@ -Subproject commit f727753dcb6cc89528185cb701cbf78d77d1e654 +Subproject commit f25bea375d4ba812f4849ee278ef1cf46130f633 diff --git a/subprojects/wingetopt b/subprojects/wingetopt index c46f4882..9af6b88c 160000 --- a/subprojects/wingetopt +++ b/subprojects/wingetopt @@ -1 +1 @@ -Subproject commit c46f48828ca1d6fac6fec6cb1b7574628d5d589d +Subproject commit 9af6b88c66b89186dd8e5114ad1bc3fc213ab7fd diff --git a/utils/C/openSeaChest/openSeaChest_Basics.c b/utils/C/openSeaChest/openSeaChest_Basics.c index 20d60aac..aba38994 100644 --- a/utils/C/openSeaChest/openSeaChest_Basics.c +++ b/utils/C/openSeaChest/openSeaChest_Basics.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 // // Do NOT modify or remove this copyright and license // diff --git a/utils/C/openSeaChest/openSeaChest_Configure.c b/utils/C/openSeaChest/openSeaChest_Configure.c index 84816c79..bcb18c37 100644 --- a/utils/C/openSeaChest/openSeaChest_Configure.c +++ b/utils/C/openSeaChest/openSeaChest_Configure.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 // // Do NOT modify or remove this copyright and license // diff --git a/utils/C/openSeaChest/openSeaChest_Erase.c b/utils/C/openSeaChest/openSeaChest_Erase.c index c6734784..87535cb4 100644 --- a/utils/C/openSeaChest/openSeaChest_Erase.c +++ b/utils/C/openSeaChest/openSeaChest_Erase.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 // // Do NOT modify or remove this copyright and license // diff --git a/utils/C/openSeaChest/openSeaChest_Firmware.c b/utils/C/openSeaChest/openSeaChest_Firmware.c index 318fe165..58e2abc5 100644 --- a/utils/C/openSeaChest/openSeaChest_Firmware.c +++ b/utils/C/openSeaChest/openSeaChest_Firmware.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 // // Do NOT modify or remove this copyright and license // diff --git a/utils/C/openSeaChest/openSeaChest_Format.c b/utils/C/openSeaChest/openSeaChest_Format.c index 24350863..0937f311 100644 --- a/utils/C/openSeaChest/openSeaChest_Format.c +++ b/utils/C/openSeaChest/openSeaChest_Format.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 // // Do NOT modify or remove this copyright and license // diff --git a/utils/C/openSeaChest/openSeaChest_GenericTests.c b/utils/C/openSeaChest/openSeaChest_GenericTests.c index ae82bf03..6cb15277 100644 --- a/utils/C/openSeaChest/openSeaChest_GenericTests.c +++ b/utils/C/openSeaChest/openSeaChest_GenericTests.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 // // Do NOT modify or remove this copyright and license // diff --git a/utils/C/openSeaChest/openSeaChest_Info.c b/utils/C/openSeaChest/openSeaChest_Info.c index 55b45e35..9230e18e 100644 --- a/utils/C/openSeaChest/openSeaChest_Info.c +++ b/utils/C/openSeaChest/openSeaChest_Info.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 // // Do NOT modify or remove this copyright and license // diff --git a/utils/C/openSeaChest/openSeaChest_Logs.c b/utils/C/openSeaChest/openSeaChest_Logs.c index d0c83c27..529c25bd 100644 --- a/utils/C/openSeaChest/openSeaChest_Logs.c +++ b/utils/C/openSeaChest/openSeaChest_Logs.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 // // Do NOT modify or remove this copyright and license // diff --git a/utils/C/openSeaChest/openSeaChest_NVMe.c b/utils/C/openSeaChest/openSeaChest_NVMe.c index 243a6a8a..5bf4660a 100644 --- a/utils/C/openSeaChest/openSeaChest_NVMe.c +++ b/utils/C/openSeaChest/openSeaChest_NVMe.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 // // openSeaChest_NVMe.c // diff --git a/utils/C/openSeaChest/openSeaChest_PassthroughTest.c b/utils/C/openSeaChest/openSeaChest_PassthroughTest.c index 1d67b734..71861d39 100644 --- a/utils/C/openSeaChest/openSeaChest_PassthroughTest.c +++ b/utils/C/openSeaChest/openSeaChest_PassthroughTest.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 // // Do NOT modify or remove this copyright and license // diff --git a/utils/C/openSeaChest/openSeaChest_PowerControl.c b/utils/C/openSeaChest/openSeaChest_PowerControl.c index d5537eb8..d29b7bf0 100644 --- a/utils/C/openSeaChest/openSeaChest_PowerControl.c +++ b/utils/C/openSeaChest/openSeaChest_PowerControl.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 // // Do NOT modify or remove this copyright and license // diff --git a/utils/C/openSeaChest/openSeaChest_Reservations.c b/utils/C/openSeaChest/openSeaChest_Reservations.c index acf6eaea..fc6bde71 100644 --- a/utils/C/openSeaChest/openSeaChest_Reservations.c +++ b/utils/C/openSeaChest/openSeaChest_Reservations.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 // // Do NOT modify or remove this copyright and license // diff --git a/utils/C/openSeaChest/openSeaChest_SMART.c b/utils/C/openSeaChest/openSeaChest_SMART.c index a35d5fc0..15be3b5f 100644 --- a/utils/C/openSeaChest/openSeaChest_SMART.c +++ b/utils/C/openSeaChest/openSeaChest_SMART.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 // // Do NOT modify or remove this copyright and license // diff --git a/utils/C/openSeaChest/openSeaChest_Sample.c b/utils/C/openSeaChest/openSeaChest_Sample.c index 4f8aa582..e07e572b 100644 --- a/utils/C/openSeaChest/openSeaChest_Sample.c +++ b/utils/C/openSeaChest/openSeaChest_Sample.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 // // Do NOT modify or remove this copyright and license // diff --git a/utils/C/openSeaChest/openSeaChest_Security.c b/utils/C/openSeaChest/openSeaChest_Security.c index 7d29feed..6827a068 100644 --- a/utils/C/openSeaChest/openSeaChest_Security.c +++ b/utils/C/openSeaChest/openSeaChest_Security.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 // // Do NOT modify or remove this copyright and license // diff --git a/utils/C/openSeaChest/openSeaChest_ZBD.c b/utils/C/openSeaChest/openSeaChest_ZBD.c index 31133ced..921cfd51 100644 --- a/utils/C/openSeaChest/openSeaChest_ZBD.c +++ b/utils/C/openSeaChest/openSeaChest_ZBD.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 // // Do NOT modify or remove this copyright and license //