aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.licenses.db.mk
blob: 762f784fb44888a1b91fc25000248b51559b7f24 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
#-*- tab-width: 4; -*-
# ex:ts=4
#
# $FreeBSD$

# ** Please run changes to this file by eadler@ first **

Licenses_db_Include_MAINTAINER=         portmgr@FreeBSD.org

#
# bsd.licenses.db.mk - License database for bsd.licenses.mk
#
# Created by: Alejandro Pulver <alepulver@FreeBSD.org>
#
# Please view me with 4 column tabs!
#

# The canonical source of license names and short-name identifiers:
# - SPDX License List
#   https://spdx.org/licenses/
#
# See also:
# - Wikipedia (article "Comparison of Free Software Licenses")
#   http://en.wikipedia.org/wiki/Comparison_of_free_software_licences
#
# Probably will be automatically incorporated from FOSSology's software.
#
# IMPORTANT: as this file is going to be included by most ports, we may
# consider having licenses here only as "tags" as most of them will be free,
# to remove some loops and additional variables here. This will not affect the
# rest of bsd.licenses.mk, and anyways restricted licenses that aren't used by
# many ports should be defined in each one's Makefile.

# XXX Start of editable section

# License definitions
#
# _LICENSE_LIST     - List of defined licenses
# _LICENSE_LIST_GROUPS  - List of defined license groups
#

_LICENSE_LIST=  BSL CDDL CPAL-1.0 ClArtistic EPL GFDL GMGPL \
                ISCL MIT MPL NCSA OFL10 OFL11 OWL OpenSSL PD PSFL PostgreSQL \
                RUBY ZLIB ZPL21

# GNU family
_LICENSE_LIST+= AGPLv3 GPLv1 GPLv2 GPLv3 GPLv3RLE LGPL20 LGPL21 LGPL3
_LICENSE_LIST+= AGPLv3+ GPLv1+ GPLv2+ GPLv3+ GPLv3RLE+ LGPL20+ LGPL21+ \
                LGPL3+

# BSD family
_LICENSE_LIST+= BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE

# LaTeX family
_LICENSE_LIST+= LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c

# Apache family
_LICENSE_LIST+= APACHE10 APACHE11 APACHE20

# Artistic family
_LICENSE_LIST+= ART10 ARTPERL10 ART20

# PHP family
_LICENSE_LIST+= PHP202 PHP30 PHP301

# Creative Commons family
_LICENSE_LIST+= CC0-1.0 \
                CC-BY-1.0 CC-BY-2.0 CC-BY-2.5 CC-BY-3.0 CC-BY-4.0 \
                CC-BY-ND-1.0 CC-BY-ND-2.0 CC-BY-ND-2.5 CC-BY-ND-3.0 CC-BY-ND-4.0 \
                CC-BY-NC-1.0 CC-BY-NC-2.0 CC-BY-NC-2.5 CC-BY-NC-3.0 CC-BY-NC-4.0 \
                CC-BY-NC-ND-1.0 CC-BY-NC-ND-2.0 CC-BY-NC-ND-2.5 CC-BY-NC-ND-3.0 CC-BY-NC-ND-4.0 \
                CC-BY-NC-SA-1.0 CC-BY-NC-SA-2.0 CC-BY-NC-SA-2.5 CC-BY-NC-SA-3.0 CC-BY-NC-SA-4.0 \
                CC-BY-SA-1.0 CC-BY-SA-2.0 CC-BY-SA-2.5 CC-BY-SA-3.0 CC-BY-SA-4.0

# Others
_LICENSE_LIST+= NONE

# List of groups (only names must be present)

_LICENSE_NAME_FSF=  Free Software Foundation Approved

_LICENSE_NAME_GPL=  GPL Compatible

_LICENSE_NAME_OSI=  OSI Approved

_LICENSE_NAME_COPYFREE= Complies with Copyfree Standard Definition

_LICENSE_NAME_FONTS=    Font licenses

# Default permissions for licenses here, if not defined

_LICENSE_PERMS_DEFAULT= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept

# Properties of license "xxx" (similar to port variables, but single)
#
# _LICENSE_NAME_xxx - Full name/description of license/group
# _LICENSE_PERMS_xxx    - Permissions (if not defined defaults to
#                         ${_LICENSE_PERMS_DEFAULT}.
# _LICENSE_GROUPS_xxx   - Groups (optional)
#
# Notes:
# - General permissions from groups are added to each license, if not defined.
#

_LICENSE_NAME_AGPLv3=   GNU Affero General Public License version 3
_LICENSE_GROUPS_AGPLv3= FSF GPL OSI

# Note that though plus is allowed in a variable (and this license) name it
# needs an extra space before following equals sign for them not to be parsed
# as a single += operator
_LICENSE_NAME_AGPLv3+ = ${_LICENSE_NAME_AGPLv3} (or later)
_LICENSE_GROUPS_AGPLv3+ =   ${_LICENSE_GROUPS_AGPLv3}

_LICENSE_NAME_APACHE10= Apache License 1.0
_LICENSE_GROUPS_APACHE10=   FSF

_LICENSE_NAME_APACHE11= Apache License 1.1
_LICENSE_GROUPS_APACHE11=   FSF OSI

_LICENSE_NAME_APACHE20= Apache License 2.0
_LICENSE_GROUPS_APACHE20=   FSF OSI

_LICENSE_NAME_ART10=    Artistic License version 1.0
_LICENSE_GROUPS_ART10=  OSI

_LICENSE_NAME_ARTPERL10=Artistic License (perl) version 1.0
_LICENSE_GROUPS_ARTPERL10=  OSI

_LICENSE_NAME_ART20=    Artistic License version 2.0
_LICENSE_GROUPS_ART20=  FSF GPL OSI

_LICENSE_NAME_BSD=  BSD license Generic Version (deprecated)
_LICENSE_GROUPS_BSD=    FSF OSI COPYFREE

_LICENSE_NAME_BSD2CLAUSE=   BSD 2-clause "Simplified" License
_LICENSE_GROUPS_BSD2CLAUSE= FSF OSI COPYFREE

_LICENSE_NAME_BSD3CLAUSE=   BSD 3-clause "New" or "Revised" License
_LICENSE_GROUPS_BSD3CLAUSE= FSF OSI COPYFREE

_LICENSE_NAME_BSD4CLAUSE=   BSD 4-clause "Original" or "Old" License
_LICENSE_GROUPS_BSD4CLAUSE= FSF

_LICENSE_NAME_BSL=  Boost Software License
_LICENSE_GROUPS_BSL=    FSF OSI COPYFREE

_LICENSE_NAME_CC0-1.0=      Creative Commons Zero v1.0 Universal
_LICENSE_GROUPS_CC0-1.0=    FSF GPL COPYFREE

_LICENSE_NAME_CC-BY-1.0=    Creative Commons Attribution 1.0
_LICENSE_GROUPS_CC-BY-1.0=  # empty

_LICENSE_NAME_CC-BY-2.0=    Creative Commons Attribution 2.0
_LICENSE_GROUPS_CC-BY-2.0=  # empty

_LICENSE_NAME_CC-BY-2.5=    Creative Commons Attribution 2.5
_LICENSE_GROUPS_CC-BY-2.5=  # empty

_LICENSE_NAME_CC-BY-3.0=    Creative Commons Attribution 3.0
_LICENSE_GROUPS_CC-BY-3.0=  # empty

_LICENSE_NAME_CC-BY-4.0=    Creative Commons Attribution 4.0
_LICENSE_GROUPS_CC-BY-4.0=  # empty

_LICENSE_NAME_CC-BY-ND-1.0= Creative Commons Attribution No Derivatives 1.0
_LICENSE_GROUPS_CC-BY-ND-1.0=   # empty

_LICENSE_NAME_CC-BY-ND-2.0= Creative Commons Attribution No Derivatives 2.0
_LICENSE_GROUPS_CC-BY-ND-2.0=   # empty

_LICENSE_NAME_CC-BY-ND-2.5= Creative Commons Attribution No Derivatives 2.5
_LICENSE_GROUPS_CC-BY-ND-2.5=   # empty

_LICENSE_NAME_CC-BY-ND-3.0= Creative Commons Attribution No Derivatives 3.0
_LICENSE_GROUPS_CC-BY-ND-3.0=   # empty

_LICENSE_NAME_CC-BY-ND-4.0= Creative Commons Attribution No Derivatives 4.0
_LICENSE_GROUPS_CC-BY-ND-4.0=   # empty

_LICENSE_NAME_CC-BY-NC-1.0= Creative Commons Attribution Non Commercial 1.0
_LICENSE_GROUPS_CC-BY-NC-1.0=   # empty
_LICENSE_PERMS_CC-BY-NC-1.0=    dist-mirror pkg-mirror auto-accept

_LICENSE_NAME_CC-BY-NC-2.0= Creative Commons Attribution Non Commercial 2.0
_LICENSE_GROUPS_CC-BY-NC-2.0=   # empty
_LICENSE_PERMS_CC-BY-NC-2.0=    dist-mirror pkg-mirror auto-accept

_LICENSE_NAME_CC-BY-NC-2.5= Creative Commons Attribution Non Commercial 2.5
_LICENSE_GROUPS_CC-BY-NC-2.5=   # empty
_LICENSE_PERMS_CC-BY-NC-2.5=    dist-mirror pkg-mirror auto-accept

_LICENSE_NAME_CC-BY-NC-3.0= Creative Commons Attribution Non Commercial 3.0
_LICENSE_GROUPS_CC-BY-NC-3.0=   # empty
_LICENSE_PERMS_CC-BY-NC-3.0=    dist-mirror pkg-mirror auto-accept

_LICENSE_NAME_CC-BY-NC-4.0= Creative Commons Attribution Non Commercial 4.0
_LICENSE_GROUPS_CC-BY-NC-4.0=   # empty
_LICENSE_PERMS_CC-BY-NC-4.0=    dist-mirror pkg-mirror auto-accept

_LICENSE_NAME_CC-BY-NC-ND-1.0=  Creative Commons Attribution Non Commercial No Derivatives 1.0
_LICENSE_GROUPS_CC-BY-NC-ND-1.0=    # empty
_LICENSE_PERMS_CC-BY-NC-ND-1.0= dist-mirror pkg-mirror auto-accept

_LICENSE_NAME_CC-BY-NC-ND-2.0=  Creative Commons Attribution Non Commercial No Derivatives 2.0
_LICENSE_GROUPS_CC-BY-NC-ND-2.0=    # empty
_LICENSE_PERMS_CC-BY-NC-ND-2.0= dist-mirror pkg-mirror auto-accept

_LICENSE_NAME_CC-BY-NC-ND-2.5=  Creative Commons Attribution Non Commercial No Derivatives 2.5
_LICENSE_GROUPS_CC-BY-NC-ND-2.5=    # empty
_LICENSE_PERMS_CC-BY-NC-ND-2.5= dist-mirror pkg-mirror auto-accept

_LICENSE_NAME_CC-BY-NC-ND-3.0=  Creative Commons Attribution Non Commercial No Derivatives 3.0
_LICENSE_GROUPS_CC-BY-NC-ND-3.0=    # empty
_LICENSE_PERMS_CC-BY-NC-ND-3.0= dist-mirror pkg-mirror auto-accept

_LICENSE_NAME_CC-BY-NC-ND-4.0=  Creative Commons Attribution Non Commercial No Derivatives 4.0
_LICENSE_GROUPS_CC-BY-NC-ND-4.0=    # empty
_LICENSE_PERMS_CC-BY-NC-ND-4.0= dist-mirror pkg-mirror auto-accept

_LICENSE_NAME_CC-BY-NC-SA-1.0=  Creative Commons Attribution Non Commercial Share Alike 1.0
_LICENSE_GROUPS_CC-BY-NC-SA-1.0=    # empty
_LICENSE_PERMS_CC-BY-NC-SA-1.0= dist-mirror pkg-mirror auto-accept

_LICENSE_NAME_CC-BY-NC-SA-2.0=  Creative Commons Attribution Non Commercial Share Alike 2.0
_LICENSE_GROUPS_CC-BY-NC-SA-2.0=    # empty
_LICENSE_PERMS_CC-BY-NC-SA-2.0= dist-mirror pkg-mirror auto-accept

_LICENSE_NAME_CC-BY-NC-SA-2.5=  Creative Commons Attribution Non Commercial Share Alike 2.5
_LICENSE_GROUPS_CC-BY-NC-SA-2.5=    # empty
_LICENSE_PERMS_CC-BY-NC-SA-2.5= dist-mirror pkg-mirror auto-accept

_LICENSE_NAME_CC-BY-NC-SA-3.0=  Creative Commons Attribution Non Commercial Share Alike 3.0
_LICENSE_GROUPS_CC-BY-NC-SA-3.0=    # empty
_LICENSE_PERMS_CC-BY-NC-SA-3.0= dist-mirror pkg-mirror auto-accept

_LICENSE_NAME_CC-BY-NC-SA-4.0=  Creative Commons Attribution Non Commercial Share Alike 4.0
_LICENSE_GROUPS_CC-BY-NC-SA-4.0=    # empty
_LICENSE_PERMS_CC-BY-NC-SA-4.0= dist-mirror pkg-mirror auto-accept

_LICENSE_NAME_CC-BY-SA-1.0= Creative Commons Attribution Share Alike 1.0
_LICENSE_GROUPS_CC-BY-SA-1.0=   # empty

_LICENSE_NAME_CC-BY-SA-2.0= Creative Commons Attribution Share Alike 2.0
_LICENSE_GROUPS_CC-BY-SA-2.0=   # empty

_LICENSE_NAME_CC-BY-SA-2.5= Creative Commons Attribution Share Alike 2.5
_LICENSE_GROUPS_CC-BY-SA-2.5=   # empty

_LICENSE_NAME_CC-BY-SA-3.0= Creative Commons Attribution Share Alike 3.0
_LICENSE_GROUPS_CC-BY-SA-3.0=   # empty

_LICENSE_NAME_CC-BY-SA-4.0= Creative Commons Attribution Share Alike 4.0
_LICENSE_GROUPS_CC-BY-SA-4.0=   # empty

_LICENSE_NAME_CDDL= Common Development and Distribution License
_LICENSE_GROUPS_CDDL=   FSF OSI

_LICENSE_NAME_ClArtistic=   Clarified Artistic License
_LICENSE_GROUPS_ClArtistic= FSF GPL OSI

_LICENSE_NAME_CPAL-1.0=     Common Public Attribution License
_LICENSE_GROUPS_CPAL-1.0=   FSF OSI

_LICENSE_NAME_EPL=  Eclipse Public License
_LICENSE_GROUPS_EPL=    FSF OSI

_LICENSE_NAME_GFDL= GNU Free Documentation License
_LICENSE_GROUPS_GFDL=   FSF

_LICENSE_NAME_GMGPL=    GNAT Modified General Public License
_LICENSE_GROUPS_GMGPL=  FSF GPL OSI

_LICENSE_NAME_GPLv1=    GNU General Public License version 1
_LICENSE_GROUPS_GPLv1=  FSF GPL OSI

_LICENSE_NAME_GPLv1+ =  ${_LICENSE_NAME_GPLv1} (or later)
_LICENSE_GROUPS_GPLv1+ =    ${_LICENSE_GROUPS_GPLv1}

_LICENSE_NAME_GPLv2=    GNU General Public License version 2
_LICENSE_GROUPS_GPLv2=  FSF GPL OSI

_LICENSE_NAME_GPLv2+ =  ${_LICENSE_NAME_GPLv2} (or later)
_LICENSE_GROUPS_GPLv2+ =    ${_LICENSE_GROUPS_GPLv2}

_LICENSE_NAME_GPLv3=    GNU General Public License version 3
_LICENSE_GROUPS_GPLv3=  FSF GPL OSI

_LICENSE_NAME_GPLv3+ =  ${_LICENSE_NAME_GPLv3} (or later)
_LICENSE_GROUPS_GPLv3+ =    ${_LICENSE_GROUPS_GPLv3}

_LICENSE_NAME_GPLv3RLE= GNU GPL version 3 Runtime Library Exception
_LICENSE_GROUPS_GPLv3RLE=   FSF GPL OSI

_LICENSE_NAME_GPLv3RLE+ =   ${_LICENSE_NAME_GPLv3RLE} (or later)
_LICENSE_GROUPS_GPLv3RLE+ = ${_LICENSE_GROUPS_GPLv3RLE}

_LICENSE_NAME_ISCL= Internet Systems Consortium License
_LICENSE_GROUPS_ISCL=   FSF GPL OSI COPYFREE

_LICENSE_NAME_LGPL20=   GNU Library General Public License version 2.0
_LICENSE_GROUPS_LGPL20= FSF GPL OSI

_LICENSE_NAME_LGPL20+ = ${_LICENSE_NAME_LGPL20} (or later)
_LICENSE_GROUPS_LGPL20+ =   ${_LICENSE_GROUPS_LGPL20}

_LICENSE_NAME_LGPL21=   GNU Lesser General Public License version 2.1
_LICENSE_GROUPS_LGPL21= FSF GPL OSI

_LICENSE_NAME_LGPL21+ = ${_LICENSE_NAME_LGPL21} (or later)
_LICENSE_GROUPS_LGPL21+ =   ${_LICENSE_GROUPS_LGPL21}

_LICENSE_NAME_LGPL3=    GNU Lesser General Public License version 3
_LICENSE_GROUPS_LGPL3=  FSF GPL OSI

_LICENSE_NAME_LGPL3+ =  ${_LICENSE_NAME_LGPL3} (or later)
_LICENSE_GROUPS_LGPL3+ =    ${_LICENSE_GROUPS_LGPL3}

_LICENSE_NAME_LPPL10=   LaTeX Project Public License version 1.0
_LICENSE_GROUPS_LPPL10= FSF OSI
_LICENSE_PERMS_LPPL10=  dist-mirror dist-sell

_LICENSE_NAME_LPPL11=   LaTeX Project Public License version 1.1
_LICENSE_GROUPS_LPPL11= FSF OSI
_LICENSE_PERMS_LPPL11= dist-mirror dist-sell

_LICENSE_NAME_LPPL12=   LaTeX Project Public License version 1.2
_LICENSE_GROUPS_LPPL12= FSF OSI
_LICENSE_PERMS_LPPL12=  dist-mirror dist-sell

_LICENSE_NAME_LPPL13=   LaTeX Project Public License version 1.3
_LICENSE_GROUPS_LPPL13= FSF OSI
_LICENSE_PERMS_LPPL13=  dist-mirror dist-sell

_LICENSE_NAME_LPPL13a=  LaTeX Project Public License version 1.3a
_LICENSE_GROUPS_LPPL13a=    FSF OSI
_LICENSE_PERMS_LPPL13a= dist-mirror dist-sell

_LICENSE_NAME_LPPL13b=  LaTeX Project Public License version 1.3b
_LICENSE_GROUPS_LPPL13b=    FSF OSI
_LICENSE_PERMS_LPPL13b= dist-mirror dist-sell

_LICENSE_NAME_LPPL13c=  LaTeX Project Public License version 1.3c
_LICENSE_GROUPS_LPPL13c=    FSF OSI
_LICENSE_PERMS_LPPL13c= dist-mirror dist-sell

_LICENSE_NAME_MIT=  MIT license / X11 license
_LICENSE_GROUPS_MIT=    COPYFREE FSF GPL OSI

_LICENSE_NAME_MPL=  Mozilla Public License
_LICENSE_GROUPS_MPL=    FSF OSI

_LICENSE_NAME_NCSA= University of Illinois/NCSA Open Source License
_LICENSE_GROUPS_NCSA=   COPYFREE FSF GPL OSI

_LICENSE_NAME_OFL10=    SIL Open Font License version 1.0 (http://scripts.sil.org/OFL)
_LICENSE_GROUPS_OFL10=  FONTS

_LICENSE_NAME_OFL11=    SIL Open Font License version 1.1 (http://scripts.sil.org/OFL)
_LICENSE_GROUPS_OFL11=  FONTS

_LICENSE_NAME_OpenSSL=  OpenSSL License
_LICENSE_GROUPS_OpenSSL=    FSF

_LICENSE_NAME_OWL=  Open Works License (owl.apotheon.org)
_LICENSE_GROUPS_OWL=    COPYFREE

_LICENSE_NAME_PostgreSQL=   PostgreSQL Licence
_LICENSE_GROUPS_PostgreSQL= FSF GPL OSI COPYFREE

_LICENSE_NAME_PD=       Public Domain
_LICENSE_GROUPS_PD=     GPL COPYFREE

_LICENSE_NAME_PHP202=   PHP License version 2.02
_LICENSE_GROUPS_PHP202= FSF OSI

_LICENSE_NAME_PHP30=    PHP License version 3.0
_LICENSE_GROUPS_PHP30=  FSF OSI

_LICENSE_NAME_PHP301=   PHP License version 3.01
_LICENSE_GROUPS_PHP301= FSF OSI

_LICENSE_NAME_PSFL= Python Software Foundation License
_LICENSE_GROUPS_PSFL=   FSF GPL OSI

_LICENSE_NAME_RUBY= Ruby License
_LICENSE_GROUPS_RUBY=   FSF

_LICENSE_NAME_NONE= No license specified
_LICENSE_GROUPS_NONE=   # empty
_LICENSE_PERMS_NONE=    none

_LICENSE_NAME_ZLIB=     zlib License
_LICENSE_GROUPS_ZLIB=   GPL FSF OSI

_LICENSE_NAME_ZPL21=    Zope Public License version 2.1
_LICENSE_GROUPS_ZPL21=  GPL OSI

# Set default permissions if not defined

.for lic in ${_LICENSE_LIST}
.   if !defined(_LICENSE_PERMS_${lic})
_LICENSE_PERMS_${lic}=  ${_LICENSE_PERMS_DEFAULT}
.   endif
.endfor