Software: Apache. PHP/8.3.27 uname -a: Linux pdx1-shared-a4-04 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64 uid=6659440(dh_z2jmpm) gid=2086089(pg10499364) groups=2086089(pg10499364) Safe-mode: OFF (not secure) /usr/share/doc/debian-policy/ drwxr-xr-x | |
| Viewing file: Select action/file-type: Version 1.0Debian Policy 4.6.0.1, 2021-08-18 Abstract
Establishes a standard, machine-readable format for
Table of Contents
This document describes a standard, machine-interpretable format for
the Use of this specification is optional.
Nothing in this proposal supersedes or modifies any of the requirements
specified in Debian Policy regarding the appropriate detail or
granularity to use when documenting copyright and license status in
The diversity of free software licenses means that Debian needs to care not only about the freeness of a given work, but also its license's compatibility with the other parts of Debian it uses. The arrival of the GPL version 3, its incompatibility with version 2, and our inability to spot the software where the incompatibility might be problematic is one prominent occurrence of this limitation.
There are earlier precedents, also. One is the GPL/OpenSSL
incompatibility. Apart from grepping
And there is more to come. There are issues with shipping GPLv2-only software with a CDDL operating system such as Nexenta. The GPL version 3 solves this issue, but not all GPL software can switch to it and we have no way to know how much of Debian should be stripped from such a system. Even where licenses are DFSG-free and mutually compatible, users may wish for a way to identify software under certain licenses (if, for example, they have special reasons to avoid certain licenses). Many people have worked on this specification over the years. The following alphabetical list is incomplete; please suggest missing people: Russ Allbery, Ben Finney, Sam Hocevar, Steve Langasek, Charles Plessy, Noah Slater, Jonas Smedegaard, Lars Wirzenius.
The
The syntax of the file is the same as for other Debian control files, as
specified in the Debian Policy Manual. See its section
5.1 for details. Extra fields can be added to any paragraph. No
prefixing is necessary or desired, but please avoid names similar to
standard ones so that mistakes are easier to catch. Future versions of
the The file consists of two or more paragraphs. At minimum, the file must include one header paragraph and one Files paragraph. There are four types of fields. The definition for each field in this document indicates which type of value it takes.
The entire value of a single-line field must be on a single line.
For example, the
Field values defined as whitespace-separated lists may be on one
line or many. Values in the list are separated by one or more
whitespace characters (space, tab, or newline). For example, the
Line-based lists have one value per line. For example, the
Formatted text fields use the same rules as the long description
in a package's
In some but not all cases, the first line may have special
meaning as a synopsis, similar to how the
There are three kinds of paragraphs. The first paragraph in the file
is called the header paragraph.
Every other paragraph is either a Files paragraph or a stand-alone License
paragraph. This is similar to source and binary package
paragraphs in The following fields may be present in a header paragraph.
The
For example, when a work has a grant of license under both a
permissive and a copyleft license,
It is valid to use Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: SOFTware Upstream-Contact: John Doe <[email protected]> Source: https://www.example.com/software/project
The declaration of copyright and license for files may consist of
one or more paragraphs. In the simplest case, a single paragraph
with The following fields may be present in a Files paragraph. Files: * Copyright: 1975-2010 Ulla Upstream License: GPL-2+ Files: debian/* Copyright: 2010 Daniela Debianizer License: GPL-2+ Files: debian/patches/fancy-feature Copyright: 2010 Daniela Debianizer License: GPL-3+ Files: */*.1 Copyright: 2010 Manuela Manpager License: GPL-2+ In this example, copyright in all files is held by the upstream, and that copyright holder grants license under the GPL, version 2 or later. There are three exceptions. All the Debian packaging files have copyright held by the packager, and further one specific file providing a new feature has a different grant of license. Finally, there are some manual pages added to the package, with copyright held by a third person.
Since the license of the manual pages is the same as most other
files in the package, the final paragraph above could instead be
combined with the first paragraph, listing both copyright
statements in one
Stand-alone
The synopsis (on the first line) of the The following fields may be present in a stand-alone License paragraph. Example 1. tri-licensed files Files: src/js/editline/*
Copyright: 1993, John Doe
1993, Joe Average
License: MPL-1.1 or GPL-2 or LGPL-2.1
License: MPL-1.1
[LICENSE TEXT]
License: GPL-2
[LICENSE TEXT]
License: LGPL-2.1
[LICENSE TEXT]Example 2. recurrent license Files: src/js/editline/*
Copyright: 1993, John Doe
1993, Joe Average
License: MPL-1.1
Files: src/js/fdlibm/*
Copyright: 1993, J-Random Corporation
License: MPL-1.1
License: MPL-1.1
[LICENSE TEXT]
The following fields are defined for use in
Single-line: URI of the format specification. The field that should be used for the current version of this document is: Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
The original version of this specification used the non-https version of this URL as its URI, namely: Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Both versions are valid and refer to the same specification, and parsers should interpret both as referencing the same format. The https URI is preferred. Line-based list: the preferred address(es) to reach the upstream project. May be free-form text, but by convention will usually be written as a list of RFC5322 addresses or URIs. Formatted text, no synopsis: an explanation of where the upstream source came from. Typically this would be a URL, but it might be a free-form explanation. The Debian Policy section 12.5 requires this information unless there are no upstream sources, which is mainly the case for native Debian packages. If the upstream source has been modified to remove non-free parts, that should be explained in this field. Formatted text, no synopsis: this field is used for non-free or contrib packages to state that they are not part of Debian and to explain why (see Debian Policy section 12.5). Formatted text, no synopsis: this field can provide additional information. For example, it might quote an e-mail from upstream justifying why the license is acceptable to the main archive, or an explanation of how this version of the package has been forked from a version known to be DFSG-free, even though the current upstream version is not. Formatted text, with synopsis.
In the header paragraph,
this field gives the license information for the package as a
whole, which may be different or simplified from a combination of
all the per-file license information. In a Files paragraph, this field gives
the licensing terms for the files listed in the
First line (synopsis): an abbreviated name for the license, or expression giving alternatives (see the Short name section for a list of standard abbreviations). If there are licenses present in the package without a standard short name, an arbitrary short name may be assigned for these licenses. These arbitrary names are only guaranteed to be unique within a single copyright file.
If there are no remaining lines, then all of the short names or
short names followed by license exceptions in the synopsis must be
described in stand-alone License
paragraphs. Otherwise, this field should either include the
full text of the license(s) or include a pointer to the license
file under
Formatted text, no synopsis: one or more free-form copyright
statements. Any formatting is permitted; see the examples below
for some ideas for how to structure the field to make it easier to
read. In the header paragraph, this field gives the copyright
information for the package as a whole, which may be different or
simplified from a combination of all the per-file copyright
information. In the Files paragraphs, it gives the copyright
information that applies to the files matched by the
The Copyright 2008 John Smith Copyright 2009 Angela Watts and file B has: Copyright 2010 Angela Watts
a single paragraph may still be used for both files. The
Copyright 2008 John Smith Copyright 2009, 2010 Angela Watts
The Whitespace-separated list: list of patterns indicating files covered by the license and copyright specified in this paragraph.
Filename patterns in the
Any other character following a backslash is an error.
This is the same pattern syntax as
fnmatch(3) without the
Multiple
Exclusions are only supported by adding This syntax does not distinguish file names from directory names; a trailing slash in a pattern will never match any actual path. A whole directory tree may be selected with a pattern like "foo/*". The space character, used to separate patterns, cannot be escaped with a backslash. A path like "foo bar" may be selected with a pattern like "foo?bar".
Much of the value of a machine-parseable copyright file lies in being
able to correlate the licenses of multiple pieces of software. To that
end, this spec defines standard short names for a number of commonly
used licenses, which can be used in the synopsis (first line) of a
These short names have the specified meanings across all uses of this file format, and must not be used to refer to any other licenses. Parsers may thus rely on these short names referring to the same licenses wherever they occur, without needing to parse or compare the full license text.
From time to time, licenses may be added to or removed from the list of
standard short names. Such changes in the list of short names will
always be accompanied by changes to the version of this standard
and to the recommended
Use of a standard short name does not override the Debian Policy
requirement to include the full license text in
For licenses that have multiple versions in use, the short name is
formed from the general short name of the license family, followed
by a dash and the version number. If the version number is
omitted, the lowest version number is implied. When the license
grant permits using the terms of any later version of that
license, add a plus sign to the end of the short name. For
example, the short name For SPDX compatibility, versions with trailing dot-zeroes are considered to be equivalent to versions without (e.g., “2.0.0” is considered equal to “2.0” and “2”). Currently, the full text of the licenses is only available in the SPDX Open Source License Registry.
There are many versions of the MIT license. Please use Expat instead, when it matches.
An exception or clarification to a license is signalled in plain text,
by appending Only one exception may be specified for each license within a given license specification. If more than one exception applies to a single license, an arbitrary short name indicating that combination of multiple exceptions must be used instead.
The GPL As a special exception, if you create a document which uses this font, and embed this font or unaltered portions of this font into the document, this font does not by itself cause the resulting document to be covered by the GNU General Public License. This exception does not however invalidate any other reasons why the document might be covered by the GNU General Public License. If you modify this font, you may extend this exception to your version of the font, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version.
The GPL In addition, as a special exception, the copyright holders give permission to link the code of portions of this program with the OpenSSL library under certain conditions as described in each individual source file, and distribute linked combinations including the two. You must obey the GNU General Public License in all respects for all of the code used other than OpenSSL. If you modify file(s) with this exception, you may extend this exception to your version of the file(s), but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version. If you delete this exception statement from all source files in the program, then also delete it here.
The Widespread misunderstanding about copyright in general, and the public domain in particular, results in the common assertion that a work is in the public domain when this is partly or wholly untrue for that work. The Wikipedia article on public domain is a useful reference for this subject.
When the License names are case-insensitive, and may not contain spaces.
In case of multi-licensing, the license short names are separated by
For instance, this is a simple, “GPL version 2 or later” field: License: GPL-2+ This is a dual-licensed GPL/Artistic work such as Perl: License: GPL-1+ or Artistic This is for a file that has both GPL and classic BSD code in it: License: GPL-2+ and BSD-3-clause
For the most complex cases, a comma is used to disambiguate the
priority of
This is for a file that has Perl code and classic BSD code in it: License: GPL-2+ or Artistic-2.0, and BSD-3-clause
A License: GPL-2+ with OpenSSL exception This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . In addition, as a special exception, the author of this program gives permission to link the code of its release with the OpenSSL project's "OpenSSL" library (or with modified versions of it that use the same license as the "OpenSSL" library), and distribute the linked executables. You must obey the GNU General Public License in all respects for all of the code used other than "OpenSSL". If you modify this file, you may extend this exception to your version of the file, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'.
SPDX is an attempt to standardize
a format for communicating the components, licenses and copyrights
associated with a software package. It and the machine-readable
Example 3. Simple
A possible Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: X Solitaire Source: ftp://ftp.example.com/pub/games Files: * Copyright: 1998 John Doe <[email protected]> 1998 Jane Smith <[email protected]> License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'.
Example 4. Complex
A possible Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Planet Venus Upstream-Contact: John Doe <[email protected]> Source: https://www.example.com/code/venus Files: * Copyright: 2008, John Doe <[email protected]> 2007, Jane Smith <[email protected]> 2007, Joe Average <[email protected]> 2007, J. Random User <[email protected]> License: PSF-2 Files: debian/* Copyright: 2008, Dan Developer <[email protected]> License: permissive Copying and distribution of this package, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. Files: debian/patches/theme-diveintomark.patch Copyright: 2008, Joe Hacker <[email protected]> License: GPL-2+ Files: planet/vendor/compat_logging/* Copyright: 2002, Mark Smith <[email protected]> License: MIT [LICENSE TEXT] Files: planet/vendor/httplib2/* Copyright: 2006, John Brown <[email protected]> License: MIT2 Unspecified MIT style license. Files: planet/vendor/feedparser.py Copyright: 2007, Mike Smith <[email protected]> License: PSF-2 Files: planet/vendor/htmltmpl.py Copyright: 2004, Thomas Brown <[email protected]> License: GPL-2+ License: PSF-2 [LICENSE TEXT] License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'.
|
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0117 ]-- |