From 52b2082a992d81aa5e94db00d671b7dfb29c73b7 Mon Sep 17 00:00:00 2001 From: Francesco Ariis Date: Sat, 14 Sep 2024 16:27:59 +0200 Subject: [PATCH] Regenerate licence files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Useless since we are going to have to do it again before a release, needed to make CI green (“Check that diff is clean”). --- .../Distribution/SPDX/LicenseExceptionId.hs | 8 ++++---- .../src/Distribution/SPDX/LicenseId.hs | 18 +++++++++--------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/Cabal-syntax/src/Distribution/SPDX/LicenseExceptionId.hs b/Cabal-syntax/src/Distribution/SPDX/LicenseExceptionId.hs index 2ab6eb9eeff..6d0bb37caba 100644 --- a/Cabal-syntax/src/Distribution/SPDX/LicenseExceptionId.hs +++ b/Cabal-syntax/src/Distribution/SPDX/LicenseExceptionId.hs @@ -32,7 +32,7 @@ import qualified Text.PrettyPrint as Disp -- | SPDX License Exceptions identifiers list v3.25 data LicenseExceptionId - = DS389_exception -- ^ @389-exception@, 389 Directory Server Exception + = N_389_exception -- ^ @389-exception@, 389 Directory Server Exception | Asterisk_exception -- ^ @Asterisk-exception@, Asterisk exception, SPDX License List 3.23, SPDX License List 3.25 | Asterisk_linking_protocols_exception -- ^ @Asterisk-linking-protocols-exception@, Asterisk linking protocols exception, SPDX License List 3.25 | Autoconf_exception_2_0 -- ^ @Autoconf-exception-2.0@, Autoconf exception 2.0 @@ -137,7 +137,7 @@ instance NFData LicenseExceptionId where -- | License SPDX identifier, e.g. @"BSD-3-Clause"@. licenseExceptionId :: LicenseExceptionId -> String -licenseExceptionId DS389_exception = "389-exception" +licenseExceptionId N_389_exception = "389-exception" licenseExceptionId Asterisk_exception = "Asterisk-exception" licenseExceptionId Asterisk_linking_protocols_exception = "Asterisk-linking-protocols-exception" licenseExceptionId Autoconf_exception_2_0 = "Autoconf-exception-2.0" @@ -212,7 +212,7 @@ licenseExceptionId X11vnc_openssl_exception = "x11vnc-openssl-exception" -- | License name, e.g. @"GNU General Public License v2.0 only"@ licenseExceptionName :: LicenseExceptionId -> String -licenseExceptionName DS389_exception = "389 Directory Server Exception" +licenseExceptionName N_389_exception = "389 Directory Server Exception" licenseExceptionName Asterisk_exception = "Asterisk exception" licenseExceptionName Asterisk_linking_protocols_exception = "Asterisk linking protocols exception" licenseExceptionName Autoconf_exception_2_0 = "Autoconf exception 2.0" @@ -504,7 +504,7 @@ stringLookup_3_25 = Map.fromList $ map (\i -> (licenseExceptionId i, i)) $ -- | License exceptions in all SPDX License lists bulkOfLicenses :: [LicenseExceptionId] bulkOfLicenses = - [ DS389_exception + [ N_389_exception , Autoconf_exception_2_0 , Autoconf_exception_3_0 , Bison_exception_2_2 diff --git a/Cabal-syntax/src/Distribution/SPDX/LicenseId.hs b/Cabal-syntax/src/Distribution/SPDX/LicenseId.hs index 16421e475f9..95d315906c7 100644 --- a/Cabal-syntax/src/Distribution/SPDX/LicenseId.hs +++ b/Cabal-syntax/src/Distribution/SPDX/LicenseId.hs @@ -35,8 +35,8 @@ import qualified Text.PrettyPrint as Disp -- | SPDX License identifiers list v3.25 data LicenseId - = NullBSD -- ^ @0BSD@, BSD Zero Clause License - | X3D_Slicer_1_0 -- ^ @3D-Slicer-1.0@, 3D Slicer License v1.0, SPDX License List 3.25 + = N_0BSD -- ^ @0BSD@, BSD Zero Clause License + | N_3D_Slicer_1_0 -- ^ @3D-Slicer-1.0@, 3D Slicer License v1.0, SPDX License List 3.25 | AAL -- ^ @AAL@, Attribution Assurance License | Abstyles -- ^ @Abstyles@, Abstyles License | AdaCore_doc -- ^ @AdaCore-doc@, AdaCore Doc License, SPDX License List 3.23, SPDX License List 3.25 @@ -756,8 +756,8 @@ licenseIdMigrationMessage = go where -- | License SPDX identifier, e.g. @"BSD-3-Clause"@. licenseId :: LicenseId -> String -licenseId NullBSD = "0BSD" -licenseId X3D_Slicer_1_0 = "3D-Slicer-1.0" +licenseId N_0BSD = "0BSD" +licenseId N_3D_Slicer_1_0 = "3D-Slicer-1.0" licenseId AAL = "AAL" licenseId Abstyles = "Abstyles" licenseId AdaCore_doc = "AdaCore-doc" @@ -1398,8 +1398,8 @@ licenseId ZPL_2_1 = "ZPL-2.1" -- | License name, e.g. @"GNU General Public License v2.0 only"@ licenseName :: LicenseId -> String -licenseName NullBSD = "BSD Zero Clause License" -licenseName X3D_Slicer_1_0 = "3D Slicer License v1.0" +licenseName N_0BSD = "BSD Zero Clause License" +licenseName N_3D_Slicer_1_0 = "3D Slicer License v1.0" licenseName AAL = "Attribution Assurance License" licenseName Abstyles = "Abstyles License" licenseName AdaCore_doc = "AdaCore Doc License" @@ -2042,7 +2042,7 @@ licenseName ZPL_2_1 = "Zope Public License 2.1" -- -- See . licenseIsOsiApproved :: LicenseId -> Bool -licenseIsOsiApproved NullBSD = True +licenseIsOsiApproved N_0BSD = True licenseIsOsiApproved AAL = True licenseIsOsiApproved AFL_1_1 = True licenseIsOsiApproved AFL_1_2 = True @@ -2886,7 +2886,7 @@ licenseIdList LicenseListVersion_3_23 = ] ++ bulkOfLicenses licenseIdList LicenseListVersion_3_25 = - [ X3D_Slicer_1_0 + [ N_3D_Slicer_1_0 , AdaCore_doc , Adobe_Display_PostScript , Adobe_Utopia @@ -3232,7 +3232,7 @@ stringLookup_3_25 = Map.fromList $ map (\i -> (licenseId i, i)) $ -- | Licenses in all SPDX License lists bulkOfLicenses :: [LicenseId] bulkOfLicenses = - [ NullBSD + [ N_0BSD , AAL , Abstyles , Adobe_2006