sqlite3: set correct SPDX license identifiers
authorGeorge Sapkin <[email protected]>
Thu, 20 Nov 2025 14:36:51 +0000 (16:36 +0200)
committerGeorge Sapkin <[email protected]>
Sat, 22 Nov 2025 16:54:34 +0000 (18:54 +0200)
Replace boilerplate license header with a SPDX license identifier.

Set correct package license to blessing.

Fixes: 9236e4f ("sqlite3: import 3.7.12.1 (2012-05-22) from packages")
Link: https://spdx.org/licenses/blessing.html
Signed-off-by: George Sapkin <[email protected]>
libs/sqlite3/Makefile
libs/sqlite3/test.sh

index 5212c66ac40085c22064cbeb52b2900c36d0a1ef..bf002d4cc66028fa9a19b9a00d978f4391f5d137 100644 (file)
@@ -1,9 +1,6 @@
+# SPDX-License-Identifier: GPL-2.0-only
 #
-# Copyright (C) 2006-2014 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
+# Copyright (C) 2006-2025 OpenWrt.org
 
 include $(TOPDIR)/rules.mk
 
@@ -17,8 +14,8 @@ PKG_SOURCE_URL:=https://www.sqlite.org/2025/
 PKG_HASH:=42e26dfdd96aa2e6b1b1be5c88b0887f9959093f650d693cb02eb9c36d146ca5
 
 PKG_CPE_ID:=cpe:/a:sqlite:sqlite
-PKG_LICENSE:=PUBLICDOMAIN
-PKG_LICENSE_FILES:=
+PKG_LICENSE:=blessing
+PKG_LICENSE_FILES:=LICENSE.md
 PKG_MAINTAINER:=
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-autoconf-$(PKG_SRC_VERSION)
index 05788fdb5b8da9f6db83f64ddc3e44b58650f69b..13af4783335f27dceebc397d793edd02563a22d7 100755 (executable)
@@ -1,4 +1,6 @@
 #!/bin/sh
+#
+# SPDX-License-Identifier: GPL-2.0-only
 
 if [ "$1" = 'sqlite3-cli' ]; then
        sqlite3 -version | grep -F "$PKG_VERSION"