From: George Sapkin Date: Thu, 1 Jan 2026 14:02:01 +0000 (+0200) Subject: golang: add SPDX license identifiers X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=51aa478bea2a94dc3c230a6b2a256eefc6f35801;p=openwrt-packages.git golang: add SPDX license identifiers Link: https://spdx.org/licenses/GPL-2.0-only.html Link: https://github.com/openwrt/packages/pull/28309 Signed-off-by: George Sapkin --- diff --git a/lang/golang/golang-build.sh b/lang/golang/golang-build.sh index 01df4aa42..1eff8f63f 100644 --- a/lang/golang/golang-build.sh +++ b/lang/golang/golang-build.sh @@ -2,9 +2,7 @@ # # Copyright (C) 2020, 2022 Jeffery To # -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# +# SPDX-License-Identifier: GPL-2.0-only nl=" " diff --git a/lang/golang/golang-compiler.mk b/lang/golang/golang-compiler.mk index 44defed7b..1d6ecd161 100644 --- a/lang/golang/golang-compiler.mk +++ b/lang/golang/golang-compiler.mk @@ -1,9 +1,7 @@ # # Copyright (C) 2018, 2020-2021, 2023 Jeffery To # -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# +# SPDX-License-Identifier: GPL-2.0-only ifeq ($(origin GO_INCLUDE_DIR),undefined) GO_INCLUDE_DIR:=$(dir $(lastword $(MAKEFILE_LIST))) diff --git a/lang/golang/golang-host-build.mk b/lang/golang/golang-host-build.mk index 7c7551fd1..f1bb70f27 100644 --- a/lang/golang/golang-host-build.mk +++ b/lang/golang/golang-host-build.mk @@ -1,9 +1,7 @@ # # Copyright (C) 2020, 2022 Jeffery To # -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# +# SPDX-License-Identifier: GPL-2.0-only ifeq ($(origin GO_INCLUDE_DIR),undefined) GO_INCLUDE_DIR:=$(dir $(lastword $(MAKEFILE_LIST))) diff --git a/lang/golang/golang-package.mk b/lang/golang/golang-package.mk index 8edcb278c..9762af7fb 100644 --- a/lang/golang/golang-package.mk +++ b/lang/golang/golang-package.mk @@ -1,9 +1,7 @@ # # Copyright (C) 2018-2022 Jeffery To # -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# +# SPDX-License-Identifier: GPL-2.0-only ifeq ($(origin GO_INCLUDE_DIR),undefined) GO_INCLUDE_DIR:=$(dir $(lastword $(MAKEFILE_LIST))) diff --git a/lang/golang/golang-values.mk b/lang/golang/golang-values.mk index 06e6cec38..a1c420f88 100644 --- a/lang/golang/golang-values.mk +++ b/lang/golang/golang-values.mk @@ -1,9 +1,7 @@ # # Copyright (C) 2018-2023 Jeffery To # -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# +# SPDX-License-Identifier: GPL-2.0-only ifeq ($(origin GO_INCLUDE_DIR),undefined) GO_INCLUDE_DIR:=$(dir $(lastword $(MAKEFILE_LIST))) diff --git a/lang/golang/golang/Makefile b/lang/golang/golang/Makefile index bbf28c61b..f4c2e8214 100644 --- a/lang/golang/golang/Makefile +++ b/lang/golang/golang/Makefile @@ -1,9 +1,7 @@ # # Copyright (C) 2018-2023 Jeffery To # -# 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/lang/golang/golang/files/go-gcc-helper b/lang/golang/golang/files/go-gcc-helper index b21457b55..061955181 100644 --- a/lang/golang/golang/files/go-gcc-helper +++ b/lang/golang/golang/files/go-gcc-helper @@ -2,9 +2,7 @@ # # Copyright (C) 2018, 2020 Jeffery To # -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# +# SPDX-License-Identifier: GPL-2.0-only me=go-gcc-helper name="${0##*/}" diff --git a/lang/golang/golang/test.sh b/lang/golang/golang/test.sh index 114b427ef..7fa3852bf 100644 --- a/lang/golang/golang/test.sh +++ b/lang/golang/golang/test.sh @@ -1,4 +1,6 @@ #!/bin/sh +# +# SPDX-License-Identifier: GPL-2.0-only [ "$1" = golang ] || exit 0