From owner-svn-doc-all@freebsd.org Fri Apr 21 13:42:09 2017 Return-Path: Delivered-To: svn-doc-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AA97ED41498; Fri, 21 Apr 2017 13:42:09 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 72CF01DB1; Fri, 21 Apr 2017 13:42:09 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v3LDg8LF013426; Fri, 21 Apr 2017 13:42:08 GMT (envelope-from mat@FreeBSD.org) Received: (from mat@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v3LDg8VR013425; Fri, 21 Apr 2017 13:42:08 GMT (envelope-from mat@FreeBSD.org) Message-Id: <201704211342.v3LDg8VR013425@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mat set sender to mat@FreeBSD.org using -f From: Mathieu Arnold Date: Fri, 21 Apr 2017 13:42:08 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r50189 - head/en_US.ISO8859-1/books/porters-handbook/makefiles X-SVN-Group: doc-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the entire doc trees \(except for " user" , " projects" , and " translations" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Apr 2017 13:42:09 -0000 Author: mat Date: Fri Apr 21 13:42:08 2017 New Revision: 50189 URL: https://svnweb.freebsd.org/changeset/doc/50189 Log: Document licenses framework. Reviewed by: wblock Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D56 Modified: head/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml Modified: head/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml Thu Apr 20 12:50:37 2017 (r50188) +++ head/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml Fri Apr 21 13:42:08 2017 (r50189) @@ -3290,6 +3290,1209 @@ PATCHFILES= patch1:test MAINTAINER variable in the Makefile. + + Licenses + + Each port must document the license under which it is + available. If it is not an OSI approved license it must also + document any restrictions on redistribution. + + + <varname>LICENSE</varname> + + A short name for the license or licenses if more than one + license apply. + + If it is one of the licenses listed in , only + LICENSE_FILE and + LICENSE_DISTFILES variables can be + set. + + If this is a license that has not been defined in the + ports framework (see ), + the LICENSE_PERMS and + LICENSE_NAME must be set, along with either + LICENSE_FILE or + LICENSE_TEXT. + LICENSE_DISTFILES and + LICENSE_GROUPS can also be set, but are not + required. + + The predefined licenses are shown in + . The current list is + always available in + Mk/bsd.licenses.db.mk. + + + Simplest Usage, Predefined Licenses + + When the README of some software + says This software is under the terms of the GNU + Lesser General Public License as published by the Free + Software Foundation; either version 2.1 of the License, or + (at your option) any later version. but does not + provide the license file, use this: + + LICENSE= LGPL21+ + + When the software provides the license file, use + this: + + LICENSE= LGPL21+ +LICENSE_FILE= ${WRKSRC}/COPYING + + + For the predefined licenses, the default permissions are + dist-mirror dist-sell pkg-mirror pkg-sell + auto-accept. + + + Predefined License List + + + + + Short Name + Name + Group + Permissions + + + + + + + AGPLv3 GNU + Affero General Public License version 3 + FSF GPL + OSI + (default) + + + + AGPLv3+ + GNU Affero General Public License version 3 (or + later) + FSF GPL + OSI + (default) + + + + APACHE10 + Apache License 1.0 + FSF + (default) + + + + APACHE11 + Apache License 1.1 + FSF + OSI + (default) + + + + APACHE20 + Apache License 2.0 + FSF + OSI + (default) + + + + ART10 + Artistic License version 1.0 + OSI + (default) + + + + ART20 + Artistic License version 2.0 + FSF GPL + OSI + (default) + + + + ARTPERL10 + Artistic License (perl) version 1.0 + OSI + (default) + + + + BSD + BSD license Generic Version (deprecated) + FSF OSI + COPYFREE + (default) + + + + BSD2CLAUSE + BSD 2-clause "Simplified" License + FSF OSI + COPYFREE + (default) + + + + BSD3CLAUSE + BSD 3-clause "New" or "Revised" License + FSF OSI + COPYFREE + (default) + + + + BSD4CLAUSE + BSD 4-clause "Original" or "Old" License + FSF + (default) + + + + BSL + Boost Software License + FSF OSI + COPYFREE + (default) + + + + CC-BY-1.0 + Creative Commons Attribution 1.0 + + (default) + + + + CC-BY-2.0 + Creative Commons Attribution 2.0 + + (default) + + + + CC-BY-2.5 + Creative Commons Attribution 2.5 + + (default) + + + + CC-BY-3.0 + Creative Commons Attribution 3.0 + + (default) + + + + CC-BY-4.0 + Creative Commons Attribution 4.0 + + (default) + + + + CC-BY-NC-1.0 + Creative Commons Attribution Non Commercial + 1.0 + + dist-mirror + pkg-mirror + auto-accept + + + + CC-BY-NC-2.0 + Creative Commons Attribution Non Commercial + 2.0 + + dist-mirror + pkg-mirror + auto-accept + + + + CC-BY-NC-2.5 + Creative Commons Attribution Non Commercial + 2.5 + + dist-mirror + pkg-mirror + auto-accept + + + + CC-BY-NC-3.0 + Creative Commons Attribution Non Commercial + 3.0 + + dist-mirror + pkg-mirror + auto-accept + + + + CC-BY-NC-4.0 + Creative Commons Attribution Non Commercial + 4.0 + + dist-mirror + pkg-mirror + auto-accept + + + + CC-BY-NC-ND-1.0 + Creative Commons Attribution Non Commercial No + Derivatives 1.0 + + dist-mirror + pkg-mirror + auto-accept + + + + CC-BY-NC-ND-2.0 + Creative Commons Attribution Non Commercial No + Derivatives 2.0 + + dist-mirror + pkg-mirror + auto-accept + + + + CC-BY-NC-ND-2.5 + Creative Commons Attribution Non Commercial No + Derivatives 2.5 + + dist-mirror + pkg-mirror + auto-accept + + + + CC-BY-NC-ND-3.0 + Creative Commons Attribution Non Commercial No + Derivatives 3.0 + + dist-mirror + pkg-mirror + auto-accept + + + + CC-BY-NC-ND-4.0 + Creative Commons Attribution Non Commercial No + Derivatives 4.0 + + dist-mirror + pkg-mirror + auto-accept + + + + CC-BY-NC-SA-1.0 + Creative Commons Attribution Non Commercial Share + Alike 1.0 + + dist-mirror + pkg-mirror + auto-accept + + + + CC-BY-NC-SA-2.0 + Creative Commons Attribution Non Commercial Share + Alike 2.0 + + dist-mirror + pkg-mirror + auto-accept + + + + CC-BY-NC-SA-2.5 + Creative Commons Attribution Non Commercial Share + Alike 2.5 + + dist-mirror + pkg-mirror + auto-accept + + + + CC-BY-NC-SA-3.0 + Creative Commons Attribution Non Commercial Share + Alike 3.0 + + dist-mirror + pkg-mirror + auto-accept + + + + CC-BY-NC-SA-4.0 + Creative Commons Attribution Non Commercial Share + Alike 4.0 + + dist-mirror + pkg-mirror + auto-accept + + + + CC-BY-ND-1.0 + Creative Commons Attribution No Derivatives + 1.0 + + (default) + + + + CC-BY-ND-2.0 + Creative Commons Attribution No Derivatives + 2.0 + + (default) + + + + CC-BY-ND-2.5 + Creative Commons Attribution No Derivatives + 2.5 + + (default) + + + + CC-BY-ND-3.0 + Creative Commons Attribution No Derivatives + 3.0 + + (default) + + + + CC-BY-ND-4.0 + Creative Commons Attribution No Derivatives + 4.0 + + (default) + + + + CC-BY-SA-1.0 + Creative Commons Attribution Share Alike + 1.0 + + (default) + + + + CC-BY-SA-2.0 + Creative Commons Attribution Share Alike + 2.0 + + (default) + + + + CC-BY-SA-2.5 + Creative Commons Attribution Share Alike + 2.5 + + (default) + + + + CC-BY-SA-3.0 + Creative Commons Attribution Share Alike + 3.0 + + (default) + + + + CC-BY-SA-4.0 + Creative Commons Attribution Share Alike + 4.0 + + (default) + + + + CC0-1.0 + Creative Commons Zero v1.0 Universal + FSF GPL + COPYFREE + (default) + + + + CDDL + Common Development and Distribution + License + FSF + OSI + (default) + + + + CPAL-1.0 + Common Public Attribution License + FSF + OSI + (default) + + + + ClArtistic + Clarified Artistic License + FSF GPL + OSI + (default) + + + + EPL + Eclipse Public License + FSF + OSI + (default) + + + + GFDL + GNU Free Documentation License + FSF + (default) + + + + GMGPL + GNAT Modified General Public License + FSF GPL + OSI + (default) + + + + GPLv1 + GNU General Public License version 1 + FSF GPL + OSI + (default) + + + + GPLv1+ + GNU General Public License version 1 (or + later) + FSF GPL + OSI + (default) + + + + GPLv2 + GNU General Public License version 2 + FSF GPL + OSI + (default) + + + + GPLv2+ + GNU General Public License version 2 (or + later) + FSF GPL + OSI + (default) + + + + GPLv3 + GNU General Public License version 3 + FSF GPL + OSI + (default) + + + + GPLv3+ + GNU General Public License version 3 (or + later) + FSF GPL + OSI + (default) + + + + GPLv3RLE + GNU GPL version 3 Runtime Library + Exception + FSF GPL + OSI + (default) + + + + GPLv3RLE+ + GNU GPL version 3 Runtime Library Exception (or + later) + FSF GPL + OSI + (default) + + + + ISCL + Internet Systems Consortium License + FSF GPL + OSI + COPYFREE + (default) + + + + LGPL20 + GNU Library General Public License version + 2.0 + FSF GPL + OSI + (default) + + + + LGPL20+ + GNU Library General Public License version 2.0 + (or later) + FSF GPL + OSI + (default) + + + + LGPL21 + GNU Lesser General Public License version + 2.1 + FSF GPL + OSI + (default) + + + + LGPL21+ + GNU Lesser General Public License version 2.1 (or + later) + FSF GPL + OSI + (default) + + + + LGPL3 + GNU Lesser General Public License version + 3 + FSF GPL + OSI + (default) + + + + LGPL3+ + GNU Lesser General Public License version 3 (or + later) + FSF GPL + OSI + (default) + + + + LPPL10 + LaTeX Project Public License version 1.0 + FSF + OSI + dist-mirror + dist-sell + + + + LPPL11 + LaTeX Project Public License version 1.1 + FSF + OSI + dist-mirror + dist-sell + + + + LPPL12 + LaTeX Project Public License version 1.2 + FSF + OSI + dist-mirror + dist-sell + + + + LPPL13 + LaTeX Project Public License version 1.3 + FSF + OSI + dist-mirror + dist-sell + + + + LPPL13a + LaTeX Project Public License version 1.3a + FSF + OSI + dist-mirror + dist-sell + + + + LPPL13b + LaTeX Project Public License version 1.3b + FSF + OSI + dist-mirror + dist-sell + + + + LPPL13c + LaTeX Project Public License version 1.3c + FSF + OSI + dist-mirror + dist-sell + + + + MIT + MIT license / X11 license + COPYFREE + FSF GPL + OSI + (default) + + + + MPL + Mozilla Public License + FSF + OSI + (default) + + + + NCSA + University of Illinois/NCSA Open Source + License + COPYFREE + FSF GPL + OSI + (default) + + + + NONE + No license specified + + none + + + + OFL10 + SIL Open Font License version 1.0 + (http://scripts.sil.org/OFL) + FONTS + (default) + + + + OFL11 + SIL Open Font License version 1.1 + (http://scripts.sil.org/OFL) + FONTS + (default) + + + + OWL + Open Works License (owl.apotheon.org) + COPYFREE + (default) + + + + OpenSSL + OpenSSL License + FSF + (default) + + + + PD + Public Domain + GPL + COPYFREE + (default) + + + + PHP202 + PHP License version 2.02 + FSF + OSI + (default) + + + + PHP30 + PHP License version 3.0 + FSF + OSI + (default) + + + + PHP301 + PHP License version 3.01 + FSF + OSI + (default) + + + + PSFL + Python Software Foundation License + FSF GPL + OSI + (default) + + + + PostgreSQL + PostgreSQL Licence + FSF GPL + OSI + COPYFREE + (default) + + + + RUBY + Ruby License + FSF + (default) + + + + ZLIB + zlib License + GPL FSF + OSI + (default) + + + + ZPL21 + Zope Public License version 2.1 + GPL + OSI + (default) + + + +
+
+ + + <varname>LICENSE_PERMS</varname> and + <varname>LICENSE_PERMS_<replaceable>NAME</replaceable></varname> + + Permissions. use none if empty. + + + License Permissions List + + + dist-mirror + + + Redistribution of the distribution files is + permitted. The distribution files will be added to the + &os; MASTER_SITE_BACKUP + CDN. + + + + + no-dist-mirror + + + Redistribution of the distribution files is + prohibited. This is equivalent to setting RESTRICTED. + The distribution files will not be + added to the &os; MASTER_SITE_BACKUP + CDN. + + + + + dist-sell + + + Selling of distribution files is permitted. The + distribution files will be present on the installer + images. + + + + + no-dist-sell + + + Selling of distribution files is prohibited. This + is equivalent to setting NO_CDROM. + + + + + pkg-mirror + + + Free redistribution of package is permitted. The + package will be distributed on the &os; package + CDN http://pkg.freebsd.org/. + + + + + no-pkg-mirror + + + Free redistribution of package is prohibited. + Equivalent to setting NO_PACKAGE. + The package will not be distributed + otn the &os; package + CDN http://pkg.freebsd.org/. + + + + + pkg-sell + + + Selling of package is permitted. The package will + be present on the installer images. + + + + + no-pkg-sell + + + Selling of package is prohibited. This is + equivalent to setting NO_CDROM. + The package will not be present on + the installer images. + + + + + auto-accept + + + License is accepted by default. Prompts to accept a + license are not displayed unless the user has defined + LICENSES_ASK. Use this unless the + license states the user must accept the terms of the + license. + + + + + no-auto-accept + + + License is not accepted by default. The user will + always be asked to confirm the acceptance of this + license. This must be used if the license states that + the user must accept its terms. + + + + + When both + permission and + no-permission is + present the + no-permission + will cancel + permission. + + When + permission is + not present, it is considered to be a + no-permission. + + + Nonstandard License + + Read the terms of the license and translate those using + the available permissions. + + LICENSE= UNKNOWN +LICENSE_NAME= unknown +LICENSE_TEXT= This program is NOT in public domain.\ + It can be freely distributed for non-commercial purposes only. +LICENSE_PERMS= dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept + *** DIFF OUTPUT TRUNCATED AT 1000 LINES ***