From 76df394598f5953a2cba14ca0f95c4d9e52e9469 Mon Sep 17 00:00:00 2001 From: Shulhan Date: Mon, 29 Dec 2025 15:08:08 +0700 Subject: all: add missing SPDX license to all files Convert the old ".reuse/dep5" format to REUSE.toml format using "reuse convert-dep5" command. For generated files, add the ".license" file. Using "reuse annotate ..." it automatically add empty line after "SPDX-FileCopyrightText:", and it also put "SPDX-FileCopyrightText" above the "SPDX-License-Identifier". Now, this project is compliant with version 3.3 of the REUSE Specification. --- _ops/haminer-test/.gitignore | 4 ++++ _ops/haminer-test/mkosi.cache/.gitignore | 4 ++++ _ops/haminer-test/mkosi.conf | 4 ++++ _ops/haminer-test/mkosi.conf.d/archlinux.conf | 4 ++++ _ops/haminer-test/mkosi.extra/data/haminer/bin/.gitignore | 4 ++++ _ops/haminer-test/mkosi.extra/etc/haminer.conf | 4 ++++ _ops/haminer-test/mkosi.extra/etc/haproxy/haproxy.cfg | 4 ++++ .../mkosi.extra/etc/systemd/system/haminer-dummy-backend.path | 4 ++++ .../mkosi.extra/etc/systemd/system/haminer-dummy-backend.service | 5 +++-- .../mkosi.extra/etc/systemd/system/systemctl-restart@.service | 4 ++++ _ops/haminer-test/mkosi.extra/var/lib/postgres/data/pg_hba.conf | 4 ++++ _ops/haminer-test/mkosi.extra/var/lib/postgres/data/postgresql.conf | 4 ++++ _ops/haminer-test/mkosi.finalize.chroot | 3 +++ _ops/haminer-test/mkosi.nspawn | 4 ++++ _ops/haminer-test/mkosi.prepare.chroot | 3 +++ _ops/haminer-test/mkosi.skeleton/etc/pacman.conf | 4 ++++ _ops/haminer-test/mkosi.skeleton/etc/pacman.d/mirrorlist | 4 ++++ 17 files changed, 65 insertions(+), 2 deletions(-) (limited to '_ops') diff --git a/_ops/haminer-test/.gitignore b/_ops/haminer-test/.gitignore index eff1b5c..e416401 100644 --- a/_ops/haminer-test/.gitignore +++ b/_ops/haminer-test/.gitignore @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2024 M. Shulhan +# +# SPDX-License-Identifier: GPL-3.0-or-later + /haminer-test /haminer-test.nspawn /haminer-test.tar diff --git a/_ops/haminer-test/mkosi.cache/.gitignore b/_ops/haminer-test/mkosi.cache/.gitignore index 120f485..fff9239 100644 --- a/_ops/haminer-test/mkosi.cache/.gitignore +++ b/_ops/haminer-test/mkosi.cache/.gitignore @@ -1,2 +1,6 @@ +# SPDX-FileCopyrightText: 2024 M. Shulhan +# +# SPDX-License-Identifier: GPL-3.0-or-later + * !/.gitignore diff --git a/_ops/haminer-test/mkosi.conf b/_ops/haminer-test/mkosi.conf index 0da472a..71b2473 100644 --- a/_ops/haminer-test/mkosi.conf +++ b/_ops/haminer-test/mkosi.conf @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2024 M. Shulhan +# +# SPDX-License-Identifier: GPL-3.0-or-later + [Output] Format=directory Output=haminer-test diff --git a/_ops/haminer-test/mkosi.conf.d/archlinux.conf b/_ops/haminer-test/mkosi.conf.d/archlinux.conf index 6dcc2be..bc350fd 100644 --- a/_ops/haminer-test/mkosi.conf.d/archlinux.conf +++ b/_ops/haminer-test/mkosi.conf.d/archlinux.conf @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2024 M. Shulhan +# +# SPDX-License-Identifier: GPL-3.0-or-later + [Match] Distribution=arch diff --git a/_ops/haminer-test/mkosi.extra/data/haminer/bin/.gitignore b/_ops/haminer-test/mkosi.extra/data/haminer/bin/.gitignore index 120f485..fff9239 100644 --- a/_ops/haminer-test/mkosi.extra/data/haminer/bin/.gitignore +++ b/_ops/haminer-test/mkosi.extra/data/haminer/bin/.gitignore @@ -1,2 +1,6 @@ +# SPDX-FileCopyrightText: 2024 M. Shulhan +# +# SPDX-License-Identifier: GPL-3.0-or-later + * !/.gitignore diff --git a/_ops/haminer-test/mkosi.extra/etc/haminer.conf b/_ops/haminer-test/mkosi.extra/etc/haminer.conf index c7190d3..257a381 100644 --- a/_ops/haminer-test/mkosi.extra/etc/haminer.conf +++ b/_ops/haminer-test/mkosi.extra/etc/haminer.conf @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2024 M. Shulhan +# +# SPDX-License-Identifier: GPL-3.0-or-later + [haminer] listen = 0.0.0.0:5140 wui_address = 127.0.0.1:15140 diff --git a/_ops/haminer-test/mkosi.extra/etc/haproxy/haproxy.cfg b/_ops/haminer-test/mkosi.extra/etc/haproxy/haproxy.cfg index 1f3d2dd..807e642 100644 --- a/_ops/haminer-test/mkosi.extra/etc/haproxy/haproxy.cfg +++ b/_ops/haminer-test/mkosi.extra/etc/haproxy/haproxy.cfg @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2024 M. Shulhan +# +# SPDX-License-Identifier: GPL-3.0-or-later + global maxconn 20000 log 127.0.0.1:5140 local0 diff --git a/_ops/haminer-test/mkosi.extra/etc/systemd/system/haminer-dummy-backend.path b/_ops/haminer-test/mkosi.extra/etc/systemd/system/haminer-dummy-backend.path index 5261287..a8ab1bd 100644 --- a/_ops/haminer-test/mkosi.extra/etc/systemd/system/haminer-dummy-backend.path +++ b/_ops/haminer-test/mkosi.extra/etc/systemd/system/haminer-dummy-backend.path @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2024 M. Shulhan +# +# SPDX-License-Identifier: GPL-3.0-or-later + [Unit] Description="Watch haminer-dummy-backend" diff --git a/_ops/haminer-test/mkosi.extra/etc/systemd/system/haminer-dummy-backend.service b/_ops/haminer-test/mkosi.extra/etc/systemd/system/haminer-dummy-backend.service index 3f6e41a..320b0cb 100644 --- a/_ops/haminer-test/mkosi.extra/etc/systemd/system/haminer-dummy-backend.service +++ b/_ops/haminer-test/mkosi.extra/etc/systemd/system/haminer-dummy-backend.service @@ -1,5 +1,6 @@ -## SPDX-FileCopyrightText: 2024 M. Shulhan -## SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-FileCopyrightText: 2024 M. Shulhan +# +# SPDX-License-Identifier: GPL-3.0-or-later [Unit] Description=haminer-dummy-backend diff --git a/_ops/haminer-test/mkosi.extra/etc/systemd/system/systemctl-restart@.service b/_ops/haminer-test/mkosi.extra/etc/systemd/system/systemctl-restart@.service index 800316e..def4687 100644 --- a/_ops/haminer-test/mkosi.extra/etc/systemd/system/systemctl-restart@.service +++ b/_ops/haminer-test/mkosi.extra/etc/systemd/system/systemctl-restart@.service @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2024 M. Shulhan +# +# SPDX-License-Identifier: GPL-3.0-or-later + [Unit] Description=systemctl-restart@%i diff --git a/_ops/haminer-test/mkosi.extra/var/lib/postgres/data/pg_hba.conf b/_ops/haminer-test/mkosi.extra/var/lib/postgres/data/pg_hba.conf index 5b2693e..d51df99 100644 --- a/_ops/haminer-test/mkosi.extra/var/lib/postgres/data/pg_hba.conf +++ b/_ops/haminer-test/mkosi.extra/var/lib/postgres/data/pg_hba.conf @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2024 M. Shulhan +# +# SPDX-License-Identifier: GPL-3.0-or-later + # PostgreSQL Client Authentication Configuration File # =================================================== # diff --git a/_ops/haminer-test/mkosi.extra/var/lib/postgres/data/postgresql.conf b/_ops/haminer-test/mkosi.extra/var/lib/postgres/data/postgresql.conf index 7ae5d67..bb9cd75 100644 --- a/_ops/haminer-test/mkosi.extra/var/lib/postgres/data/postgresql.conf +++ b/_ops/haminer-test/mkosi.extra/var/lib/postgres/data/postgresql.conf @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2024 M. Shulhan +# +# SPDX-License-Identifier: GPL-3.0-or-later + # ----------------------------- # PostgreSQL configuration file # ----------------------------- diff --git a/_ops/haminer-test/mkosi.finalize.chroot b/_ops/haminer-test/mkosi.finalize.chroot index 200b78f..4293eeb 100755 --- a/_ops/haminer-test/mkosi.finalize.chroot +++ b/_ops/haminer-test/mkosi.finalize.chroot @@ -1,4 +1,7 @@ #!/bin/sh +# SPDX-FileCopyrightText: 2024 M. Shulhan +# +# SPDX-License-Identifier: GPL-3.0-or-later chown postgres:postgres /var/lib/postgres/data/postgresql.conf chown postgres:postgres /var/lib/postgres/data/pg_hba.conf diff --git a/_ops/haminer-test/mkosi.nspawn b/_ops/haminer-test/mkosi.nspawn index 2144a2b..ed4efe9 100644 --- a/_ops/haminer-test/mkosi.nspawn +++ b/_ops/haminer-test/mkosi.nspawn @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2024 M. Shulhan +# +# SPDX-License-Identifier: GPL-3.0-or-later + [Network] Private = yes VirtualEthernet = yes diff --git a/_ops/haminer-test/mkosi.prepare.chroot b/_ops/haminer-test/mkosi.prepare.chroot index a4c04fd..d8c99bd 100755 --- a/_ops/haminer-test/mkosi.prepare.chroot +++ b/_ops/haminer-test/mkosi.prepare.chroot @@ -1,4 +1,7 @@ #!/bin/sh +# SPDX-FileCopyrightText: 2024 M. Shulhan +# +# SPDX-License-Identifier: GPL-3.0-or-later rm -rf /var/lib/postgres/data mkdir /var/lib/postgres/data diff --git a/_ops/haminer-test/mkosi.skeleton/etc/pacman.conf b/_ops/haminer-test/mkosi.skeleton/etc/pacman.conf index 5016129..ea6800d 100644 --- a/_ops/haminer-test/mkosi.skeleton/etc/pacman.conf +++ b/_ops/haminer-test/mkosi.skeleton/etc/pacman.conf @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2024 M. Shulhan +# +# SPDX-License-Identifier: GPL-3.0-or-later + # # /etc/pacman.conf # diff --git a/_ops/haminer-test/mkosi.skeleton/etc/pacman.d/mirrorlist b/_ops/haminer-test/mkosi.skeleton/etc/pacman.d/mirrorlist index 7cb3cb9..35b28a7 100644 --- a/_ops/haminer-test/mkosi.skeleton/etc/pacman.d/mirrorlist +++ b/_ops/haminer-test/mkosi.skeleton/etc/pacman.d/mirrorlist @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2024 M. Shulhan +# +# SPDX-License-Identifier: GPL-3.0-or-later + ## ## Arch Linux repository mirrorlist ## Generated on 2023-10-01 -- cgit v1.3