From dc5399dedcf551cbbaefc1aba3d47f65bc686a4d Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Sat, 10 Aug 2024 20:47:22 +0200 Subject: [PATCH] chore(libfetchers): license it under LGPL-2.1-only Progress towards REUSE compliance. Change-Id: I75fd1f986f75865e03f161eda74647da86c1a28e Signed-off-by: Raito Bezarius --- src/libfetchers/attrs.cc | 4 ++++ src/libfetchers/attrs.hh | 4 ++++ src/libfetchers/cache.cc | 4 ++++ src/libfetchers/cache.hh | 4 ++++ src/libfetchers/fetch-settings.cc | 4 ++++ src/libfetchers/fetch-settings.hh | 4 ++++ src/libfetchers/fetch-to-store.cc | 4 ++++ src/libfetchers/fetch-to-store.hh | 4 ++++ src/libfetchers/fetchers.cc | 4 ++++ src/libfetchers/fetchers.hh | 4 ++++ src/libfetchers/git.cc | 4 ++++ src/libfetchers/github.cc | 4 ++++ src/libfetchers/indirect.cc | 4 ++++ src/libfetchers/mercurial.cc | 4 ++++ src/libfetchers/meson.build | 4 ++++ src/libfetchers/path.cc | 4 ++++ src/libfetchers/registry.cc | 4 ++++ src/libfetchers/registry.hh | 4 ++++ src/libfetchers/tarball.cc | 4 ++++ 19 files changed, 76 insertions(+) diff --git a/src/libfetchers/attrs.cc b/src/libfetchers/attrs.cc index a565d19d4..be714b31a 100644 --- a/src/libfetchers/attrs.cc +++ b/src/libfetchers/attrs.cc @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Nix and Lix Authors +// +// SPDX-License-Identifier: LGPL-2.1-only + #include "attrs.hh" #include "fetchers.hh" diff --git a/src/libfetchers/attrs.hh b/src/libfetchers/attrs.hh index 9f885a793..0f4a4b8af 100644 --- a/src/libfetchers/attrs.hh +++ b/src/libfetchers/attrs.hh @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Nix and Lix Authors +// +// SPDX-License-Identifier: LGPL-2.1-only + #pragma once ///@file diff --git a/src/libfetchers/cache.cc b/src/libfetchers/cache.cc index eec77c2dc..ad426d046 100644 --- a/src/libfetchers/cache.cc +++ b/src/libfetchers/cache.cc @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Nix and Lix Authors +// +// SPDX-License-Identifier: LGPL-2.1-only + #include "cache.hh" #include "sqlite.hh" #include "sync.hh" diff --git a/src/libfetchers/cache.hh b/src/libfetchers/cache.hh index af34e66ce..c6606e2be 100644 --- a/src/libfetchers/cache.hh +++ b/src/libfetchers/cache.hh @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Nix and Lix Authors +// +// SPDX-License-Identifier: LGPL-2.1-only + #pragma once ///@file diff --git a/src/libfetchers/fetch-settings.cc b/src/libfetchers/fetch-settings.cc index aeb3c542b..5c3095a1d 100644 --- a/src/libfetchers/fetch-settings.cc +++ b/src/libfetchers/fetch-settings.cc @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Nix and Lix Authors +// +// SPDX-License-Identifier: LGPL-2.1-only + #include "abstract-setting-to-json.hh" #include "args.hh" #include "config-impl.hh" diff --git a/src/libfetchers/fetch-settings.hh b/src/libfetchers/fetch-settings.hh index 93123463c..8c7a8bd0e 100644 --- a/src/libfetchers/fetch-settings.hh +++ b/src/libfetchers/fetch-settings.hh @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Nix and Lix Authors +// +// SPDX-License-Identifier: LGPL-2.1-only + #pragma once ///@file diff --git a/src/libfetchers/fetch-to-store.cc b/src/libfetchers/fetch-to-store.cc index f830a4963..c7f76601b 100644 --- a/src/libfetchers/fetch-to-store.cc +++ b/src/libfetchers/fetch-to-store.cc @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Nix and Lix Authors +// +// SPDX-License-Identifier: LGPL-2.1-only + #include "fetch-to-store.hh" #include "fetchers.hh" #include "cache.hh" diff --git a/src/libfetchers/fetch-to-store.hh b/src/libfetchers/fetch-to-store.hh index b74879637..4970b6435 100644 --- a/src/libfetchers/fetch-to-store.hh +++ b/src/libfetchers/fetch-to-store.hh @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Nix and Lix Authors +// +// SPDX-License-Identifier: LGPL-2.1-only + #pragma once ///@file diff --git a/src/libfetchers/fetchers.cc b/src/libfetchers/fetchers.cc index e09513d8f..f48104e40 100644 --- a/src/libfetchers/fetchers.cc +++ b/src/libfetchers/fetchers.cc @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Nix and Lix Authors +// +// SPDX-License-Identifier: LGPL-2.1-only + #include "fetchers.hh" #include "store-api.hh" #include "source-path.hh" diff --git a/src/libfetchers/fetchers.hh b/src/libfetchers/fetchers.hh index 2bb4248be..b0fe96947 100644 --- a/src/libfetchers/fetchers.hh +++ b/src/libfetchers/fetchers.hh @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Nix and Lix Authors +// +// SPDX-License-Identifier: LGPL-2.1-only + #pragma once ///@file diff --git a/src/libfetchers/git.cc b/src/libfetchers/git.cc index 81c579e84..798b6a362 100644 --- a/src/libfetchers/git.cc +++ b/src/libfetchers/git.cc @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Nix and Lix Authors +// +// SPDX-License-Identifier: LGPL-2.1-only + #include "fetchers.hh" #include "cache.hh" #include "globals.hh" diff --git a/src/libfetchers/github.cc b/src/libfetchers/github.cc index 60fefd1f3..f6b5b3157 100644 --- a/src/libfetchers/github.cc +++ b/src/libfetchers/github.cc @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Nix and Lix Authors +// +// SPDX-License-Identifier: LGPL-2.1-only + #include "filetransfer.hh" #include "cache.hh" #include "globals.hh" diff --git a/src/libfetchers/indirect.cc b/src/libfetchers/indirect.cc index c73505b31..f71e8a9c6 100644 --- a/src/libfetchers/indirect.cc +++ b/src/libfetchers/indirect.cc @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Nix and Lix Authors +// +// SPDX-License-Identifier: LGPL-2.1-only + #include "fetchers.hh" #include "url-parts.hh" #include "path.hh" diff --git a/src/libfetchers/mercurial.cc b/src/libfetchers/mercurial.cc index 23cf7b51d..84ffa342d 100644 --- a/src/libfetchers/mercurial.cc +++ b/src/libfetchers/mercurial.cc @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Nix and Lix Authors +// +// SPDX-License-Identifier: LGPL-2.1-only + #include "fetchers.hh" #include "cache.hh" #include "processes.hh" diff --git a/src/libfetchers/meson.build b/src/libfetchers/meson.build index b66d0b9f9..533d7aa31 100644 --- a/src/libfetchers/meson.build +++ b/src/libfetchers/meson.build @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2024 Nix and Lix Authors +# +# SPDX-License-Identifier: LGPL-2.1-only + libfetchers_sources = files( 'attrs.cc', 'cache.cc', diff --git a/src/libfetchers/path.cc b/src/libfetchers/path.cc index 8e47616d0..7187753ad 100644 --- a/src/libfetchers/path.cc +++ b/src/libfetchers/path.cc @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Nix and Lix Authors +// +// SPDX-License-Identifier: LGPL-2.1-only + #include "fetchers.hh" #include "store-api.hh" #include "archive.hh" diff --git a/src/libfetchers/registry.cc b/src/libfetchers/registry.cc index 96e9ed1c6..5eab895be 100644 --- a/src/libfetchers/registry.cc +++ b/src/libfetchers/registry.cc @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Nix and Lix Authors +// +// SPDX-License-Identifier: LGPL-2.1-only + #include "registry.hh" #include "fetchers.hh" #include "users.hh" diff --git a/src/libfetchers/registry.hh b/src/libfetchers/registry.hh index f57ab1e6b..ddc78c46d 100644 --- a/src/libfetchers/registry.hh +++ b/src/libfetchers/registry.hh @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Nix and Lix Authors +// +// SPDX-License-Identifier: LGPL-2.1-only + #pragma once ///@file diff --git a/src/libfetchers/tarball.cc b/src/libfetchers/tarball.cc index 6ce35aeb2..f834051c8 100644 --- a/src/libfetchers/tarball.cc +++ b/src/libfetchers/tarball.cc @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 Nix and Lix Authors +// +// SPDX-License-Identifier: LGPL-2.1-only + #include "fetchers.hh" #include "cache.hh" #include "filetransfer.hh"