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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 260 - (hide annotations) (download) (as text)
Thu Feb 2 14:57:17 2012 UTC (15 months, 2 weeks ago) by plessy
File MIME type: text/html
File size: 53319 byte(s)
Re-added myself as a driver.

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

  ViewVC Help
Powered by ViewVC 1.1.5