| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | <!-- $NetBSD: fixes.xml,v 1.118 2013/04/21 11:33:55 rodent Exp $ --> | | 1 | <!-- $NetBSD: fixes.xml,v 1.119 2013/05/05 21:26:37 rodent Exp $ --> |
2 | | | 2 | |
3 | <chapter id="fixes"> <?dbhtml filename="fixes.html"?> | | 3 | <chapter id="fixes"> <?dbhtml filename="fixes.html"?> |
4 | <title>Making your package work</title> | | 4 | <title>Making your package work</title> |
5 | | | 5 | |
6 | <sect1 id="general-operation"> | | 6 | <sect1 id="general-operation"> |
7 | <title>General operation</title> | | 7 | <title>General operation</title> |
8 | | | 8 | |
9 | <sect2 id="portability-of-packages"> | | 9 | <sect2 id="portability-of-packages"> |
10 | <title>Portability of packages</title> | | 10 | <title>Portability of packages</title> |
11 | | | 11 | |
12 | <para>One appealing feature of pkgsrc is that it runs on many | | 12 | <para>One appealing feature of pkgsrc is that it runs on many |
13 | different platforms. As a result, it is important to ensure, | | 13 | different platforms. As a result, it is important to ensure, |
14 | where possible, that packages in pkgsrc are portable. This | | 14 | where possible, that packages in pkgsrc are portable. This |
| @@ -147,26 +147,27 @@ INTERACTIVE_STAGE= configure instal | | | @@ -147,26 +147,27 @@ INTERACTIVE_STAGE= configure instal |
147 | lucent | | 147 | lucent |
148 | miros | | 148 | miros |
149 | mit | | 149 | mit |
150 | mpl-1.0 mpl-1.1 mpl-2.0 | | 150 | mpl-1.0 mpl-1.1 mpl-2.0 |
151 | mplusfont | | 151 | mplusfont |
152 | ofl-v1.0 ofl-v1.1 | | 152 | ofl-v1.0 ofl-v1.1 |
153 | original-bsd modified-bsd 2-clause-bsd | | 153 | original-bsd modified-bsd 2-clause-bsd |
154 | php | | 154 | php |
155 | png-license | | 155 | png-license |
156 | postgresql-license | | 156 | postgresql-license |
157 | public-domain | | 157 | public-domain |
158 | python-software-foundation | | 158 | python-software-foundation |
159 | qpl-v1.0 | | 159 | qpl-v1.0 |
| | | 160 | sgi-free-software-b-v2.0 |
160 | sleepycat-public | | 161 | sleepycat-public |
161 | unlicense | | 162 | unlicense |
162 | x11 | | 163 | x11 |
163 | zlib | | 164 | zlib |
164 | zpl | | 165 | zpl |
165 | </programlisting> | | 166 | </programlisting> |
166 | </para> | | 167 | </para> |
167 | | | 168 | |
168 | <para>The license tag mechanism is intended to address | | 169 | <para>The license tag mechanism is intended to address |
169 | copyright-related issues surrounding building, installing and | | 170 | copyright-related issues surrounding building, installing and |
170 | using a package, and not to address redistribution issues (see | | 171 | using a package, and not to address redistribution issues (see |
171 | <varname>RESTRICTED</varname> and | | 172 | <varname>RESTRICTED</varname> and |
172 | <varname>NO_SRC_ON_FTP</varname>, etc.). | | 173 | <varname>NO_SRC_ON_FTP</varname>, etc.). |
| @@ -204,26 +205,27 @@ LICENSE= xv-license | | | @@ -204,26 +205,27 @@ LICENSE= xv-license |
204 | that license:</para> | | 205 | that license:</para> |
205 | | | 206 | |
206 | <programlisting> | | 207 | <programlisting> |
207 | ACCEPTABLE_LICENSES+=xv-license | | 208 | ACCEPTABLE_LICENSES+=xv-license |
208 | </programlisting> | | 209 | </programlisting> |
209 | | | 210 | |
210 | <para>When adding a package with a new license, the following steps | | 211 | <para>When adding a package with a new license, the following steps |
211 | are required:</para> | | 212 | are required:</para> |
212 | <orderedlist> | | 213 | <orderedlist> |
213 | <listitem><para>Check if the file can avoid the -license filename tag as described above by referencing <ulink url="http://www.gnu.org/licenses/license-list.html">Various Licenses and Comments about Them</ulink> and <ulink url="http://opensource.org/licenses/alphabetical">Licenses by Name | Open Source Initiative</ulink>. If this is the case, additionally add the license filename to:</para> | | 214 | <listitem><para>Check if the file can avoid the -license filename tag as described above by referencing <ulink url="http://www.gnu.org/licenses/license-list.html">Various Licenses and Comments about Them</ulink> and <ulink url="http://opensource.org/licenses/alphabetical">Licenses by Name | Open Source Initiative</ulink>. If this is the case, additionally add the license filename to:</para> |
214 | <itemizedlist> | | 215 | <itemizedlist> |
215 | <listitem><para>DEFAULT_ACCEPTABLE_LICENSES in <filename>pkgsrc/mk/license.mk</filename></para></listitem> | | 216 | <listitem><para>DEFAULT_ACCEPTABLE_LICENSES in <filename>pkgsrc/mk/license.mk</filename></para></listitem> |
216 | <listitem><para>default_acceptable_licenses in <filename>pkgsrc/pkgtools/pkg_install/files/lib/license.c</filename></para></listitem> | | 217 | <listitem><para>default_acceptable_licenses in <filename>pkgsrc/pkgtools/pkg_install/files/lib/license.c</filename></para></listitem> |
| | | 218 | <listitem><para>the ACCEPTABLE_LICENSES list in <filename>pkgsrc/doc/guide/files/fixes.xml</filename></para></listitem> |
217 | </itemizedlist> | | 219 | </itemizedlist> |
218 | <para>with the proper syntax as demonstrated in those files, respectively.</para></listitem> | | 220 | <para>with the proper syntax as demonstrated in those files, respectively.</para></listitem> |
219 | <listitem><para>The license text should be added to <filename>pkgsrc/licenses</filename> for displaying. A list of known licenses can be seen in this directory.</para></listitem> | | 221 | <listitem><para>The license text should be added to <filename>pkgsrc/licenses</filename> for displaying. A list of known licenses can be seen in this directory.</para></listitem> |
220 | </orderedlist> | | 222 | </orderedlist> |
221 | <para>When the license changes (in a way other than formatting), | | 223 | <para>When the license changes (in a way other than formatting), |
222 | please make sure that the new license has a different name (e.g., | | 224 | please make sure that the new license has a different name (e.g., |
223 | append the version number if it exists, or the date). Just | | 225 | append the version number if it exists, or the date). Just |
224 | because a user told pkgsrc to build programs under a previous | | 226 | because a user told pkgsrc to build programs under a previous |
225 | version of a license does not mean that pkgsrc should build | | 227 | version of a license does not mean that pkgsrc should build |
226 | programs under the new licenses. The higher-level point is that | | 228 | programs under the new licenses. The higher-level point is that |
227 | pkgsrc does not evaluate licenses for reasonableness; the only | | 229 | pkgsrc does not evaluate licenses for reasonableness; the only |
228 | test is a mechanistic test of whether a particular text has been | | 230 | test is a mechanistic test of whether a particular text has been |
229 | approved by either of two bodies.</para> | | 231 | approved by either of two bodies.</para> |