Commit graph

84 commits

Author SHA1 Message Date
rillig
f650479ce5 In guess-license, use ninka for determining the licenses.
Ninka can be installed from wip/ninka and analyzes each file individually,
thereby providing a much more detailed analysis than the ad-hoc method that
only looks at some COPYING files.

If Ninka is not installed, the naive fallback continues to be used.
2018-01-07 19:44:31 +00:00
rillig
3924951144 Improved license detection for the guess-license target.
Before, the first file that looked like a license file was considered.
The others were completely ignored. This led to a wrong license for
cross/arm-none-eabi-gcc. To prevent these cases in the future, the license
is only guessed if there is exactly one file with a typical license name.

This approach is still naive, but at least a little more precise. Replacing
the guess-license with a determine-licenses is much more complicated
though, since each source code file may have its own license declared, and
handling all these special cases leads to very complex license expressions
(like "gnu-gpl-v3 for all files, except for special.c, which is apache-2.0
or mit). This is very hard to do correctly.
2018-01-05 07:54:39 +00:00
rillig
9ef5587f5c Improved guess-license for practical use. 2018-01-03 00:41:37 +00:00
rillig
2fb1eb3659 Added the guess-license target.
It compares the license file from the package with the available licenses
in licenses/ and shows the diff to the best match.

This will hopefully make it easier for package authors to include the
LICENSE variable in the package Makefile. This variable being missing is
one of the most frequent error messages from pkglint (4187 out of 20044).
2018-01-02 22:40:32 +00:00
jperkin
ab40c7bbee Add the zsh license and add it to the default acceptable list (MIT-like). 2017-05-11 12:56:21 +00:00
spz
5a1d0ee4bd add unicode to DEFAULT_ACCEPTABLE_LICENSES 2016-11-18 09:43:39 +00:00
wiz
59c4a9f6b5 Allow sissl-1.1 per default
See
https://opensource.org/licenses/sisslpl
2016-10-03 11:49:31 +00:00
wiz
577e1cde9e ibm-public-license-1.0 -> ipl-1.0 2016-10-03 08:30:20 +00:00
leot
cf2c59f74f Add hpnd to DEFAULT_ACCEPTABLE_LICENSES and *default_acceptable_licenses.
Discussed in tech-pkg@:
http://mail-index.netbsd.org/tech-pkg/2016/04/20/msg016755.html

Thanks to Memnon Anon!
2016-04-21 07:51:51 +00:00
wiz
2a9c8e31cf Add paratype to default-allowed licenses, since it is basically ofl-v1.1. 2016-02-10 10:50:18 +00:00
leot
9891cbb6a8 Add vera-ttf-license as DEFAULT_ACCEPTABLE_LICENSES.
The vera-ttf-license is neither approved by OSI nor FSF but it is mostly in line
with Free Software principles. It is also accepted by the DFSG.

Discussed on tech-pkg@:

 http://mail-index.netbsd.org/tech-pkg/2015/09/10/msg015570.html
2015-09-13 11:22:22 +00:00
markd
e68252f20e Add lppl-1.0 license. 2015-08-02 02:12:33 +00:00
wiz
23690511f0 zpl -> zpl-2.0, add zpl-2.1 2015-07-17 06:45:22 +00:00
wiz
2000d3d19c Add lppl-1.2, an older version of lppl-1.3c, and add it to default-allowed
like the 1.3c version.
2015-05-08 10:37:32 +00:00
wiz
8ab127a536 Add the GUST Font Source License (GFSL) from
http://ctan.org/license/gfsl

Since this is basically the LaTeX Project Public License with one clause
removed, add it to the default acceptable licenses.
(lppl is fine with both OSI and FSF and already allowed.)
2015-05-02 13:21:37 +00:00
reinoud
a3e0d91d38 Remove esdl from the list of default acceptable licences.
My bad, should have looked more clearly at the name of the list... DUH!

Thanks Thomas :)
2015-04-25 10:18:42 +00:00
reinoud
253eff1406 Add esdl license 2015-04-24 18:53:00 +00:00
rodent
908c6610ac DEFAULT_ACCEPTABLE_LICENSES+=w3c 2015-04-19 22:18:19 +00:00
tnn
3bb3a3dc92 osl 3.0 should be default acceptable (it is both FSF and OSI approved) 2015-03-22 03:43:11 +00:00
prlw1
68f682d510 The list of licences pointed to from http://www.fsf.org/licensing/
now points to http://www.gnu.org/licenses/license-list.html
2015-01-08 11:12:29 +00:00
joerg
c6e1b83d1b Simplify PKG_DEVELOPER checks. 2014-10-12 23:39:17 +00:00
wiz
0a3fb5512c Add openssl license and allow it by default, since it's FSF approved:
http://www.gnu.org/licenses/license-list.en.html#OpenSSL
2014-05-15 09:59:09 +00:00
wiz
ec5c09997e Add cecill-2.1 and allow it per default.
OSI-approved, see
http://opensource.org/licenses/CECILL-2.1
2014-04-16 14:41:21 +00:00
wiz
6129186986 Fix typo. 2014-03-19 21:45:12 +00:00
wiz
5a2384ea22 Add European Union Public Licence and add it to default allowed licenses,
since it's OSI-approved:
http://opensource.org/licenses/EUPL-1.1

ok@ gdt
2014-03-18 15:11:38 +00:00
sno
245349f3df adding cc0-1.0-universal license (a public domain license by creative
commons).
2013-07-09 19:15:57 +00:00
rodent
c839138986 Adding sgi-free-software-b-v2.0 to DEFAULT_ACCEPTABLE. Approved by FSF:
http://www.gnu.org/licenses/license-list.en.html#SGIFreeB
2013-05-05 21:09:59 +00:00
rodent
d9e9cde87a DEFAULT_ACCEPTABLE+=arphic-public; See:
http://www.gnu.org/licenses/license-list.html#Arphic
2013-04-19 11:25:26 +00:00
rodent
a7c67ab716 Removed comment regarding the changing of open-font-license to open-font.
Added ofl-v1.0 ofl-v1.1 and removed open-font-license.
2013-04-08 02:24:14 +00:00
wiz
8ab805fe71 Add qpl-v1.0 (non-copyleft free) to default acceptable. 2013-03-14 16:19:30 +00:00
wiz
22fc8d9c32 Sort DEFAULT_ACCEPTABLE_LICENSES. 2013-03-14 16:18:54 +00:00
gdt
40b9d7cc4e Add Sleepycat Public License, used by Oracle's Berkely DB.
This is Open and Free:

  http://directory.fsf.org/wiki/License:Sleepycat
  http://opensource.org/licenses/sleepycat
2012-12-13 00:19:10 +00:00
christos
0cd3441c6e Add IBM public license 1.0 2012-04-28 22:43:37 +00:00
brook
565bcd07e0 Add the Lucent Public License v1.02 to DEFAULT_ACCEPTABLE_LICENSES. It is
approved as open source by OSI.
2012-04-15 20:52:28 +00:00
wiz
12f39f9fab Add zlib license. 2012-01-28 10:46:08 +00:00
wiz
89d519c651 Add Mozilla Public License v2.0 (mpl-2.0) and mark it as default-acceptable. 2012-01-04 11:53:38 +00:00
ryoon
2555d61a64 Add epl-v1.0 to DEFAULT_ACCEPTABLE_LICENSES. 2011-12-15 22:13:45 +00:00
minskim
561cc146d2 Add lppl-1.3c to DEFAULT_ACCEPTABLE_LICENSES. 2011-12-14 18:44:49 +00:00
gdt
a27417b1b0 Drop Affero GPL from DEFAULT_ACCEPTABLE_LICENSES.
Add explanation of why:

#	As an exception to the Open Source or Free policy, the board
#	of The NetBSD Foundation has decided that licenses that
#	trigger obligations from use (rather than redistribution),
#	such as the Affero GPL, should not be in
#	DEFAULT_ACCEPTABLE_LICENSES.

ok board@
2011-11-30 23:55:33 +00:00
ryoon
fc96bb2495 Add gnu-agpl-v3 to DEFAULT_ACCEPTABLE_LICENSES.
Sync with pkgsrc/pkgtools/pkg_install/files/lib/license.c.

XXX I follow documented policy in mk/license.mk.
2011-11-29 14:49:19 +00:00
abs
fc3bada41a Introduce PKGSRC_SETENV, defaulting to SETENV. Can be set to ${SETENV} -i
to santise environment
2011-09-08 20:17:15 +00:00
taca
56343c27f3 Add php license to DEFAULT_ACCEPTABLE_LICENSES. 2011-06-24 12:00:37 +00:00
ryoon
65d0907fb6 Add mplusfont and cc-by-sa-v3.0 to the default list. 2011-05-08 10:53:22 +00:00
adam
ff6b98a0ec Added postgresql-license 2011-04-22 08:08:03 +00:00
wiz
8ad22f5cfd Allow GNU GPL v1 by default. 2011-04-01 13:11:07 +00:00
bad
aafd839b60 Add unlicense from http://unlicense.org/ and add it to
DEFAULT_ACCEPTABLE_LICENSES.
2011-03-17 22:58:10 +00:00
schnoebe
9183be950b Bring in boost-license, 1.0. Certified by OSI as an Open Source
license.
2011-02-06 18:54:49 +00:00
wiz
a1e290b181 Improve output when license (combination) is not accepted by user. 2011-01-16 13:13:14 +00:00
wiz
61eb916759 Add png-license and add it to the default-allowed licenses.
(very similar to mit or modified-bsd, but different)
2011-01-13 13:25:56 +00:00
bad
89f715edf7 I'm fed up with having to waste time because PKG_DEVELOPER is "special" and
can't be disabled by setting it to "no" like the other variables.
Besides, flavor/pkg/metadata.mk has been expecting for a long time that "no"
is a valid value.

Make PKG_DEVELOPER DWIM.
2010-08-24 19:08:28 +00:00