From a378bbe76707773fe0d096b2d3947a0e63f67f89 Mon Sep 17 00:00:00 2001 From: Armijn Hemel Date: Sun, 19 Apr 2026 20:40:42 +0200 Subject: [PATCH 1/2] add gpl-2.0-plus variant found in squashfs-tools/squashfs-tools/xz_wrapper_extended.c Signed-off-by: Armijn Hemel --- .../data/rules/gpl-2.0-plus_1156.RULE | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/licensedcode/data/rules/gpl-2.0-plus_1156.RULE diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_1156.RULE b/src/licensedcode/data/rules/gpl-2.0-plus_1156.RULE new file mode 100644 index 0000000000..f35f8a9573 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_1156.RULE @@ -0,0 +1,18 @@ +--- +license_expression: gpl-2.0-plus +is_license_notice: yes +--- + + * 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 2, + * 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, write to the Free Software + * Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. From 29e6110f2009c735c47101094ced52746ac9ac27 Mon Sep 17 00:00:00 2001 From: Philippe Ombredanne Date: Thu, 7 May 2026 10:36:13 +0200 Subject: [PATCH 2/2] Add required phrase tag to rule Reference: https://github.com/plougher/squashfs-tools/blob/master/squashfs-tools/xz_wrapper_extended.c#L5 Signed-off-by: Philippe Ombredanne --- src/licensedcode/data/rules/gpl-2.0-plus_1156.RULE | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_1156.RULE b/src/licensedcode/data/rules/gpl-2.0-plus_1156.RULE index f35f8a9573..616d92491e 100644 --- a/src/licensedcode/data/rules/gpl-2.0-plus_1156.RULE +++ b/src/licensedcode/data/rules/gpl-2.0-plus_1156.RULE @@ -4,9 +4,9 @@ is_license_notice: yes --- * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License + * modify it under the terms of the {{GNU General Public License * as published by the Free Software Foundation; either version 2, - * or (at your option) any later version. + * 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