From b4fd573f757d688fef963b603469b7d4b597d427 Mon Sep 17 00:00:00 2001 From: Santosh Pulikonda Date: Thu, 26 Mar 2026 09:26:22 +0530 Subject: [PATCH 1/2] rules: add BSD-3-Clause variants for sfilippone/psblas3 Add exact-match detection rules for three BSD-3-Clause license variants found across different commits of https://github.com/sfilippone/psblas3 Includes ignorable copyright and holder clues for accurate matching. Variants covered: - d2fba9e: Copyright 2025 Salvatore Filippone, Alfredo Buttari - 316561c: Missing prior in without specific written permission - 1748dac: Copyright 2025 Salvatore Filippone, Copyright 2025 Alfredo Buttari Fixes: https://github.com/aboutcode-org/scancode-toolkit/issues/4863 Signed-off-by: kumarasantosh Signed-off-by: Santosh Pulikonda --- .../bsd-3-clause_sfilippone_psblas3_1.RULE | 34 +++++++++++++++++ .../bsd-3-clause_sfilippone_psblas3_2.RULE | 37 +++++++++++++++++++ .../bsd-3-clause_sfilippone_psblas3_3.RULE | 37 +++++++++++++++++++ 3 files changed, 108 insertions(+) create mode 100644 src/licensedcode/data/rules/bsd-3-clause_sfilippone_psblas3_1.RULE create mode 100644 src/licensedcode/data/rules/bsd-3-clause_sfilippone_psblas3_2.RULE create mode 100644 src/licensedcode/data/rules/bsd-3-clause_sfilippone_psblas3_3.RULE diff --git a/src/licensedcode/data/rules/bsd-3-clause_sfilippone_psblas3_1.RULE b/src/licensedcode/data/rules/bsd-3-clause_sfilippone_psblas3_1.RULE new file mode 100644 index 0000000000..5a2e093297 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-3-clause_sfilippone_psblas3_1.RULE @@ -0,0 +1,34 @@ +--- +license_expression: bsd-new +is_license_notice: yes +ignorable_copyrights: + - (c) Copyright 2025 Salvatore Filippone, Alfredo Buttari +ignorable_holders: + - Salvatore Filippone, Alfredo Buttari +--- + +(C) Copyright 2025 Salvatore Filippone, Alfredo Buttari + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions, and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. The name of the PSBLAS group or the names of its contributors may + not be used to endorse or promote products derived from this + software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE PSBLAS GROUP OR ITS CONTRIBUTORS + BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. diff --git a/src/licensedcode/data/rules/bsd-3-clause_sfilippone_psblas3_2.RULE b/src/licensedcode/data/rules/bsd-3-clause_sfilippone_psblas3_2.RULE new file mode 100644 index 0000000000..b80da7e8f2 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-3-clause_sfilippone_psblas3_2.RULE @@ -0,0 +1,37 @@ +--- +license_expression: bsd-new +is_license_notice: yes +ignorable_copyrights: + - (c) Copyright 2006-2025 Salvatore Filippone Alfredo Buttari +ignorable_holders: + - Salvatore Filippone Alfredo Buttari +--- + +Parallel Sparse BLAS version 3.9 + (C) Copyright 2006-2025 + Salvatore Filippone + Alfredo Buttari + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions, and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. The name of the PSBLAS group or the names of its contributors may + not be used to endorse or promote products derived from this + software without specific written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE PSBLAS GROUP OR ITS CONTRIBUTORS + BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. diff --git a/src/licensedcode/data/rules/bsd-3-clause_sfilippone_psblas3_3.RULE b/src/licensedcode/data/rules/bsd-3-clause_sfilippone_psblas3_3.RULE new file mode 100644 index 0000000000..c05e6d62df --- /dev/null +++ b/src/licensedcode/data/rules/bsd-3-clause_sfilippone_psblas3_3.RULE @@ -0,0 +1,37 @@ +--- +license_expression: bsd-new +is_license_notice: yes +ignorable_copyrights: + - (c) Copyright 2025 Alfredo Buttari + - (c) Copyright 2025 Salvatore Filippone +ignorable_holders: + - Alfredo Buttari + - Salvatore Filippone +--- + +(C) Copyright 2025 Salvatore Filippone + (C) Copyright 2025 Alfredo Buttari + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions, and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. The name of the PSBLAS group or the names of its contributors may + not be used to endorse or promote products derived from this + software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE PSBLAS GROUP OR ITS CONTRIBUTORS + BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. From 41611707ba4252502f901688475831e62da6d468 Mon Sep 17 00:00:00 2001 From: Santosh Pulikonda Date: Wed, 15 Apr 2026 22:54:13 +0530 Subject: [PATCH 2/2] rules: remove headers/ignorables from sfilippone/psblas3 rules Signed-off-by: Santosh Pulikonda --- .../bsd-3-clause_sfilippone_psblas3_1.RULE | 6 --- .../bsd-3-clause_sfilippone_psblas3_2.RULE | 9 ----- .../bsd-3-clause_sfilippone_psblas3_3.RULE | 37 ------------------- 3 files changed, 52 deletions(-) delete mode 100644 src/licensedcode/data/rules/bsd-3-clause_sfilippone_psblas3_3.RULE diff --git a/src/licensedcode/data/rules/bsd-3-clause_sfilippone_psblas3_1.RULE b/src/licensedcode/data/rules/bsd-3-clause_sfilippone_psblas3_1.RULE index 5a2e093297..9d2510fa87 100644 --- a/src/licensedcode/data/rules/bsd-3-clause_sfilippone_psblas3_1.RULE +++ b/src/licensedcode/data/rules/bsd-3-clause_sfilippone_psblas3_1.RULE @@ -1,14 +1,8 @@ --- license_expression: bsd-new is_license_notice: yes -ignorable_copyrights: - - (c) Copyright 2025 Salvatore Filippone, Alfredo Buttari -ignorable_holders: - - Salvatore Filippone, Alfredo Buttari --- -(C) Copyright 2025 Salvatore Filippone, Alfredo Buttari - Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/src/licensedcode/data/rules/bsd-3-clause_sfilippone_psblas3_2.RULE b/src/licensedcode/data/rules/bsd-3-clause_sfilippone_psblas3_2.RULE index b80da7e8f2..381846135c 100644 --- a/src/licensedcode/data/rules/bsd-3-clause_sfilippone_psblas3_2.RULE +++ b/src/licensedcode/data/rules/bsd-3-clause_sfilippone_psblas3_2.RULE @@ -1,17 +1,8 @@ --- license_expression: bsd-new is_license_notice: yes -ignorable_copyrights: - - (c) Copyright 2006-2025 Salvatore Filippone Alfredo Buttari -ignorable_holders: - - Salvatore Filippone Alfredo Buttari --- -Parallel Sparse BLAS version 3.9 - (C) Copyright 2006-2025 - Salvatore Filippone - Alfredo Buttari - Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/src/licensedcode/data/rules/bsd-3-clause_sfilippone_psblas3_3.RULE b/src/licensedcode/data/rules/bsd-3-clause_sfilippone_psblas3_3.RULE deleted file mode 100644 index c05e6d62df..0000000000 --- a/src/licensedcode/data/rules/bsd-3-clause_sfilippone_psblas3_3.RULE +++ /dev/null @@ -1,37 +0,0 @@ ---- -license_expression: bsd-new -is_license_notice: yes -ignorable_copyrights: - - (c) Copyright 2025 Alfredo Buttari - - (c) Copyright 2025 Salvatore Filippone -ignorable_holders: - - Alfredo Buttari - - Salvatore Filippone ---- - -(C) Copyright 2025 Salvatore Filippone - (C) Copyright 2025 Alfredo Buttari - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions - are met: - 1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - 2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions, and the following disclaimer in the - documentation and/or other materials provided with the distribution. - 3. The name of the PSBLAS group or the names of its contributors may - not be used to endorse or promote products derived from this - software without specific prior written permission. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED - TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE PSBLAS GROUP OR ITS CONTRIBUTORS - BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - POSSIBILITY OF SUCH DAMAGE.