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

  ViewVC Help
Powered by ViewVC 1.1.5