Skip to content

Commit

Permalink
Add the licenses and license exceptions lists specified in SPDX 2.4..
Browse files Browse the repository at this point in the history
According to pull request #6 this commit
splits the differences in half by only adding new licenses and license
exceptions.
  • Loading branch information
breard-r committed Jul 13, 2016
1 parent 5030e28 commit 2697612
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions src/spdx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// whitelist fetched from http://spdx.org/licenses/

pub const LICENSES: &'static [&'static str] = &[
"0BSD",
"AAL",
"ADSL",
"AFL-1.1",
Expand Down Expand Up @@ -91,6 +92,7 @@ pub const LICENSES: &'static [&'static str] = &[
"CECILL-2.1",
"CECILL-B",
"CECILL-C",
"CNRI-Jython",
"CNRI-Python",
"CNRI-Python-GPL-Compatible",
"CPAL-1.0",
Expand All @@ -101,6 +103,7 @@ pub const LICENSES: &'static [&'static str] = &[
"ClArtistic",
"Condor-1.1",
"Crossword",
"CrystalStacker",
"Cube",
"D-FSL-1.0",
"DOC",
Expand All @@ -117,11 +120,13 @@ pub const LICENSES: &'static [&'static str] = &[
"Entessa",
"ErlPL-1.1",
"Eurosym",
"FSFAP",
"FSFUL",
"FSFULLR",
"FTL",
"Fair",
"Frameworx-1.0",
"FreeImage",
"GFDL-1.1",
"GFDL-1.2",
"GFDL-1.3",
Expand All @@ -142,19 +147,25 @@ pub const LICENSES: &'static [&'static str] = &[
"HPND",
"HaskellReport",
"IBM-pibs",
"ICU",
"IJG",
"IPA",
"IPL-1.0",
"ISC",
"ImageMagick",
"Imlib2",
"Info-ZIP",
"Intel",
"Intel-ACPI",
"Interbase-1.0",
"JSON",
"JasPer-2.0",
"LAL-1.2",
"LAL-1.3",
"LGPL-2.0",
"LGPL-2.1",
"LGPL-3.0",
"LGPLLR",
"LPL-1.0",
"LPL-1.02",
"LPPL-1.0",
Expand All @@ -164,6 +175,9 @@ pub const LICENSES: &'static [&'static str] = &[
"LPPL-1.3c",
"Latex2e",
"Leptonica",
"LiLiQ-P-1.1",
"LiLiQ-R-1.1",
"LiLiQ-Rplus-1.1",
"Libpng",
"MIT",
"MIT-CMU",
Expand All @@ -187,6 +201,7 @@ pub const LICENSES: &'static [&'static str] = &[
"NBPL-1.0",
"NCSA",
"NGPL",
"NLOD-1.0",
"NLPL",
"NOSL",
"NPL-1.0",
Expand All @@ -200,6 +215,7 @@ pub const LICENSES: &'static [&'static str] = &[
"Nokia",
"Noweb",
"Nunit",
"OCCT-PL",
"OCLC-2.0",
"ODbL-1.0",
"OFL-1.0",
Expand All @@ -223,6 +239,7 @@ pub const LICENSES: &'static [&'static str] = &[
"OLDAP-2.8",
"OML",
"OPL-1.0",
"OSET-PL-2.1",
"OSL-1.0",
"OSL-1.1",
"OSL-2.0",
Expand All @@ -241,6 +258,7 @@ pub const LICENSES: &'static [&'static str] = &[
"RPL-1.1",
"RPL-1.5",
"RPSL-1.0",
"RSA-MD",
"RSCPL",
"Rdisc",
"Ruby",
Expand All @@ -252,13 +270,18 @@ pub const LICENSES: &'static [&'static str] = &[
"SISSL",
"SISSL-1.2",
"SMLNJ",
"SMPPL",
"SNIA",
"SPL-1.0",
"SWL",
"Saxpath",
"Sendmail",
"SimPL-2.0",
"Sleepycat",
"StandardML-NJ",
"Spencer-86",
"Spencer-94",
"Spencer-99",
"SugarCRM-1.1.3",
"TCL",
"TMate",
Expand All @@ -270,6 +293,7 @@ pub const LICENSES: &'static [&'static str] = &[
"VSL-1.0",
"Vim",
"W3C",
"W3C-19980720",
"WTFPL",
"WXwindows",
"Watcom-1.0",
Expand All @@ -287,9 +311,11 @@ pub const LICENSES: &'static [&'static str] = &[
"Zed",
"Zend-2.0",
"Zimbra-1.3",
"Zimbra-1.4",
"Zlib",
"bzip2-1.0.5",
"bzip2-1.0.6",
"curl",
"diffmark",
"dvipdfm",
"eCos-2.0",
Expand All @@ -307,13 +333,29 @@ pub const LICENSES: &'static [&'static str] = &[
];

pub const EXCEPTIONS: &'static [&'static str] = &[
"389-exception",
"Autoconf-exception-2.0",
"Autoconf-exception-3.0",
"Bison-exception-2.2",
"Classpath-exception-2.0",
"CLISP-exception-2.0",
"DigiRule-FOSS-exception",
"eCos-exception-2.0",
"Fawkes-Runtime-exception",
"FLTK-exception",
"Font-exception-2.0",
"freertos-exception-2.0",
"GCC-exception-2.0",
"GCC-exception-3.1",
"gnu-javamail-exception",
"i2p-gpl-java-exception",
"Libtool-exception",
"LZMA-exception",
"mif-exception",
"Nokia-Qt-exception-1.1",
"openvpn-openssl-exception",
"Qwt-exception-1.0",
"u-boot-exception-2.0",
"WxWindows-exception-3.1",
"OCCT-exception-1.0",
];

0 comments on commit 2697612

Please sign in to comment.