diff --git a/ChangeLog b/ChangeLog index ee1ada4..5d1d42c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ # ChangeLog for zram-init: +*zram-init-10.5: + Martin Väth : + - Add SPDX-License-Identifier + *zram-init-10.4: Martin Väth : - New option -B to change default block size for ext2, ext4 diff --git a/Makefile b/Makefile index b9faa86..972050d 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0-only BUGADDR = Martin V\"ath EXENAME ?= zram-init diff --git a/README.md b/README.md index 3bc3652..03249b4 100644 --- a/README.md +++ b/README.md @@ -2,9 +2,10 @@ A wrapper script for the zram kernel module with interactive and init support -(C) Martin Väth (mvath at google.com). +(C) Martin Väth (martin at mvath.de). Many thanks to all people in the `AUTHORS` file for contributing. The license of this package is the GNU Public License GPL-2. +SPDX-License-Identifier: GPL-2.0-only This is a small helper script to setup a zram device as swap or as a ramdisk. Also a __zsh completion__ file and __openrc__ and __systemd__ init-scripts diff --git a/i18n/de.po b/i18n/de.po index d36a0f4..2a21697 100644 --- a/i18n/de.po +++ b/i18n/de.po @@ -1,5 +1,6 @@ # Copyright (C) 2012-2020 Martin V"ath # This file is distributed under the same license as the zram-init package. +# SPDX-License-Identifier: GPL-2.0-only # # Martin V"ath msgid "" @@ -7,7 +8,7 @@ msgstr "" "Project-Id-Version: zram-init\n" "Report-Msgid-Bugs-To: Martin V\"ath \n" "POT-Creation-Date: 2020-07-11 07:16+0200\n" -"PO-Revision-Date: 2020-07-11 07:36+0200\n" +"PO-Revision-Date: 2020-07-26 08:49+0200\n" "Last-Translator: Martin V\"ath \n" "Language-Team: German\n" "Language: de\n" diff --git a/i18n/fr.po b/i18n/fr.po index bbba7f2..8ceb8a7 100644 --- a/i18n/fr.po +++ b/i18n/fr.po @@ -1,5 +1,6 @@ # Copyright (C) 2012-2020 Martin V"ath # This file is distributed under the same license as the zram-init package. +# SPDX-License-Identifier: GPL-2.0-only # # Mattéo Rossillol‑‑Laruelle , 2020. msgid "" @@ -7,7 +8,7 @@ msgstr "" "Project-Id-Version: zram-init\n" "Report-Msgid-Bugs-To: Martin V\"ath \n" "POT-Creation-Date: 2020-07-11 07:16+0200\n" -"PO-Revision-Date: 2020-07-11 07:19+0200\n" +"PO-Revision-Date: 2020-07-26 08:49+0200\n" "Last-Translator: Mattéo Rossillol‑‑Laruelle \n" "Language-Team: French\n" "Language: fr\n" diff --git a/man/zram-init.8 b/man/zram-init.8 index 93b2a55..bf1419e 100644 --- a/man/zram-init.8 +++ b/man/zram-init.8 @@ -1,4 +1,5 @@ .TH ZRAM-INIT "8" "July 2020" "zram-init" "System Administration" +.\" SPDX-License-Identifier: GPL-2.0-only .\" {{{ SEE ALSO .SH "NAME" \fBzram-init\fR \- Scripts to support compressed swap devices or ramdisks with zram diff --git a/man/zram-init.de.8 b/man/zram-init.de.8 index 05ca53a..cfe6fc1 100644 --- a/man/zram-init.de.8 +++ b/man/zram-init.de.8 @@ -1,4 +1,5 @@ .TH ZRAM-INIT "8" "July 2020" "zram-init" "System Administration" +.\" SPDX-License-Identifier: GPL-2.0-only .\" {{{ SEE ALSO .SH "NAME" \fBzram-init\fR \- Skripte zur Unterst\(:utzung komprimierter Swap-Devices oder Ramdisks mit zram diff --git a/openrc/conf.d/zram-init b/openrc/conf.d/zram-init index ed9e07e..8dff1be 100644 --- a/openrc/conf.d/zram-init +++ b/openrc/conf.d/zram-init @@ -1,4 +1,5 @@ # zram settings... +# SPDX-License-Identifier: GPL-2.0-only # load zram kernel module on start? load_on_start=yes diff --git a/openrc/init.d/zram-init b/openrc/init.d/zram-init index 118fe19..2debae7 100755 --- a/openrc/init.d/zram-init +++ b/openrc/init.d/zram-init @@ -1,4 +1,5 @@ #!/sbin/openrc-run +# SPDX-License-Identifier: GPL-2.0-only depend() { need localmount swap diff --git a/sbin/zram-init.in b/sbin/zram-init.in index e855856..bca5d9a 100755 --- a/sbin/zram-init.in +++ b/sbin/zram-init.in @@ -1,5 +1,6 @@ #!/usr/bin/env sh # (C) Martin V\"ath +# SPDX-License-Identifier: GPL-2.0-only set -u diff --git a/systemd/system/zram_btrfs.service b/systemd/system/zram_btrfs.service index 8f7fb94..d822f8b 100644 --- a/systemd/system/zram_btrfs.service +++ b/systemd/system/zram_btrfs.service @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0-only [Unit] Description=Create btrfs on zram /dev/zram1 without mounting it DefaultDependencies=no diff --git a/systemd/system/zram_swap.service b/systemd/system/zram_swap.service index e869fe6..7d41a44 100644 --- a/systemd/system/zram_swap.service +++ b/systemd/system/zram_swap.service @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0-only [Unit] Description=swap with zram DefaultDependencies=no diff --git a/systemd/system/zram_tmp.service b/systemd/system/zram_tmp.service index 156cacd..80bf1ad 100644 --- a/systemd/system/zram_tmp.service +++ b/systemd/system/zram_tmp.service @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0-only [Unit] Description=Mount /tmp as zram. Mask tmp.mount if you use this DefaultDependencies=no diff --git a/systemd/system/zram_var_tmp.service b/systemd/system/zram_var_tmp.service index 7254ccb..0fabbd7 100644 --- a/systemd/system/zram_var_tmp.service +++ b/systemd/system/zram_var_tmp.service @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0-only [Unit] Description=Mount /var/tmp as zram DefaultDependencies=no diff --git a/zsh/_zram-init b/zsh/_zram-init index 554c231..bb66c71 100644 --- a/zsh/_zram-init +++ b/zsh/_zram-init @@ -1,4 +1,5 @@ #compdef zram-init +# SPDX-License-Identifier: GPL-2.0-only _arguments -s -S -A '-*' : \ '(* -)'{'-h','-H'}'[help]' \ '-d+[use specified zram device nr]:device-nr:(/dev/zram*(\:t\:s/zram/))' \