svn commit: r50189 - head/en_US.ISO8859-1/books/porters-handbook/makefiles

Mathieu Arnold mat at FreeBSD.org
Fri Apr 21 13:42:09 UTC 2017


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</programlisting>
       MAINTAINER variable in the <filename>Makefile</filename>.</para>
   </sect1>
 
+  <sect1 xml:id="licenses">
+    <title>Licenses</title>
+
+    <para>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.</para>
+
+    <sect2 xml:id="licenses-license">
+      <title><varname>LICENSE</varname></title>
+
+      <para>A short name for the license or licenses if more than one
+	license apply.</para>
+
+      <para>If it is one of the licenses listed in <xref
+	  linkend="licenses-license-list"/>, only
+	<varname>LICENSE_FILE</varname> and
+	<varname>LICENSE_DISTFILES</varname> variables can be
+	set.</para>
+
+      <para>If this is a license that has not been defined in the
+	ports framework (see <xref linkend="licenses-license-list"/>),
+	the <varname>LICENSE_PERMS</varname> and
+	<varname>LICENSE_NAME</varname> must be set, along with either
+	<varname>LICENSE_FILE</varname> or
+	<varname>LICENSE_TEXT</varname>.
+	<varname>LICENSE_DISTFILES</varname> and
+	<varname>LICENSE_GROUPS</varname> can also be set, but are not
+	required.</para>
+
+      <para>The predefined licenses are shown in
+	<xref linkend="licenses-license-list"/>.  The current list is
+	always available in
+	<filename>Mk/bsd.licenses.db.mk</filename>.</para>
+
+      <example xml:id="licenses-license-ex1">
+	<title>Simplest Usage, Predefined Licenses</title>
+
+	<para>When the <filename>README</filename> of some software
+	  says <quote>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.</quote> but does not
+	  provide the license file, use this:</para>
+
+	<programlisting>LICENSE=	LGPL21+</programlisting>
+
+	<para>When the software provides the license file, use
+	  this:</para>
+
+	<programlisting>LICENSE=	LGPL21+
+LICENSE_FILE=	${WRKSRC}/COPYING</programlisting>
+      </example>
+
+      <para>For the predefined licenses, the default permissions are
+	<literal>dist-mirror dist-sell pkg-mirror pkg-sell
+	  auto-accept</literal>.</para>
+
+      <table frame="none" xml:id="licenses-license-list">
+	<title>Predefined License List</title>
+
+	<tgroup cols="3">
+	  <thead>
+	    <row>
+	      <entry>Short Name</entry>
+	      <entry>Name</entry>
+	      <entry>Group</entry>
+	      <entry>Permissions</entry>
+	    </row>
+	  </thead>
+
+	  <!--
+	    from any port, run
+	    for i in $(make -V _LICENSE_LIST:O)
+	    do
+	      echo "<row xml:id=\"licenses-license-${i/+/_}\">"
+	      echo "<entry><literal>$i</literal></entry>"
+	      echo "<entry>$(make -V _LICENSE_NAME_$i)</entry>"
+	      echo "<entry>$(make -V '${_LICENSE_GROUPS_'$i':@p@<literal>${p}</literal>@}')</entry>"
+	      if [ "$(make -V _LICENSE_PERMS_DEFAULT)" = "$(make -V _LICENSE_PERMS_$i)" ]
+	      then
+		echo "<entry>(default)</entry>"
+	      else
+		echo "<entry>$(make -V '${_LICENSE_PERMS_'$i':@p@<literal>${p}</literal>@}')</entry>"
+	      fi
+	      echo "</row>"
+	      echo
+	    done
+	    -->
+	  <tbody>
+	    <row xml:id="licenses-license-AGPLv3">
+	      <entry><literal>AGPLv3</literal></entry> <entry>GNU
+		Affero General Public License version 3</entry>
+	      <entry><literal>FSF</literal> <literal>GPL</literal>
+		<literal>OSI</literal></entry>
+	      <entry>(default)</entry>
+	    </row>
+
+	    <row xml:id="licenses-license-AGPLv3_">
+	      <entry><literal>AGPLv3+</literal></entry>
+	      <entry>GNU Affero General Public License version 3 (or
+		later)</entry>
+	      <entry><literal>FSF</literal> <literal>GPL</literal>
+		<literal>OSI</literal></entry>
+	      <entry>(default)</entry>
+	    </row>
+
+	    <row xml:id="licenses-license-APACHE10">
+	      <entry><literal>APACHE10</literal></entry>
+	      <entry>Apache License 1.0</entry>
+	      <entry><literal>FSF</literal></entry>
+	      <entry>(default)</entry>
+	    </row>
+
+	    <row xml:id="licenses-license-APACHE11">
+	      <entry><literal>APACHE11</literal></entry>
+	      <entry>Apache License 1.1</entry>
+	      <entry><literal>FSF</literal>
+		<literal>OSI</literal></entry>
+	      <entry>(default)</entry>
+	    </row>
+
+	    <row xml:id="licenses-license-APACHE20">
+	      <entry><literal>APACHE20</literal></entry>
+	      <entry>Apache License 2.0</entry>
+	      <entry><literal>FSF</literal>
+		<literal>OSI</literal></entry>
+	      <entry>(default)</entry>
+	    </row>
+
+	    <row xml:id="licenses-license-ART10">
+	      <entry><literal>ART10</literal></entry>
+	      <entry>Artistic License version 1.0</entry>
+	      <entry><literal>OSI</literal></entry>
+	      <entry>(default)</entry>
+	    </row>
+
+	    <row xml:id="licenses-license-ART20">
+	      <entry><literal>ART20</literal></entry>
+	      <entry>Artistic License version 2.0</entry>
+	      <entry><literal>FSF</literal> <literal>GPL</literal>
+		<literal>OSI</literal></entry>
+	      <entry>(default)</entry>
+	    </row>
+
+	    <row xml:id="licenses-license-ARTPERL10">
+	      <entry><literal>ARTPERL10</literal></entry>
+	      <entry>Artistic License (perl) version 1.0</entry>
+	      <entry><literal>OSI</literal></entry>
+	      <entry>(default)</entry>
+	    </row>
+
+	    <row xml:id="licenses-license-BSD">
+	      <entry><literal>BSD</literal></entry>
+	      <entry>BSD license Generic Version (deprecated)</entry>
+	      <entry><literal>FSF</literal> <literal>OSI</literal>
+		<literal>COPYFREE</literal></entry>
+	      <entry>(default)</entry>
+	    </row>
+
+	    <row xml:id="licenses-license-BSD2CLAUSE">
+	      <entry><literal>BSD2CLAUSE</literal></entry>
+	      <entry>BSD 2-clause "Simplified" License</entry>
+	      <entry><literal>FSF</literal> <literal>OSI</literal>
+		<literal>COPYFREE</literal></entry>
+	      <entry>(default)</entry>
+	    </row>
+
+	    <row xml:id="licenses-license-BSD3CLAUSE">
+	      <entry><literal>BSD3CLAUSE</literal></entry>
+	      <entry>BSD 3-clause "New" or "Revised" License</entry>
+	      <entry><literal>FSF</literal> <literal>OSI</literal>
+		<literal>COPYFREE</literal></entry>
+	      <entry>(default)</entry>
+	    </row>
+
+	    <row xml:id="licenses-license-BSD4CLAUSE">
+	      <entry><literal>BSD4CLAUSE</literal></entry>
+	      <entry>BSD 4-clause "Original" or "Old" License</entry>
+	      <entry><literal>FSF</literal></entry>
+	      <entry>(default)</entry>
+	    </row>
+
+	    <row xml:id="licenses-license-BSL">
+	      <entry><literal>BSL</literal></entry>
+	      <entry>Boost Software License</entry>
+	      <entry><literal>FSF</literal> <literal>OSI</literal>
+		<literal>COPYFREE</literal></entry>
+	      <entry>(default)</entry>
+	    </row>
+
+	    <row xml:id="licenses-license-CC-BY-1.0">
+	      <entry><literal>CC-BY-1.0</literal></entry>
+	      <entry>Creative Commons Attribution 1.0</entry>
+	      <entry></entry>
+	      <entry>(default)</entry>
+	    </row>
+
+	    <row xml:id="licenses-license-CC-BY-2.0">
+	      <entry><literal>CC-BY-2.0</literal></entry>
+	      <entry>Creative Commons Attribution 2.0</entry>
+	      <entry></entry>
+	      <entry>(default)</entry>
+	    </row>
+
+	    <row xml:id="licenses-license-CC-BY-2.5">
+	      <entry><literal>CC-BY-2.5</literal></entry>
+	      <entry>Creative Commons Attribution 2.5</entry>
+	      <entry></entry>
+	      <entry>(default)</entry>
+	    </row>
+
+	    <row xml:id="licenses-license-CC-BY-3.0">
+	      <entry><literal>CC-BY-3.0</literal></entry>
+	      <entry>Creative Commons Attribution 3.0</entry>
+	      <entry></entry>
+	      <entry>(default)</entry>
+	    </row>
+
+	    <row xml:id="licenses-license-CC-BY-4.0">
+	      <entry><literal>CC-BY-4.0</literal></entry>
+	      <entry>Creative Commons Attribution 4.0</entry>
+	      <entry></entry>
+	      <entry>(default)</entry>
+	    </row>
+
+	    <row xml:id="licenses-license-CC-BY-NC-1.0">
+	      <entry><literal>CC-BY-NC-1.0</literal></entry>
+	      <entry>Creative Commons Attribution Non Commercial
+		1.0</entry>
+	      <entry></entry>
+	      <entry><literal>dist-mirror</literal>
+		<literal>pkg-mirror</literal>
+		<literal>auto-accept</literal></entry>
+	    </row>
+
+	    <row xml:id="licenses-license-CC-BY-NC-2.0">
+	      <entry><literal>CC-BY-NC-2.0</literal></entry>
+	      <entry>Creative Commons Attribution Non Commercial
+		2.0</entry>
+	      <entry></entry>
+	      <entry><literal>dist-mirror</literal>
+		<literal>pkg-mirror</literal>
+		<literal>auto-accept</literal></entry>
+	    </row>
+
+	    <row xml:id="licenses-license-CC-BY-NC-2.5">
+	      <entry><literal>CC-BY-NC-2.5</literal></entry>
+	      <entry>Creative Commons Attribution Non Commercial
+		2.5</entry>
+	      <entry></entry>
+	      <entry><literal>dist-mirror</literal>
+		<literal>pkg-mirror</literal>
+		<literal>auto-accept</literal></entry>
+	    </row>
+
+	    <row xml:id="licenses-license-CC-BY-NC-3.0">
+	      <entry><literal>CC-BY-NC-3.0</literal></entry>
+	      <entry>Creative Commons Attribution Non Commercial
+		3.0</entry>
+	      <entry></entry>
+	      <entry><literal>dist-mirror</literal>
+		<literal>pkg-mirror</literal>
+		<literal>auto-accept</literal></entry>
+	    </row>
+
+	    <row xml:id="licenses-license-CC-BY-NC-4.0">
+	      <entry><literal>CC-BY-NC-4.0</literal></entry>
+	      <entry>Creative Commons Attribution Non Commercial
+		4.0</entry>
+	      <entry></entry>
+	      <entry><literal>dist-mirror</literal>
+		<literal>pkg-mirror</literal>
+		<literal>auto-accept</literal></entry>
+	    </row>
+
+	    <row xml:id="licenses-license-CC-BY-NC-ND-1.0">
+	      <entry><literal>CC-BY-NC-ND-1.0</literal></entry>
+	      <entry>Creative Commons Attribution Non Commercial No
+		Derivatives 1.0</entry>
+	      <entry></entry>
+	      <entry><literal>dist-mirror</literal>
+		<literal>pkg-mirror</literal>
+		<literal>auto-accept</literal></entry>
+	    </row>
+
+	    <row xml:id="licenses-license-CC-BY-NC-ND-2.0">
+	      <entry><literal>CC-BY-NC-ND-2.0</literal></entry>
+	      <entry>Creative Commons Attribution Non Commercial No
+		Derivatives 2.0</entry>
+	      <entry></entry>
+	      <entry><literal>dist-mirror</literal>
+		<literal>pkg-mirror</literal>
+		<literal>auto-accept</literal></entry>
+	    </row>
+
+	    <row xml:id="licenses-license-CC-BY-NC-ND-2.5">
+	      <entry><literal>CC-BY-NC-ND-2.5</literal></entry>
+	      <entry>Creative Commons Attribution Non Commercial No
+		Derivatives 2.5</entry>
+	      <entry></entry>
+	      <entry><literal>dist-mirror</literal>
+		<literal>pkg-mirror</literal>
+		<literal>auto-accept</literal></entry>
+	    </row>
+
+	    <row xml:id="licenses-license-CC-BY-NC-ND-3.0">
+	      <entry><literal>CC-BY-NC-ND-3.0</literal></entry>
+	      <entry>Creative Commons Attribution Non Commercial No
+		Derivatives 3.0</entry>
+	      <entry></entry>
+	      <entry><literal>dist-mirror</literal>
+		<literal>pkg-mirror</literal>
+		<literal>auto-accept</literal></entry>
+	    </row>
+
+	    <row xml:id="licenses-license-CC-BY-NC-ND-4.0">
+	      <entry><literal>CC-BY-NC-ND-4.0</literal></entry>
+	      <entry>Creative Commons Attribution Non Commercial No
+		Derivatives 4.0</entry>
+	      <entry></entry>
+	      <entry><literal>dist-mirror</literal>
+		<literal>pkg-mirror</literal>
+		<literal>auto-accept</literal></entry>
+	    </row>
+
+	    <row xml:id="licenses-license-CC-BY-NC-SA-1.0">
+	      <entry><literal>CC-BY-NC-SA-1.0</literal></entry>
+	      <entry>Creative Commons Attribution Non Commercial Share
+		Alike 1.0</entry>
+	      <entry></entry>
+	      <entry><literal>dist-mirror</literal>
+		<literal>pkg-mirror</literal>
+		<literal>auto-accept</literal></entry>
+	    </row>
+
+	    <row xml:id="licenses-license-CC-BY-NC-SA-2.0">
+	      <entry><literal>CC-BY-NC-SA-2.0</literal></entry>
+	      <entry>Creative Commons Attribution Non Commercial Share
+		Alike 2.0</entry>
+	      <entry></entry>
+	      <entry><literal>dist-mirror</literal>
+		<literal>pkg-mirror</literal>
+		<literal>auto-accept</literal></entry>
+	    </row>
+
+	    <row xml:id="licenses-license-CC-BY-NC-SA-2.5">
+	      <entry><literal>CC-BY-NC-SA-2.5</literal></entry>
+	      <entry>Creative Commons Attribution Non Commercial Share
+		Alike 2.5</entry>
+	      <entry></entry>
+	      <entry><literal>dist-mirror</literal>
+		<literal>pkg-mirror</literal>
+		<literal>auto-accept</literal></entry>
+	    </row>
+
+	    <row xml:id="licenses-license-CC-BY-NC-SA-3.0">
+	      <entry><literal>CC-BY-NC-SA-3.0</literal></entry>
+	      <entry>Creative Commons Attribution Non Commercial Share
+		Alike 3.0</entry>
+	      <entry></entry>
+	      <entry><literal>dist-mirror</literal>
+		<literal>pkg-mirror</literal>
+		<literal>auto-accept</literal></entry>
+	    </row>
+
+	    <row xml:id="licenses-license-CC-BY-NC-SA-4.0">
+	      <entry><literal>CC-BY-NC-SA-4.0</literal></entry>
+	      <entry>Creative Commons Attribution Non Commercial Share
+		Alike 4.0</entry>
+	      <entry></entry>
+	      <entry><literal>dist-mirror</literal>
+		<literal>pkg-mirror</literal>
+		<literal>auto-accept</literal></entry>
+	    </row>
+
+	    <row xml:id="licenses-license-CC-BY-ND-1.0">
+	      <entry><literal>CC-BY-ND-1.0</literal></entry>
+	      <entry>Creative Commons Attribution No Derivatives
+		1.0</entry>
+	      <entry></entry>
+	      <entry>(default)</entry>
+	    </row>
+
+	    <row xml:id="licenses-license-CC-BY-ND-2.0">
+	      <entry><literal>CC-BY-ND-2.0</literal></entry>
+	      <entry>Creative Commons Attribution No Derivatives
+		2.0</entry>
+	      <entry></entry>
+	      <entry>(default)</entry>
+	    </row>
+
+	    <row xml:id="licenses-license-CC-BY-ND-2.5">
+	      <entry><literal>CC-BY-ND-2.5</literal></entry>
+	      <entry>Creative Commons Attribution No Derivatives
+		2.5</entry>
+	      <entry></entry>
+	      <entry>(default)</entry>
+	    </row>
+
+	    <row xml:id="licenses-license-CC-BY-ND-3.0">
+	      <entry><literal>CC-BY-ND-3.0</literal></entry>
+	      <entry>Creative Commons Attribution No Derivatives
+		3.0</entry>
+	      <entry></entry>
+	      <entry>(default)</entry>
+	    </row>
+
+	    <row xml:id="licenses-license-CC-BY-ND-4.0">
+	      <entry><literal>CC-BY-ND-4.0</literal></entry>
+	      <entry>Creative Commons Attribution No Derivatives
+		4.0</entry>
+	      <entry></entry>
+	      <entry>(default)</entry>
+	    </row>
+
+	    <row xml:id="licenses-license-CC-BY-SA-1.0">
+	      <entry><literal>CC-BY-SA-1.0</literal></entry>
+	      <entry>Creative Commons Attribution Share Alike
+		1.0</entry>
+	      <entry></entry>
+	      <entry>(default)</entry>
+	    </row>
+
+	    <row xml:id="licenses-license-CC-BY-SA-2.0">
+	      <entry><literal>CC-BY-SA-2.0</literal></entry>
+	      <entry>Creative Commons Attribution Share Alike
+		2.0</entry>
+	      <entry></entry>
+	      <entry>(default)</entry>
+	    </row>
+
+	    <row xml:id="licenses-license-CC-BY-SA-2.5">
+	      <entry><literal>CC-BY-SA-2.5</literal></entry>
+	      <entry>Creative Commons Attribution Share Alike
+		2.5</entry>
+	      <entry></entry>
+	      <entry>(default)</entry>
+	    </row>
+
+	    <row xml:id="licenses-license-CC-BY-SA-3.0">
+	      <entry><literal>CC-BY-SA-3.0</literal></entry>
+	      <entry>Creative Commons Attribution Share Alike
+		3.0</entry>
+	      <entry></entry>
+	      <entry>(default)</entry>
+	    </row>
+
+	    <row xml:id="licenses-license-CC-BY-SA-4.0">
+	      <entry><literal>CC-BY-SA-4.0</literal></entry>
+	      <entry>Creative Commons Attribution Share Alike
+		4.0</entry>
+	      <entry></entry>
+	      <entry>(default)</entry>
+	    </row>
+
+	    <row xml:id="licenses-license-CC0-1.0">
+	      <entry><literal>CC0-1.0</literal></entry>
+	      <entry>Creative Commons Zero v1.0 Universal</entry>
+	      <entry><literal>FSF</literal> <literal>GPL</literal>
+		<literal>COPYFREE</literal></entry>
+	      <entry>(default)</entry>
+	    </row>
+
+	    <row xml:id="licenses-license-CDDL">
+	      <entry><literal>CDDL</literal></entry>
+	      <entry>Common Development and Distribution
+		License</entry>
+	      <entry><literal>FSF</literal>
+		<literal>OSI</literal></entry>
+	      <entry>(default)</entry>
+	    </row>
+
+	    <row xml:id="licenses-license-CPAL-1.0">
+	      <entry><literal>CPAL-1.0</literal></entry>
+	      <entry>Common Public Attribution License</entry>
+	      <entry><literal>FSF</literal>
+		<literal>OSI</literal></entry>
+	      <entry>(default)</entry>
+	    </row>
+
+	    <row xml:id="licenses-license-ClArtistic">
+	      <entry><literal>ClArtistic</literal></entry>
+	      <entry>Clarified Artistic License</entry>
+	      <entry><literal>FSF</literal> <literal>GPL</literal>
+		<literal>OSI</literal></entry>
+	      <entry>(default)</entry>
+	    </row>
+
+	    <row xml:id="licenses-license-EPL">
+	      <entry><literal>EPL</literal></entry>
+	      <entry>Eclipse Public License</entry>
+	      <entry><literal>FSF</literal>
+		<literal>OSI</literal></entry>
+	      <entry>(default)</entry>
+	    </row>
+
+	    <row xml:id="licenses-license-GFDL">
+	      <entry><literal>GFDL</literal></entry>
+	      <entry>GNU Free Documentation License</entry>
+	      <entry><literal>FSF</literal></entry>
+	      <entry>(default)</entry>
+	    </row>
+
+	    <row xml:id="licenses-license-GMGPL">
+	      <entry><literal>GMGPL</literal></entry>
+	      <entry>GNAT Modified General Public License</entry>
+	      <entry><literal>FSF</literal> <literal>GPL</literal>
+		<literal>OSI</literal></entry>
+	      <entry>(default)</entry>
+	    </row>
+
+	    <row xml:id="licenses-license-GPLv1">
+	      <entry><literal>GPLv1</literal></entry>
+	      <entry>GNU General Public License version 1</entry>
+	      <entry><literal>FSF</literal> <literal>GPL</literal>
+		<literal>OSI</literal></entry>
+	      <entry>(default)</entry>
+	    </row>
+
+	    <row xml:id="licenses-license-GPLv1_">
+	      <entry><literal>GPLv1+</literal></entry>
+	      <entry>GNU General Public License version 1 (or
+		later)</entry>
+	      <entry><literal>FSF</literal> <literal>GPL</literal>
+		<literal>OSI</literal></entry>
+	      <entry>(default)</entry>
+	    </row>
+
+	    <row xml:id="licenses-license-GPLv2">
+	      <entry><literal>GPLv2</literal></entry>
+	      <entry>GNU General Public License version 2</entry>
+	      <entry><literal>FSF</literal> <literal>GPL</literal>
+		<literal>OSI</literal></entry>
+	      <entry>(default)</entry>
+	    </row>
+
+	    <row xml:id="licenses-license-GPLv2_">
+	      <entry><literal>GPLv2+</literal></entry>
+	      <entry>GNU General Public License version 2 (or
+		later)</entry>
+	      <entry><literal>FSF</literal> <literal>GPL</literal>
+		<literal>OSI</literal></entry>
+	      <entry>(default)</entry>
+	    </row>
+
+	    <row xml:id="licenses-license-GPLv3">
+	      <entry><literal>GPLv3</literal></entry>
+	      <entry>GNU General Public License version 3</entry>
+	      <entry><literal>FSF</literal> <literal>GPL</literal>
+		<literal>OSI</literal></entry>
+	      <entry>(default)</entry>
+	    </row>
+
+	    <row xml:id="licenses-license-GPLv3_">
+	      <entry><literal>GPLv3+</literal></entry>
+	      <entry>GNU General Public License version 3 (or
+		later)</entry>
+	      <entry><literal>FSF</literal> <literal>GPL</literal>
+		<literal>OSI</literal></entry>
+	      <entry>(default)</entry>
+	    </row>
+
+	    <row xml:id="licenses-license-GPLv3RLE">
+	      <entry><literal>GPLv3RLE</literal></entry>
+	      <entry>GNU GPL version 3 Runtime Library
+		Exception</entry>
+	      <entry><literal>FSF</literal> <literal>GPL</literal>
+		<literal>OSI</literal></entry>
+	      <entry>(default)</entry>
+	    </row>
+
+	    <row xml:id="licenses-license-GPLv3RLE_">
+	      <entry><literal>GPLv3RLE+</literal></entry>
+	      <entry>GNU GPL version 3 Runtime Library Exception (or
+		later)</entry>
+	      <entry><literal>FSF</literal> <literal>GPL</literal>
+		<literal>OSI</literal></entry>
+	      <entry>(default)</entry>
+	    </row>
+
+	    <row xml:id="licenses-license-ISCL">
+	      <entry><literal>ISCL</literal></entry>
+	      <entry>Internet Systems Consortium License</entry>
+	      <entry><literal>FSF</literal> <literal>GPL</literal>
+		<literal>OSI</literal>
+		<literal>COPYFREE</literal></entry>
+	      <entry>(default)</entry>
+	    </row>
+
+	    <row xml:id="licenses-license-LGPL20">
+	      <entry><literal>LGPL20</literal></entry>
+	      <entry>GNU Library General Public License version
+		2.0</entry>
+	      <entry><literal>FSF</literal> <literal>GPL</literal>
+		<literal>OSI</literal></entry>
+	      <entry>(default)</entry>
+	    </row>
+
+	    <row xml:id="licenses-license-LGPL20_">
+	      <entry><literal>LGPL20+</literal></entry>
+	      <entry>GNU Library General Public License version 2.0
+		(or later)</entry>
+	      <entry><literal>FSF</literal> <literal>GPL</literal>
+		<literal>OSI</literal></entry>
+	      <entry>(default)</entry>
+	    </row>
+
+	    <row xml:id="licenses-license-LGPL21">
+	      <entry><literal>LGPL21</literal></entry>
+	      <entry>GNU Lesser General Public License version
+		2.1</entry>
+	      <entry><literal>FSF</literal> <literal>GPL</literal>
+		<literal>OSI</literal></entry>
+	      <entry>(default)</entry>
+	    </row>
+
+	    <row xml:id="licenses-license-LGPL21_">
+	      <entry><literal>LGPL21+</literal></entry>
+	      <entry>GNU Lesser General Public License version 2.1 (or
+		later)</entry>
+	      <entry><literal>FSF</literal> <literal>GPL</literal>
+		<literal>OSI</literal></entry>
+	      <entry>(default)</entry>
+	    </row>
+
+	    <row xml:id="licenses-license-LGPL3">
+	      <entry><literal>LGPL3</literal></entry>
+	      <entry>GNU Lesser General Public License version
+		3</entry>
+	      <entry><literal>FSF</literal> <literal>GPL</literal>
+		<literal>OSI</literal></entry>
+	      <entry>(default)</entry>
+	    </row>
+
+	    <row xml:id="licenses-license-LGPL3_">
+	      <entry><literal>LGPL3+</literal></entry>
+	      <entry>GNU Lesser General Public License version 3 (or
+		later)</entry>
+	      <entry><literal>FSF</literal> <literal>GPL</literal>
+		<literal>OSI</literal></entry>
+	      <entry>(default)</entry>
+	    </row>
+
+	    <row xml:id="licenses-license-LPPL10">
+	      <entry><literal>LPPL10</literal></entry>
+	      <entry>LaTeX Project Public License version 1.0</entry>
+	      <entry><literal>FSF</literal>
+		<literal>OSI</literal></entry>
+	      <entry><literal>dist-mirror</literal>
+		<literal>dist-sell</literal></entry>
+	    </row>
+
+	    <row xml:id="licenses-license-LPPL11">
+	      <entry><literal>LPPL11</literal></entry>
+	      <entry>LaTeX Project Public License version 1.1</entry>
+	      <entry><literal>FSF</literal>
+		<literal>OSI</literal></entry>
+	      <entry><literal>dist-mirror</literal>
+		<literal>dist-sell</literal></entry>
+	    </row>
+
+	    <row xml:id="licenses-license-LPPL12">
+	      <entry><literal>LPPL12</literal></entry>
+	      <entry>LaTeX Project Public License version 1.2</entry>
+	      <entry><literal>FSF</literal>
+		<literal>OSI</literal></entry>
+	      <entry><literal>dist-mirror</literal>
+		<literal>dist-sell</literal></entry>
+	    </row>
+
+	    <row xml:id="licenses-license-LPPL13">
+	      <entry><literal>LPPL13</literal></entry>
+	      <entry>LaTeX Project Public License version 1.3</entry>
+	      <entry><literal>FSF</literal>
+		<literal>OSI</literal></entry>
+	      <entry><literal>dist-mirror</literal>
+		<literal>dist-sell</literal></entry>
+	    </row>
+
+	    <row xml:id="licenses-license-LPPL13a">
+	      <entry><literal>LPPL13a</literal></entry>
+	      <entry>LaTeX Project Public License version 1.3a</entry>
+	      <entry><literal>FSF</literal>
+		<literal>OSI</literal></entry>
+	      <entry><literal>dist-mirror</literal>
+		<literal>dist-sell</literal></entry>
+	    </row>
+
+	    <row xml:id="licenses-license-LPPL13b">
+	      <entry><literal>LPPL13b</literal></entry>
+	      <entry>LaTeX Project Public License version 1.3b</entry>
+	      <entry><literal>FSF</literal>
+		<literal>OSI</literal></entry>
+	      <entry><literal>dist-mirror</literal>
+		<literal>dist-sell</literal></entry>
+	    </row>
+
+	    <row xml:id="licenses-license-LPPL13c">
+	      <entry><literal>LPPL13c</literal></entry>
+	      <entry>LaTeX Project Public License version 1.3c</entry>
+	      <entry><literal>FSF</literal>
+		<literal>OSI</literal></entry>
+	      <entry><literal>dist-mirror</literal>
+		<literal>dist-sell</literal></entry>
+	    </row>
+
+	    <row xml:id="licenses-license-MIT">
+	      <entry><literal>MIT</literal></entry>
+	      <entry>MIT license / X11 license</entry>
+	      <entry><literal>COPYFREE</literal>
+		<literal>FSF</literal> <literal>GPL</literal>
+		<literal>OSI</literal></entry>
+	      <entry>(default)</entry>
+	    </row>
+
+	    <row xml:id="licenses-license-MPL">
+	      <entry><literal>MPL</literal></entry>
+	      <entry>Mozilla Public License</entry>
+	      <entry><literal>FSF</literal>
+		<literal>OSI</literal></entry>
+	      <entry>(default)</entry>
+	    </row>
+
+	    <row xml:id="licenses-license-NCSA">
+	      <entry><literal>NCSA</literal></entry>
+	      <entry>University of Illinois/NCSA Open Source
+		License</entry>
+	      <entry><literal>COPYFREE</literal>
+		<literal>FSF</literal> <literal>GPL</literal>
+		<literal>OSI</literal></entry>
+	      <entry>(default)</entry>
+	    </row>
+
+	    <row xml:id="licenses-license-NONE">
+	      <entry><literal>NONE</literal></entry>
+	      <entry>No license specified</entry>
+	      <entry></entry>
+	      <entry><literal>none</literal></entry>
+	    </row>
+
+	    <row xml:id="licenses-license-OFL10">
+	      <entry><literal>OFL10</literal></entry>
+	      <entry>SIL Open Font License version 1.0
+		(http://scripts.sil.org/OFL)</entry>
+	      <entry><literal>FONTS</literal></entry>
+	      <entry>(default)</entry>
+	    </row>
+
+	    <row xml:id="licenses-license-OFL11">
+	      <entry><literal>OFL11</literal></entry>
+	      <entry>SIL Open Font License version 1.1
+		(http://scripts.sil.org/OFL)</entry>
+	      <entry><literal>FONTS</literal></entry>
+	      <entry>(default)</entry>
+	    </row>
+
+	    <row xml:id="licenses-license-OWL">
+	      <entry><literal>OWL</literal></entry>
+	      <entry>Open Works License (owl.apotheon.org)</entry>
+	      <entry><literal>COPYFREE</literal></entry>
+	      <entry>(default)</entry>
+	    </row>
+
+	    <row xml:id="licenses-license-OpenSSL">
+	      <entry><literal>OpenSSL</literal></entry>
+	      <entry>OpenSSL License</entry>
+	      <entry><literal>FSF</literal></entry>
+	      <entry>(default)</entry>
+	    </row>
+
+	    <row xml:id="licenses-license-PD">
+	      <entry><literal>PD</literal></entry>
+	      <entry>Public Domain</entry>
+	      <entry><literal>GPL</literal>
+		<literal>COPYFREE</literal></entry>
+	      <entry>(default)</entry>
+	    </row>
+
+	    <row xml:id="licenses-license-PHP202">
+	      <entry><literal>PHP202</literal></entry>
+	      <entry>PHP License version 2.02</entry>
+	      <entry><literal>FSF</literal>
+		<literal>OSI</literal></entry>
+	      <entry>(default)</entry>
+	    </row>
+
+	    <row xml:id="licenses-license-PHP30">
+	      <entry><literal>PHP30</literal></entry>
+	      <entry>PHP License version 3.0</entry>
+	      <entry><literal>FSF</literal>
+		<literal>OSI</literal></entry>
+	      <entry>(default)</entry>
+	    </row>
+
+	    <row xml:id="licenses-license-PHP301">
+	      <entry><literal>PHP301</literal></entry>
+	      <entry>PHP License version 3.01</entry>
+	      <entry><literal>FSF</literal>
+		<literal>OSI</literal></entry>
+	      <entry>(default)</entry>
+	    </row>
+
+	    <row xml:id="licenses-license-PSFL">
+	      <entry><literal>PSFL</literal></entry>
+	      <entry>Python Software Foundation License</entry>
+	      <entry><literal>FSF</literal> <literal>GPL</literal>
+		<literal>OSI</literal></entry>
+	      <entry>(default)</entry>
+	    </row>
+
+	    <row xml:id="licenses-license-PostgreSQL">
+	      <entry><literal>PostgreSQL</literal></entry>
+	      <entry>PostgreSQL Licence</entry>
+	      <entry><literal>FSF</literal> <literal>GPL</literal>
+		<literal>OSI</literal>
+		<literal>COPYFREE</literal></entry>
+	      <entry>(default)</entry>
+	    </row>
+
+	    <row xml:id="licenses-license-RUBY">
+	      <entry><literal>RUBY</literal></entry>
+	      <entry>Ruby License</entry>
+	      <entry><literal>FSF</literal></entry>
+	      <entry>(default)</entry>
+	    </row>
+
+	    <row xml:id="licenses-license-ZLIB">
+	      <entry><literal>ZLIB</literal></entry>
+	      <entry>zlib License</entry>
+	      <entry><literal>GPL</literal> <literal>FSF</literal>
+		<literal>OSI</literal></entry>
+	      <entry>(default)</entry>
+	    </row>
+
+	    <row xml:id="licenses-license-ZPL21">
+	      <entry><literal>ZPL21</literal></entry>
+	      <entry>Zope Public License version 2.1</entry>
+	      <entry><literal>GPL</literal>
+		<literal>OSI</literal></entry>
+	      <entry>(default)</entry>
+	    </row>
+	  </tbody>
+	</tgroup>
+      </table>
+    </sect2>
+
+    <sect2 xml:id="licenses-license_perms">
+      <title><varname>LICENSE_PERMS</varname> and
+	<varname>LICENSE_PERMS_<replaceable>NAME</replaceable></varname></title>
+
+      <para>Permissions.  use <literal>none</literal> if empty.</para>
+
+      <variablelist xml:id="licenses-license_perms-list">
+	<title>License Permissions List</title>
+
+	<varlistentry xml:id="licenses-license_perms-dist-mirror">
+	  <term><literal>dist-mirror</literal></term>
+
+	  <listitem>
+	    <para>Redistribution of the distribution files is
+	      permitted.  The distribution files will be added to the
+	      &os; <varname>MASTER_SITE_BACKUP</varname>
+	      <acronym>CDN</acronym>.</para>
+	  </listitem>
+	</varlistentry>
+
+	<varlistentry xml:id="licenses-license_perms-no-dist-mirror">
+	  <term><literal>no-dist-mirror</literal></term>
+
+	  <listitem>
+	    <para>Redistribution of the distribution files is
+	      prohibited.  This is equivalent to setting <link
+		linkend="porting-restrictions-restricted"><varname>RESTRICTED</varname></link>.
+	      The distribution files will <emphasis>not</emphasis> be
+	      added to the &os; <varname>MASTER_SITE_BACKUP</varname>
+	      <acronym>CDN</acronym>.</para>
+	  </listitem>
+	</varlistentry>
+
+	<varlistentry xml:id="licenses-license_perms-dist-sell">
+	  <term><literal>dist-sell</literal></term>
+
+	  <listitem>
+	    <para>Selling of distribution files is permitted.  The
+	      distribution files will be present on the installer
+	      images.</para>
+	  </listitem>
+	</varlistentry>
+
+	<varlistentry xml:id="licenses-license_perms-no-dist-sell">
+	  <term><literal>no-dist-sell</literal></term>
+
+	  <listitem>
+	    <para>Selling of distribution files is prohibited.  This
+	      is equivalent to setting <link
+		linkend="porting-restrictions-no_cdrom"><varname>NO_CDROM</varname></link>.</para>
+	  </listitem>
+	</varlistentry>
+
+	<varlistentry xml:id="licenses-license_perms-pkg-mirror">
+	  <term><literal>pkg-mirror</literal></term>
+
+	  <listitem>
+	    <para>Free redistribution of package is permitted.  The
+	      package will be distributed on the &os; package
+	      <acronym>CDN</acronym> <link
+		xlink:href="http://pkg.freebsd.org/">http://pkg.freebsd.org/</link>.</para>
+	  </listitem>
+	</varlistentry>
+
+	<varlistentry xml:id="licenses-license_perms-no-pkg-mirror">
+	  <term><literal>no-pkg-mirror</literal></term>
+
+	  <listitem>
+	    <para>Free redistribution of package is prohibited.
+	      Equivalent to setting <link
+		linkend="porting-restrictions-no_package"><varname>NO_PACKAGE</varname></link>.
+	      The package will <emphasis>not</emphasis> be distributed
+	      otn the &os; package
+	      <acronym>CDN</acronym> <link
+		xlink:href="http://pkg.freebsd.org/">http://pkg.freebsd.org/</link>.</para>
+	  </listitem>
+	</varlistentry>
+
+	<varlistentry xml:id="licenses-license_perms-pkg-sell">
+	  <term><literal>pkg-sell</literal></term>
+
+	  <listitem>
+	    <para>Selling of package is permitted.  The package will
+	      be present on the installer images.</para>
+	  </listitem>
+	</varlistentry>
+
+	<varlistentry xml:id="licenses-license_perms-no-pkg-sell">
+	  <term><literal>no-pkg-sell</literal></term>
+
+	  <listitem>
+	    <para>Selling of package is prohibited.  This is
+	      equivalent to setting <link
+		linkend="porting-restrictions-no_cdrom"><varname>NO_CDROM</varname></link>.
+	      The package will <emphasis>not</emphasis> be present on
+	      the installer images.</para>
+	  </listitem>
+	</varlistentry>
+
+	<varlistentry xml:id="licenses-license_perms-auto-accept">
+	  <term><literal>auto-accept</literal></term>
+
+	  <listitem>
+	    <para>License is accepted by default.  Prompts to accept a
+	      license are not displayed unless the user has defined
+	      <varname>LICENSES_ASK</varname>.  Use this unless the
+	      license states the user must accept the terms of the
+	      license.</para>
+	  </listitem>
+	</varlistentry>
+
+	<varlistentry xml:id="licenses-license_perms-no-auto-accept">
+	  <term><literal>no-auto-accept</literal></term>
+
+	  <listitem>
+	    <para>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.</para>
+	  </listitem>
+	</varlistentry>
+      </variablelist>
+
+      <para>When both
+	<literal><replaceable>permission</replaceable></literal> and
+	<literal>no-<replaceable>permission</replaceable></literal> is
+	present the
+	<literal>no-<replaceable>permission</replaceable></literal>
+	will cancel
+	<literal><replaceable>permission</replaceable></literal>.</para>
+
+      <para>When
+	<literal><replaceable>permission</replaceable></literal> is
+	not present, it is considered to be a
+	<literal>no-<replaceable>permission</replaceable></literal>.</para>
+
+      <example xml:id="licenses-license_perms-ex1">
+	<title>Nonstandard License</title>
+
+	<para>Read the terms of the license and translate those using
+	  the available permissions.</para>
+
+	<programlisting>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</programlisting>
+      </example>

*** DIFF OUTPUT TRUNCATED AT 1000 LINES ***


More information about the svn-doc-head mailing list