/[dep]/web/deps/dep5/copyright-format.xml
ViewVC logotype

Contents of /web/deps/dep5/copyright-format.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 273 - (hide annotations) (download) (as text)
Sat Feb 11 07:25:55 2012 UTC (15 months, 1 week ago) by plessy
File MIME type: text/xml
File size: 50286 byte(s)
English proofreading, thanks to Justin B Rye and Jonathan Nieder.

Closes: #648387
1 vorlon 210 <?xml version="1.0" encoding="utf-8"?>
2     <?xml-stylesheet type="text/xsl"
3     href="http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl"?>
4    
5     <!-- Process this file with an XSLT processor, e.g. xsltproc: -->
6     <!-- `xsltproc \
7     -''-nonet \
8     1.0.xml' -->
9    
10     <!DOCTYPE article PUBLIC '-//OASIS//DTD DocBook XML V4.5//EN'
11     'http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd'>
12    
13     <article class="specification" status="draft" lang="en" id="copyright-format">
14     <articleinfo>
15     <title>
16     Machine-readable <filename>debian/copyright</filename> file.
17     </title>
18     <legalnotice>
19     <para>
20     Copying and distribution of this file, with or without modification, are
21     permitted in any medium without royalty provided the copyright notice
22     and this notice are preserved.
23     </para>
24     </legalnotice>
25     <abstract>
26     <para>
27 vorlon 211 Establish a standard, machine-readable format for
28     <filename>debian/copyright</filename> files within packages and to
29     facilitate automated checking and reporting of licenses for packages
30     and sets of packages.
31 vorlon 210 </para>
32     </abstract>
33     </articleinfo>
34    
35     <section id="introduction">
36     <title>Introduction</title>
37     <para>
38     This is a proposal to make <filename>debian/copyright</filename>
39     machine-interpretable. This file is one of the most important files in
40     Debian packaging, yet there is currently no standard format defined for it
41     and its contents vary tremendously across packages, making it difficult to
42     automatically extract licensing information.
43     </para>
44     <para>
45 plessy 259 This specification is not part of the Debian Policy, and its use is
46     optional.
47     </para>
48     <para>
49     Nothing in this proposal supersedes or modifies any of the
50 vorlon 210 requirements specified in Debian Policy regarding the appropriate detail
51     or granularity to use when documenting copyright and license status in
52     <filename>debian/copyright</filename>.
53     </para>
54     </section>
55    
56     <section id="rationale">
57     <title>Rationale</title>
58     <para>
59     The diversity of free software licenses means that Debian needs to care
60     not only about the freeness of a given work, but also its license's
61     compatibility with the other parts of Debian it uses.
62     </para>
63     <para>
64     The arrival of the GPL version 3, its incompatibility with version 2, and
65     our inability to spot the software where the incompatibility might be
66     problematic is one prominent occurrence of this limitation.
67     </para>
68     <para>
69     There are earlier precedents, also. One is the GPL/OpenSSL
70     incompatibility. Apart from grepping
71     <filename>debian/copyright</filename>, which is prone to numerous false
72     positives (packaging under the GPL but software under another license) or
73     negatives (GPL software but with an <quote>OpenSSL special
74     exception</quote> dual licensing form), there is no reliable way to know
75     which software in Debian might be problematic.
76     </para>
77     <para>
78     And there is more to come. There are issues with shipping GPLv2-only
79     software with a CDDL operating system such as Nexenta. The GPL version 3
80     solves this issue, but not all GPL software can switch to it and we have
81     no way to know how much of Debian should be stripped from such a system.
82     </para>
83     <para>
84 plessy 273 Even where licenses are DFSG-free and mutually compatible, users might want
85     a way to avoid software with certain licenses, for example if they have a
86     problem with the Affero GPL.
87 vorlon 210 </para>
88     </section>
89    
90     <section id="acknowledgements">
91     <title>Acknowledgements</title>
92     <para>
93     Many people have worked on this specification over the years. The
94     following alphabetical list is incomplete, please suggest missing people:
95     Russ Allbery,
96     Ben Finney,
97     Sam Hocevar,
98     Steve Langasek,
99     Charles Plessy,
100     Noah Slater,
101     Jonas Smedegaard,
102     Lars Wirzenius.
103     </para>
104     </section>
105    
106     <section id="file-syntax">
107     <title>File syntax</title>
108     <para>
109     The <filename>debian/copyright</filename> file must be
110     machine-interpretable, yet human-readable, while communicating all
111     mandated upstream information, copyright notices and licensing details.
112     </para>
113     <para>
114     The syntax of the file is the same as for other Debian control files, as
115     specified in the Debian Policy Manual. See its <ulink
116     url="http://www.debian.org/doc/debian-policy/ch-controlfields#s-controlsyntax">section
117     5.1</ulink> for details. Extra fields can be added to any paragraph. No
118     prefixing is necessary or desired, but please avoid names similar to
119     standard ones so that mistakes are easier to catch. Future versions of
120     the <filename>debian/copyright</filename> specification will attempt to
121     avoid conflicting specifications for widely used extra fields.
122     </para>
123     <para>
124 vorlon 232 The file consists of two or more paragraphs. At minimum, the file
125     must include one <link linkend="header-paragraph">header
126     paragraph</link> and one <link linkend="files-paragraph">Files
127     paragraph</link>.
128     </para>
129     <para>
130 plessy 273 There are four types of fields. The definition for each field in this
131     document indicates which type of value it takes.
132 vorlon 210 </para>
133    
134     <section id="single-line">
135     <title>Single-line values</title>
136     <para>
137 plessy 273 This means that the whole value of a field must fit on a single line.
138     For example, the <varname>Format</varname> field
139 vorlon 237 has a single-line value specifying the version of the
140     machine-readable format that is used.
141 vorlon 210 </para>
142     </section>
143    
144     <section id="white-space-lists">
145 vorlon 224 <title>Whitespace-separated lists</title>
146 vorlon 210 <para>
147 plessy 273 This means that the field value may be on one line or many, but values
148     in the list are separated by one or more whitespace characters
149     (including space, TAB, and newline). For example, the
150     <varname>Files</varname> field has a list of filename patterns.
151 vorlon 210 </para>
152     </section>
153    
154     <section id="line-based-lists">
155 vorlon 235 <title>Line-based lists</title>
156 vorlon 210 <para>
157 plessy 273 This means that the field has one value per line. For example,
158 plessy 269 <varname>Upstream-Contact</varname> can list contact addresses, one per
159 vorlon 210 line.
160     </para>
161     </section>
162    
163     <section id="formatted-text">
164     <title>Text formatted like package long descriptions</title>
165     <para>
166     Formatted text fields use the same rules as the long description in a
167     package's <varname>Description</varname> field, possibly also using the
168 plessy 273 first line as a synopsis, just as <varname>Description</varname> uses it
169 vorlon 210 for the short description. See Debian Policy's section 5.6.13, <ulink
170     url="http://www.debian.org/doc/debian-policy/ch-controlfields#s-f-Description"><quote>Description</quote></ulink>,
171     for details. For example, <varname>Disclaimer</varname> has no special
172     first line, whereas <varname>License</varname> does.
173     </para>
174     </section>
175     </section>
176    
177     <section id="paragraphs">
178     <title>Paragraphs</title>
179     <para>
180 vorlon 230 There are three kinds of paragraphs. The first paragraph in the file
181     is called the <link linkend="header-paragraph">header paragraph</link>.
182 vorlon 229 Every other paragraph is either a <link
183 vorlon 235 linkend="files-paragraph">Files paragraph</link> or a <link
184 plessy 273 linkend="stand-alone-license-paragraph">standalone License
185 vorlon 235 paragraph</link>. This is similar to source and binary package
186     paragraphs in <filename>debian/control</filename> files.
187 vorlon 210 </para>
188    
189     <section id="header-paragraph">
190 plessy 273 <title>Header paragraph (once)</title>
191 vorlon 233 <para>
192     The following fields may be present in a header paragraph.
193     </para>
194     <itemizedlist>
195     <listitem>
196     <para>
197     <link linkend="format-field">Format</link>: required.
198     </para>
199     </listitem>
200     <listitem>
201     <para>
202     <link linkend="upstream-name-field">Upstream-Name</link>:
203     optional.
204     </para>
205     </listitem>
206     <listitem>
207     <para>
208     <link
209     linkend="upstream-contact-field">Upstream-Contact</link>:
210     optional.
211     </para>
212     </listitem>
213     <listitem>
214     <para>
215     <link linkend="source-field">Source</link>: optional.
216     </para>
217     </listitem>
218     <listitem>
219     <para>
220     <link linkend="disclaimer-field">Disclaimer</link>:
221     optional.
222     </para>
223     </listitem>
224     <listitem>
225     <para>
226     <link linkend="comment-field">Comment</link>: optional.
227     </para>
228     </listitem>
229     <listitem>
230     <para>
231     <link linkend="license-field">License</link>: optional.
232     </para>
233     </listitem>
234     <listitem>
235     <para>
236     <link linkend="copyright-field">Copyright</link>: optional.
237     </para>
238     </listitem>
239     </itemizedlist>
240     <para>
241     The <varname>Copyright</varname> and <varname>License</varname>
242     fields in the <emphasis>header paragraph</emphasis> may complement
243     but do not replace the <emphasis>Files paragraphs</emphasis>. They
244     can be used to summarise the contributions and redistribution terms
245     for the whole package, for instance when a work combines a
246     permissive and a copyleft license, or to document a
247     <emphasis>compilation copyright</emphasis> and license. It is
248     possible to use only <varname>License</varname> in the header
249     paragraph, but <varname>Copyright</varname> alone makes no sense.
250     </para>
251 vorlon 210
252     <section id="example-header-paragraph">
253     <title>Example header paragraph</title>
254 vorlon 215 <programlisting>Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
255 vorlon 210 Upstream-Name: SOFTware
256     Upstream-Contact: John Doe &lt;john.doe@example.com&gt;
257     Source: http://www.example.com/software/project</programlisting>
258     </section>
259     </section>
260    
261 vorlon 233 <section id="files-paragraph">
262 plessy 273 <title>Files paragraph (repeatable)</title>
263 vorlon 210 <para>
264 plessy 273 The declaration of copyright and license for files may consist of one or
265 vorlon 210 more paragraphs. In the simplest case, a single paragraph can be used
266 plessy 259 which applies to the whole package. Only the license and copyright
267     information required by the Debian archive is required to be listed
268     here.
269 vorlon 210 </para>
270     <para>
271 vorlon 233 The following fields may be present in a Files paragraph.
272 vorlon 210 </para>
273    
274 vorlon 233 <itemizedlist>
275     <listitem>
276     <para>
277     <link linkend="files-field">Files</link>: required.
278     </para>
279     </listitem>
280     <listitem>
281     <para>
282 plessy 248 <link linkend="copyright-field">Copyright</link>: required.
283 vorlon 233 </para>
284     </listitem>
285     <listitem>
286     <para>
287     <link linkend="license-field">License</link>: required.
288     </para>
289     </listitem>
290     <listitem>
291     <para>
292     <link linkend="comment-field">Comment</link>: optional.
293     </para>
294     </listitem>
295     </itemizedlist>
296 vorlon 210
297     <section id="example-files-paragraph">
298     <title>Example files paragraphs</title>
299     <programlisting>Files: *
300     Copyright: 1975-2010 Ulla Upstream
301     License: GPL-2+
302    
303     Files: debian/*
304     Copyright: 2010 Daniela Debianizer
305     License: GPL-2+
306    
307     Files: debian/patches/fancy-feature
308     Copyright: 2010 Daniela Debianizer
309     License: GPL-3+
310    
311     Files: */*.1
312     Copyright: 2010 Manuela Manpager
313     License: GPL-2+</programlisting>
314     <para>
315     In this example, all files are copyright by the upstream and licensed
316     under the GPL, version 2 or later, with three exceptions. All the
317     Debian packaging files are copyright by the packager, and further one
318     specific file providing a new feature is licensed differently.
319     Finally, there are some manual pages added to the package, written by
320     a third person.
321     </para>
322     </section>
323     </section>
324    
325     <section id="stand-alone-license-paragraph">
326 plessy 273 <title>Stand-alone License Paragraph (optional, repeatable)</title>
327 vorlon 210 <para>
328 plessy 273 Where a set of files are covered by multiple licenses, or one
329 vorlon 235 license occurs multiple times, you can use a single-line
330 plessy 273 <varname>License</varname> field and standalone
331 vorlon 210 <varname>License</varname> paragraphs to expand the license short names.
332     </para>
333 vorlon 233 <para>
334 plessy 273 The following fields may be present in a standalone License
335 vorlon 233 paragraph.
336     </para>
337    
338     <itemizedlist>
339     <listitem>
340     <para>
341     <link linkend="license-field">License</link>: required.
342     </para>
343     </listitem>
344     <listitem>
345     <para>
346     <link linkend="comment-field">Comment</link>: optional.
347     </para>
348     </listitem>
349     </itemizedlist>
350 vorlon 210 <example>
351     <title>tri-licensed files</title>
352     <programlisting>Files: src/js/editline/*
353     Copyright: 1993, John Doe
354     1993, Joe Average
355     License: MPL-1.1 or GPL-2 or LGPL-2.1
356    
357     License: MPL-1.1
358     [LICENSE TEXT]
359    
360     License: GPL-2
361     [LICENSE TEXT]
362    
363     License: LGPL-2.1
364 vorlon 215 [LICENSE TEXT]</programlisting>
365 vorlon 210 </example>
366    
367     <example>
368     <title>recurrent license</title>
369     <programlisting>Files: src/js/editline/*
370     Copyright: 1993, John Doe
371     1993, Joe Average
372     License: MPL-1.1
373    
374     Files: src/js/fdlibm/*
375     Copyright: 1993, J-Random Corporation
376     License: MPL-1.1
377    
378     License: MPL-1.1
379     [LICENSE TEXT]</programlisting>
380     </example>
381     </section>
382     </section>
383    
384 vorlon 233 <section id="fields">
385     <title>Fields</title>
386     <para>
387     The following fields are defined for use in
388     <filename>debian/copyright</filename>.
389     </para>
390    
391     <section id="format-field">
392     <title><varname>Format</varname></title>
393     <para>
394     Single-line: URI of the format specification, such as:
395     <literal>http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/</literal>.
396     </para>
397     </section>
398    
399     <section id="upstream-name-field">
400     <title><varname>Upstream-Name</varname></title>
401     <para>
402     Single-line: the name upstream uses for the software
403     </para>
404     </section>
405    
406     <section id="upstream-contact-field">
407     <title><varname>Upstream-Contact</varname></title>
408     <para>
409     Line-based list: the preferred address(es) to reach the upstream
410     project. May be free-form text, but by convention will usually be
411     written as a list of RFC5322 addresses or URIs.
412     </para>
413     </section>
414    
415     <section id="source-field">
416     <title><varname>Source</varname></title>
417     <para>
418 plessy 273 Formatted text, no synopsis: an explanation of where the upstream
419 vorlon 233 source came from. Typically this would be a URL, but it might be a
420     free-form explanation. The Debian Policy section <ulink
421     url="http://www.debian.org/doc/debian-policy/ch-docs#s-copyrightfile">12.5</ulink>
422     requires this information unless there are no upstream sources,
423     which is mainly the case for native Debian packages. If the
424     upstream source has been modified to remove non-free parts, that
425     should be explained in this field.
426     </para>
427     </section>
428    
429     <section id="disclaimer-field">
430     <title><varname>Disclaimer</varname></title>
431     <para>
432     Formatted text, no synopsis: this field can be used in the case of
433     non-free and contrib packages (see <ulink
434     url="http://www.debian.org/doc/debian-policy/ch-docs#s-copyrightfile">12.5</ulink>).
435     </para>
436     </section>
437    
438     <section id="comment-field">
439     <title><varname>Comment</varname></title>
440     <para>
441     Formatted text, no synopsis: this field can provide additional
442     information. For example, it might quote an e-mail from upstream
443     justifying why the license is acceptable to the main archive, or an
444     explanation of how this version of the package has been forked from
445     a version known to be DFSG-free, even though the current upstream
446     version is not.
447     </para>
448     </section>
449    
450     <section id="license-field">
451     <title><varname>License</varname></title>
452     <para>
453     Formatted text, with synopsis. In the header paragraph, this field
454     gives the license information for the package as a whole, which may
455     be different or simplified from a combination of all the per-file
456     license information. In a Files paragraph, this field gives the
457     licensing terms for the files listed in the <varname>Files</varname>
458 plessy 273 field for this paragraph. In a standalone License paragraph, it
459 vorlon 233 gives the licensing terms for those paragraphs which reference it.
460     </para>
461     <para>
462     First line: an abbreviated name for the license, or expression
463     giving alternatives (see <link linkend="license-short-name">Short
464     names</link> section for a list of standard abbreviations). If
465     there are licenses present in the package without a standard short
466     name, an arbitrary short name may be assigned for these licenses.
467     These arbitrary names are only guaranteed to be unique within a
468     single copyright file.
469     </para>
470     <para>
471 plessy 273 Remaining lines: if these are omitted, the file
472 vorlon 236 <emphasis>must</emphasis> include a <link
473 plessy 273 linkend="stand-alone-license-paragraph">standalone License
474 vorlon 236 paragraph</link> matching each license short
475     name listed on the first line.
476     Otherwise, this field should either
477 vorlon 233 include the full text of the license(s) or include a pointer to the
478     license file under <filename>/usr/share/common-licenses</filename>.
479     This field should include all text needed in order to fulfill both
480     Debian Policy's requirement for including a copy of the software's
481     distribution license (<ulink
482     url="http://www.debian.org/doc/debian-policy/ch-docs#s-copyrightfile">12.5</ulink>),
483     and any license requirements to include warranty disclaimers or
484     other notices with the binary package.
485     </para>
486     </section>
487    
488     <section id="copyright-field">
489     <title><varname>Copyright</varname></title>
490     <para>
491 vorlon 239 Formatted text, no synopsis: one or more free-form copyright
492     statement(s). Any formatting is permitted; see the examples below
493     for some ideas for how to structure the field to make it easier to
494     read. In the header paragraph, this field gives the copyright
495 vorlon 233 information for the package as a whole, which may be different or
496     simplified from a combination of all the per-file copyright
497     information. In the Files paragraphs, it gives the copyright
498     information that applies to the files matched by the
499     <varname>Files</varname> pattern. If a work has no copyright holder
500     (i.e., it is in the public domain), that information should be
501     recorded here.
502     </para>
503     <para>
504     The <varname>Copyright</varname> field collects all relevant
505     copyright notices for the files of this paragraph. Not all
506     copyright notices may apply to every individual file, and years of
507     publication for one copyright holder may be gathered together. For
508     example, if file A has:
509     <programlisting>Copyright 2008 John Smith
510     Copyright 2009 Angela Watts</programlisting>
511     and file B has:
512     <programlisting>Copyright 2010 Angela Watts</programlisting>
513 plessy 273 then the <varname>Copyright</varname> field for a paragraph covering both
514     file A and file B only needs to contain:
515 vorlon 233 <programlisting>Copyright 2008 John Smith
516     Copyright 2009, 2010 Angela Watts</programlisting>
517     </para>
518     <para>
519     The <varname>Copyright</varname> field may contain the original
520     copyright statement copied exactly (including the word
521     <quote>Copyright</quote>), or it can shorten the text, as long as it
522     does not sacrifice information. Examples in this specification use
523     both forms.
524     </para>
525     </section>
526    
527     <section id="files-field">
528     <title><varname>Files</varname></title>
529     <para>
530     Whitespace-separated list: list of patterns indicating files covered
531     by the license and copyright specified in this paragraph.
532     </para>
533     <para>
534     Filename patterns in the <varname>Files</varname> field are
535     specified using a simplified shell glob syntax. Patterns are
536     separated by whitespace.
537     <itemizedlist>
538     <listitem>
539     <para>
540     Only the wildcards <literal>*</literal> and <literal>?</literal>
541     apply; the former matches any number of characters (including
542     none), the latter a single character. Both match a slash
543     (<literal>/</literal>) and a leading dot.
544     </para>
545     </listitem>
546     <listitem>
547     <para>
548     Patterns match pathnames that start at the root of the source
549     tree. Thus, <quote><filename>Makefile.in</filename></quote>
550     matches only the file at the root of the tree, but
551     <quote><filename>*/Makefile.in</filename></quote> matches at
552     any depth.
553     </para>
554     </listitem>
555     <listitem>
556     <para>
557     The backslash (<literal>\</literal>) is used to remove the
558     magic from the next character; see table below.
559     </para>
560     </listitem>
561     </itemizedlist>
562     <informaltable>
563     <tgroup cols="2">
564     <thead>
565     <row>
566     <entry>Escape sequence</entry>
567     <entry>Matches</entry>
568     </row>
569     </thead>
570     <tbody>
571     <row>
572     <entry><literal>\*</literal></entry>
573     <entry>star (asterisk)</entry>
574     </row>
575     <row>
576     <entry><literal>\?</literal></entry>
577     <entry>question mark</entry>
578     </row>
579     <row>
580     <entry><literal>\\</literal></entry>
581     <entry>backslash</entry>
582     </row>
583     </tbody>
584     </tgroup>
585     </informaltable>
586     Any other character following a backslash is an error.
587     </para>
588     <para>
589     Multiple <varname>Files</varname> paragraphs are allowed. The last
590     paragraph that matches a particular file applies to it.
591     </para>
592     <para>
593 plessy 273 Exclusions are only supported by adding <varname>Files</varname>
594     paragraphs to override the previous match.
595 vorlon 233 </para>
596     </section>
597    
598     </section>
599 vorlon 210 <section id="license-specification">
600     <title>License specification</title>
601    
602     <section id="license-short-name">
603     <title>Short name</title>
604     <para>
605     Much of the value of a machine-parseable copyright file lies in being
606     able to correlate the licenses of multiple pieces of software. To that
607     end, this spec defines standard short names for a number of commonly
608     used licenses, which can be used in the first line of a
609     <varname>License</varname> field.
610     </para>
611     <para>
612     These short names have the specified meanings across all uses of this
613     file format, and <emphasis>must not</emphasis> be used to refer to any
614     other licenses. Parsers may thus rely on these short names referring to
615     the same licenses wherever they occur, without needing to parse or
616     compare the full license text.
617     </para>
618     <para>
619     From time to time, licenses may be added to or removed from the list of
620     standard short names. Such changes in the list of short names will
621     always be accompanied by changes to the recommended
622     <varname>Format</varname> value. Implementers who are parsing copyright
623     files should take care not to assume anything about the meaning of
624     license short names for unknown <varname>Format</varname> versions.
625     </para>
626     <para>
627     Use of a standard short name does not override the Debian Policy
628     requirement to include the full license text in
629     <filename>debian/copyright</filename>, nor any requirements in the
630     license of the work regarding reproduction of legal notices. This
631     information must still be included in the <varname>License</varname>
632 plessy 273 field, either in a standalone License paragraph or in the relevant
633 vorlon 210 files paragraph.
634     </para>
635     <para>
636     For licenses which have multiple versions in use, the version number is
637     added, using a dash as a separator. If omitted, the lowest version
638     number is implied. When the license grant permits using the terms of any
639     later version of that license, the short name is finished with a plus
640 plessy 273 sign. For <link linkend="spdx">SPDX</link> compatibility, versions with trailing
641     <emphasis>dot-zeroes</emphasis> are considered to be equivalent to
642     versions without (e.g., <quote>2.0.0</quote> is considered equal to
643 vorlon 210 <quote>2.0</quote> and <quote>2</quote>).
644     </para>
645     <para>
646     Currently, the full text of the licenses is only available in the <ulink
647     url="http://spdx.org/licenses">SPDX Open Source License Registry</ulink>.
648     </para>
649     <informaltable>
650     <tgroup cols="2">
651     <thead>
652     <row>
653     <entry>Keyword</entry>
654     <entry>Meaning</entry>
655     </row>
656     </thead>
657     <tbody>
658     <row>
659     <entry>public-domain</entry>
660     <entry>
661     No license required for any purpose; the work is not subject to
662     copyright in any jurisdiction.
663     </entry>
664     </row>
665     <row>
666     <entry>
667     Apache
668     </entry>
669     <entry>
670     Apache license
671 vorlon 219 <ulink url="http://spdx.org/licenses/Apache-1.0">1.0</ulink>,
672     <ulink url="http://spdx.org/licenses/Apache-2.0">2.0</ulink>.
673 vorlon 210 </entry>
674     </row>
675     <row>
676     <entry>
677     Artistic
678     </entry>
679     <entry>
680     Artistic license
681     <ulink url="http://spdx.org/licenses/Artistic-1.0">1.0</ulink>,
682     <ulink url="http://spdx.org/licenses/Artistic-2.0">2.0</ulink>.
683     </entry>
684     </row>
685     <row>
686     <entry>
687     BSD-2-clause
688     </entry>
689     <entry>
690     Berkeley software distribution license,
691     <ulink url="http://spdx.org/licenses/BSD-2-Clause">2-clause
692     version</ulink>.
693     </entry>
694     </row>
695     <row>
696     <entry>
697     BSD-3-clause
698     </entry>
699     <entry>
700     Berkeley software distribution license,
701     <ulink url="http://spdx.org/licenses/BSD-3-Clause">3-clause
702     version</ulink>.
703     </entry>
704     </row>
705     <row>
706     <entry>
707     BSD-4-clause
708     </entry>
709     <entry>
710     Berkeley software distribution license,
711     <ulink url="http://spdx.org/licenses/BSD-4-Clause">4-clause
712     version</ulink>.
713     </entry>
714     </row>
715     <row>
716     <entry>
717     ISC
718     </entry>
719     <entry>
720     <ulink url="http://spdx.org/licenses/ISC">Internet Software
721     Consortium</ulink>, sometimes also known as the OpenBSD License.
722     </entry>
723     </row>
724     <row>
725     <entry>
726     CC-BY
727     </entry>
728     <entry>
729     Creative Commons Attribution license
730     <ulink url="http://spdx.org/licenses/CC-BY-1.0">1.0</ulink>,
731     <ulink url="http://spdx.org/licenses/CC-BY-2.0">2.0</ulink>,
732     <ulink url="http://spdx.org/licenses/CC-BY-2.5">2.5</ulink>,
733     <ulink url="http://spdx.org/licenses/CC-BY-3.0">3.0</ulink>.
734     </entry>
735     </row>
736     <row>
737     <entry>
738     CC-BY-SA
739     </entry>
740     <entry>
741     Creative Commons Attribution Share Alike license
742     <ulink url="http://spdx.org/licenses/CC-BY-SA-1.0">1.0</ulink>,
743     <ulink url="http://spdx.org/licenses/CC-BY-SA-2.0">2.0</ulink>,
744     <ulink url="http://spdx.org/licenses/CC-BY-SA-2.5">2.5</ulink>,
745     <ulink url="http://spdx.org/licenses/CC-BY-SA-3.0">3.0</ulink>.
746     </entry>
747     </row>
748     <row>
749     <entry>
750     CC-BY-ND
751     </entry>
752     <entry>
753     Creative Commons Attribution No Derivatives license
754     <ulink url="http://spdx.org/licenses/CC-BY-ND-1.0">1.0</ulink>,
755     <ulink url="http://spdx.org/licenses/CC-BY-ND-2.0">2.0</ulink>,
756     <ulink url="http://spdx.org/licenses/CC-BY-ND-2.5">2.5</ulink>,
757     <ulink url="http://spdx.org/licenses/CC-BY-ND-3.0">3.0</ulink>.
758     </entry>
759     </row>
760     <row>
761     <entry>
762     CC-BY-NC
763     </entry>
764     <entry>
765     Creative Commons Attribution Non-Commercial license
766     <ulink url="http://spdx.org/licenses/CC-BY-NC-1.0">1.0</ulink>,
767     <ulink url="http://spdx.org/licenses/CC-BY-NC-2.0">2.0</ulink>,
768     <ulink url="http://spdx.org/licenses/CC-BY-NC-2.5">2.5</ulink>,
769     <ulink url="http://spdx.org/licenses/CC-BY-NC-3.0">3.0</ulink>.
770     </entry>
771     </row>
772     <row>
773     <entry>
774     CC-BY-NC-SA
775     </entry>
776     <entry>
777     Creative Commons Attribution Non-Commercial Share Alike license
778     <ulink url="http://spdx.org/licenses/CC-BY-NC-SA-1.0">1.0</ulink>,
779     <ulink url="http://spdx.org/licenses/CC-BY-NC-SA-2.0">2.0</ulink>,
780     <ulink url="http://spdx.org/licenses/CC-BY-NC-SA-2.5">2.5</ulink>,
781     <ulink url="http://spdx.org/licenses/CC-BY-NC-SA-3.0">3.0</ulink>.
782     </entry>
783     </row>
784     <row>
785     <entry>
786     CC-BY-NC-ND
787     </entry>
788     <entry>
789     Creative Commons Attribution Non-Commercial No Derivatives license
790     <ulink url="http://spdx.org/licenses/CC-BY-NC-ND-1.0">1.0</ulink>,
791     <ulink url="http://spdx.org/licenses/CC-BY-NC-ND-2.0">2.0</ulink>,
792     <ulink url="http://spdx.org/licenses/CC-BY-NC-ND-2.5">2.5</ulink>,
793     <ulink url="http://spdx.org/licenses/CC-BY-NC-ND-3.0">3.0</ulink>.
794     </entry>
795     </row>
796     <row>
797     <entry>
798     CC0
799     </entry>
800     <entry>
801 vorlon 220 Creative Commons Zero
802     <ulink url="http://spdx.org/licenses/CC0-1.0">1.0 Universal</ulink>.
803 vorlon 210 </entry>
804     </row>
805     <row>
806     <entry>
807     CDDL
808     </entry>
809     <entry>
810 vorlon 219 Common Development and Distribution License
811     <ulink url="http://spdx.org/licenses/CDDL-1.0">1.0</ulink>.
812 vorlon 210 </entry>
813     </row>
814     <row>
815     <entry>
816     CPL
817     </entry>
818     <entry>
819     <ulink url="http://spdx.org/licenses/CPL-1.0">IBM Common Public
820     License</ulink>.
821     </entry>
822     </row>
823     <row>
824     <entry>
825     EFL
826     </entry>
827     <entry>
828     The Eiffel Forum License
829     <ulink url="http://spdx.org/licenses/EFL-1.0">1.0</ulink>,
830     <ulink url="http://spdx.org/licenses/EFL-2.0">2.0</ulink>.
831     </entry>
832     </row>
833     <row>
834     <entry>
835     Expat
836     </entry>
837     <entry>
838     The <ulink url="http://www.jclark.com/xml/copying.txt">Expat</ulink>
839     license.
840     </entry>
841     </row>
842     <row>
843     <entry>
844     GPL
845     </entry>
846     <entry>
847     GNU General Public License
848     <ulink url="http://spdx.org/licenses/GPL-1.0">1.0</ulink>,
849     <ulink url="http://spdx.org/licenses/GPL-2.0">2.0</ulink>,
850     <ulink url="http://spdx.org/licenses/GPL-3.0">3.0</ulink>.
851     </entry>
852     </row>
853     <row>
854     <entry>
855     LGPL
856     </entry>
857     <entry>
858     GNU Lesser General Public License
859     <ulink url="http://spdx.org/licenses/LGPL-2.1">2.1</ulink>,
860     <ulink url="http://spdx.org/licenses/LGPL-3.0">3.0</ulink>, or
861     GNU Library General Public License
862     <ulink url="http://spdx.org/licenses/LGPL-2.0">2.0</ulink>.
863     </entry>
864     </row>
865     <row>
866     <entry>
867     GFDL
868     </entry>
869     <entry>
870 vorlon 219 GNU Free Documentation License 1.0, or
871     <ulink url="http://spdx.org/licenses/GFDL-1.1">1.1</ulink>.
872 vorlon 210 </entry>
873     </row>
874     <row>
875     <entry>
876     GFDL-NIV
877     </entry>
878     <entry>
879     GNU Free Documentation License, with no invariant sections.
880     </entry>
881     </row>
882     <row>
883     <entry>
884     LPPL
885     </entry>
886     <entry>
887     <ulink url="http://www.latex-project.org/lppl/">LaTeX Project
888     Public License</ulink>
889     <ulink url="http://spdx.org/licenses/LPPL-1.0">1.0</ulink>,
890     <ulink url="http://spdx.org/licenses/LPPL-1.1">1.1</ulink>,
891     <ulink url="http://spdx.org/licenses/LPPL-1.2">1.2</ulink>,
892     <ulink url="http://spdx.org/licenses/LPPL-1.3c">1.3c</ulink>.
893     </entry>
894     </row>
895     <row>
896     <entry>
897     MPL
898     </entry>
899     <entry>
900     Mozilla Public License
901     <ulink url="http://spdx.org/licenses/MPL-1.1">1.1</ulink>.
902     </entry>
903     </row>
904     <row>
905     <entry>
906     Perl
907     </entry>
908     <entry>
909     <ulink url="http://dev.perl.org/licenses/">Perl</ulink> license
910     (use <quote><literal>GPL-1+ or Artistic-1</literal></quote>
911     instead).
912     </entry>
913     </row>
914     <row>
915     <entry>
916 vorlon 219 Python
917 vorlon 210 </entry>
918     <entry>
919 vorlon 219 Python license
920     <ulink url="http://spdx.org/licenses/Python-2.0">2.0</ulink>.
921 vorlon 210 </entry>
922 vorlon 219 <!-- See https://fossbazaar.org/pipermail/spdx-legal/2011-February/000010.html -->
923 vorlon 210 </row>
924     <row>
925     <entry>
926     QPL
927     </entry>
928     <entry>
929     Q Public License <ulink
930     url="http://spdx.org/licenses/QPL-1.0">1.0</ulink>.
931     </entry>
932     </row>
933     <row>
934     <entry>
935     W3C
936     </entry>
937     <entry>
938     <ulink url="http://spdx.org/licenses/W3C">W3C Software
939     License</ulink> For more information, consult the
940     <ulink
941     url="http://www.w3.org/Consortium/Legal/IPR-FAQ-20000620">W3C
942     Intellectual Rights FAQ</ulink>.
943     </entry>
944     </row>
945     <row>
946     <entry>
947     Zlib
948     </entry>
949     <entry>
950     <ulink url="http://spdx.org/licenses/Zlib">
951     zlib/libpng license</ulink>.
952     </entry>
953     </row>
954     <row>
955     <entry>
956     Zope
957     </entry>
958     <entry>
959 vorlon 219 Zope Public License 1.0,
960     <ulink url="http://spdx.org/licenses/ZPL-1.1">1.1</ulink>,
961 vorlon 210 <ulink url="http://spdx.org/licenses/ZPL-2.0">2.0</ulink>,
962     <ulink url="http://spdx.org/licenses/ZPL-2.1">2.1</ulink>.
963     </entry>
964     </row>
965     </tbody>
966     </tgroup>
967     </informaltable>
968     <para>
969     There are <ulink
970     url="http://en.wikipedia.org/wiki/MIT_License#Various_versions">many
971     versions of the MIT license</ulink>. Please use Expat instead, when it
972     matches.
973     </para>
974     <para>
975 plessy 273 An exception or clarification to a license is signalled in plain text, by appending
976 vorlon 210 <literal>with <varname><replaceable>keywords</replaceable></varname>
977     exception</literal> to the short name. This document provides a list of
978     keywords that must be used when referring to the most frequent
979     exceptions. When exceptions other than these are in effect that modify
980     a common license by granting additional permissions, you may use an
981     arbitrary keyword not taken from the below list of keywords. When a
982     license differs from a common license because of added restrictions
983     rather than because of added permissions, a distinct short name should
984     be used instead of <literal>with
985 vorlon 240 <varname><replaceable>keywords</replaceable></varname>
986     exception</literal>.
987 vorlon 210 </para>
988     <para>
989     Only one exception may be specified for each license within a given
990     license specification. If more than one exception applies to a single
991     license, an arbitrary short name must be used instead.
992     </para>
993     <para>
994     The GPL <literal>Font</literal> exception refers to the text added to the
995     license notice of each file as specified at <ulink
996     url="http://www.gnu.org/licenses/gpl-faq#FontException">How does the GPL
997     apply to fonts</ulink>. The precise text corresponding to this
998     exception is:
999     <programlisting>As a special exception, if you create a document which uses this font,
1000     and embed this font or unaltered portions of this font into the
1001     document, this font does not by itself cause the resulting document to
1002     be covered by the GNU General Public License. This exception does not
1003     however invalidate any other reasons why the document might be covered
1004     by the GNU General Public License. If you modify this font, you may
1005     extend this exception to your version of the font, but you are not
1006     obligated to do so. If you do not wish to do so, delete this exception
1007     statement from your version.</programlisting>
1008     </para>
1009     <para>
1010     The GPL <literal>OpenSSL</literal> exception gives permission to link GPL-licensed
1011     code with the OpenSSL library, which contains GPL-incompatible clauses.
1012     For more information, see <ulink
1013     url="http://www.gnome.org/~markmc/openssl-and-the-gpl">The -OpenSSL License and
1014     The GPL</ulink> by Mark
1015     McLoughlin and the message <ulink
1016     url="http://lists.debian.org/debian-legal/2004/05/msg00595.html">middleman
1017     software license conflicts with OpenSSL</ulink>
1018     by Mark McLoughlin on the <emphasis>debian-legal</emphasis> mailing list. The text corresponding
1019     to this exception is:
1020     <programlisting>In addition, as a special exception, the copyright holders give
1021     permission to link the code of portions of this program with the
1022     OpenSSL library under certain conditions as described in each
1023     individual source file, and distribute linked combinations including
1024     the two.
1025    
1026     You must obey the GNU General Public License in all respects for all
1027     of the code used other than OpenSSL. If you modify file(s) with this
1028     exception, you may extend this exception to your version of the
1029     file(s), but you are not obligated to do so. If you do not wish to do
1030     so, delete this exception statement from your version. If you delete
1031     this exception statement from all source files in the program, then
1032     also delete it here.</programlisting>
1033     </para>
1034    
1035     <section id="public-domain">
1036     <title>Public domain</title>
1037     <para>
1038     The <varname>License</varname> short name
1039     <literal>public-domain</literal> does not refer to a set of license
1040     terms. There are some works which are not subject to copyright in
1041     any jurisdiction and therefore no license is required for any
1042     purpose covered by copyright law. This short name is an explicit
1043     declaration that the associated files are <quote>in the public
1044     domain</quote>.
1045     </para>
1046     <para>
1047     Widespread misunderstanding about copyright in general, and the
1048     public domain in particular, results in the common assertion that a
1049     work is in the public domain when this is partly or wholly untrue
1050     for that work. The <ulink
1051     url="http://en.wikipedia.org/wiki/Public_domain">Wikipedia article
1052     on public domain</ulink> is a useful reference for this subject.
1053     </para>
1054     <para>
1055     When the <varname>License</varname> field in a paragraph has the
1056     short name <literal>public-domain</literal>, the remaining lines of
1057     the field <emphasis>must</emphasis> explain exactly what exemption
1058     the corresponding files for that paragraph have from default
1059     copyright restrictions.
1060     </para>
1061     </section>
1062     </section>
1063    
1064     <section id="license-syntax">
1065     <title>Syntax</title>
1066     <para>
1067     License names are case-insensitive, and may not contain spaces.
1068     </para>
1069     <para>
1070     In case of multi-licensing, the license short names are separated by
1071     <literal>or</literal> when the user can chose between different licenses,
1072     and by <literal>and</literal> when use of the work must simultaneously
1073     comply with the terms of multiple licenses.
1074     </para>
1075     <para>
1076     For instance, this is a simple, <quote>GPL version 2 or later</quote>
1077     field:
1078     <programlisting>License: GPL-2+</programlisting>
1079     This is a dual-licensed GPL/Artistic work such as Perl:
1080     <programlisting>License: GPL-1+ or Artistic</programlisting>
1081     This is for a file that has both GPL and classic BSD code in it:
1082 plessy 267 <programlisting>License: GPL-2+ and BSD-3-clause</programlisting>
1083 plessy 273 For the most complex cases, commas are used to disambiguate.
1084     The conjunction <quote><literal>and</literal></quote> has priority over
1085     <quote><literal>or</literal></quote> unless preceded by a comma. For
1086     instance:
1087 vorlon 210 </para>
1088     <simpara>
1089     <literal>A or B and C</literal> means <literal>A or (B and C)</literal>.
1090     </simpara>
1091     <simpara>
1092     <literal>A or B, and C</literal> means <literal>(A or B), and
1093     C</literal>.
1094     </simpara>
1095     <para>
1096     This is for a file that has Perl code and classic BSD code in it:
1097 plessy 267 <programlisting>License: GPL-2+ or Artistic-2.0, and BSD-3-clause</programlisting>
1098 vorlon 210 A <literal>GPL-2+</literal> work with the <literal>OpenSSL</literal>
1099     exception is in effect a dual-licensed work that can be redistributed
1100     either under the <literal>GPL-2+</literal>, or under the
1101     <literal>GPL-2+</literal> with the <literal>OpenSSL</literal> exception.
1102     It is thus expressed as <literal>GPL-2+ with OpenSSL
1103     exception</literal>:
1104     <programlisting>License: GPL-2+ with OpenSSL exception
1105     This program is free software; you can redistribute it
1106     and/or modify it under the terms of the GNU General Public
1107     License as published by the Free Software Foundation; either
1108     version 2 of the License, or (at your option) any later
1109     version.
1110     .
1111     In addition, as a special exception, the author of this
1112     program gives permission to link the code of its
1113     release with the OpenSSL project's "OpenSSL" library (or
1114     with modified versions of it that use the same license as
1115     the "OpenSSL" library), and distribute the linked
1116     executables. You must obey the GNU General Public
1117     License in all respects for all of the code used other
1118     than "OpenSSL". If you modify this file, you may extend
1119     this exception to your version of the file, but you are
1120     not obligated to do so. If you do not wish to do so,
1121     delete this exception statement from your version.
1122     .
1123     This program is distributed in the hope that it will be
1124     useful, but WITHOUT ANY WARRANTY; without even the implied
1125     warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
1126     PURPOSE. See the GNU General Public License for more
1127     details.
1128     .
1129     You should have received a copy of the GNU General Public
1130     License along with this package; if not, write to the Free
1131     Software Foundation, Inc., 51 Franklin St, Fifth Floor,
1132     Boston, MA 02110-1301 USA
1133     .
1134     On Debian systems, the full text of the GNU General Public
1135     License version 2 can be found in the file
1136     `/usr/share/common-licenses/GPL-2'.</programlisting>
1137     </para>
1138     </section>
1139    
1140     <section id="spdx">
1141     <title>SPDX</title>
1142     <para>
1143     <ulink url="http://spdx.org/">SPDX</ulink> is an attempt to standardize
1144     a format for communicating the components, licenses and copyrights
1145     associated with a software package. It and the machine-readable
1146     <filename>debian/copyright</filename> format attempt to be somewhat
1147     compatible. However, the two formats have different aims, and so the
1148     formats are different. The <ulink
1149     url="http://wiki.debian.org/Proposals/CopyrightFormat">DEP5 wiki
1150     page</ulink> will be used to track the differences.
1151     </para>
1152     </section>
1153     </section>
1154    
1155     <section id="examples">
1156     <title>Examples</title>
1157     <example>
1158     <title>Simple</title>
1159     <para>
1160     A possible <filename>debian/copyright</filename> file for the program
1161     <quote>X Solitaire</quote> distributed in the Debian source package
1162     <literal>xsol</literal>:
1163 vorlon 215 <programlisting><![CDATA[Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
1164 vorlon 210 Upstream-Name: X Solitaire
1165     Source: ftp://ftp.example.com/pub/games
1166    
1167     Files: *
1168     Copyright: Copyright 1998 John Doe <jdoe@example.com>
1169     License: GPL-2+
1170     This program is free software; you can redistribute it
1171     and/or modify it under the terms of the GNU General Public
1172     License as published by the Free Software Foundation; either
1173     version 2 of the License, or (at your option) any later
1174     version.
1175     .
1176     This program is distributed in the hope that it will be
1177     useful, but WITHOUT ANY WARRANTY; without even the implied
1178     warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
1179     PURPOSE. See the GNU General Public License for more
1180     details.
1181     .
1182     You should have received a copy of the GNU General Public
1183     License along with this package; if not, write to the Free
1184     Software Foundation, Inc., 51 Franklin St, Fifth Floor,
1185     Boston, MA 02110-1301 USA
1186     .
1187     On Debian systems, the full text of the GNU General Public
1188     License version 2 can be found in the file
1189     `/usr/share/common-licenses/GPL-2'.
1190    
1191     Files: debian/*
1192     Copyright: Copyright 1998 Jane Smith <jsmith@example.net>
1193 vorlon 215 License: GPL-2+
1194 vorlon 210 [LICENSE TEXT]]]></programlisting>
1195     </para>
1196     </example>
1197    
1198     <example>
1199     <title>Complex</title>
1200     <para>
1201     A possible <filename>debian/copyright</filename> file for the program
1202     <quote>Planet Venus</quote>, distributed in the Debian source
1203     package <literal>planet-venus</literal>:
1204 vorlon 215 <programlisting><![CDATA[Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
1205 vorlon 210 Upstream-Name: Planet Venus
1206     Upstream-Contact: John Doe <jdoe@example.com>
1207     Source: http://www.example.com/code/venus
1208    
1209     Files: *
1210     Copyright: 2008, John Doe <jdoe@example.com>
1211     2007, Jane Smith <jsmith@example.org>
1212     2007, Joe Average <joe@example.org>
1213     2007, J. Random User <jr@users.example.com>
1214     License: PSF-2
1215     [LICENSE TEXT]
1216    
1217     Files: debian/*
1218     Copyright: 2008, Dan Developer <dan@debian.example.com>
1219 vorlon 215 License: permissive
1220 vorlon 210 Copying and distribution of this package, with or without
1221     modification, are permitted in any medium without royalty
1222     provided the copyright notice and this notice are
1223     preserved.
1224    
1225     Files: debian/patches/theme-diveintomark.patch
1226     Copyright: 2008, Joe Hacker <hack@example.org>
1227     License: GPL-2+
1228     [LICENSE TEXT]
1229    
1230     Files: planet/vendor/compat_logging/*
1231     Copyright: 2002, Mark Smith <msmith@example.org>
1232     License: MIT
1233     [LICENSE TEXT]
1234    
1235     Files: planet/vendor/httplib2/*
1236     Copyright: 2006, John Brown <brown@example.org>
1237     License: MIT2
1238     Unspecified MIT style license.
1239    
1240     Files: planet/vendor/feedparser.py
1241     Copyright: 2007, Mike Smith <mike@example.org>
1242     License: PSF-2
1243     [LICENSE TEXT]
1244    
1245     Files: planet/vendor/htmltmpl.py
1246     Copyright: 2004, Thomas Brown <coder@example.org>
1247     License: GPL-2+
1248     This program is free software; you can redistribute it
1249     and/or modify it under the terms of the GNU General Public
1250     License as published by the Free Software Foundation; either
1251     version 2 of the License, or (at your option) any later
1252     version.
1253     .
1254     This program is distributed in the hope that it will be
1255     useful, but WITHOUT ANY WARRANTY; without even the implied
1256     warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
1257     PURPOSE. See the GNU General Public License for more
1258     details.
1259     .
1260     You should have received a copy of the GNU General Public
1261     License along with this package; if not, write to the Free
1262     Software Foundation, Inc., 51 Franklin St, Fifth Floor,
1263     Boston, MA 02110-1301 USA
1264     .
1265     On Debian systems, the full text of the GNU General Public
1266     License version 2 can be found in the file
1267     `/usr/share/common-licenses/GPL-2'.]]></programlisting>
1268     </para>
1269     </example>
1270     </section>
1271    
1272     </article>

  ViewVC Help
Powered by ViewVC 1.1.5