From f9b12d6e849b9835d427ffe1d74f8642e1644b0f Mon Sep 17 00:00:00 2001 From: Manoj Srivastava Date: Thu, 16 Jun 2005 05:35:11 +0000 Subject: [PATCH] Branden Author: branden Date: 2002/11/19 20:57:58 Branden * typographical fixes courtesy of Philippe Batailler (Closes: #169744) * fix two instances of bogus capitalization * stop advising semantic overload of grave accent and apostrophe characters as single-quotes * make Policy Manual consistent with above advice git-archimport-id: srivasta@debian.org--etch/debian-policy--devel--3.0--patch-159 --- policy.sgml | 173 ++++++++++++++++++++++++++-------------------------- 1 file changed, 88 insertions(+), 85 deletions(-) diff --git a/policy.sgml b/policy.sgml index 034a09e..5af8dd7 100644 --- a/policy.sgml +++ b/policy.sgml @@ -19,7 +19,6 @@ each package must satisfy to be included in the distribution. - Copyright © 1996,1997,1998 Ian Jackson @@ -45,7 +44,7 @@ /usr/share/common-licenses/GPL in the Debian GNU/Linux distribution or on the World Wide Web at . You can also + name="the GNU General Public Licence">. You can also obtain it by writing to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

@@ -280,7 +279,7 @@ The Debian Free Software Guidelines

The Debian Free Software Guidelines (DFSG) form our - definition of `free software'. These are: + definition of "free software". These are: Free Redistribution @@ -317,7 +316,7 @@

The license may restrict source-code from being distributed in modified form only if the - license allows the distribution of ``patch files'' + license allows the distribution of "patch files" with the source code for the purpose of modifying the program at build time. The license must explicitly permit distribution of software built from modified @@ -386,8 +385,8 @@

- The ``GPL,'' ``BSD,'' and ``Artistic'' licenses are - examples of licenses that we consider free. + The "GPL," "BSD," and "Artistic" licenses are examples of + licenses that we consider free.

@@ -635,8 +634,8 @@ debian-legal@lists.debian.org. Be prepared to provide us with the copyright statement. Software covered by the GPL, public domain software and BSD-like - copyrights are safe; be wary of the phrases `commercial - use prohibited' and `distribution restricted'. + copyrights are safe; be wary of the phrases "commercial + use prohibited" and "distribution restricted".

@@ -727,8 +726,8 @@ Important programs, including those which one would expect to find on any Unix-like system. If the expectation is that an experienced Unix person who - found it missing would say `What on earth is going on, - where is foo?', it must be an + found it missing would say "What on earth is going on, + where is foo?", it must be an important package.

This is an important criterion because we are @@ -1229,11 +1228,11 @@ four components may be specified.

In the past, people specified the full version number - in the Standards-Version field, for example `2.3.0.0'. - Since minor patch-level changes don't introduce new + in the Standards-Version field, for example "2.3.0.0". + Since minor patch-level changes don"t introduce new policy, it was thought it would be better to relax policy and only require the first 3 components to be - specified, in this example `2.3.0'. All four + specified, in this example "2.3.0". All four components may still be used if someone wishes to do so.

@@ -1443,7 +1442,7 @@ files. Binary and source packages have control files, and the .changes files which control the installation of uploaded files are also in control file format. - Dpkg's internal databases are in a similar + dpkg's internal databases are in a similar format.

@@ -1566,7 +1565,7 @@ Package: libc6 stable

- This is the current `released' version of Debian + This is the current "released" version of Debian GNU/Linux. Once the distribution is stable only security fixes and other major bug fixes are allowed. When changes are @@ -1607,7 +1606,7 @@ Package: libc6

From time to time, the testing - distribution enters a state of `code-freeze' in + distribution enters a state of "code-freeze" in anticipation of release as a stable version. During this period of testing only fixes for existing or newly-discovered bugs will @@ -1686,7 +1685,7 @@ Package: libc6

This is the main part of the version number. It is - usually the version number of the original (`upstream') + usually the version number of the original ("upstream") package from which the .deb file has been made, if this is applicable. Usually this will be in the same format as that specified by the upstream author(s); @@ -1731,7 +1730,7 @@ Package: libc6 upstream_version may not contain a hyphen. This format represents the case where a piece of software was written specifically to be turned into a - Debian package, and so there is only one `debianization' + Debian package, and so there is only one "debianization" of it and therefore no revision indication is required.

@@ -1817,15 +1816,15 @@ Package: libc6

However, in some cases where the upstream version number is - based on a date (e.g., a development `snapshot' release) the + based on a date (e.g., a development "snapshot" release) the package management system cannot handle these version numbers without epochs. For example, dpkg will consider - `96May01' to be greater than `96Dec24'.

+ "96May01" to be greater than "96Dec24".

To prevent having to use epochs for every new upstream version, the version number should be changed to the - following format in such cases: `19960501', `19961224'. It + following format in such cases: "19960501", "19961224". It is up to the maintainer whether he/she wants to bother the upstream maintainer to change the version numbers upstream, too.

@@ -1838,7 +1837,7 @@ Package: libc6

Native Debian packages (i.e., packages which have been written especially for Debian) whose version numbers include - dates should always use the `YYYYMMDD' format.

+ dates should always use the "YYYYMMDD" format.

@@ -2250,8 +2249,8 @@ Package: libc6

- The first `title' line with the package name should start - at the left hand margin; the `trailer' line with the + The first "title" line with the package name should start + at the left hand margin; the "trailer" line with the maintainer and date details should be preceded by exactly one space. The maintainer details and the date must be separated by exactly two spaces. @@ -2689,7 +2688,7 @@ Package: libc6 case, if a major error occurs (unless listed below) the actions are, in general, run backwards - this means that the maintainer scripts are run with different arguments in - reverse order. These are the `error unwind' calls listed + reverse order. These are the "error unwind" calls listed below. @@ -2720,7 +2719,7 @@ Package: libc6

-

If a `conflicting' package is being removed at the same time: +

If a "conflicting" package is being removed at the same time:

@@ -2772,7 +2771,7 @@ Package: libc6

Otherwise, if the package had some configuration files from a previous version installed (i.e., it - is in the `configuration files only' state): + is in the "configuration files only" state): new-preinst install old-version

@@ -2830,7 +2829,7 @@ Package: libc6 Packages which overwrite each other's files produce behavior which, though deterministic, is hard for the system administrator to understand. It can easily - lead to `missing' programs if, for example, a package + lead to "missing" programs if, for example, a package is installed which overwrites a file from another package, and is then removed again.

@@ -2931,7 +2930,7 @@ Package: libc6 Any files in the package we're unpacking that are also listed in the file lists of other packages are removed from those lists. (This will lobotomize the file list - of the `conflicting' package if there is one.) + of the "conflicting" package if there is one.)

@@ -2944,7 +2943,7 @@ Package: libc6

The new package's status is now sane, and recorded as - `unpacked'. + "unpacked".

@@ -3397,7 +3396,7 @@ Build-Depends: kernel-headers-2.2.10 [!hurd-i386],

A Conflicts entry should almost never have an - `earlier than' version clause. This would prevent + "earlier than" version clause. This would prevent dpkg from upgrading or installing the package which declared such a conflict until the upgrade or removal of the conflicted-with package had been completed. @@ -3408,13 +3407,13 @@ Build-Depends: kernel-headers-2.2.10 [!hurd-i386],

- As well as the names of actual (`concrete') packages, the + As well as the names of actual ("concrete") packages, the package relationship fields Depends, Recommends, Suggests, Enhances, Pre-Depends, Conflicts, Build-Depends, Build-Depends-Indep, Build-Conflicts and Build-Conflicts-Indep - may mention `virtual packages'. + may mention "virtual packages".

@@ -3453,7 +3452,7 @@ Provides: bar then only real packages will be considered to see whether the relationship is satisfied (or the prohibition violated, for a conflict) - it is assumed that a real package which - provides the virtual package is not of the `right' version. + provides the virtual package is not of the "right" version. So, a Provides field may not contain version numbers, and the version number of the concrete package which provides a particular virtual package will not be @@ -3499,13 +3498,13 @@ Provides: bar Replaces the one containing the file being overwritten, then dpkg will replace the file from the old package with that from the new. The file - will no longer be listed as `owned' by the old package. + will no longer be listed as "owned" by the old package.

If a package is completely replaced in this way, so that dpkg does not know of any files it still - contains, it is considered to have `disappeared'. It will + contains, it is considered to have "disappeared". It will be marked as not wanted on the system (selected for removal) and not installed. Any conffiles details noted for the package will be ignored, as they @@ -3895,7 +3894,7 @@ Replaces: mail-transport-agent -

DEBIAN/shlibs files in the `build directory'

+

DEBIAN/shlibs files in the "build directory"

When packages are being built, any debian/shlibs files are copied into the @@ -4419,7 +4418,7 @@ rmdir /usr/local/share/emacs 2>/dev/null || true /etc/passwd or /etc/group (using adduser if it has this facility) if necessary. Packages which are likely to require - further allocations should have a `hole' left after + further allocations should have a "hole" left after them in the allocation, to give them room to grow.

@@ -4460,7 +4459,7 @@ rmdir /usr/local/share/emacs 2>/dev/null || true

The /etc/init.d directory contains the scripts executed by init at boot time and when the - init state (or `runlevel') is changed (see ).

@@ -4739,11 +4738,10 @@ test -f program-executed-later-in-script || exit 0 if [ "$1" = purge ]; then update-rc.d package remove fi - . Note that is your package changes runlevels - or priority, you may have to remove and recreate the - links, since otherwise the old links may - persist. Refer to the documentation of - update-rc.d

+ . Note that if your package changes runlevels + or priority, you may have to remove and recreate the links, + since otherwise the old links may persist. Refer to the + documentation of update-rc.d

This will use a default sequence number of 20. If it does @@ -5065,7 +5063,7 @@ echo "." If you have to set up different system parameters during the system boot, you should use this format: -Setting parameter to `value'. +Setting parameter to "value".

@@ -5073,13 +5071,15 @@ Setting parameter to `value'. You can use a statement such as the following to get the quotes right: -echo "Setting DNS domainname to \`$domainname'." +echo "Setting DNS domainname to \"$domainname\"."

- Note that the left quotation mark (`) is - different from the right one ('). + Note that the same symbol (") is used for the left + and right quotation marks. A grave accent (`) is + not a quote character; neither is an apostrophe + (').

@@ -5309,7 +5309,7 @@ Reloading description configuration...done. X translations are set up to make KB_Backspace generate ASCII DEL, and to make KB_Delete generate ESC [ 3 ~ (this - is the vt220 escape code for the `delete character' + is the vt220 escape code for the "delete character" key). This must be done by loading the X resources using xrdb on all local X displays, not using the application defaults, so that the @@ -5348,9 +5348,9 @@ Reloading description configuration...done.

Other applications use the stty erase character and kdch1 for the two delete keys, - with ASCII DEL being `delete previous character' and - kdch1 being `delete character under - cursor'.

+ with ASCII DEL being "delete previous character" and + kdch1 being "delete character under + cursor".

@@ -5424,7 +5424,7 @@ Reloading description configuration...done. variables are not present. If this cannot be done easily (e.g., if the source code of a non-free program is not available), the program must be replaced by a small - `wrapper' shell script which sets the environment variables + "wrapper" shell script which sets the environment variables if they are not already defined, and calls the original program.

@@ -5456,8 +5456,8 @@ exec /usr/lib/foo/foo "$@" Two different packages must not install programs with different functionality but with the same filenames. (The case of two programs having the same functionality but - different implementations is handled via `alternatives' or - the `Conflicts' mechanism. See and + different implementations is handled via "alternatives" or + the "Conflicts" mechanism. See and respectively.) If this case happens, one of the programs must be renamed. The maintainers should report this to the debian-devel mailing list and @@ -5651,7 +5651,7 @@ strip --strip-unneeded your-lib they must not be installed executable and should be stripped.

- A common example are the so-called ``plug-ins'', + A common example are the so-called "plug-ins", internal shared objects that are dynamically loaded by programs using .

@@ -5844,7 +5844,7 @@ strip --strip-unneeded your-lib appropriate shell must be specified in the first line of the script (e.g., #!/bin/bash) and the package must depend on the package providing the shell (unless the shell - package is marked `Essential', as in the case of + package is marked "Essential", as in the case of bash).

@@ -5935,7 +5935,7 @@ ln -fs ../sbin/sendmail debian/tmp/usr/bin/runq have the same file extension as the referenced file. (For example, if a file foo.gz is referenced by a symbolic link, the filename of the link has to end with - `.gz' too, as in bar.gz.) + ".gz" too, as in bar.gz.)

@@ -6570,7 +6570,7 @@ done If a package wants to install an example entry into /etc/inetd.conf, the entry must be preceded with exactly one hash character (#). Such lines are - treated as `commented out by user' by the + treated as "commented out by user" by the update-inetd script and are not changed or activated during package updates.

@@ -6623,7 +6623,7 @@ done

These two files are managed through the dpkg - `alternatives' mechanism. Thus every package providing an + "alternatives" mechanism. Thus every package providing an editor or pager must call the update-alternatives script to register these programs. @@ -6835,11 +6835,11 @@ http://localhost/doc/package/filename used by that package. For example, in this situation the inn package could say something like: -Please enter the `mail name' of your system. This is the +Please enter the "mail name" of your system. This is the hostname portion of the address to be shown on outgoing news and mail messages. The default is syshostname, your system's host name. Mail -name [`syshostname']: +name ["syshostname"]: where syshostname is the output of hostname --fqdn. @@ -7377,7 +7377,7 @@ name [`syshostname']: Emacs lisp programs

- Please refer to the `Debian Emacs Policy' (documented in + Please refer to the "Debian Emacs Policy" (documented in debian-emacs-policy.gz of the emacsen-common package) for details of how to package emacs lisp programs. @@ -7442,8 +7442,8 @@ name [`syshostname']: You should install manual pages in nroff source form, in appropriate places under /usr/share/man. You should only use sections 1 to 9 (see the FHS for more - details). You must not install a preformatted `cat - page'.

+ details). You must not install a preformatted "cat + page".

Each program, utility, and function should have an @@ -7519,7 +7519,7 @@ name [`syshostname']:

Info documents should be installed in /usr/share/info. - They should be compressed with gzip -9.

+ They should be compressed with gzip -9.

Your package should call install-info to update @@ -7564,7 +7564,8 @@ install-info --quiet --remove /usr/share/info/foobar.info Text documentation should be installed in the directory /usr/share/doc/package, where package is the name of the package, and - compressed with gzip -9 unless it is small.

+ compressed with gzip -9 unless it is + small.

If a package comes with large amounts of documentation which @@ -7594,7 +7595,7 @@ install-info --quiet --remove /usr/share/info/foobar.info Any files that are referenced by programs but are also useful as standalone documentation should be installed under /usr/share/doc/ with symbolic links from - /usr/share/doc/<package> + /usr/share/doc/package.

@@ -7734,15 +7735,16 @@ install-info --quiet --remove /usr/share/info/foobar.info use a format for debian/changelog which is supported by the most recent released version of dpkg.

- If you wish to use an alternative format, you may do so as long - as you include a parser for it in your source package. The - parser must have an API compatible with that expected by - dpkg-genchanges and dpkg-gencontrol. - If there is general interest in the new format, you should - contact the dpkg maintainer to have the - parser script for it included in the dpkg package. - (You will need to agree that the parser and its manpage may be - distributed under the GNU GPL, just as the rest of `dpkg' is.) + If you wish to use an alternative format, you may do so as + long as you include a parser for it in your source package. + The parser must have an API compatible with that expected by + dpkg-genchanges and dpkg-gencontrol. + If there is general interest in the new format, you should + contact the dpkg maintainer to have the + parser script for it included in the dpkg + package. (You will need to agree that the parser and its + manpage may be distributed under the GNU GPL, just as the rest + of dpkg is.)

@@ -8131,8 +8133,8 @@ install-info --quiet --remove /usr/share/info/foobar.info

The most important control information file used by dpkg when it installs a package is - control. It contains all the package's `vital - statistics'. + control. It contains all the package"s "vital + statistics".

@@ -9130,8 +9132,8 @@ install-info --quiet --remove /usr/share/info/foobar.info

- The first `title' line with the package name should start - at the left hand margin; the `trailer' line with the + The first "title" line with the package name should start + at the left hand margin; the "trailer" line with the maintainer and date details should be preceded by exactly one space. The maintainer details and the date must be separated by exactly two spaces. @@ -10089,7 +10091,7 @@ install-info --quiet --remove /usr/share/info/foobar.info stable

- This is the current `released' version of Debian + This is the current "released" version of Debian GNU/Linux. A new version is released approximately every 3 months after the development code has been frozen for a month of testing. Once the @@ -10151,7 +10153,7 @@ install-info --quiet --remove /usr/share/info/foobar.info

From time to time, (currently, every 3 months) the unstable distribution enters a state of - `code-freeze' in anticipation of release as a + "code-freeze" in anticipation of release as a stable version. During this period of testing (usually 4 weeks) only fixes for existing or newly-discovered bugs will be allowed. @@ -10229,7 +10231,7 @@ install-info --quiet --remove /usr/share/info/foobar.info

Each version's change information should be preceded by a - `title' line giving at least the version, distribution(s) + "title" line giving at least the version, distribution(s) and urgency, in a human-readable way.

@@ -10237,7 +10239,7 @@ install-info --quiet --remove /usr/share/info/foobar.info If data from several versions is being returned the entry for the most recent version should be returned first, and entries should be separated by the representation of a - blank line (the `title' line may also be followed by the + blank line (the "title" line may also be followed by the representation of blank line).

@@ -10599,3 +10601,4 @@ install-info --quiet --remove /usr/share/info/foobar.info + -- 2.39.5