From e0d24e48fd79527420cd43173c8bccb584063cba Mon Sep 17 00:00:00 2001 From: George Sapkin Date: Thu, 4 Dec 2025 06:52:42 +0200 Subject: [PATCH] adguardhome: add SPDX license identifiers Add GPL 2.0 only SPDX license identifiers to Makefile and all scripts. Signed-off-by: George Sapkin --- net/adguardhome/Makefile | 5 +---- net/adguardhome/files/adguardhome.defaults | 2 ++ net/adguardhome/files/adguardhome.init | 3 +++ net/adguardhome/test.sh | 2 ++ 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/net/adguardhome/Makefile b/net/adguardhome/Makefile index 02cbd10b5d..8d9f1fed81 100644 --- a/net/adguardhome/Makefile +++ b/net/adguardhome/Makefile @@ -1,7 +1,4 @@ -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# +# SPDX-License-Identifier: GPL-2.0-only include $(TOPDIR)/rules.mk diff --git a/net/adguardhome/files/adguardhome.defaults b/net/adguardhome/files/adguardhome.defaults index e98fee5b78..d19d531eee 100644 --- a/net/adguardhome/files/adguardhome.defaults +++ b/net/adguardhome/files/adguardhome.defaults @@ -1,4 +1,6 @@ #!/bin/sh +# +# SPDX-License-Identifier: GPL-2.0-only # Migrate old config format only OLD_CONFIG_FILE=$(uci -q get adguardhome.config.config) diff --git a/net/adguardhome/files/adguardhome.init b/net/adguardhome/files/adguardhome.init index 6ab10dec52..3330d51a59 100644 --- a/net/adguardhome/files/adguardhome.init +++ b/net/adguardhome/files/adguardhome.init @@ -1,4 +1,7 @@ #!/bin/sh /etc/rc.common +# +# SPDX-License-Identifier: GPL-2.0-only +# # shellcheck disable=SC3043 # ash supports local PROG=/usr/bin/AdGuardHome diff --git a/net/adguardhome/test.sh b/net/adguardhome/test.sh index c9c4962efc..5c277d4d15 100755 --- a/net/adguardhome/test.sh +++ b/net/adguardhome/test.sh @@ -1,3 +1,5 @@ #!/bin/sh +# +# SPDX-License-Identifier: GPL-2.0-only AdGuardHome --version | grep -F "$PKG_VERSION"