Commit 395e7c88 authored by Cyril Roelandt's avatar Cyril Roelandt
Browse files

upt.licenses: Add more licenses.

The following licenses were added:
- the OpenSSL license;
- the Perl license;
- the Ruby license;
- the GFDL (1.1, 1.2, 1.3) license;
- the Zlib license.
parent 6a4d6dce
......@@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file.
Based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
## [Unrealeased]
### Added
- upt.licenses: Add the OpenSSL license
- upt.licenses: Add the Perl license
- upt.licenses: Add the Ruby license
- upt.licenses: Add the GFDL (1.1, 1.2, 1.3) license
- upt.licenses: Add the Zlib license
## [0.2] - 2018-02-21
### Added
- upt.Package: Add a 'licenses' field
......
......@@ -289,6 +289,21 @@ class GNUAfferoGeneralPublicLicenseThreeDotZeroPlus(DFSGCompatibleLicense,
spdx_identifier = 'AGPL-3.0-or-later'
class GNUFreeDocumentationLicenseOneDotOne(License):
name = 'GNU Free Documentation License v1.1'
spdx_identifier = 'GFDL-1.1'
class GNUFreeDocumentationLicenseOneDotTwo(License):
name = 'GNU Free Documentation License v1.2'
spdx_identifier = 'GFDL-1.2'
class GNUFreeDocumentationLicenseOneDotThree(License):
name = 'GNU Free Documentation License v1.3'
spdx_identifier = 'GFDL-1.3'
class GNUGeneralPublicLicenseTwo(DFSGCompatibleLicense,
GPLCompatibleLicense,
OSIApprovedLicense):
......@@ -522,11 +537,23 @@ class OpenSoftwareLicense(OSIApprovedLicense):
spdx_identifier = 'OSL-3.0'
class OpenSSLLicense(DFSGCompatibleLicense):
name = 'OpenSSL License'
spdx_identifier = 'OpenSSL'
class OSETPublicLicenseVersionTwoDotOne(OSIApprovedLicense):
name = 'OSET Public License version 2.1'
spdx_identifier = 'OSET-PL-2.1'
class PerlLicense(DFSGCompatibleLicense,
GPLCompatibleLicense,
OSIApprovedLicense):
name = 'Perl'
spdx_identifier = 'Artistic-1.0-Perl'
class PHPLicenseThreeDotZero(OSIApprovedLicense):
name = 'PHP License 3.0'
spdx_identifier = 'PHP-3.0'
......@@ -563,6 +590,12 @@ class RicohSourceCodePublicLicense(OSIApprovedLicense):
spdx_identifier = 'RSCPL'
class RubyLicense(DFSGCompatibleLicense,
GPLCompatibleLicense):
name = 'Ruby License'
spdx_identifier = 'Ruby'
class SILOpenFrontLicenseOneDotOne(DFSGCompatibleLicense,
OSIApprovedLicense):
name = 'SIL Open Font License 1.1'
......@@ -629,6 +662,13 @@ class ZopePublicLicenseTwoDotZero(OSIApprovedLicense, GPLCompatibleLicense):
spdx_identifier = 'ZPL-2.0'
class ZlibLicense(DFSGCompatibleLicense,
GPLCompatibleLicense,
OSIApprovedLicense):
name = 'zlib License'
spdx_identifier = 'zlib'
class ZlibLibpngLicense(DFSGCompatibleLicense,
GPLCompatibleLicense,
OSIApprovedLicense):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment