2010-05-25 02:25:02 +02:00
|
|
|
#-*- mode: makefile; tab-width: 4; -*-
|
|
|
|
# ex:ts=4
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
# bsd.licenses.db.mk - License database for bsd.licenses.mk
|
|
|
|
#
|
|
|
|
# Created by: Alejandro Pulver <alepulver@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# Please view me with 4 column tabs!
|
|
|
|
#
|
|
|
|
|
|
|
|
# Possible sources for information:
|
|
|
|
# - FOSSology (see "Default License Groups")
|
|
|
|
# http://fossology.org/interpret_the_license_group_analysis_report
|
|
|
|
#
|
|
|
|
# - 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
|
|
|
|
#
|
|
|
|
|
2010-12-10 20:09:20 +01:00
|
|
|
_LICENSE_LIST= ART10 ART20 ASL BSD BSL CDDL EPL GFDL GPLv1 GPLv2 GPLv3 ISCL LGPL20 LGPL21 LGPL3 MIT MPL OWL PHP202 PHP30 PHP301
|
2010-05-25 02:25:02 +02:00
|
|
|
|
|
|
|
# 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
|
|
|
|
|
|
|
|
# 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.
|
|
|
|
#
|
|
|
|
|
2010-08-02 20:24:26 +02:00
|
|
|
_LICENSE_NAME_ART10= Artistic License version 1.0
|
|
|
|
_LICENSE_GROUPS_ART10= OSI
|
|
|
|
|
|
|
|
_LICENSE_NAME_ART20= Artistic License version 2.0
|
|
|
|
_LICENSE_GROUPS_ART20= FSF GPL OSI
|
|
|
|
|
2010-05-25 02:25:02 +02:00
|
|
|
_LICENSE_NAME_ASL= Apache License
|
|
|
|
_LICENSE_GROUPS_ASL= FSF OSI
|
|
|
|
|
|
|
|
_LICENSE_NAME_BSD= BSD license
|
|
|
|
_LICENSE_GROUPS_BSD= FSF OSI
|
|
|
|
|
|
|
|
_LICENSE_NAME_BSL= Boost Software License
|
|
|
|
_LICENSE_GROUPS_BSL= FSF OSI
|
|
|
|
|
|
|
|
_LICENSE_NAME_CDDL= Common Development and Distribution License
|
|
|
|
_LICENSE_GROUPS_CDDL= FSF OSI
|
|
|
|
|
2010-06-22 21:50:04 +02:00
|
|
|
_LICENSE_NAME_EPL= Eclipse Public License
|
|
|
|
_LICENSE_GROUPS_EPL= FSF OSI
|
|
|
|
|
2010-06-10 19:04:18 +02:00
|
|
|
_LICENSE_NAME_GFDL= GNU Free Documentation License
|
|
|
|
_LICENSE_GROUPS_GFDL= FSF
|
|
|
|
|
2010-08-02 20:24:26 +02:00
|
|
|
_LICENSE_NAME_GPLv1= GNU General Public License version 1
|
|
|
|
_LICENSE_GROUPS_GPLv1= FSF GPL OSI
|
|
|
|
|
2010-05-25 02:25:02 +02:00
|
|
|
_LICENSE_NAME_GPLv2= GNU General Public License version 2
|
|
|
|
_LICENSE_GROUPS_GPLv2= FSF GPL OSI
|
|
|
|
|
|
|
|
_LICENSE_NAME_GPLv3= GNU General Public License version 3
|
|
|
|
_LICENSE_GROUPS_GPLv3= FSF GPL OSI
|
|
|
|
|
2010-11-11 11:38:11 +01:00
|
|
|
_LICENSE_NAME_ISCL= Internet Systems Consortium License
|
|
|
|
_LICENSE_GROUPS_ISCL= FSF GPL OSI
|
|
|
|
|
2010-06-16 22:33:35 +02:00
|
|
|
_LICENSE_NAME_LGPL20= GNU Library General Public License version 2.0
|
|
|
|
_LICENSE_GROUPS_LGPL20= FSF GPL OSI
|
|
|
|
|
2010-06-10 19:04:18 +02:00
|
|
|
_LICENSE_NAME_LGPL21= GNU Lesser General Public License version 2.1
|
2010-06-04 23:41:41 +02:00
|
|
|
_LICENSE_GROUPS_LGPL21= FSF GPL OSI
|
|
|
|
|
2010-06-10 19:04:18 +02:00
|
|
|
_LICENSE_NAME_LGPL3= GNU Lesser General Public License version 3
|
2010-06-04 23:41:41 +02:00
|
|
|
_LICENSE_GROUPS_LGPL3= FSF GPL OSI
|
2010-05-25 02:25:02 +02:00
|
|
|
|
|
|
|
_LICENSE_NAME_MIT= MIT license / X11 license
|
|
|
|
_LICENSE_GROUPS_MIT= FSF GPL OSI
|
|
|
|
|
|
|
|
_LICENSE_NAME_MPL= Mozilla Public License
|
|
|
|
_LICENSE_GROUPS_MPL= FSF OSI
|
|
|
|
|
2010-10-29 14:06:14 +02:00
|
|
|
_LICENSE_NAME_OWL= Open Works License (owl.apotheon.org)
|
|
|
|
_LICENSE_GROUPS_OWL=
|
|
|
|
|
2010-12-10 20:09:20 +01:00
|
|
|
_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
|
|
|
|
|
2010-05-25 02:25:02 +02:00
|
|
|
# Set default permissions if not defined
|
|
|
|
|
|
|
|
.for lic in ${_LICENSE_LIST}
|
|
|
|
. if !defined(_LICENSE_PERMS_${lic})
|
|
|
|
_LICENSE_PERMS_${lic}= ${_LICENSE_PERMS_DEFAULT}
|
|
|
|
. endif
|
|
|
|
.endfor
|