From 901e5bed7430288eddb92df55d4031276a277c5b Mon Sep 17 00:00:00 2001 From: Fadi Abbud Date: Thu, 9 Dec 2021 16:19:26 +0100 Subject: [PATCH] Add License headers --- cmd/csaf_provider/actions.go | 8 ++++++++ cmd/csaf_provider/config.go | 8 ++++++++ cmd/csaf_provider/controller.go | 8 ++++++++ cmd/csaf_provider/create.go | 8 ++++++++ cmd/csaf_provider/extract.go | 8 ++++++++ cmd/csaf_provider/files.go | 8 ++++++++ cmd/csaf_provider/indices.go | 8 ++++++++ cmd/csaf_provider/main.go | 8 ++++++++ cmd/csaf_provider/mux.go | 8 ++++++++ cmd/csaf_provider/tmpl/create.html | 9 +++++++++ cmd/csaf_provider/tmpl/index.html | 9 +++++++++ cmd/csaf_provider/tmpl/upload.html | 9 +++++++++ cmd/csaf_provider/transaction.go | 8 ++++++++ cmd/csaf_uploader/main.go | 8 ++++++++ csaf/models.go | 8 ++++++++ csaf/rolie.go | 8 ++++++++ csaf/validation.go | 8 ++++++++ 17 files changed, 139 insertions(+) diff --git a/cmd/csaf_provider/actions.go b/cmd/csaf_provider/actions.go index b15b660..05a54b3 100644 --- a/cmd/csaf_provider/actions.go +++ b/cmd/csaf_provider/actions.go @@ -1,3 +1,11 @@ +// This file is Free Software under the MIT License +// without warranty, see README.md and LICENSES/MIT.txt for details. +// +// SPDX-License-Identifier: MIT +// +// SPDX-FileCopyrightText: 2021 German Federal Office for Information Security (BSI) +// Software-Engineering: 2021 Intevation GmbH + package main import ( diff --git a/cmd/csaf_provider/config.go b/cmd/csaf_provider/config.go index e81104f..a923721 100644 --- a/cmd/csaf_provider/config.go +++ b/cmd/csaf_provider/config.go @@ -1,3 +1,11 @@ +// This file is Free Software under the MIT License +// without warranty, see README.md and LICENSES/MIT.txt for details. +// +// SPDX-License-Identifier: MIT +// +// SPDX-FileCopyrightText: 2021 German Federal Office for Information Security (BSI) +// Software-Engineering: 2021 Intevation GmbH + package main import ( diff --git a/cmd/csaf_provider/controller.go b/cmd/csaf_provider/controller.go index 24188b1..5ea05f4 100644 --- a/cmd/csaf_provider/controller.go +++ b/cmd/csaf_provider/controller.go @@ -1,3 +1,11 @@ +// This file is Free Software under the MIT License +// without warranty, see README.md and LICENSES/MIT.txt for details. +// +// SPDX-License-Identifier: MIT +// +// SPDX-FileCopyrightText: 2021 German Federal Office for Information Security (BSI) +// Software-Engineering: 2021 Intevation GmbH + package main import ( diff --git a/cmd/csaf_provider/create.go b/cmd/csaf_provider/create.go index 03f0784..78e75e1 100644 --- a/cmd/csaf_provider/create.go +++ b/cmd/csaf_provider/create.go @@ -1,3 +1,11 @@ +// This file is Free Software under the MIT License +// without warranty, see README.md and LICENSES/MIT.txt for details. +// +// SPDX-License-Identifier: MIT +// +// SPDX-FileCopyrightText: 2021 German Federal Office for Information Security (BSI) +// Software-Engineering: 2021 Intevation GmbH + package main import ( diff --git a/cmd/csaf_provider/extract.go b/cmd/csaf_provider/extract.go index 4c8c955..5673cad 100644 --- a/cmd/csaf_provider/extract.go +++ b/cmd/csaf_provider/extract.go @@ -1,3 +1,11 @@ +// This file is Free Software under the MIT License +// without warranty, see README.md and LICENSES/MIT.txt for details. +// +// SPDX-License-Identifier: MIT +// +// SPDX-FileCopyrightText: 2021 German Federal Office for Information Security (BSI) +// Software-Engineering: 2021 Intevation GmbH + package main import ( diff --git a/cmd/csaf_provider/files.go b/cmd/csaf_provider/files.go index 86b0d1c..e29edbd 100644 --- a/cmd/csaf_provider/files.go +++ b/cmd/csaf_provider/files.go @@ -1,3 +1,11 @@ +// This file is Free Software under the MIT License +// without warranty, see README.md and LICENSES/MIT.txt for details. +// +// SPDX-License-Identifier: MIT +// +// SPDX-FileCopyrightText: 2021 German Federal Office for Information Security (BSI) +// Software-Engineering: 2021 Intevation GmbH + package main import ( diff --git a/cmd/csaf_provider/indices.go b/cmd/csaf_provider/indices.go index f86844b..c9ac116 100644 --- a/cmd/csaf_provider/indices.go +++ b/cmd/csaf_provider/indices.go @@ -1,3 +1,11 @@ +// This file is Free Software under the MIT License +// without warranty, see README.md and LICENSES/MIT.txt for details. +// +// SPDX-License-Identifier: MIT +// +// SPDX-FileCopyrightText: 2021 German Federal Office for Information Security (BSI) +// Software-Engineering: 2021 Intevation GmbH + package main import ( diff --git a/cmd/csaf_provider/main.go b/cmd/csaf_provider/main.go index d4b527a..29a64ec 100644 --- a/cmd/csaf_provider/main.go +++ b/cmd/csaf_provider/main.go @@ -1,3 +1,11 @@ +// This file is Free Software under the MIT License +// without warranty, see README.md and LICENSES/MIT.txt for details. +// +// SPDX-License-Identifier: MIT +// +// SPDX-FileCopyrightText: 2021 German Federal Office for Information Security (BSI) +// Software-Engineering: 2021 Intevation GmbH + package main import ( diff --git a/cmd/csaf_provider/mux.go b/cmd/csaf_provider/mux.go index 12b17ed..34b7e2e 100644 --- a/cmd/csaf_provider/mux.go +++ b/cmd/csaf_provider/mux.go @@ -1,3 +1,11 @@ +// This file is Free Software under the MIT License +// without warranty, see README.md and LICENSES/MIT.txt for details. +// +// SPDX-License-Identifier: MIT +// +// SPDX-FileCopyrightText: 2021 German Federal Office for Information Security (BSI) +// Software-Engineering: 2021 Intevation GmbH + package main import ( diff --git a/cmd/csaf_provider/tmpl/create.html b/cmd/csaf_provider/tmpl/create.html index cdbedc2..74fef6d 100644 --- a/cmd/csaf_provider/tmpl/create.html +++ b/cmd/csaf_provider/tmpl/create.html @@ -1,3 +1,12 @@ + diff --git a/cmd/csaf_provider/tmpl/index.html b/cmd/csaf_provider/tmpl/index.html index de980d0..b9e2be3 100644 --- a/cmd/csaf_provider/tmpl/index.html +++ b/cmd/csaf_provider/tmpl/index.html @@ -1,3 +1,12 @@ + diff --git a/cmd/csaf_provider/tmpl/upload.html b/cmd/csaf_provider/tmpl/upload.html index 4520b49..df718af 100644 --- a/cmd/csaf_provider/tmpl/upload.html +++ b/cmd/csaf_provider/tmpl/upload.html @@ -1,3 +1,12 @@ + diff --git a/cmd/csaf_provider/transaction.go b/cmd/csaf_provider/transaction.go index 936fd0f..6099684 100644 --- a/cmd/csaf_provider/transaction.go +++ b/cmd/csaf_provider/transaction.go @@ -1,3 +1,11 @@ +// This file is Free Software under the MIT License +// without warranty, see README.md and LICENSES/MIT.txt for details. +// +// SPDX-License-Identifier: MIT +// +// SPDX-FileCopyrightText: 2021 German Federal Office for Information Security (BSI) +// Software-Engineering: 2021 Intevation GmbH + package main import ( diff --git a/cmd/csaf_uploader/main.go b/cmd/csaf_uploader/main.go index 86a57dd..22d220e 100644 --- a/cmd/csaf_uploader/main.go +++ b/cmd/csaf_uploader/main.go @@ -1,3 +1,11 @@ +// This file is Free Software under the MIT License +// without warranty, see README.md and LICENSES/MIT.txt for details. +// +// SPDX-License-Identifier: MIT +// +// SPDX-FileCopyrightText: 2021 German Federal Office for Information Security (BSI) +// Software-Engineering: 2021 Intevation GmbH + package main import ( diff --git a/csaf/models.go b/csaf/models.go index 93544bf..fef4cd3 100644 --- a/csaf/models.go +++ b/csaf/models.go @@ -1,3 +1,11 @@ +// This file is Free Software under the MIT License +// without warranty, see README.md and LICENSES/MIT.txt for details. +// +// SPDX-License-Identifier: MIT +// +// SPDX-FileCopyrightText: 2021 German Federal Office for Information Security (BSI) +// Software-Engineering: 2021 Intevation GmbH + package csaf import ( diff --git a/csaf/rolie.go b/csaf/rolie.go index f1ab9de..12e6beb 100644 --- a/csaf/rolie.go +++ b/csaf/rolie.go @@ -1,3 +1,11 @@ +// This file is Free Software under the MIT License +// without warranty, see README.md and LICENSES/MIT.txt for details. +// +// SPDX-License-Identifier: MIT +// +// SPDX-FileCopyrightText: 2021 German Federal Office for Information Security (BSI) +// Software-Engineering: 2021 Intevation GmbH + package csaf import ( diff --git a/csaf/validation.go b/csaf/validation.go index bb06412..3e3dbc0 100644 --- a/csaf/validation.go +++ b/csaf/validation.go @@ -1,3 +1,11 @@ +// This file is Free Software under the MIT License +// without warranty, see README.md and LICENSES/MIT.txt for details. +// +// SPDX-License-Identifier: MIT +// +// SPDX-FileCopyrightText: 2021 German Federal Office for Information Security (BSI) +// Software-Engineering: 2021 Intevation GmbH + package csaf import (