Mk/Uses/iconv: support iconv+
[dports.git] / Mk / bsd.licenses.db.mk
1 #-*- tab-width: 4; -*-
2 # ex:ts=4
3 #
4 # $FreeBSD: Mk/bsd.licenses.db.mk 318596 2013-05-20 12:24:43Z bdrewery $
5
6 Licenses_db_Include_MAINTAINER=         portmgr@FreeBSD.org
7
8 #
9 # bsd.licenses.db.mk - License database for bsd.licenses.mk
10 #
11 # Created by: Alejandro Pulver <alepulver@FreeBSD.org>
12 #
13 # Please view me with 4 column tabs!
14 #
15
16 # Possible sources for information:
17 # - FOSSology (see "Default License Groups")
18 #   http://fossology.org/interpret_the_license_group_analysis_report
19 #
20 # - Wikipedia (article "Comparison of Free Software Licenses")
21 #   http://en.wikipedia.org/wiki/Comparison_of_free_software_licences
22 #
23 # Probably will be automatically incorporated from FOSSology's software.
24 #
25 # IMPORTANT: as this file is going to be included by most ports, we may
26 # consider having licenses here only as "tags" as most of them will be free,
27 # to remove some loops and additional variables here. This will not affect the
28 # rest of bsd.licenses.mk, and anyways restricted licenses that aren't used by
29 # many ports should be defined in each one's Makefile.
30
31 # XXX Start of editable section
32
33 # License definitions
34 #
35 # _LICENSE_LIST         - List of defined licenses
36 # _LICENSE_LIST_GROUPS  - List of defined license groups
37 #
38
39 _LICENSE_LIST=  AGPLv3 AL2 ART10 ART20 BSD BSL CDDL EPL GFDL GPLv1 GPLv2 \
40                 GPLv3 ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a \
41                 LPPL13b LPPL13c MIT MPL OWL PHP202 PHP30 PHP301 PSFL ZLIB ZPL21
42
43 # List of groups (only names must be present)
44
45 _LICENSE_NAME_FSF=      Free Software Foundation Approved
46
47 _LICENSE_NAME_GPL=      GPL Compatible
48
49 _LICENSE_NAME_OSI=      OSI Approved
50
51 _LICENSE_NAME_COPYFREE= Comply with Copyfree Standard Definition.
52
53 # Default permissions for licenses here, if not defined
54
55 _LICENSE_PERMS_DEFAULT= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
56
57 # Properties of license "xxx" (similar to port variables, but single)
58 #
59 # _LICENSE_NAME_xxx     - Full name/description of license/group
60 # _LICENSE_PERMS_xxx    - Permissions (if not defined defaults to
61 #                                                 ${_LICENSE_PERMS_DEFAULT}.
62 # _LICENSE_GROUPS_xxx   - Groups (optional)
63 #
64 # Notes:
65 # - General permissions from groups are added to each license, if not defined.
66 #
67
68
69 _LICENSE_NAME_AGPLv3=   GNU Affero General Public License version 3
70 _LICENSE_GROUPS_AGPLv3= FSF GPL OSI
71
72 _LICENSE_NAME_AL2=      Apache License
73 _LICENSE_GROUPS_AL2=    FSF OSI
74
75 _LICENSE_NAME_ART10=    Artistic License version 1.0
76 _LICENSE_GROUPS_ART10=  OSI
77
78 _LICENSE_NAME_ART20=    Artistic License version 2.0
79 _LICENSE_GROUPS_ART20=  FSF GPL OSI
80
81 _LICENSE_NAME_BSD=      BSD license
82 _LICENSE_GROUPS_BSD=    FSF OSI COPYFREE
83
84 _LICENSE_NAME_BSL=      Boost Software License
85 _LICENSE_GROUPS_BSL=    FSF OSI COPYFREE
86
87 _LICENSE_NAME_CDDL=     Common Development and Distribution License
88 _LICENSE_GROUPS_CDDL=   FSF OSI
89
90 _LICENSE_NAME_EPL=      Eclipse Public License
91 _LICENSE_GROUPS_EPL=    FSF OSI
92
93 _LICENSE_NAME_GFDL=     GNU Free Documentation License
94 _LICENSE_GROUPS_GFDL=   FSF
95
96 _LICENSE_NAME_GPLv1=    GNU General Public License version 1
97 _LICENSE_GROUPS_GPLv1=  FSF GPL OSI
98
99 _LICENSE_NAME_GPLv2=    GNU General Public License version 2
100 _LICENSE_GROUPS_GPLv2=  FSF GPL OSI
101
102 _LICENSE_NAME_GPLv3=    GNU General Public License version 3
103 _LICENSE_GROUPS_GPLv3=  FSF GPL OSI
104
105 _LICENSE_NAME_ISCL=     Internet Systems Consortium License
106 _LICENSE_GROUPS_ISCL=   FSF GPL OSI COPYFREE
107
108 _LICENSE_NAME_LGPL20=   GNU Library General Public License version 2.0
109 _LICENSE_GROUPS_LGPL20= FSF GPL OSI
110
111 _LICENSE_NAME_LGPL21=   GNU Lesser General Public License version 2.1
112 _LICENSE_GROUPS_LGPL21= FSF GPL OSI
113
114 _LICENSE_NAME_LGPL3=    GNU Lesser General Public License version 3
115 _LICENSE_GROUPS_LGPL3=  FSF GPL OSI
116
117 _LICENSE_NAME_LPPL10=   LaTeX Project Public License version 1.0
118 _LICENSE_GROUPS_LPPL10= FSF OSI
119 _LICENSE_PERMS_LPPL10=  dist-mirror dist-sell
120
121 _LICENSE_NAME_LPPL11=   LaTeX Project Public License version 1.1
122 _LICENSE_GROUPS_LPPL11= FSF OSI
123 _LICENSE_PERMS_LPPL11= dist-mirror dist-sell
124
125 _LICENSE_NAME_LPPL12=   LaTeX Project Public License version 1.2
126 _LICENSE_GROUPS_LPPL12= FSF OSI
127 _LICENSE_PERMS_LPPL12=  dist-mirror dist-sell
128
129 _LICENSE_NAME_LPPL13=   LaTeX Project Public License version 1.3
130 _LICENSE_GROUPS_LPPL13= FSF OSI
131 _LICENSE_PERMS_LPPL13=  dist-mirror dist-sell
132
133 _LICENSE_NAME_LPPL13a=  LaTeX Project Public License version 1.3a
134 _LICENSE_GROUPS_LPPL13a=        FSF OSI
135 _LICENSE_PERMS_LPPL13a= xdist-mirror dist-sell
136
137 _LICENSE_NAME_LPPL13b=  LaTeX Project Public License version 1.3b
138 _LICENSE_GROUPS_LPPL13b=        FSF OSI
139 _LICENSE_PERMS_LPPL13b= dist-mirror dist-sell
140
141 _LICENSE_NAME_LPPL13c=  LaTeX Project Public License version 1.3c
142 _LICENSE_GROUPS_LPPL13c=        FSF OSI
143 _LICENSE_PERMS_LPPL13c= dist-mirror dist-sell
144
145 _LICENSE_NAME_MIT=      MIT license / X11 license
146 _LICENSE_GROUPS_MIT=    FSF GPL OSI COPYFREE
147
148 _LICENSE_NAME_MPL=      Mozilla Public License
149 _LICENSE_GROUPS_MPL=    FSF OSI
150
151 _LICENSE_NAME_OWL=      Open Works License (owl.apotheon.org)
152 _LICENSE_GROUPS_OWL=    COPYFREE
153
154 _LICENSE_NAME_PHP202=   PHP License version 2.02
155 _LICENSE_GROUPS_PHP202= FSF OSI
156
157 _LICENSE_NAME_PHP30=    PHP License version 3.0
158 _LICENSE_GROUPS_PHP30=  FSF OSI
159
160 _LICENSE_NAME_PHP301=   PHP License version 3.01
161 _LICENSE_GROUPS_PHP301= FSF OSI
162
163 _LICENSE_NAME_PSFL=     Python Software Foundation License
164 _LICENSE_GROUPS_PSFL=   FSF GPL OSI
165
166 _LICENSE_NAME_ZLIB=             zlib License
167 _LICENSE_GROUPS_ZLIB=   GPL FSF OSI
168
169 _LICENSE_NAME_ZPL21=    Zope Public License version 2.1
170 _LICENSE_GROUPS_ZPL21=  GPL OSI
171
172 # Set default permissions if not defined
173
174 .for lic in ${_LICENSE_LIST}
175 .       if !defined(_LICENSE_PERMS_${lic})
176 _LICENSE_PERMS_${lic}=  ${_LICENSE_PERMS_DEFAULT}
177 .       endif
178 .endfor