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