sqlite3: set correct SPDX license identifiers

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 <george@sapk.in>
This commit is contained in:
George Sapkin
2025-11-20 16:36:51 +02:00
parent 91d21b4ea7
commit 7ff8ef148f
2 changed files with 6 additions and 7 deletions

View 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)

View File

@@ -1,4 +1,6 @@
#!/bin/sh
#
# SPDX-License-Identifier: GPL-2.0-only
if [ "$1" = 'sqlite3-cli' ]; then
sqlite3 -version | grep -F "$PKG_VERSION"