/[dep]/web/deps/dep5/index.html
ViewVC logotype

Contents of /web/deps/dep5/index.html

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.5