Tue May 26 12:19:12 2009 UTC ()
Add the "MIT" license, from
  http://www.opensource.org/licenses/mit-license.php
and add it to DEFAULT_ACCEPTABLE_LICENSES.
Based on hints from joerg@.


(he)
diff -r0 -r1.1 pkgsrc/licenses/mit
diff -r1.21 -r1.22 pkgsrc/mk/license.mk

File Added: pkgsrc/licenses/mit
The MIT License

Copyright (c) <year> <copyright holders>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

cvs diff -r1.21 -r1.22 pkgsrc/mk/license.mk (expand / switch to unified diff)

--- pkgsrc/mk/license.mk 2009/05/21 19:05:01 1.21
+++ pkgsrc/mk/license.mk 2009/05/26 12:19:12 1.22
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: license.mk,v 1.21 2009/05/21 19:05:01 wiz Exp $ 1# $NetBSD: license.mk,v 1.22 2009/05/26 12:19:12 he Exp $
2# 2#
3# This file handles everything about the LICENSE variable. It is 3# This file handles everything about the LICENSE variable. It is
4# included automatically by bsd.pkg.mk. 4# included automatically by bsd.pkg.mk.
5# 5#
6# XXX There should be one place to set the default list and for users 6# XXX There should be one place to set the default list and for users
7# to set the ACCEPTABLE_LICENSES list, used by both source builds and 7# to set the ACCEPTABLE_LICENSES list, used by both source builds and
8# binary installs# 8# binary installs#
9# 9#
10# XXX: Some of this content arguably belongs in the pkgsrc guide 10# XXX: Some of this content arguably belongs in the pkgsrc guide
11# instead. 11# instead.
12# 12#
13# === User-settable variables === 13# === User-settable variables ===
14# 14#
@@ -87,27 +87,27 @@ @@ -87,27 +87,27 @@
87# added to the list as they are added to pkgsrc. 87# added to the list as they are added to pkgsrc.
88 88
89# The convention is that Free or Open Source licenses do not have a 89# The convention is that Free or Open Source licenses do not have a
90# -license suffix, and nonfree licenses end in -license. 90# -license suffix, and nonfree licenses end in -license.
91 91
92# XXX open-font-license should perhaps be changed to open-font 92# XXX open-font-license should perhaps be changed to open-font
93 93
94DEFAULT_ACCEPTABLE_LICENSES= \ 94DEFAULT_ACCEPTABLE_LICENSES= \
95 public-domain \ 95 public-domain \
96 gnu-fdl-v1.1 gnu-fdl-v1.2 gnu-fdl-v1.3 \ 96 gnu-fdl-v1.1 gnu-fdl-v1.2 gnu-fdl-v1.3 \
97 gnu-gpl-v2 gnu-lgpl-v2 gnu-lgpl-v2.1 \ 97 gnu-gpl-v2 gnu-lgpl-v2 gnu-lgpl-v2.1 \
98 gnu-gpl-v3 gnu-lgpl-v3 \ 98 gnu-gpl-v3 gnu-lgpl-v3 \
99 original-bsd modified-bsd \ 99 original-bsd modified-bsd \
100 x11 \ 100 x11 mit \
101 apache-1.1 apache-2.0 \ 101 apache-1.1 apache-2.0 \
102 artistic artistic-2.0 \ 102 artistic artistic-2.0 \
103 cddl-1.0 \ 103 cddl-1.0 \
104 cpl-1.0 \ 104 cpl-1.0 \
105 open-font-license 105 open-font-license
106 106
107##### Variant spellings 107##### Variant spellings
108 108
109.if defined(ACCEPTABLE_LICENCES) && !defined(ACCEPTABLE_LICENSES) 109.if defined(ACCEPTABLE_LICENCES) && !defined(ACCEPTABLE_LICENSES)
110ACCEPTABLE_LICENSES= ${ACCEPTABLE_LICENCES} 110ACCEPTABLE_LICENSES= ${ACCEPTABLE_LICENCES}
111.endif 111.endif
112 112
113.if !defined(LICENSE) 113.if !defined(LICENSE)