]> git.donarmstrong.com Git - debian/debian-policy.git/commitdiff
Sync with upstream
authorManoj Srivastava <srivasta@debian.org>
Sun, 23 Mar 2008 23:00:53 +0000 (23:00 +0000)
committerManoj Srivastava <srivasta@debian.org>
Sun, 23 Mar 2008 23:00:53 +0000 (23:00 +0000)
Sync with upstream

Patches applied:

 * debian-policy@lists.debian.org--lenny/debian-policy--devel--3.7--patch-2
   Merge rra@debian.org--lenny/debian-policy--devel--3.7

 * debian-policy@lists.debian.org--lenny/debian-policy--devel--3.7--patch-3
   Merge rra@debian.org--lenny/debian-policy--devel--3.7

 * debian-policy@lists.debian.org--lenny/debian-policy--devel--3.7--patch-4
   Merge with rra@debian.org--lenny/debian-policy--devel--3.7

 * rra@debian.org--lenny/debian-policy--breaks--3.7--base-0
   tag of rra@debian.org--lenny/debian-policy--devel--3.7--patch-27

 * rra@debian.org--lenny/debian-policy--breaks--3.7--patch-1
   New Breaks dependency field

 * rra@debian.org--lenny/debian-policy--convenience--3.7--base-0
   tag of rra@debian.org--lenny/debian-policy--devel--3.7--patch-27

 * rra@debian.org--lenny/debian-policy--convenience--3.7--patch-1
   Debian packages should not use convenience libraries

 * rra@debian.org--lenny/debian-policy--devel--3.7--patch-11
   fix FTBFS when built twice in a row

 * rra@debian.org--lenny/debian-policy--devel--3.7--patch-12
   Source in .changes may contain a version number

 * rra@debian.org--lenny/debian-policy--devel--3.7--patch-13
   Replace 822-date reference to date -R

 * rra@debian.org--lenny/debian-policy--devel--3.7--patch-14
   Merge lists of urgency values and include a complete list

 * rra@debian.org--lenny/debian-policy--devel--3.7--patch-15
   Document the type field in shlibs and its use with udebs

 * rra@debian.org--lenny/debian-policy--devel--3.7--patch-16
   Packages using debconf must support internationalization

 * rra@debian.org--lenny/debian-policy--devel--3.7--patch-17
   Clean up Uploaders and add Russ Allbery

 * rra@debian.org--lenny/debian-policy--devel--3.7--patch-18
   Update the common-licenses list

 * rra@debian.org--lenny/debian-policy--devel--3.7--patch-19
   Add ttf-japanese-gothic and ttf-japanese-mincho virtual packages

 * rra@debian.org--lenny/debian-policy--devel--3.7--patch-20
   Finalize changes for 3.7.3.0

 * rra@debian.org--lenny/debian-policy--devel--3.7--patch-21
   Don't try to compress FHS files before installation

 * rra@debian.org--lenny/debian-policy--devel--3.7--patch-22
   Update Standards-Version to 3.7.3

 * rra@debian.org--lenny/debian-policy--devel--3.7--patch-23
   Drop docbook-xml from the doc-base file for debconf-spec

 * rra@debian.org--lenny/debian-policy--devel--3.7--patch-24
   Finalize date in upgrading-checklist

 * rra@debian.org--lenny/debian-policy--devel--3.7--patch-25
   Mention apt and aptitude as examples of dpkg frontends

 * rra@debian.org--lenny/debian-policy--devel--3.7--patch-26
   Fix capitalization of Idempotency in heading

 * rra@debian.org--lenny/debian-policy--devel--3.7--patch-27
   Mention apt-get, not apt, and fix typo

 * rra@debian.org--lenny/debian-policy--devel--3.7--patch-28
   Support for wrapped Uploaders is mandatory, clarify wrapping

 * rra@debian.org--lenny/debian-policy--devel--3.7--patch-29
   FHS and FSSTND build and copyright cleanup

 * rra@debian.org--lenny/debian-policy--devel--3.7--patch-30
   Add Emacs indent-tab-mode setting

 * rra@debian.org--lenny/debian-policy--devel--3.7--patch-31
   Standardize manual page encoding

 * rra@debian.org--lenny/debian-policy--devel--3.7--patch-32
   Debian packages should not use convenience libraries

 * rra@debian.org--lenny/debian-policy--devel--3.7--patch-33
   New Breaks dependency field

 * rra@debian.org--lenny/debian-policy--devel--3.7--patch-34
   Add Homepage control field

 * rra@debian.org--lenny/debian-policy--devel--3.7--patch-35
   Update section list and base system definition

 * rra@debian.org--lenny/debian-policy--devel--3.7--patch-36
   Add Apache 2.0 to common-licenses

 * rra@debian.org--lenny/debian-policy--devel--3.7--patch-37
   non-free and contrib packages should explain in copyright

 * rra@debian.org--lenny/debian-policy--devel--3.7--patch-38
   Standardize heading spacing in upgrading-checklist

 * rra@debian.org--lenny/debian-policy--devel--3.7--patch-39
   Add md5sums control file

 * rra@debian.org--lenny/debian-policy--devel--3.7--patch-40
   Add parallel=n and move DEB_BUILD_OPTS section

 * rra@debian.org--lenny/debian-policy--devel--3.7--patch-41
   Add README.source and the patch target

 * rra@debian.org--lenny/debian-policy--devel--3.7--patch-42
   Clarify mandatory config files in /etc

 * rra@debian.org--lenny/debian-policy--homepage--3.7--patch-2
   tag of rra@debian.org--lenny/debian-policy--devel--3.7--patch-27

 * rra@debian.org--lenny/debian-policy--homepage--3.7--patch-3
   Add Homepage control field

 * rra@debian.org--lenny/debian-policy--homepage--3.7--patch-4
   Homepage isn't allowed in binary source stanzas

 * rra@debian.org--lenny/debian-policy--homepage--3.7--patch-5
   Homepage is allowed in binary stazas

 * rra@debian.org--lenny/debian-policy--non-free--3.7--base-0
   tag of rra@debian.org--lenny/debian-policy--devel--3.7--patch-29

 * rra@debian.org--lenny/debian-policy--non-free--3.7--patch-1
   non-free and contrib packages should explain in copyright

 * rra@debian.org--lenny/debian-policy--non-free--3.7--patch-2
   Retabify change

 * rra@debian.org--lenny/debian-policy--parallel--3.7--base-0
   tag of rra@debian.org--lenny/debian-policy--devel--3.7--patch-27

 * rra@debian.org--lenny/debian-policy--parallel--3.7--patch-1
   Add parallel=n and move DEB_BUILD_OPTS section

 * rra@debian.org--lenny/debian-policy--parallel--3.7--patch-2
   DEB_BUILD_OPTIONS must start with a lowercase letter

 * rra@debian.org--lenny/debian-policy--readme-source--3.7--base-0
   tag of rra@debian.org--lenny/debian-policy--devel--3.7--patch-30

 * rra@debian.org--lenny/debian-policy--readme-source--3.7--patch-1
   Add README.source and the patched target

 * rra@debian.org--lenny/debian-policy--readme-source--3.7--patch-2
   Fix missing > in README.source change

 * rra@debian.org--lenny/debian-policy--readme-source--3.7--patch-3
   Change patch target, allow external docs

 * rra@debian.org--lenny/debian-policy--sections--3.7--base-0
   tag of rra@debian.org--lenny/debian-policy--devel--3.7--patch-27

 * rra@debian.org--lenny/debian-policy--sections--3.7--patch-1
   Update section list and base system definition

git-archimport-id: srivasta@debian.org--lenny/debian-policy--devel--3.7--patch-3

13 files changed:
debconf-spec.desc
debian/changelog
debian/control
debian/copyright
debian/rules
menu-policy.sgml
mime-policy.sgml
mm1.32-patch [deleted file]
perl-policy.sgml
policy-process.sgml
policy.sgml
upgrading-checklist.html
virtual-package-names-list.txt

index c021766e4fe9a9a959cb521d45cc1be8a0b20438..098f503a51626826fe3b229c44c943c0b67084c5 100644 (file)
@@ -6,9 +6,6 @@ Abstract: This manual describes the package configuration system used
  config files which are used.
 Section: Debian
 
-Format: docbook-xml
-Files: /usr/share/doc/debian-policy/debconf_specification.xml.tar.gz
-
 Format: text
 Files: /usr/share/doc/debian-policy/debconf_specification.txt.gz
 
index ee068fc28bd0c972c484d464fdf8bc03a81fd694..0870accf4b9cbaa1ca96c3189925ace62b7f98c6 100644 (file)
@@ -1,5 +1,51 @@
-debian-policy (3.7.3.0) UNRELEASED; urgency=low
+debian-policy (3.7.4.0) unstable; urgency=low
+
+  * Bug fix: "[PROPOSAL] "debian/README.source" file for packages with
+    non-trivial source", thanks to Wouter Verhelst, Jörg Sommer, Colin Watson,
+    and Junichi Uekawa                                       (Closes: #250202).
+  * Bug fix: "[AMENDMENT 11/02/2008] Manual page encoding", thanks to
+    Colin Watson                                             (Closes: #440420).
+  * Bug fix: "[PROPOSAL] common interface for parallel building in
+    DEB_BUILD_OPTIONS", thanks to Loïc Minier, Peter Samuelson, and Robert
+    Millan                                                   (Closes: #209008).
+  * Bug fix: "Please clarify splitting/syntax of DEB_BUILD_OPTIONS", thanks to
+    Loïc Minier, Peter Samuelson, Robert Millan, and Guillem Jover
+                                                             (Closes: #430649).
+  * Bug fix: "Documentation for Breaks in dpkg", thanks to Ian Jackson
+                                                             (Closes: #379150).
+  * Bug fix: "support for wrapped Uploaders should now be mandatory"
+                                                             (Closes: #431813).
+  * Bug fix: "[PROPOSAL] Add should not embed code from other packages",
+    thanks to Neil McGovern, Colin Watson, Bill Allombert, Steve Langasek,
+    Kurt Roeckx, and others                                  (Closes: #392362).
+  * Bug fix: "Homepage field in debian/control undocumented", thanks to
+    Mario Iseli                                              (Closes: #452105).
+  * Bug fix: "Policy inconsistent with reality: base subsection no longer
+    used", thanks to Magnus Holmgren, Bernd Zeimetz, and Colin Watson
+                                                             (Closes: #442070).
+  * Bug fix: "Inclusion of Apache Software License versions in
+    /usr/share/common-licenses", thanks to Barry Hawkins     (Closes: #291460).
+  * Bug fix: "[Amended] copyright should include notice if a package is
+    not a part of Debian distribution", thanks to Taketoshi Sano
+                                                             (Closes: #65577).
+  * Bug fix: "scripts as configuration files: should vs. must", thanks to Frank
+    Küster                                                   (Closes: #403391).
+  * Bug fix: "Examples of dpkg frontends should mention apt now", thanks
+    to Josh Triplett                                         (Closes: #455602).
+  * Bug fix: "Minor typos and wording suggestions", thanks to Michael
+    Tautschnig                                               (Closes: #422552).
+  * Add an md5sums control file.
+  * Remove build system support for FHS 2.1 and FSSTND, mostly commented out.
+  * Remove the FSSTND license from debian/copyright; no FSSTND files are
+    currently part of policy.
+  * Update FHS copyright dates in debian/copyright.
+  * Standardize the spacing around headings in upgrading-checklist.html.
 
+ --
+
+debian-policy (3.7.3.0) unstable; urgency=low
+
+  * Bug fix: "FTBFS if built twice in a row"                 (Closes: #424212).
   * Bug fix: "[PROPOSAL] Document ~ behavior in version numbers", thanks
     to Nicolas François and Marc Brockschmidt                (Closes: #382612).
   * Bug fix: "Please add 'local' to list of supra-POSIX features that
@@ -20,8 +66,26 @@ debian-policy (3.7.3.0) UNRELEASED; urgency=low
     virtual packages.
   * Bug fix: "Small spelling errors and erratic sentences in debian-policy",
     thanks to Michiel de Boer.                               (Closes: #435207).
-
- --
+  * Bug fix: "Source field of .changes files may contain a version number"
+                                                             (Closes: #431813).
+  * Bug fix: "822-date is deprecated (use date -R instead)"  (Closes: #448035).
+  * Bug fix: "5.6.17 (Urgency) should list emergency, maybe a normative
+    list?"                                                   (Closes: #412634).
+  * Bug fix: "[PROPOSAL] Document support of package types in shlibs
+    files", thanks to Franz Pop and Raphaël Hertzog          (Closes: #363133).
+  * Bug fix: "Introduce a requirement for internationalisation of debconf
+    templates", thanks to Christian Perrier                  (Closes: #402975).
+  * Bug fix: "GFDL is now in common-licenses".  Also add the rest of the
+    specific license versions and the GPLv3                  (Closes: #420701).
+  * Bug fix: "Virtual package for Japanese font packages
+    (ttf-japanese-mincho and ttf-japanese-gothic)", thanks to Nobuhiro
+    Iwamatsu                                                 (Closes: #440931).
+  * Drop unsupported docbook-xml format from the doc-base file for the
+    debconf specification.
+  * Remove inactive uploaders and add Russ Allbery.
+  * Update Standards-Version to 3.7.3 (no changes required).
+  
+ -- Russ Allbery <rra@debian.org>  Sun, 02 Dec 2007 22:33:55 -0800
 
 debian-policy (3.7.2.2) unstable; urgency=low
 
index a2780880c1ce2454ecc189d79e154289f34934c8..4c1902232d475ee9e8ff99c145a4ea73a32a067d 100644 (file)
@@ -2,8 +2,8 @@ Source: debian-policy
 Section: doc
 Priority: optional
 Maintainer: Debian Policy List <debian-policy@lists.debian.org>
-Uploaders: Julian Gilbey <jdg@debian.org>, Manoj Srivastava <srivasta@debian.org>, Josip Rodin <joy-packages@debian.org>
-Standards-Version: 3.6.2.2
+Uploaders: Manoj Srivastava <srivasta@debian.org>, Russ Allbery <rra@debian.org>
+Standards-Version: 3.7.3
 Build-Depends-Indep: sgml-data (>= 2.0), debiandoc-sgml (>= 1.1.47), tetex-extra, groff, bsdmainutils, pstoedit, jade, docbook-xml (>= 3.1.1), docbook-dsssl, tidy, links (>= 0.90) | elinks
 
 Package: debian-policy
index 545ed362e1e9ea836caa1790c1249a46f80c1c0a..4b438827c6559f8031da8408bffe61ab4f2e927f 100644 (file)
@@ -4,10 +4,11 @@ documents. It was originally assembled by Christian Schwarz and is now
 maintained by the Debian Policy Group
 <debian-policy@lists.debian.org>.
 
-The FHS and FSSTND documents were downloaded from
+The FHS documents were downloaded from
 http://www.pathname.com/fhs/.
 
 ------------------------------------------------------------------------------
+
 Copyright of the Debian Policy Manual:
 
 Copyright (C) 1996 Ian Jackson.
@@ -32,18 +33,14 @@ MA 02110-1301 USA
 
 Copyright of the Filesystem Hierarchy Standard (FHS)
 
-Copyright (C) 1994-2000 Daniel Quinlan
+Copyright © 1994-2004 Daniel Quinlan
+Copyright © 2001-2004 Paul 'Rusty' Russell
+Copyright © 2003-2004 Christopher Yeoh
 
 Permission is granted to make and distribute verbatim copies of this
 standard provided the copyright and this permission notice are preserved
 on all copies.
 
-[troff source includes the following paragraph:
-Permission is granted to process this file through a typesetter (such as
-troff) and print the results, provided the printed document carries a
-permission notice identical to this one except for the removal of this
-paragraph (this paragraph not being relevant to the printed document).]
-
 Permission is granted to copy and distribute modified versions of this
 standard under the conditions for verbatim copying, provided also that
 the title page is labeled as modified including a reference to the
@@ -56,36 +53,3 @@ Permission is granted to copy and distribute translations of this
 standard into another language, under the above conditions for modified
 versions, except that this permission notice may be stated in a
 translation approved by the copyright holder.
-
-
-------------------------------------------------------------------------------
-
-Copyright of the Linux Filesystem Standard (FSSTND).
-
-
-Copyright (C) 1994, 1995 Daniel Quinlan
-
-Permission is granted to copy and distribute verbatim copies of this
-standard provided the copyright and this permission notice are
-preserved on all copies.
-
-Permission is granted for FSSTND contributors and participants to copy
-and distribute modified versions of this standard under the conditions
-for verbatim copying for purposes of filesystem standardization
-activities only, and subject to those restrictions listed below.
-
-The following restrictions apply to reproducing or transmitting the
-document in any form:
-
-   o All copies or portions thereof must identify the document's title
-     and section, and must be accompanied by this entire notice in a
-     prominent location.
-
-   o No portion of this document may be redistributed in any modified or
-     abridged form without the prior approval of the FSSTND coordinator.
-
-Any entities seeking permission to distribute any material derived
-from this document (other than verbatim copies) must contact the
-FSSTND coordinator for the appropriate license.
-
---------------------------------------------------------------------------
index 25541e7b05c4fcbbf3315e3609b9f3f6c060acae..1e31ad42664f77226b76326e76606098a9eabab2 100755 (executable)
@@ -50,15 +50,13 @@ DESC_FILES := debian-policy debian-menu-policy debian-perl-policy \
 # While we have two versions of the FHS installed in the source package,
 # we need to modify this to handle it.  This is the easiest way to do it.
 # FHS_ARCHIVE := $(wildcard fhs*.tar.gz)
-# And with version 2.1, we have to build the text and dvi versions
-# ourselves :-(
 FHS_ARCHIVE  := fhs-2.3-source.tar.gz
 FHS_HTML     := fhs-2.3.html
 FHS_FILES    := fhs-2.3.ps.gz fhs-2.3.txt.gz fhs-2.3.pdf.gz
 FHS_NEW_ARCHIVE  := 
 FHS_NEW_HTML     := 
 FHS_NEW_FILES    := 
-# FSSTND_FILES := FSSTND-FAQ fsstnd-1.2.dvi.gz fsstnd-1.2.ps.gz fsstnd-1.2.txt.gz
+
 POLICY_FILES = $(SGML_FILES:=.sgml) $(SGML_FILES:=.txt.gz) \
               virtual-package-names-list.txt \
               upgrading-checklist.txt libc6-migration.txt version.ent \
@@ -90,17 +88,6 @@ stamp-build: version.ent $(sanitycheck)
                $(SGML_FILES:=.html.tar.gz) \
                $(SGML_FILES:=.txt.gz) \
                policy.ps.gz policy.pdf.gz
-       tar -zxf $(FHS_ARCHIVE)
-       # Need to use a patched tmac.m macro file if we're using a pre-1.16
-       # groff; version 1.16 is apparently fixed
-       if dpkg --compare-versions "$(shell dpkg -s groff | sed -n -e 's/Version: //p')" lt 1.16; then \
-           cp /usr/share/groff/tmac/tmac.m fhs && \
-           cd fhs && patch -p1 < ../mm1.32-patch; \
-       fi
-       # The extra '.' in the tmac path won't harm if unnecessary
-       #GROFF_TMAC_PATH=. GROFF_NO_SGR=1 $(MAKE) -C fhs fhs.ps fhs.pdf fhs.txt
-       #links -dump fhs-changes-2.1.html | perl -pe 's/[\r\0]//g' > \
-        #            fhs/fhs-changes-2.1.txt
        links -dump upgrading-checklist.html | perl -pe 's/[\r\0]//g' > \
                     upgrading-checklist.txt
        $(MAKE) -C debconf_spec all
@@ -137,7 +124,6 @@ stamp-policy:  build $(sanitycheck)
 #      test -f stamp-build     || $(MAKE) -f        debian/rules build
        rm -rf                  $(TMPTOP)
        $(make_directory)       $(TMPTOP)/DEBIAN
-#      $(make_directory)       $(DOCDIR)/fsstnd
        $(make_directory)       $(DOCDIR)/fhs
        $(make_directory)       $(LIBDIR)
        # create a substvar to reference from debian/control so that
@@ -147,12 +133,10 @@ stamp-policy:  build $(sanitycheck)
        # itself...
        echo "debian-policy:Version=$(version)"      > debian/substvars
        $(install_file)     $(POLICY_FILES)          $(DOCDIR)/
-#      $(install_file)     $(FSSTND_FILES)          $(DOCDIR)/fsstnd/
-       $(install_file)     $(FHS_FILES)             $(DOCDIR)/fhs/
        $(install_file)     debian/changelog         $(DOCDIR)/
        # Be more specific with file compression
        gzip -f9            $(DOCDIR)/*.txt $(DOCDIR)/*.sgml \
-                               $(DOCDIR)/fhs/* $(DOCDIR)/changelog
+                               $(DOCDIR)/changelog
 # These are allready compressed
        #$(install_file)    $(FHS_NEW_FILES)         $(DOCDIR)/fhs/
        $(install_file)     $(FHS_FILES)             $(DOCDIR)/fhs/
@@ -169,6 +153,9 @@ stamp-policy:  build $(sanitycheck)
          tar -C $(DOCDIR) -zxf $$file.html.tar.gz; \
        done
        $(install_file)     $(FHS_HTML)   $(DOCDIR)/fhs
+       @set -ex; \
+       cd debian/tmp; \
+       find . -type f -printf '%P\0' | xargs -r0 md5sum > DEBIAN/md5sums
        sed -e 's/#PACKAGE#/$(package)/g' debian/postinst.in > debian/postinst
        sed -e 's/#PACKAGE#/$(package)/g' debian/prerm.in > debian/prerm
        $(install_program)  debian/postinst          debian/tmp/DEBIAN/
index 67389af350906906c21117c182197f69e128496f..e01cfbee935832457c515e92e18d8e4c917786e0 100644 (file)
     </chapt>
   </book>
 </debiandoc>
+<!-- Local variables: -->
+<!-- indent-tabs-mode: t -->
+<!-- End: -->
index b4ea5a3aef343c3e88b4f5a9a48fe343fd50adae..38db3ef3105f6e1460a2042ae8ed2a004ad14ba7 100644 (file)
     </chapt>
   </book>
 </debiandoc>
+<!-- Local variables: -->
+<!-- indent-tabs-mode: t -->
+<!-- End: -->
diff --git a/mm1.32-patch b/mm1.32-patch
deleted file mode 100644 (file)
index 54bc8de..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-Patch from Daniel Quinlan for mm-1.32 groff macros to make it work
-with FHS source
-
-diff -ur mm1.32/tmac.m tmac/tmac.m
---- mm1.32/tmac.m      Thu Sep  2 22:37:52 1999
-+++ tmac/tmac.m        Thu Jan 27 23:28:22 2000
-@@ -539,10 +539,12 @@
- .\" Break here to avoid problems with new linesetting of the previous line.
- .\" Hope this doesn't break anything else :-)
- .\" Don't break if arg_4 is a '1'.
-+.if \\n[D]>2 .tm PGFORM: \\$*
- .if ''\\$4' .br
-+.if \\n[D]>3 .tm PGFORM: IN l:\\n[.l] p:\\n[.p] o:\\n[.o]
- .ie !''\\$1' \{\
- .     ll \\$1
--.     nr @ll \n[.l]
-+.     nr @ll \\n[.l]
- .     nr @cur-ll \\n[@ll]
- .     lt \\n[@ll]u
- .\}
-@@ -553,17 +555,23 @@
- .\"
- .ie !''\\$2' \{\
- .     pl \\$2
--.     nr @pl \n[.p]
-+.     nr @pl \\n[.p]
- .\}
- .el .pl \\n[@pl]u
- .\"
- .ie !''\\$3' \{\
- .     po \\$3
--.     nr @po \n[.o]
-+.     nr @po \\n[.o]
- .\}
- .el .po \\n[@po]u
-+.if \\n[D]>3 .tm PGFORM: OUT l:\\n[.l] p:\\n[.p] o:\\n[.o]
-+.if \\n[D]>2 .tm PGFORM: ll=\\n[@ll], pl=\\n[@pl], po=\\n[@po]
- 'in 0
- .pg@move-trap
-+.if \\n[D]>2 \{\
-+.     tm Traps:
-+.     ptr
-+.\}
- ..
- .\"-------------
- .\" .MOVE y [[x] linelength]
index 7ec183e08b3bf7bb7a4d5406eefdf94d26849722..1421b46892a622124e0803da2a1a57daf0455f58 100644 (file)
@@ -488,3 +488,6 @@ perl -MExtUtils::Embed -e ldopts
     </appendix>
   </book>
 </debiandoc>
+<!-- Local variables: -->
+<!-- indent-tabs-mode: t -->
+<!-- End: -->
index c829d964eda736a30d5f725d685b43ccee84f2e4..8c433ffd7320435f8491fba773efbbef53d99777 100644 (file)
 
   </book>
 </debiandoc>
+<!-- Local variables: -->
+<!-- indent-tabs-mode: t -->
+<!-- End: -->
index 46ae4eb7db85dd3594b8b3c9b902b5a2ae62ba0c..ae7149ff130ac8c9b8bc39ccbe62db152ed9a82f 100644 (file)
        <p>
          The Debian archive maintainers provide the authoritative
          list of sections.  At present, they are:
-         <em>admin</em>, <em>base</em>, <em>comm</em>,
-         <em>contrib</em>, <em>devel</em>, <em>doc</em>,
+         <em>admin</em>, <em>comm</em>,
+         <em>devel</em>, <em>doc</em>,
          <em>editors</em>, <em>electronics</em>, <em>embedded</em>,
          <em>games</em>, <em>gnome</em>, <em>graphics</em>,
          <em>hamradio</em>, <em>interpreters</em>, <em>kde</em>,
          <em>libs</em>, <em>libdevel</em>, <em>mail</em>,
          <em>math</em>, <em>misc</em>, <em>net</em>, <em>news</em>,
-         <em>non-free</em>, <em>oldlibs</em>,
+         <em>oldlibs</em>,
          <em>otherosfs</em>, <em>perl</em>, <em>python</em>,
          <em>science</em>, <em>shells</em>,
          <em>sound</em>, <em>tex</em>, <em>text</em>,
        <p>
          The <tt>base system</tt> is a minimum subset of the Debian
          GNU/Linux system that is installed before everything else
-         on a new system. Thus, only very few packages are allowed
-         to go into the <tt>base</tt> section to keep the required
-         disk usage very small.
+         on a new system. Only very few packages are allowed to form
+         part of the base system, in order to keep the required disk
+         usage very small.
        </p>
 
        <p>
-         Most of these packages will have the priority value
-         <tt>required</tt> or at least <tt>important</tt>, and many
-         of them will be tagged <tt>essential</tt> (see below).
+         The base system consists of all those packages with priority
+         <tt>required</tt> or <tt>important</tt>. Many of them will
+         be tagged <tt>essential</tt> (see below).
        </p>
       </sect>
 
            </footnote>
          </p>
 
+         <p>
+           Packages which use the Debian Configuration management
+           specification must allow for translation of their messages
+           by using a gettext-based system such as the one provided by
+           the <package>po-debconf</package> package.
+         </p>
+
          <p>
            Packages should try to minimize the amount of prompting
            they need to do, and they should ensure that the user
          <tt><var>keyword</var>=<var>value</var></tt> settings in the
          <prgn>dpkg</prgn> changelog format (though there is
          currently only one useful <var>keyword</var>,
-         <tt>urgency</tt>).<footnote>
-             Recognized urgency values are <tt>low</tt>,
-             <tt>medium</tt>, <tt>high</tt> and <tt>emergency</tt>.
-             They have an effect on how quickly a package will be
-             considered for inclusion into the <tt>testing</tt>
-             distribution, and give an indication of the importance
-             of any fixes included in this upload.
-         </footnote>
+         <tt>urgency</tt>).
        </p>
 
        <p>
 
        <p>
          The <var>date</var> should be in RFC822 format<footnote>
-             This is generated by the <prgn>822-date</prgn>
-             program.
+             This is generated by <tt>date -R</tt>.
          </footnote>; it should include the time zone specified
          numerically, with the time zone name or abbreviation
          optionally present as a comment in parentheses.
                possible is a good idea.
              </p>
            </item>
+
+           <tag><tt>patch</tt> (optional)</tag>
+           <item>
+             <p>
+               This target performs whatever additional actions are
+               required to make the source ready for editing (unpacking
+               additional upstream archives, applying patches, etc.).
+               It is recommended to be implemented for any package where
+               <tt>dpkg-source -x</tt> does not result in source ready
+               for additional modification.  See
+               <ref id="readmesource">.
+             </p>
+           </item>
          </taglist>
 
        <p>
          or system information; the GNU style variables should be
          used for that.
        </p>
+
+       <sect1 id="debianrules-options">
+         <heading><file>debian/rules</file> and
+           <tt>DEB_BUILD_OPTIONS</tt></heading>
+
+         <p>
+           Supporting the standardized environment variable
+           <tt>DEB_BUILD_OPTIONS</tt> is recommended.  This variable can
+           contain several flags to change how a package is compiled and
+           built.  Each flag must be in the form <var>flag</var> or
+           <var>flag</var>=<var>options</var>.  If multiple flags are
+           given, they must be separated by whitespace.<footnote>
+             Some packages support any delimiter, but whitespace is the
+             easiest to parse inside a makefile and avoids ambiguity with
+             flag values that contain commas.
+           </footnote>
+           <var>flag</var> must start with a lowercase letter
+           (<tt>a-z</tt>) and consist only of lowercase letters,
+           numbers (<tt>0-9</tt>), and the characters
+           <tt>-</tt> and <tt>_</tt> (hyphen and underscore).
+           <var>options</var> must not contain whitespace.  The same
+           tag should not be given multiple times with conflicting
+           values.  Package maintainers may assume that
+           <tt>DEB_BUILD_OPTIONS</tt> will not contain conflicting tags.
+         </p>
+
+         <p>
+           The meaning of the following tags has been standardized:
+           <taglist>
+             <tag>noopt</tag>
+             <item>
+                 The presence of this tag means that the package should
+                 be compiled with a minimum of optimization.  For C
+                 programs, it is best to add <tt>-O0</tt> to
+                 <tt>CFLAGS</tt> (although this is usually the default).
+                 Some programs might fail to build or run at this level
+                 of optimization; it may be necessary to use
+                 <tt>-O1</tt>, for example.
+             </item>
+             <tag>nostrip</tag>
+             <item>
+                 This tag means that the debugging symbols should not be
+                 stripped from the binary during installation, so that
+                 debugging information may be included in the package.
+             </item>
+             <tag>parallel=n</tag>
+             <item>
+                 This tag means that the package should be built using up
+                 to <tt>n</tt> parallel processes if the package build
+                 system supports this.<footnote>
+                     Packages built with <tt>make</tt> can often implement
+                     this by passing the <tt>-j</tt><var>n</var> option to
+                     <tt>make</tt>.
+                 </footnote>
+                 If the package build system does not support parallel
+                 builds, this string must be ignored.  If the package
+                 build system only supports a lower level of concurrency
+                 than <var>n</var>, the package should be built using as
+                 many parallel processes as the package build system
+                 supports.  It is up to the package maintainer to decide
+                 whether the package build times are long enough and the
+                 package build system is robust enough to make supporting
+                 parallel builds worthwhile.
+              </item>
+           </taglist>
+         </p>
+
+         <p>
+           Unknown flags must be ignored by <file>debian/rules</file>.
+         </p>
+
+         <p>
+           The following makefile snippet is an example of how one may
+           implement the build options; you will probably have to
+           massage this example in order to make it work for your
+           package.
+           <example compact="compact">
+CFLAGS = -Wall -g
+INSTALL = install
+INSTALL_FILE    = $(INSTALL) -p    -o root -g root  -m  644
+INSTALL_PROGRAM = $(INSTALL) -p    -o root -g root  -m  755
+INSTALL_SCRIPT  = $(INSTALL) -p    -o root -g root  -m  755
+INSTALL_DIR     = $(INSTALL) -p -d -o root -g root  -m  755
+
+ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
+    CFLAGS += -O0
+else
+    CFLAGS += -O2
+endif
+ifeq (,$(filter nostrip,$(DEB_BUILD_OPTIONS)))
+    INSTALL_PROGRAM += -s
+endif
+ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+    NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+    MAKEFLAGS += -j$(NUMJOBS)
+endif
+           </example>
+         </p>
+       </sect1>
       </sect>
 
 <!-- FIXME: section pkg-srcsubstvars is the same as substvars -->
          the file to the list in <file>debian/files</file>.</p>
       </sect>
 
+      <sect id="embeddedfiles">
+       <heading>Convenience copies of code</heading>
+
+       <p>
+         Some software packages include in their distribution convenience
+         copies of code from other software packages, generally so that
+         users compiling from source don't have to download multiple
+         packages.  Debian packages should not make use of these
+         convenience copies unless the included package is explicitly
+         intended to be used in this way.<footnote>
+           For example, parts of the GNU build system work like this.
+         </footnote>
+         If the included code is already in the Debian archive in the
+         form of a library, the Debian packaging should ensure that
+         binary packages reference the libraries already in Debian and
+         the convenience copy is not used.  If the included code is not
+         already in Debian, it should be packaged separately as a
+         prerequisite if possible.
+         <footnote>
+           Having multiple copies of the same code in Debian is
+           inefficient, often creates either static linking or shared
+           library conflicts, and, most importantly, increases the
+           difficulty of handling security vulnerabilities in the
+           duplicated code.
+         </footnote>
+       </p>
+      </sect>
+
+      <sect id="readmesource">
+       <heading>Source package handling:
+         <file>debian/README.source</file></heading>
+
+       <p>
+         If running <prgn>dpkg-source -x</prgn> on a source package
+         doesn't produce the source of the package, ready for editing,
+         and allow one to make changes and run
+         <prng>dpkg-buildpackage</prgn> to produce a modified package
+         without taking any additional steps, creating a
+         <file>debian/README.source</file> documentation file is
+         recommended.  This file should explain how to do all of the
+         following:
+           <enumlist>
+             <item>Generate the fully patched source, in a form ready for
+             editing, that would be built to create Debian
+             packages.  Doing this with a <tt>patch</tt> target in
+             <file>debian/rules</file> is recommended; see
+             <ref id="debianrules">.</item>
+             <item>Modify the source and save those modifications so that
+             they will be applied when building the package.</item>
+             <item>Remove source modifications that are currently being
+             applied when building the package.</item>
+             <item>Optionally, document what steps are necessary to
+             upgrade the Debian source package to a new upstream version,
+             if applicable.</item>
+           </enumlist>
+         This explanation should include specific commands and mention
+         any additional required Debian packages.  It should not assume
+         familiarity with any specific Debian packaging system or patch
+         management tools.
+       </p>
+
+       <p>
+         This explanation may refer to a documentation file installed by
+         one of the package's build dependencies provided that the
+         referenced documentation clearly explains these tasks and is not
+         a general reference manual.
+       </p>
+
+       <p>
+         <file>debian/README.source</file> may also include any other
+         information that would be helpful to someone modifying the
+         source package.  Even if the package doesn't fit the above
+         description, maintainers are encouraged to document in a
+         <file>debian/README.source</file> file any source package with a
+         particularly complex or unintuitive source layout or build
+         system (for example, a package that builds the same source
+         multiple times to generate different binary packages).
+       </p>
+      </sect>
     </chapt>
 
 
@@ -2183,6 +2373,7 @@ Package: libc6
            <item><qref id="f-Priority"><tt>Priority</tt></qref> (recommended)</item>
            <item><qref id="sourcebinarydeps"><tt>Build-Depends</tt> et al</qref></item>
            <item><qref id="f-Standards-Version"><tt>Standards-Version</tt></qref> (recommended)</item>
+           <item><qref id="f-Homepage"><tt>Homepage</tt></qref></item>
          </list>
        </p>
 
@@ -2197,6 +2388,7 @@ Package: libc6
            <item><qref id="f-Essential"><tt>Essential</tt></qref></item>
            <item><qref id="binarydeps"><tt>Depends</tt> et al</qref></item>
            <item><qref id="f-Description"><tt>Description</tt></qref> (mandatory)</item>
+           <item><qref id="f-Homepage"><tt>Homepage</tt></qref></item>
          </list>
        </p>
 
@@ -2253,6 +2445,7 @@ Package: libc6
            <item><qref id="f-Installed-Size"><tt>Installed-Size</tt></qref></item>
            <item><qref id="f-Maintainer"><tt>Maintainer</tt></qref> (mandatory)</item>
            <item><qref id="f-Description"><tt>Description</tt></qref> (mandatory)</item>
+           <item><qref id="f-Homepage"><tt>Homepage</tt></qref></item>
          </list>
        </p>
       </sect>
@@ -2277,6 +2470,7 @@ Package: libc6
           <item><qref id="sourcebinarydeps"><tt>Build-Depends</tt> et al</qref></item>
          <item><qref id="f-Standards-Version"><tt>Standards-Version</tt></qref> (recommended)</item>
          <item><qref id="f-Files"><tt>Files</tt></qref> (mandatory)</item>
+         <item><qref id="f-Homepage"><tt>Homepage</tt></qref></item>
        </list>
        </p>
 
@@ -2336,14 +2530,14 @@ Package: libc6
          </p>
 
          <p>
-           In a main source control information, a <file>.changes</file>
-           or a <file>.dsc</file> file this may contain only the name
-           of the source package.
+           In <file>debian/control</file> or a <file>.dsc</file> file,
+           this field must contain only the name of the source package.
          </p>
 
          <p>
-           In the control file of a binary package it may be followed
-           by a version number in parentheses<footnote>
+           In a binary package control file or a <file>.changes</file>
+           file, the source package name may be followed by a version
+           number in parentheses<footnote>
                It is customary to leave a space after the package name
                if a version number is specified.
            </footnote>.
@@ -2392,16 +2586,10 @@ Package: libc6
           </p>
          <p>
            Any parser that interprets the Uploaders field in
-           <file>debian/control</file> should permit it to span multiple
-           lines<footnote>
-              In the future, the Uploaders field in
-               <file>debian/control</file> (but not other control files)
-               will be permitted to span multiple lines and interpreting
-               a multi-line Uploaders field shall be mandatory.
-           </footnote>. Line breaks in an Uploaders field that spans
-           multiple lines are not significant and the semantics of
-           the field are the same as if the line breaks had not been
-           present.
+           <file>debian/control</file> must permit it to span multiple
+           lines.  Line breaks in an Uploaders field that spans multiple
+           lines are not significant and the semantics of the field are
+           the same as if the line breaks had not been present.
          </p>
        </sect1>
 
@@ -2546,7 +2734,8 @@ Package: libc6
        <sect1>
          <heading>Package interrelationship fields:
            <tt>Depends</tt>, <tt>Pre-Depends</tt>,
-           <tt>Recommends</tt>, <tt>Suggests</tt>, <tt>Conflicts</tt>,
+           <tt>Recommends</tt>, <tt>Suggests</tt>,
+           <tt>Breaks</tt>, <tt>Conflicts</tt>,
            <tt>Provides</tt>, <tt>Replaces</tt>, <tt>Enhances</tt>
          </heading>
 
@@ -2950,10 +3139,19 @@ Package: libc6
          <p>
            This is a description of how important it is to upgrade to
            this version from previous ones.  It consists of a single
-           keyword usually taking one of the values <tt>low</tt>,
-           <tt>medium</tt> or <tt>high</tt> (not case-sensitive)
-           followed by an optional commentary (separated by a space)
-           which is usually in parentheses.  For example:
+           keyword taking one of the values <tt>low</tt>,
+           <tt>medium</tt>, <tt>high</tt>, <tt>emergency</tt>, or
+           <tt>critical</tt><footnote>
+             Other urgency values are supported with configuration
+             changes in the archive software but are not used in Debian.
+             The urgency affects how quickly a package will be considered
+             for inclusion into the <tt>testing</tt> distribution and
+             gives an indication of the importance of any fixes included
+             in the upload.  <tt>Emergency</tt> and <tt>critical</tt> are
+             treated as synonymous.
+           </footnote> (not case-sensitive) followed by an optional
+           commentary (separated by a space) which is usually in
+           parentheses.  For example:
 
            <example>
   Urgency: low (HIGH for users of diversions)
@@ -3117,6 +3315,19 @@ Package: libc6
          </p>
        </sect1>
 
+       <sect1 id="f-Homepage">
+         <heading><tt>Homepage</tt></heading>
+
+         <p>
+           The URL of the web site for this package, preferably (when
+           applicable) the site from which the original source can be
+           obtained and any additional upstream documentation or
+           information may be found.  The content of this field is a
+           simple URL without any surrounding characters such as
+           <tt>&lt;&gt;</tt>.
+         </p>
+       </sect1>
+
       </sect>
 
       <sect>
@@ -3240,7 +3451,7 @@ Package: libc6
       </sect>
 
       <sect id="idempotency">
-       <heading>Maintainer scripts Idempotency</heading>
+       <heading>Maintainer scripts idempotency</heading>
 
        <p>
          It is necessary for the error recovery procedures that the
@@ -3328,8 +3539,8 @@ Package: libc6
                <var>deconfigured's-postinst</var>
                <tt>abort-deconfigure</tt> <tt>in-favour</tt>
                <var>failed-install-package</var> <var>version</var>
-               <tt>removing</tt> <var>conflicting-package</var>
-               <var>version</var>
+               [<tt>removing</tt> <var>conflicting-package</var>
+               <var>version</var>]
            </item>
          </list>
 
@@ -3354,9 +3565,9 @@ Package: libc6
            <item>
                <var>deconfigured's-prerm</var> <tt>deconfigure</tt>
                <tt>in-favour</tt> <var>package-being-installed</var>
-               <var>version</var> <tt>removing</tt>
+               <var>version</var> [<tt>removing</tt>
                <var>conflicting-package</var>
-               <var>version</var>
+               <var>version</var>]
            </item>
          </list>
 
@@ -3437,11 +3648,30 @@ Package: libc6
            </item>
 
            <item>
-               If a "conflicting" package is being removed at the same time:
+               If a "conflicting" package is being removed at the same time,
+               or if any package will be broken (due to <tt>Breaks</tt>):
                <enumlist>
                  <item>
-                     If any packages depended on that conflicting
-                     package and <tt>--auto-deconfigure</tt> is
+                     If <tt>--auto-deconfigure</tt> is
+                     specified, call, for each package to be deconfigured
+                     due to <tt>Breaks</tt>:
+                     <example compact="compact">
+<var>deconfigured's-prerm</var> deconfigure \
+  in-favour <var>package-being-installed</var> <var>version</var>
+                     </example>
+                     Error unwind:
+                     <example compact="compact">
+<var>deconfigured's-postinst</var> abort-deconfigure \
+  in-favour <var>package-being-installed-but-failed</var> <var>version</var>
+                     </example>
+                     The deconfigured packages are marked as
+                     requiring configuration, so that if
+                     <tt>--install</tt> is used they will be
+                     configured again if possible.
+                 </item>
+                 <item>
+                     If any packages depended on a conflicting
+                     package being removed and <tt>--auto-deconfigure</tt> is
                      specified, call, for each such package:
                      <example compact="compact">
 <var>deconfigured's-prerm</var> deconfigure \
@@ -3460,7 +3690,7 @@ Package: libc6
                      configured again if possible.
                  </item>
                  <item>
-                     To prepare for removal of the conflicting package, call:
+                     To prepare for removal of each conflicting package, call:
                      <example compact="compact">
 <var>conflictor's-prerm</var> remove \
   in-favour <var>package</var> <var>new-version</var>
@@ -3883,13 +4113,16 @@ Package: libc6
          Whitespace may appear at any point in the version
          specification subject to the rules in <ref
          id="controlsyntax">, and must appear where it's necessary to
-         disambiguate; it is not otherwise significant.  For
+         disambiguate; it is not otherwise significant.  All of the
+         relationship fields may span multiple lines.  For
          consistency and in case of future changes to
          <prgn>dpkg</prgn> it is recommended that a single space be
          used after a version relationship and before a version
          number; it is also conventional to put a single space after
          each comma, on either side of each vertical bar, and before
-         each open parenthesis.
+         each open parenthesis.  When wrapping a relationship field, it
+         is conventional to do so after a comma and before the space
+         following that comma.
        </p>
 
        <p>
@@ -3954,16 +4187,19 @@ Build-Depends: kernel-headers-2.2.10 [!hurd-i386],
 
         <p>
           This is done using the <tt>Depends</tt>, <tt>Pre-Depends</tt>,
-          <tt>Recommends</tt>, <tt>Suggests</tt>, <tt>Enhances</tt> and
-          <tt>Conflicts</tt> control file fields.
+          <tt>Recommends</tt>, <tt>Suggests</tt>, <tt>Enhances</tt>,
+          <tt>Breaks</tt> and <tt>Conflicts</tt> control file fields.
         </p>
 
        <p>
-         These six fields are used to declare a dependency
+         These seven fields are used to declare a dependency
          relationship by one package on another.  Except for
-         <tt>Enhances</tt>, they appear in the depending (binary)
-         package's control file.  (<tt>Enhances</tt> appears in the
-         recommending package's control file.)
+         <tt>Enhances</tt> and <tt>Breaks</tt>, they appear in the
+         depending (binary) package's control file.
+         (<tt>Enhances</tt> appears in the recommending package's
+         control file, and <tt>Breaks</tt> appears in the version of
+         depended-on package which causes the named package to
+         break).
        </p>
 
        <p>
@@ -3982,7 +4218,8 @@ Build-Depends: kernel-headers-2.2.10 [!hurd-i386],
          in detail below.  (The other three dependency fields,
          <tt>Recommends</tt>, <tt>Suggests</tt> and
          <tt>Enhances</tt>, are only used by the various front-ends
-         to <prgn>dpkg</prgn> such as <prgn>dselect</prgn>.)
+         to <prgn>dpkg</prgn> such as <prgn>apt-get</prgn>,
+         <prgn>aptitude</prgn>, and <prgn>dselect</prgn>.)
        </p>
 
        <p>
@@ -4000,7 +4237,7 @@ Build-Depends: kernel-headers-2.2.10 [!hurd-i386],
           (based on rules below), and some packages may not be able to
           rely on their dependencies being present when being
           installed or removed, depending on which side of the break
-          of the circular dependcy loop they happen to be on.  If one
+          of the circular dependency loop they happen to be on.  If one
           of the packages in the loop has no postinst script, then the
           cycle will be broken at that package, so as to ensure that
           all postinst scripts run with the dependencies properly
@@ -4136,6 +4373,53 @@ Build-Depends: kernel-headers-2.2.10 [!hurd-i386],
        </p>
       </sect>
 
+      <sect id="breaks">
+       <heading>Packages which break other packages - <tt>Breaks</tt></heading>
+
+       <p>
+         Using <tt>Breaks</tt> may cause problems for upgrades from older
+         versions of Debian and should not be used until the stable
+         release of Debian supports <tt>Breaks</tt>.
+       </p>
+
+       <p>
+         When one binary package declares that it breaks another,
+         <prgn>dpkg</prgn> will refuse to allow the package which
+         declares <tt>Breaks</tt> be installed unless the broken
+         package is deconfigured first, and it will refuse to
+         allow the broken package to be reconfigured.
+       </p>
+
+       <p>
+         A package will not be regarded as causing breakage merely
+         because its configuration files are still installed; it must
+         be at least half-installed.
+       </p>
+
+       <p>
+         A special exception is made for packages which declare that
+         they break their own package name or a virtual package which
+         they provide (see below): this does not count as a real
+         breakage.
+       </p>
+
+       <p>
+         Normally a <tt>Breaks</tt> entry will have an "earlier than"
+         version clause; such a <tt>Breaks</tt> is introduced in the
+         version of an (implicit or explicit) dependency which
+         violates an assumption or reveals a bug in earlier versions
+         of the broken package.  This use of <tt>Breaks</tt> will
+         inform higher-level package management tools that broken
+         package must be upgraded before the new one.
+       </p>
+
+       <p>
+         If the breaking package also overwrites some files from the
+         older package, it should use <tt>Replaces</tt> (not
+         <tt>Conflicts</tt>) to ensure this goes smoothly.
+       </p>
+      </sect>
+
       <sect id="conflicts">
        <heading>Conflicting binary packages - <tt>Conflicts</tt></heading>
 
@@ -4181,7 +4465,9 @@ Build-Depends: kernel-headers-2.2.10 [!hurd-i386],
          "earlier than" version clause.  This would prevent
          <prgn>dpkg</prgn> from upgrading or installing the package
          which declared such a conflict until the upgrade or removal
-         of the conflicted-with package had been completed.
+         of the conflicted-with package had been completed.  Instead,
+         <tt>Breaks</tt> may be used (once <tt>Breaks</tt> is supported
+         by the stable release of Debian).
        </p>
       </sect>
 
@@ -4192,7 +4478,7 @@ Build-Depends: kernel-headers-2.2.10 [!hurd-i386],
          As well as the names of actual ("concrete") packages, the
          package relationship fields <tt>Depends</tt>,
          <tt>Recommends</tt>, <tt>Suggests</tt>, <tt>Enhances</tt>,
-         <tt>Pre-Depends</tt>, <tt>Conflicts</tt>,
+         <tt>Pre-Depends</tt>, <tt>Breaks</tt>, <tt>Conflicts</tt>,
          <tt>Build-Depends</tt>, <tt>Build-Depends-Indep</tt>,
          <tt>Build-Conflicts</tt> and <tt>Build-Conflicts-Indep</tt>
          may mention "virtual packages".
@@ -4228,16 +4514,16 @@ Provides: bar
        </p>
 
        <p>
-         If a dependency or a conflict has a version number attached
+         If a relationship field has a version number attached
          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.
-         So, a <tt>Provides</tt> field may not contain version
-         numbers, and the version number of the concrete package
-         which provides a particular virtual package will not be
-         looked at when considering a dependency on or conflict with
-         the virtual package name.
+         for a conflict or breakage) - it is assumed that a real
+         package which provides the virtual package is not of the
+         "right" version.  So, a <tt>Provides</tt> field may not
+         contain version numbers, and the version number of the
+         concrete package which provides a particular virtual package
+         will not be looked at when considering a dependency on or
+         conflict with the virtual package name.
        </p>
 
        <p>
@@ -4956,6 +5242,19 @@ dpkg-shlibdeps debian/tmp/usr/bin/* debian/tmp/usr/sbin/* \
          utilities to specify a different <file>substvars</file> file.
        </p>
 
+       <p>
+         If you are creating a udeb for use in the Debian Installer, you
+         will need to specify that <prgn>dpkg-shlibdeps</prgn> should use
+         the dependency line of type <tt>udeb</tt> by adding
+         <tt>-tudeb</tt> as option<footnote>
+             <prgn>dh_shlibdeps</prgn> from the <tt>debhelper</tt> suite
+             will automatically add this option if it knows it is
+             processing a udeb.
+         </footnote>. If there is no dependency line of type <tt>udeb</tt>
+         in the <file>shlibs</file> file, <prgn>dpkg-shlibdeps</prgn> will
+         fall back to the regular dependency line.
+       </p>
+
        <p>
          For more details on dpkg-shlibdeps, please see
          <ref id="pkg-dpkg-shlibdeps"> and
@@ -4971,7 +5270,7 @@ dpkg-shlibdeps debian/tmp/usr/bin/* debian/tmp/usr/sbin/* \
          beginning with <tt>#</tt> are considered to be comments and
          are ignored.  Each line is of the form:
          <example compact="compact">
-<var>library-name</var> <var>soname-version-number</var> <var>dependencies ...</var>
+[<var>type</var>: ]<var>library-name</var> <var>soname-version</var> <var>dependencies ...</var>
          </example>
        </p>
 
@@ -4981,6 +5280,13 @@ dpkg-shlibdeps debian/tmp/usr/bin/* debian/tmp/usr/sbin/* \
          installs the shared library <file>/usr/lib/libz.so.1.1.3</file>.
        </p>
 
+       <p>
+         <var>type</var> is an optional element that indicates the type
+         of package for which the line is valid. The only type currently
+         in use is <tt>udeb</tt>. The colon and space after the type are
+         required.
+       </p>
+
        <p>
          <var>library-name</var> is the name of the shared library,
          in this case <tt>libz</tt>.  (This must match the name part
@@ -4988,10 +5294,10 @@ dpkg-shlibdeps debian/tmp/usr/bin/* debian/tmp/usr/sbin/* \
        </p>
 
        <p>
-         <var>soname-version-number</var> is the version part of the
-         soname of the library.  The soname is the thing that must
-         exactly match for the library to be recognized by the
-         dynamic linker, and is usually of the form
+         <var>soname-version</var> is the version part of the soname of
+         the library.  The soname is the thing that must exactly match
+         for the library to be recognized by the dynamic linker, and is
+         usually of the form
          <tt><var>name</var>.so.<var>major-version</var></tt>, in our
          example, <tt>libz.so.1</tt>.<footnote>
              This can be determined using the command
@@ -5023,6 +5329,14 @@ libz 1 zlib1g (>= 1:1.1.3)
          the dynamic linker about using older shared libraries with
          newer binaries.
        </p>
+
+       <p>
+         As zlib1g also provides a udeb containing the shared library,
+         there would also be a second line:
+         <example compact="compact">
+udeb: libz 1 zlib1g-udeb (>= 1:1.1.3)
+         </example>
+       </p>
       </sect1>
 
       <sect1>
@@ -5047,7 +5361,10 @@ install -m644 debian/shlibs.<var>package</var> debian/<var>package</var>/DEBIAN/
          <file>debian/rules</file> without using a <file>debian/shlibs</file>
          file at all,<footnote>
              This is what <prgn>dh_makeshlibs</prgn> in the
-             <tt>debhelper</tt> suite does.
+             <tt>debhelper</tt> suite does. If your package also has a udeb
+             that provides a shared library, <prgn>dh_makeshlibs</prgn> can
+             automatically generate the <tt>udeb:</tt> lines if you specify
+             the name of the udeb with the <tt>--add-udeb</tt> option.
          </footnote>
          since the <file>debian/shlibs</file> file itself is ignored by
          <prgn>dpkg-shlibdeps</prgn>.
@@ -6071,12 +6388,13 @@ Reloading <var>description</var> configuration...done.
          via cron, it should place a file with the name of the
          package in one or more of the following directories:
          <example compact="compact">
+/etc/cron.hourly
 /etc/cron.daily
 /etc/cron.weekly
 /etc/cron.monthly
          </example>
          As these directory names imply, the files within them are
-         executed on a daily, weekly, or monthly basis,
+         executed on an hourly, daily, weekly, or monthly basis,
          respectively. The exact times are listed in
          <file>/etc/crontab</file>.</p>
 
@@ -6084,13 +6402,12 @@ Reloading <var>description</var> configuration...done.
          All files installed in any of these directories must be
          scripts (e.g., shell scripts or Perl scripts) so that they
          can easily be modified by the local system administrator.
-         In addition, they should be treated as configuration
-         files.
+         In addition, they must be treated as configuration files.
        </p>
 
        <p>
-         If a certain job has to be executed more frequently than
-         daily, the package should install a file
+         If a certain job has to be executed at some other frequency or
+         at a specific time, the package should install a file
          <file>/etc/cron.d/<var>package</var></file>. This file uses the
          same syntax as <file>/etc/crontab</file> and is processed by
          <prgn>cron</prgn> automatically. The file must also be
@@ -6443,58 +6760,12 @@ INSTALL = install -s # (or use strip on the files in debian/tmp)
 
        <p>
          Although binaries in the build tree should be compiled with
-         debugging information by default, it can often be difficult
-         to debug programs if they are also subjected to compiler
-         optimization.  For this reason, it is recommended to support
-         the standardized environment
-         variable <tt>DEB_BUILD_OPTIONS</tt>.  This variable can
-         contain several flags to change how a package is compiled
-         and built.
-       </p>
-
-       <p>
-         <taglist>
-           <tag>noopt</tag>
-           <item>
-               The presence of this string means that the package
-               should be compiled with a minimum of optimization.
-               For C programs, it is best to add <tt>-O0</tt>
-               to <tt>CFLAGS</tt> (although this is usually the
-               default).  Some programs might fail to build or run at
-               this level of optimization; it may be necessary to
-               use <tt>-O1</tt>, for example.
-           </item>
-           <tag>nostrip</tag>
-           <item>
-               This string means that the debugging symbols should
-               not be stripped from the binary during installation,
-               so that debugging information may be included in the package.
-           </item>
-         </taglist>
-       </p>
-
-       <p>
-         The following makefile snippet is an example of how one may
-          implement the build options; you will probably have to
-          massage this example in order to make it work for your
-          package.
-         <example compact="compact">
-CFLAGS = -Wall -g
-INSTALL = install
-INSTALL_FILE    = $(INSTALL) -p    -o root -g root  -m  644
-INSTALL_PROGRAM = $(INSTALL) -p    -o root -g root  -m  755
-INSTALL_SCRIPT  = $(INSTALL) -p    -o root -g root  -m  755
-INSTALL_DIR     = $(INSTALL) -p -d -o root -g root  -m  755
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-CFLAGS += -O0
-else
-CFLAGS += -O2
-endif
-ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
-INSTALL_PROGRAM += -s
-endif
-         </example>
+         debugging information by default, it can often be difficult to
+         debug programs if they are also subjected to compiler
+         optimization.  For this reason, it is recommended to support the
+         standardized environment variable <tt>DEB_BUILD_OPTIONS</tt>
+         (see <ref id="debianrules-options">).  This variable can contain
+         several flags to change how a package is compiled and built.
        </p>
 
        <p>
@@ -6935,10 +7206,13 @@ ln -fs ../sbin/sendmail debian/tmp/usr/bin/runq
          </p>
 
          <p>
-           Note that a script that embeds configuration information
-           (such as most of the files in <file>/etc/default</file> and
-           <file>/etc/cron.{daily,weekly,monthly}</file>) is de-facto a
-           configuration file and should be treated as such.
+           As noted elsewhere, <file>/etc/init.d</file> scripts,
+           <file>/etc/default</file> files, scripts installed in
+           <file>/etc/cron.{hourly,daily,weekly,monthly}</file>, and cron
+           configuration installed in <file>/etc/cron.d</file> must be
+           treated as configuration files.  In general, any script that
+           embeds configuration information is de-facto a configuration
+           file and should be treated as such.
          </p>
        </sect1>
 
@@ -7380,16 +7654,6 @@ endscript
            description of the use of <prgn>dpkg-statoverride</prgn>.
          </p>
 
-         <p>
-           <prgn>dpkg-statoverride</prgn> is a replacement for the
-           deprecated <tt>suidmanager</tt> package.  Packages which
-           previously used <tt>suidmanager</tt> should have a
-           <tt>Conflicts: suidmanager (<< 0.50)</tt> entry (or even
-           <tt>(<< 0.52)</tt>), and calls to <tt>suidregister</tt>
-           and <tt>suidunregister</tt> should now be simply removed
-           from the maintainer scripts.
-         </p>
-
          <p>
            If a system administrator wishes to have a file (or
            directory or other such thing) installed with owner and
@@ -8482,6 +8746,40 @@ name ["<var>syshostname</var>"]:
              be present in the future.
          </footnote>
        </p>
+
+       <p>
+         Manual pages in locale-specific subdirectories of
+         <file>/usr/share/man</file> should use either UTF-8 or the usual
+         legacy encoding for that language (normally the one corresponding
+         to the shortest relevant locale name in
+         <file>/usr/share/i18n/SUPPORTED</file>). For example, pages under
+         <file>/usr/share/man/fr</file> should use either UTF-8 or
+         ISO-8859-1.<footnote>
+           <prgn>man</prgn> will automatically detect whether UTF-8 is in
+           use. In future, all manual pages will be required to use
+           UTF-8.
+         </footnote>
+       </p>
+
+       <p>
+         A country name (the <tt>DE</tt> in <tt>de_DE</tt>) should not be
+         included in the subdirectory name unless it indicates a
+         significant difference in the language, as this excludes
+         speakers of the language in other countries.<footnote>
+           At the time of writing, Chinese and Portuguese are the main
+           languages with such differences, so <file>pt_BR</file>,
+           <file>zh_CN</file>, and <file>zh_TW</file> are all allowed.
+         </footnote>
+       </p>
+
+       <p>
+         Due to limitations in current implementations, all characters
+         in the manual page source should be representable in the usual
+         legacy encoding for that language, even if the file is
+         actually encoded in UTF-8. Safe alternative ways to write many
+         characters outside that range may be found in
+         <manref name="groff_char" section="7">.
+       </p>
       </sect>
 
       <sect>
@@ -8638,7 +8936,14 @@ install-info --quiet --remove /usr/share/info/foobar.info
          In addition, the copyright file must say where the upstream
          sources (if any) were obtained.  It should name the original
          authors of the package and the Debian maintainer(s) who were
-         involved with its creation.</p>
+         involved with its creation.
+       </p>
+
+       <p>
+         Packages in the <em>contrib</em> or <em>non-free</em> categories
+         should state in the copyright file that the package is not part
+         of the Debian GNU/Linux distribution and briefly explain why.
+       </p>
 
        <p>
          A copy of the file which will be installed in
@@ -8656,22 +8961,23 @@ install-info --quiet --remove /usr/share/info/foobar.info
        </p>
 
        <p>
-         Packages distributed under the UCB BSD license, the Artistic
-         license, the GNU GPL, and the GNU LGPL, should refer to the
-         corresponding files under
-         <file>/usr/share/common-licenses</file>,<footnote>
-            <p>
-              For example,
-              <file>/usr/share/common-licenses/Artistic</file>,
+         Packages distributed under the UCB BSD license, the Apache
+         license (version 2.0), the Artistic license, the GNU GPL
+         (version 2 or 3), the GNU LGPL (versions 2, 2.1, or 3), and
+         the GNU FDL (version 1.2) should refer to the corresponding
+         files under <file>/usr/share/common-licenses</file>,<footnote>
+           <p>
+             In particular,
               <file>/usr/share/common-licenses/BSD</file>,
-              <file>/usr/share/common-licenses/GPL</file>,
-              <file>/usr/share/common-licenses/LGPL</file>,
-              <file>/usr/share/common-licenses/GFDL</file>,
-              <file>/usr/share/common-licenses/GPL-2</file>, and
-              <file>/usr/share/common-licenses/LGPL-2.1</file>, and so
-              on. Note that the GFDL is new here, and the license file
-              may not yet be in place in
-              <file>/usr/share/common-licenses/GFDL</file>. 
+              <file>/usr/share/common-licenses/Apache-2.0</file>,
+              <file>/usr/share/common-licenses/Artistic</file>,
+              <file>/usr/share/common-licenses/GPL-2</file>,
+              <file>/usr/share/common-licenses/GPL-3</file>,
+              <file>/usr/share/common-licenses/LGPL-2</file>,
+              <file>/usr/share/common-licenses/LGPL-2.1</file>,
+              <file>/usr/share/common-licenses/LGPL-3</file>, and
+              <file>/usr/share/common-licenses/GFDL-1.2</file>
+              respectively.
             </p>
           </footnote> rather than quoting them in the copyright
          file. 
@@ -10286,4 +10592,7 @@ install-info --quiet --remove /usr/share/info/foobar.info
 
   </book>
 </debiandoc>
+<!-- Local variables: -->
+<!-- indent-tabs-mode: t -->
+<!-- End: -->
 <!-- vim:set ai et sts=2 sw=2 tw=76: -->
index f3bf0af135ee466b01dcef9983b78a2dabdf903d..2358c2f4aef577c42daf88ffed8bb510a09f37c4 100644 (file)
@@ -53,7 +53,55 @@ picking your way through this list.
 <h2>The checklist</h2>
 
 <pre>
-3.7.3.0                        unreleased
+3.7.4.0                        unreleased
+
+     * The base section has been removed.  contrib and non-free have been
+       removed from the section list; they are only categories.  The base
+       system is now defined by priority.                        [2.4, 3.7]
+     * If dpkg-source -x doesn't provide the source that will be compiled,
+       a debian/rules patch target is recommended and should do whatever
+       else is necessary.                                        [4.9]
+     * Standardized the format of DEB_BUILD_OPTIONS.  Specified permitted
+       characters for tags, required that tags be whitespace-separated,
+       allowed packages to assume non-conflicting tags, and required
+       unknown flags be ignored.                                 [4.9.1, 10.1]
+     * Added parallel=n to the standardized DEB_BUILD_OPTIONS tags,
+       indicating that a package should be built using up to n parallel
+       processes if the package supports it                      [4.9.1]
+     * Debian packages should not use convience copies of code from other
+       packages unless the included package is explicitly intended to be
+       used that way.                                            [4.13]
+     * If dpkg-source -x doesn't produce source ready for editing and
+       building with dpkg-buildpackage, packages should include a
+       debian/README.source file explaining how to generate the patched
+       source, add a new modification, and remove an existing
+       modification.  This file may also be used to document packaging a
+       new upstream release and any other complexity of the Debian build
+       process.                                                  [4.14]
+     * The Uploaders field in debian/control may be wrapped.     [5.6.3]
+     * New Homepage field for upstream web sites.                [5.6.23]
+     * The Breaks field declares that this package breaks another and
+       prevents installation of the breaking package unless the package
+       named in Breaks is deconfigured first.  This field should not be
+       used until the dpkg in Debian stable supports it.         [6.5, 6.6, 7]
+     * Files in /etc/cron.{hourly,daily,weekly,monthly} must be
+       configuration files (upgraded from should).  Mention the hourly
+       directory.                                                [9.5]
+     * Manual pages in locale-specific directories should use either the
+       legacy encoding for that directory or UTF-8.  Country names should
+       not be included in locale-specific manual page directories unless
+       indicating a significant difference in the language.  All
+       characters in the manual page source should be representable in the
+       legacy encoding for a locale even if the man page is encoded in
+       UTF-8.                                                    [12.1]
+     * The Apache 2.0 license is now in common-licenses and should be
+       referenced rather than quoted in debian/copyright.        [12.5]
+     * Packages in contrib and non-free should state in the copyright file
+       that the package is not part of Debian GNU/Linux and briefly
+       explain why.                                              [12.5]
+
+3.7.3.0                        Dec 2007
+
      * Package version numbers may contain tildes, which sort before
        anything, even the end of a part.                         [5.6.12]
      * Scripts may assume that /bin/sh supports local (at a basic level)
@@ -66,13 +114,31 @@ picking your way through this list.
        menu structure.  Packages with menu entries should be reviewed to
        see if the menu section has been renamed or if one of the new
        sections would be more appropriate.                       [menu policy]
+     * The Source field in a .changes file may contain a version number
+       in parentheses.                                           [5.6.1]
+     * The acceptable values for the Urgency field are low, medium, high,
+       critical, or emergency.                                   [5.6.17]
+     * The shlibs file now allows an optional type field, indicating the
+       type of package for which the line is valid.  The only currently
+       supported type is udeb, used with packages for the Debian
+       Installer.                                                [8.6]
+     * Packages following the Debian Configuration management
+       specification must allow for translation of their messages by using
+       a gettext-based system such as po-debconf.                [3.9.1]
+     * GFDL 1.2, GPL 3, and LGPL 3 are now in common-licenses and should
+       be referenced rather than quoted in debian/copyright.     [12.5]
+
 3.7.2.2                        Oct 2006
+
      * Maintainer scripts must not be world writeable (up from a
        should to a must)                                         [6.1]
+
 3.7.2.0                        Apr 2006
+
      * Revert the cgi-lib change.                                [11.5]
 
 3.7.1.0                        Apr 2006
+
      * It is now possible to create shared libraries without
        relocatable code (using -fPIC) in certain exceptional cases,
        provided some procedures are followed, and for creating static
@@ -85,6 +151,7 @@ picking your way through this list.
        must  pre-depend on x11-common (>= 1:7.0.0)              [11.8.7] 
 
 3.7.0.0                        Apr 2006
+
      * Packages shipping web server CGI files are expected to install
        them in /usr/lib/cgi-lib/ directories.  This location change
        perhaps should be documented in NEWS                      [11.5]
@@ -112,8 +179,8 @@ picking your way through this list.
        /usr/share/fonts/X11/ now, and /usr/X11R6 is gone.
                                                       [ 11.8.5.2, 11.8.7, etc]
 
-
 3.6.2.0                        2005
+
      * Recommend doc-base, and not menu, for registering package documentation.
      * Run time support programs should live in subdirectories of
        /usr/lib/ or /usr/share, and preferably the shared lib is named
@@ -122,6 +189,7 @@ picking your way through this list.
        allow packages to share image files with the web server [11.5]
 
 3.6.1.0                    Aug 2003
+
      + Prompting the user should be done using debconf. Non debconf
        user prompts are now deprecated. [3.10.1]
 
@@ -164,7 +232,6 @@ picking your way through this list.
      - Window managers compliant with the Window Manager Specification
        Project may add 40 points for ranking in the alternatives [11.8.4]
 
-
 3.5.9.0                    Mar 2003
 
      - The section describing the Description: package field once again has
@@ -178,7 +245,6 @@ picking your way through this list.
        example files can be installed into <tt>/usr/share/doc/package</tt>
        (rather than <tt>/usr/share/doc/package/examples</tt>). [12.6]
 
-
 3.5.8.0                    Nov 2002
 
      - It is no longer necessary to keep a log of changes to the upstream
@@ -234,7 +300,6 @@ picking your way through this list.
      - There are new rules for build-indep/build-arch targets and
        there is a new Build-Depend-Indep semantic. [7]
 
-
 3.5.5.0                    May 2001
 
      - Manpages should not rely on header information to have
@@ -261,7 +326,6 @@ picking your way through this list.
        * OpenMotif linked binaries have the same rules as
          OSF/Motif-linked ones [11.8.8]
 
-
 3.5.4.0                    Apr 2001
 
      - The system-wide mail directory is now /var/mail, no longer
@@ -272,7 +336,6 @@ picking your way through this list.
        programs and modules should follow the current Perl policy
        [11.9; perl-policy]
 
-
 3.5.3.0                    Apr 2001
 
      - Build-Depends arch syntax has been changed to be less
@@ -282,25 +345,21 @@ picking your way through this list.
        symbolic links from /usr/share/doc/&lt;package&gt;/examples as
        needed [10.7.3]
 
-
 3.5.2.0                    Feb 2001
 
      - X app-defaults directory has moved from
        /usr/X11R6/lib/X11/app-defaults to /etc/X11/app-defaults [11.8.6]
 
-
 3.5.1.0                    Feb 2001
 
      - dpkg-shlibdeps now uses objdump, so shared libraries have to be
        run through dpkg-shlibdeps as well as executables [8.1]
 
-
 3.5.0.0                    Jan 2001
 
      - Font packages for the X Window System must now declare a
        dependency on xutils (>= 4.0.2) [11.8.5]
 
-
 3.2.1.1                    Jan 2001
 
      - Daemon startup scripts in /etc/init.d/ should not contain
@@ -313,14 +372,12 @@ picking your way through this list.
      - Much of the packaging manual has now been imported into the
        policy document
 
-
 3.2.1.0                    Aug 00
 
      - A package of priority standard or higher may provide two
        binaries, one compiled with support for the X Window System,
        and the other without [11.8.1]
 
-
 3.2.0.0                    Aug 00
 
      - By default executables should not be built with the debugging
@@ -347,13 +404,11 @@ picking your way through this list.
        always creating the shared lib before the symlink, so the unpack
        order be correct [8]
 
-
 3.1.1.0                    Nov 1999
 
      - Correction to semantics of architecture lists in Build-Depends
        etc.  Should not affect many packages [7.1]
 
-
 3.1.0.0                    Oct 1999
 
      - /usr/doc/&lt;package&gt; has to be a symlink pointing to
@@ -384,14 +439,12 @@ picking your way through this list.
      - Description of how to handle version numbers based on dates
        added [3.2.1]
 
-
 3.0.1.0                    Jul 1999
 
     -  Added the clarification that the .la files are essential for the
        packages using libtool's libltdl library, in which case the
        .la files must go in the run-time library package [10.2]
 
-
 3.0.0.0                    Jun 1999
 
     - Debian formally moves from the FSSTND to the FHS. This is a
index dd7d5411051f231d447f8c2fbdb23ac8ee84954f..0ec4d1dd952832b53d278e1a961c091a6cf544f2 100644 (file)
@@ -1,7 +1,7 @@
 
               AUTHORITATIVE LIST OF VIRTUAL PACKAGE NAMES
 
-                               July 2007
+                              December 2007
 
 
 Below is an authoritative list of virtual package names currently
@@ -139,6 +139,11 @@ X Window System
  xserver                 an X server that (directly or indirectly) manages
                          physical input and display hardware
 
+Fonts
+-----
+ ttf-japanese-gothic     Gothic-style Japanese font
+ ttf-japanese-mincho     Mincho-style Japanese font
+
 Graphics and MultiMedia
 -----------------------
  audio-mixer             a utility to control the input and output levels
@@ -297,3 +302,5 @@ Manoj Srivastava:
 Russ Allbery:
    8 Jul 2007 Added dictd-dictionary
               Rename inetd-superserver to inet-superserver
+   2 Dec 2007 Added ttf-japanese-gothic
+              Added ttf-japanese-mincho