From 8e42a0854b5b2e0b9bc3e58ca5f8d5a965b94c48 Mon Sep 17 00:00:00 2001 From: Kian-Meng Ang Date: Mon, 12 Sep 2022 20:22:05 +0800 Subject: [PATCH] Update license content, usage, and use SPDX identifier --- LICENSE | 8 ++++---- README.md | 17 +++++++++++++++++ src/lz4b.app.src | 2 +- 3 files changed, 22 insertions(+), 5 deletions(-) diff --git a/LICENSE b/LICENSE index 70a5c91..b3848c7 100644 --- a/LICENSE +++ b/LICENSE @@ -1,7 +1,7 @@ GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. @@ -645,7 +645,7 @@ the "copyright" line and a pointer to where the full notice is found. GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program. If not, see . + along with this program. If not, see . Also add information on how to contact you by electronic and paper mail. @@ -664,11 +664,11 @@ might be different; for a GUI interface, you would use an "about box". You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see -. +. The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read -. +. diff --git a/README.md b/README.md index 0b9c8ab..20dfcb0 100644 --- a/README.md +++ b/README.md @@ -29,3 +29,20 @@ lz4b_frame:reload_config() -> ok. ## Configuration application env: `dirty_threshold` : In byte size. binary larger than this size would be handled in a dirty scheduler to avoid long scheduling in erlang scheduler. Default is 0 which means disabled (dirty scheduler not in use). + +## Copyright and License + +Copyright (C) 2018 Zhuwei Yang + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . diff --git a/src/lz4b.app.src b/src/lz4b.app.src index 591a041..8e2996f 100644 --- a/src/lz4b.app.src +++ b/src/lz4b.app.src @@ -12,7 +12,7 @@ kernel, stdlib ]}, - {licenses, ["GPLv3"]}, + {licenses, ["GPL-3.0-or-later"]}, {links, [{"Gitlab", "https://gitlab.com/qzhuyan/lz4b"}]}, {files, ["c_src/lz4b.c", "c_src/lz4b.h",