Parcourir la source

merged from David

Michael Vogt il y a 14 ans
Parent
commit
4c86a6348d

+ 15 - 4
apt-pkg/contrib/fileutl.cc

@@ -1024,7 +1024,20 @@ bool FileFd::OpenDescriptor(int Fd, unsigned int const Mode, APT::Configuration:
 {
 {
    Close();
    Close();
    Flags = (AutoClose) ? FileFd::AutoClose : 0;
    Flags = (AutoClose) ? FileFd::AutoClose : 0;
-   iFd = Fd;
+   if (AutoClose == false && (
+#ifdef HAVE_ZLIB
+	compressor.Name == "gzip" ||
+#endif
+#ifdef HAVE_BZ2
+	compressor.Name == "bzip2" ||
+#endif
+	false))
+   {
+      // Need to duplicate fd here or gzclose for cleanup will close the fd as well
+      iFd = dup(Fd);
+   }
+   else
+      iFd = Fd;
    this->FileName = "";
    this->FileName = "";
    if (OpenInternDescriptor(Mode, compressor) == false)
    if (OpenInternDescriptor(Mode, compressor) == false)
    {
    {
@@ -1183,8 +1196,6 @@ bool FileFd::OpenInternDescriptor(unsigned int const Mode, APT::Configuration::C
       close(Pipe[0]);
       close(Pipe[0]);
    else
    else
       close(Pipe[1]);
       close(Pipe[1]);
-   if ((Comp == true || FileName.empty() == true) && d->compressed_fd != -1)
-      close(d->compressed_fd);
 
 
    return true;
    return true;
 }
 }
@@ -1712,7 +1723,7 @@ bool FileFd::Close()
       }
       }
    }
    }
 
 
-   if ((Flags & Replace) == Replace && iFd >= 0) {
+   if ((Flags & Replace) == Replace) {
       if (rename(TemporaryFileName.c_str(), FileName.c_str()) != 0)
       if (rename(TemporaryFileName.c_str(), FileName.c_str()) != 0)
 	 Res &= _error->Errno("rename",_("Problem renaming the file %s to %s"), TemporaryFileName.c_str(), FileName.c_str());
 	 Res &= _error->Errno("rename",_("Problem renaming the file %s to %s"), TemporaryFileName.c_str(), FileName.c_str());
 
 

+ 18 - 0
debian/changelog

@@ -1,3 +1,21 @@
+apt (0.9.6) UNRELEASED; urgency=low
+
+  [ David Kalnischkies ]
+  * apt-pkg/contrib/fileutl.cc:
+    - dup() given compressed fd in OpenDescriptor if AutoClose
+      is disabled as otherwise gzclose() and co will close it
+  * doc/*.xml:
+    - mark even more stuff as untranslateable and improve the
+      markup here and there (no real text change)
+    - use docbook DTD 4.5 instead of 4.2 to have valid docs
+
+  [ Justin B Rye ]
+  * doc/*.xml:
+    - remove 'GNU/Linux' from 'Debian systems' strings as Debian
+      has more systems than just GNU/Linux nowadays
+
+ -- David Kalnischkies <kalnischkies@gmail.com>  Tue, 22 May 2012 18:13:19 +0200
+
 apt (0.9.5) unstable; urgency=low
 apt (0.9.5) unstable; urgency=low
 
 
   [ Chris Leick ]
   [ Chris Leick ]

+ 6 - 8
doc/apt-cache.8.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8" standalone="no"?>
 <?xml version="1.0" encoding="utf-8" standalone="no"?>
-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
-  "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
 
 
 <!ENTITY % aptent SYSTEM "apt.ent">
 <!ENTITY % aptent SYSTEM "apt.ent">
 %aptent;
 %aptent;
@@ -100,20 +100,20 @@ Reverse Provides:
        <listitem><para><literal>Pure virtual packages</literal> is the number of packages that exist 
        <listitem><para><literal>Pure virtual packages</literal> is the number of packages that exist 
        only as a virtual package name; that is, packages only "provide" the 
        only as a virtual package name; that is, packages only "provide" the 
        virtual package name, and no package actually uses the name. For 
        virtual package name, and no package actually uses the name. For 
-       instance, "mail-transport-agent" in the Debian GNU/Linux system is a 
+       instance, "mail-transport-agent" in the Debian system is a 
        pure virtual package; several packages provide "mail-transport-agent", 
        pure virtual package; several packages provide "mail-transport-agent", 
        but there is no package named "mail-transport-agent".</para>
        but there is no package named "mail-transport-agent".</para>
        </listitem>
        </listitem>
    
    
        <listitem><para><literal>Single virtual packages</literal> is the number of packages with only 
        <listitem><para><literal>Single virtual packages</literal> is the number of packages with only 
        one package providing a particular virtual package. For example, in the
        one package providing a particular virtual package. For example, in the
-       Debian GNU/Linux system, "X11-text-viewer" is a virtual package, but 
+       Debian system, "X11-text-viewer" is a virtual package, but 
        only one package, xless, provides "X11-text-viewer".</para>
        only one package, xless, provides "X11-text-viewer".</para>
        </listitem>
        </listitem>
 
 
        <listitem><para><literal>Mixed virtual packages</literal> is the number of packages that either 
        <listitem><para><literal>Mixed virtual packages</literal> is the number of packages that either 
        provide a particular virtual package or have the virtual package name 
        provide a particular virtual package or have the virtual package name 
-       as the package name. For instance, in the Debian GNU/Linux system, 
+       as the package name. For instance, in the Debian system, 
        "debconf" is both an actual package, and provided by the debconf-tiny
        "debconf" is both an actual package, and provided by the debconf-tiny
        package.</para>
        package.</para>
        </listitem>
        </listitem>
@@ -168,9 +168,7 @@ Reverse Provides:
 
 
      <varlistentry><term><option>search</option> <option><replaceable>&synopsis-regex;</replaceable>…</option></term>
      <varlistentry><term><option>search</option> <option><replaceable>&synopsis-regex;</replaceable>…</option></term>
      <listitem><para><literal>search</literal> performs a full text search on all available package
      <listitem><para><literal>search</literal> performs a full text search on all available package
-     lists for the POSIX regex pattern given, see 
-     <citerefentry><refentrytitle><command>regex</command></refentrytitle>
-     <manvolnum>7</manvolnum></citerefentry>.
+     lists for the POSIX regex pattern given, see &regex;.
      It searches the package names and the
      It searches the package names and the
      descriptions for an occurrence of the regular expression and prints out
      descriptions for an occurrence of the regular expression and prints out
      the package name and the short description, including virtual package
      the package name and the short description, including virtual package

+ 4 - 5
doc/apt-cdrom.8.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8" standalone="no"?>
 <?xml version="1.0" encoding="utf-8" standalone="no"?>
-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
-  "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
 
 
 <!ENTITY % aptent SYSTEM "apt.ent">
 <!ENTITY % aptent SYSTEM "apt.ent">
 %aptent;
 %aptent;
@@ -49,8 +49,8 @@
    </para>
    </para>
 
 
    <para>Unless the <option>-h</option>, or <option>--help</option> option is
    <para>Unless the <option>-h</option>, or <option>--help</option> option is
-    given one of the commands below must be present.
-   
+   given, one of the commands below must be present.</para>
+
     <variablelist>
     <variablelist>
      <varlistentry><term><option>add</option></term>
      <varlistentry><term><option>add</option></term>
      <listitem><para><literal>add</literal> is used to add a new disc to the
      <listitem><para><literal>add</literal> is used to add a new disc to the
@@ -75,7 +75,6 @@
      </listitem>
      </listitem>
      </varlistentry>
      </varlistentry>
     </variablelist>
     </variablelist>
-   </para>
  </refsect1>
  </refsect1>
 
 
  <refsect1><title>Options</title>
  <refsect1><title>Options</title>

+ 3 - 3
doc/apt-config.8.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8" standalone="no"?>
 <?xml version="1.0" encoding="utf-8" standalone="no"?>
-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
-  "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
 
 
 <!ENTITY % aptent SYSTEM "apt.ent">
 <!ENTITY % aptent SYSTEM "apt.ent">
 %aptent;
 %aptent;
@@ -42,7 +42,7 @@
    manner that is easy to use by scripted applications.</para>
    manner that is easy to use by scripted applications.</para>
 
 
    <para>Unless the <option>-h</option>, or <option>--help</option> option is
    <para>Unless the <option>-h</option>, or <option>--help</option> option is
-   given one of the commands below must be present.
+   given, one of the commands below must be present.
    </para>
    </para>
    
    
    <variablelist>
    <variablelist>

+ 2 - 2
doc/apt-extracttemplates.1.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8" standalone="no"?>
 <?xml version="1.0" encoding="utf-8" standalone="no"?>
-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
-  "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
 
 
 <!ENTITY % aptent SYSTEM "apt.ent">
 <!ENTITY % aptent SYSTEM "apt.ent">
 %aptent;
 %aptent;

+ 9 - 9
doc/apt-ftparchive.1.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8" standalone="no"?>
 <?xml version="1.0" encoding="utf-8" standalone="no"?>
-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
-  "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
 
 
 <!ENTITY % aptent SYSTEM "apt.ent">
 <!ENTITY % aptent SYSTEM "apt.ent">
 %aptent;
 %aptent;
@@ -51,8 +51,8 @@
    programs aside from &gzip;. When doing a full generate it automatically 
    programs aside from &gzip;. When doing a full generate it automatically 
    performs file-change checks and builds the desired compressed output files.</para>
    performs file-change checks and builds the desired compressed output files.</para>
    
    
-   <para>Unless the <option>-h</option>, or <option>--help</option> option is given one of the
-   commands below must be present.</para>
+   <para>Unless the <option>-h</option>, or <option>--help</option> option is given,
+   one of the commands below must be present.</para>
    
    
    <variablelist>
    <variablelist>
      <varlistentry><term><option>packages</option></term>
      <varlistentry><term><option>packages</option></term>
@@ -141,7 +141,7 @@
    <para>
    <para>
    The generate configuration has 4 separate sections, each described below.</para>
    The generate configuration has 4 separate sections, each described below.</para>
 
 
-   <refsect2><title>Dir Section</title>
+     <refsect2><title><literal>Dir</literal> Section</title>
      <para>
      <para>
      The <literal>Dir</literal> section defines the standard directories needed to 
      The <literal>Dir</literal> section defines the standard directories needed to 
      locate the files required during the generation process. These 
      locate the files required during the generation process. These 
@@ -173,7 +173,7 @@
      </variablelist>
      </variablelist>
    </refsect2>
    </refsect2>
    
    
-   <refsect2><title>Default Section</title>
+   <refsect2><title><literal>Default</literal> Section</title>
      <para>
      <para>
      The <literal>Default</literal> section specifies default values, and settings 
      The <literal>Default</literal> section specifies default values, and settings 
      that control the operation of the generator. Other sections may override 
      that control the operation of the generator. Other sections may override 
@@ -239,7 +239,7 @@
      </variablelist>
      </variablelist>
    </refsect2>
    </refsect2>
    
    
-   <refsect2><title>TreeDefault Section</title>
+   <refsect2><title><literal>TreeDefault</literal> Section</title>
      <para>
      <para>
      Sets defaults specific to <literal>Tree</literal> sections. All of these
      Sets defaults specific to <literal>Tree</literal> sections. All of these
      variables are substitution variables and have the strings $(DIST), 
      variables are substitution variables and have the strings $(DIST), 
@@ -339,7 +339,7 @@
      </variablelist>     
      </variablelist>     
    </refsect2>
    </refsect2>
    
    
-   <refsect2><title>Tree Section</title>
+   <refsect2><title><literal>Tree</literal> Section</title>
      <para>
      <para>
      The <literal>Tree</literal> section defines a standard Debian file tree which 
      The <literal>Tree</literal> section defines a standard Debian file tree which 
      consists of a base directory, then multiple sections in that base 
      consists of a base directory, then multiple sections in that base 
@@ -407,7 +407,7 @@ for i in Sections do
      </variablelist>
      </variablelist>
    </refsect2>
    </refsect2>
    
    
-   <refsect2><title>BinDirectory Section</title>
+   <refsect2><title><literal>BinDirectory</literal> Section</title>
      <para>
      <para>
      The <literal>bindirectory</literal> section defines a binary directory tree 
      The <literal>bindirectory</literal> section defines a binary directory tree 
      with no special structure. The scope tag specifies the location of 
      with no special structure. The scope tag specifies the location of 

+ 3 - 3
doc/apt-get.8.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8" standalone="no"?>
 <?xml version="1.0" encoding="utf-8" standalone="no"?>
-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
-  "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
 
 
 <!ENTITY % aptent SYSTEM "apt.ent">
 <!ENTITY % aptent SYSTEM "apt.ent">
 %aptent;
 %aptent;
@@ -98,7 +98,7 @@
 	 <para><literal>install</literal> is followed by one or more 
 	 <para><literal>install</literal> is followed by one or more 
 	 packages desired for installation or upgrading. 
 	 packages desired for installation or upgrading. 
 	 Each package is a package name, not a fully qualified 
 	 Each package is a package name, not a fully qualified 
-	 filename (for instance, in a Debian GNU/Linux system, 
+	 filename (for instance, in a Debian system, 
 	 libc6 would be the argument provided, not 
 	 libc6 would be the argument provided, not 
 	 <literal>libc6_1.9.6-2.deb</literal>). All packages required 
 	 <literal>libc6_1.9.6-2.deb</literal>). All packages required 
 	 by the package(s) specified for installation will also 
 	 by the package(s) specified for installation will also 

+ 2 - 2
doc/apt-key.8.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8" standalone="no"?>
 <?xml version="1.0" encoding="utf-8" standalone="no"?>
-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
-  "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
 
 
 <!ENTITY % aptent SYSTEM "apt.ent">
 <!ENTITY % aptent SYSTEM "apt.ent">
 %aptent;
 %aptent;

+ 6 - 7
doc/apt-mark.8.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8" standalone="no"?>
 <?xml version="1.0" encoding="utf-8" standalone="no"?>
-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
-  "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
 
 
 <!ENTITY % aptent SYSTEM "apt.ent">
 <!ENTITY % aptent SYSTEM "apt.ent">
 %aptent;
 %aptent;
@@ -109,12 +109,11 @@
    
    
    <variablelist>
    <variablelist>
 	<varlistentry>
 	<varlistentry>
-		<term><option>-f=<filename><replaceable>&synopsis-filename;</replaceable></filename></option></term>
-		<term><option>--file=<filename><replaceable>&synopsis-filename;</replaceable></filename></option></term>
+	   <term><option>-f=&synopsis-param-filename;</option></term>
+	   <term><option>--file=&synopsis-param-filename;</option></term>
      <listitem><para>
      <listitem><para>
      Read/Write package stats from the filename given with the parameter
      Read/Write package stats from the filename given with the parameter
-     <filename><replaceable>&synopsis-filename;</replaceable></filename>
-     instead of from the default location, which
+     &synopsis-param-filename; instead of from the default location, which
      is <filename>extended_status</filename> in the directory defined
      is <filename>extended_status</filename> in the directory defined
      by the Configuration Item: <literal>Dir::State</literal>.</para></listitem>
      by the Configuration Item: <literal>Dir::State</literal>.</para></listitem>
      </varlistentry>
      </varlistentry>
@@ -130,7 +129,7 @@
  </refsect1>
  </refsect1>
 
 
  <refsect1><title>See Also</title>
  <refsect1><title>See Also</title>
-   <para>&apt-get;,&aptitude;,&apt-conf;</para>
+    <para><phrase>&apt-get;,&aptitude;,&apt-conf;</phrase></para>
  </refsect1>
  </refsect1>
 
 
  <refsect1><title>Diagnostics</title>
  <refsect1><title>Diagnostics</title>

+ 2 - 2
doc/apt-secure.8.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8" standalone="no"?>
 <?xml version="1.0" encoding="utf-8" standalone="no"?>
-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
-  "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
 
 
 <!ENTITY % aptent SYSTEM "apt.ent">
 <!ENTITY % aptent SYSTEM "apt.ent">
 %aptent;
 %aptent;

+ 2 - 2
doc/apt-sortpkgs.1.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8" standalone="no"?>
 <?xml version="1.0" encoding="utf-8" standalone="no"?>
-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
-  "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
 
 
 <!ENTITY % aptent SYSTEM "apt.ent">
 <!ENTITY % aptent SYSTEM "apt.ent">
 %aptent;
 %aptent;

+ 12 - 0
doc/apt-verbatim.ent

@@ -154,6 +154,18 @@
   </citerefentry>"
   </citerefentry>"
 >
 >
 
 
+<!ENTITY apt-transport-debtorrent "<citerefentry>
+    <refentrytitle><package>apt-transport-debtorrent</package></refentrytitle>
+    <manvolnum>1</manvolnum>
+  </citerefentry>"
+>
+
+<!ENTITY regex "<citerefentry>
+     <refentrytitle><abbrev>regex</abbrev></refentrytitle>
+     <manvolnum>7</manvolnum>
+  </citerefentry>"
+>
+
 <!-- Boiler plate docinfo section -->
 <!-- Boiler plate docinfo section -->
 <!ENTITY apt-email "
 <!ENTITY apt-email "
    <address>
    <address>

+ 1 - 1
doc/apt.8

@@ -14,7 +14,7 @@
 .\" License along with APT; if not, write to the Free Software
 .\" License along with APT; if not, write to the Free Software
 .\" Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 
 .\" Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 
 .\" 02111-1307 USA
 .\" 02111-1307 USA
-.TH apt 8 "16 June 1998" "Debian GNU/Linux"
+.TH apt 8 "16 June 1998" "Debian"
 .SH NAME
 .SH NAME
 apt \- Advanced Package Tool
 apt \- Advanced Package Tool
 .SH SYNOPSIS
 .SH SYNOPSIS

+ 2 - 2
doc/apt.conf.5.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8" standalone="no"?>
 <?xml version="1.0" encoding="utf-8" standalone="no"?>
-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
-  "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
 
 
 <!ENTITY % aptent SYSTEM "apt.ent">
 <!ENTITY % aptent SYSTEM "apt.ent">
 %aptent;
 %aptent;

+ 2 - 2
doc/apt.ent

@@ -103,7 +103,7 @@
 
 
      <varlistentry><term><filename>&cachedir;/archives/partial/</filename></term>
      <varlistentry><term><filename>&cachedir;/archives/partial/</filename></term>
      <listitem><para>Storage area for package files in transit.
      <listitem><para>Storage area for package files in transit.
-     Configuration Item: <literal>Dir::Cache::Archives</literal> (<filename>partial</filename> will be implicitly appended). </para></listitem>
+     Configuration Item: <literal>Dir::Cache::Archives</literal> (<filename>partial</filename> will be implicitly appended)</para></listitem>
      </varlistentry>
      </varlistentry>
 ">
 ">
 
 
@@ -144,7 +144,7 @@
 
 
      <varlistentry><term><filename>&statedir;/lists/partial/</filename></term>
      <varlistentry><term><filename>&statedir;/lists/partial/</filename></term>
      <listitem><para>Storage area for state information in transit.
      <listitem><para>Storage area for state information in transit.
-     Configuration Item: <literal>Dir::State::Lists</literal> (<filename>partial</filename> will be implicitly appended).</para></listitem>
+     Configuration Item: <literal>Dir::State::Lists</literal> (<filename>partial</filename> will be implicitly appended)</para></listitem>
      </varlistentry>
      </varlistentry>
 ">
 ">
 
 

+ 3 - 3
doc/apt_preferences.5.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8" standalone="no"?>
 <?xml version="1.0" encoding="utf-8" standalone="no"?>
-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
-  "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
 
 
 <!ENTITY % aptent SYSTEM "apt.ent">
 <!ENTITY % aptent SYSTEM "apt.ent">
 %aptent;
 %aptent;
@@ -460,7 +460,7 @@ Pin: release n=&testing-codename;
 <varlistentry>
 <varlistentry>
 <term>the <literal>Version:</literal> line</term>
 <term>the <literal>Version:</literal> line</term>
 <listitem><simpara>names the release version.  For example, the
 <listitem><simpara>names the release version.  For example, the
-packages in the tree might belong to Debian GNU/Linux release
+packages in the tree might belong to Debian release
 version 3.0.  Note that there is normally no version number for the
 version 3.0.  Note that there is normally no version number for the
 <literal>testing</literal> and <literal>unstable</literal> distributions because they
 <literal>testing</literal> and <literal>unstable</literal> distributions because they
 have not been released yet.  Specifying this in the APT preferences
 have not been released yet.  Specifying this in the APT preferences

+ 1 - 1
doc/design.sgml

@@ -31,7 +31,7 @@
 
 
 	<p>
 	<p>
 	  You should have received a copy of the GNU General Public
 	  You should have received a copy of the GNU General Public
-	  License with your Debian GNU/Linux system, in
+	  License with your Debian system, in
 	  <tt>/usr/share/common-licenses/GPL</tt>, or with the
 	  <tt>/usr/share/common-licenses/GPL</tt>, or with the
 	  <prgn/debiandoc-sgml/ source package as the file
 	  <prgn/debiandoc-sgml/ source package as the file
 	  <tt>COPYING</tt>.  If not, write to the Free Software
 	  <tt>COPYING</tt>.  If not, write to the Free Software

+ 1 - 1
doc/dpkg-tech.sgml

@@ -21,7 +21,7 @@ by the Free Software Foundation; either version 2 of the License, or (at your
 option) any later version.
 option) any later version.
 
 
 <p>
 <p>
-For more details, on Debian GNU/Linux systems, see the file
+For more details, on Debian systems, see the file
 /usr/share/common-licenses/GPL for the full license.
 /usr/share/common-licenses/GPL for the full license.
 </copyright>
 </copyright>
 
 

+ 1 - 1
doc/files.sgml

@@ -21,7 +21,7 @@ by the Free Software Foundation; either version 2 of the License, or (at your
 option) any later version.
 option) any later version.
 
 
 <p>
 <p>
-For more details, on Debian GNU/Linux systems, see the file
+For more details, on Debian systems, see the file
 /usr/share/common-licenses/GPL for the full license.
 /usr/share/common-licenses/GPL for the full license.
 </copyright>
 </copyright>
 
 

+ 1 - 1
doc/guide.sgml

@@ -19,7 +19,7 @@ by the Free Software Foundation; either version 2 of the License, or (at your
 option) any later version.
 option) any later version.
 
 
 <p>
 <p>
-For more details, on Debian GNU/Linux systems, see the file
+For more details, on Debian systems, see the file
 /usr/share/common-licenses/GPL for the full license.
 /usr/share/common-licenses/GPL for the full license.
 </copyright>
 </copyright>
 
 

+ 2 - 2
doc/makefile

@@ -84,12 +84,12 @@ doc: po4a
 
 
 update-po:
 update-po:
 	po4a --previous --no-backups --force --no-translations \
 	po4a --previous --no-backups --force --no-translations \
-		--package-name='$(PACKAGE)' --package-version='$(PACKAGE_VERSION)' \
+		--package-name='$(PACKAGE)-doc' --package-version='$(PACKAGE_VERSION)' \
 		--msgid-bugs-address='$(PACKAGE_MAIL)' po4a.conf
 		--msgid-bugs-address='$(PACKAGE_MAIL)' po4a.conf
 
 
 po4a:
 po4a:
 	po4a --previous --no-backups \
 	po4a --previous --no-backups \
-		--package-name='$(PACKAGE)' --package-version='$(PACKAGE_VERSION)' \
+		--package-name='$(PACKAGE)-doc' --package-version='$(PACKAGE_VERSION)' \
 		--msgid-bugs-address='$(PACKAGE_MAIL)' po4a.conf
 		--msgid-bugs-address='$(PACKAGE_MAIL)' po4a.conf
 endif
 endif
 
 

+ 1 - 1
doc/method.sgml

@@ -20,7 +20,7 @@ by the Free Software Foundation; either version 2 of the License, or (at your
 option) any later version.
 option) any later version.
 
 
 <p>
 <p>
-For more details, on Debian GNU/Linux systems, see the file
+For more details, on Debian systems, see the file
 /usr/share/common-licenses/GPL for the full license.
 /usr/share/common-licenses/GPL for the full license.
 </copyright>
 </copyright>
 
 

+ 1 - 1
doc/offline.sgml

@@ -20,7 +20,7 @@ by the Free Software Foundation; either version 2 of the License, or (at your
 option) any later version.
 option) any later version.
 
 
 <p>
 <p>
-For more details, on Debian GNU/Linux systems, see the file
+For more details, on Debian systems, see the file
 /usr/share/common-licenses/GPL for the full license.
 /usr/share/common-licenses/GPL for the full license.
 </copyright>
 </copyright>
 
 

Fichier diff supprimé car celui-ci est trop grand
+ 163 - 272
doc/po/apt-doc.pot


Fichier diff supprimé car celui-ci est trop grand
+ 205 - 319
doc/po/de.po


Fichier diff supprimé car celui-ci est trop grand
+ 245 - 553
doc/po/es.po


Fichier diff supprimé car celui-ci est trop grand
+ 222 - 598
doc/po/fr.po


Fichier diff supprimé car celui-ci est trop grand
+ 155 - 263
doc/po/it.po


Fichier diff supprimé car celui-ci est trop grand
+ 349 - 515
doc/po/ja.po


Fichier diff supprimé car celui-ci est trop grand
+ 292 - 514
doc/po/pl.po


Fichier diff supprimé car celui-ci est trop grand
+ 291 - 528
doc/po/pt.po


Fichier diff supprimé car celui-ci est trop grand
+ 207 - 298
doc/po/pt_BR.po


+ 5 - 4
doc/po4a.conf

@@ -4,10 +4,11 @@
 # Entities need to be present, even if not translated
 # Entities need to be present, even if not translated
 [po4a_alias:entity] text opt:"-k 0"
 [po4a_alias:entity] text opt:"-k 0"
 [po4a_alias:manpage] docbook opt:"\
 [po4a_alias:manpage] docbook opt:"\
-	-o untranslated='<term><option> <refname> <refentrytitle> <date> <refentryinfo>' \
-	-o break='<term><option>' \
-	-o nodefault='<option> <refname> <refentrytitle> <date> <refentryinfo>' \
-	-o inline='<para><option> <refentrytitle>'"
+	-o untranslated='<term><option> <refname> <refentrytitle> <date> <refentryinfo> <phrase> <variablelist> <term><command>' \
+	-o break='<term><option> <term><command>' \
+	-o nodefault='<option> <refname> <refentrytitle> <date> <refentryinfo> <phrase> <variablelist> <command>' \
+	-o inline='<para><option> <refentrytitle> <para><command> <programlisting><command> <refentrytitle><command>' \
+	-o translated='<para><command> <programlisting><command> <refentrytitle><command>'"
 
 
 # define source file and translated file (one file per line)
 # define source file and translated file (one file per line)
 [type: man]     apt.8 $lang:$lang/apt.$lang.8
 [type: man]     apt.8 $lang:$lang/apt.$lang.8

+ 14 - 17
doc/sources.list.5.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8" standalone="no"?>
 <?xml version="1.0" encoding="utf-8" standalone="no"?>
-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
-  "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
 
 
 <!ENTITY % aptent SYSTEM "apt.ent">
 <!ENTITY % aptent SYSTEM "apt.ent">
 %aptent;
 %aptent;
@@ -36,7 +36,7 @@
  <refsect1><title>Description</title>
  <refsect1><title>Description</title>
    <para>The package resource list is used to locate archives of the package
    <para>The package resource list is used to locate archives of the package
    distribution system in use on the system. At this time, this manual page
    distribution system in use on the system. At this time, this manual page
-   documents only the packaging system used by the Debian GNU/Linux system.
+   documents only the packaging system used by the Debian system.
    This control file is <filename>/etc/apt/sources.list</filename>.</para>
    This control file is <filename>/etc/apt/sources.list</filename>.</para>
 
 
    <para>The source list is designed to support any number of active sources and a
    <para>The source list is designed to support any number of active sources and a
@@ -140,24 +140,23 @@ deb http://security.debian.org/ &stable-codename;/updates main contrib non-free
 
 
  <refsect1><title>URI specification</title>
  <refsect1><title>URI specification</title>
 
 
-   <para>The currently recognized URI types are cdrom, file, http, ftp, copy,
-   ssh, rsh.
+    <para>The currently recognized URI types are:
    <variablelist>
    <variablelist>
-    <varlistentry><term>file</term>
+    <varlistentry><term><command>file</command></term>
     <listitem><para>
     <listitem><para>
     The file scheme allows an arbitrary directory in the file system to be
     The file scheme allows an arbitrary directory in the file system to be
     considered an archive. This is useful for NFS mounts and local mirrors or
     considered an archive. This is useful for NFS mounts and local mirrors or
     archives.</para></listitem>
     archives.</para></listitem>
     </varlistentry>
     </varlistentry>
     
     
-    <varlistentry><term>cdrom</term>
+    <varlistentry><term><command>cdrom</command></term>
     <listitem><para>
     <listitem><para>
     The cdrom scheme allows APT to use a local CDROM drive with media
     The cdrom scheme allows APT to use a local CDROM drive with media
     swapping. Use the &apt-cdrom; program to create cdrom entries in the
     swapping. Use the &apt-cdrom; program to create cdrom entries in the
     source list.</para></listitem>
     source list.</para></listitem>
     </varlistentry>
     </varlistentry>
 
 
-    <varlistentry><term>http</term>
+    <varlistentry><term><command>http</command></term>
     <listitem><para>
     <listitem><para>
     The http scheme specifies an HTTP server for the archive. If an environment
     The http scheme specifies an HTTP server for the archive. If an environment
     variable <envar>http_proxy</envar> is set with the format 
     variable <envar>http_proxy</envar> is set with the format 
@@ -168,7 +167,7 @@ deb http://security.debian.org/ &stable-codename;/updates main contrib non-free
     Note that this is an insecure method of authentication.</para></listitem>
     Note that this is an insecure method of authentication.</para></listitem>
     </varlistentry>
     </varlistentry>
 
 
-    <varlistentry><term>ftp</term>
+    <varlistentry><term><command>ftp</command></term>
     <listitem><para>
     <listitem><para>
     The ftp scheme specifies an FTP server for the archive. APT's FTP behavior
     The ftp scheme specifies an FTP server for the archive. APT's FTP behavior
     is highly configurable; for more information see the
     is highly configurable; for more information see the
@@ -179,14 +178,14 @@ deb http://security.debian.org/ &stable-codename;/updates main contrib non-free
     the configuration file will be ignored.</para></listitem>
     the configuration file will be ignored.</para></listitem>
     </varlistentry>
     </varlistentry>
 
 
-    <varlistentry><term>copy</term>
+    <varlistentry><term><command>copy</command></term>
     <listitem><para>
     <listitem><para>
     The copy scheme is identical to the file scheme except that packages are
     The copy scheme is identical to the file scheme except that packages are
     copied into the cache directory instead of used directly at their location.
     copied into the cache directory instead of used directly at their location.
     This is useful for people using a zip disk to copy files around with APT.</para></listitem>
     This is useful for people using a zip disk to copy files around with APT.</para></listitem>
     </varlistentry>
     </varlistentry>
     
     
-    <varlistentry><term>rsh</term><term>ssh</term>
+    <varlistentry><term><command>rsh</command></term><term><command>ssh</command></term>
     <listitem><para>
     <listitem><para>
     The rsh/ssh method invokes rsh/ssh to connect to a remote host
     The rsh/ssh method invokes rsh/ssh to connect to a remote host
 	as a given user and access the files. It is a good idea to do prior
 	as a given user and access the files. It is a good idea to do prior
@@ -196,15 +195,13 @@ deb http://security.debian.org/ &stable-codename;/updates main contrib non-free
     commands to perform the file transfers from the remote.</para></listitem>
     commands to perform the file transfers from the remote.</para></listitem>
     </varlistentry>
     </varlistentry>
 
 
-    <varlistentry><term>more recognizable URI types</term>
+    <varlistentry><term>adding more recognizable URI types</term>
     <listitem><para>
     <listitem><para>
     APT can be extended with more methods shipped in other optional packages which should
     APT can be extended with more methods shipped in other optional packages which should
-    follow the nameing scheme <literal>apt-transport-<replaceable>method</replaceable></literal>.
-    The APT team e.g. maintains also the <literal>apt-transport-https</literal> package which
+    follow the nameing scheme <package>apt-transport-<replaceable>method</replaceable></package>.
+    The APT team e.g. maintains also the <package>apt-transport-https</package> package which
     provides access methods for https-URIs with features similar to the http method, but other
     provides access methods for https-URIs with features similar to the http method, but other
-    methods for using e.g. debtorrent are also available, see <citerefentry>
-    <refentrytitle><filename>apt-transport-debtorrent</filename></refentrytitle>
-    <manvolnum>1</manvolnum></citerefentry>.
+    methods for using e.g. debtorrent are also available, see &apt-transport-debtorrent;.
     </para></listitem>
     </para></listitem>
     </varlistentry>
     </varlistentry>
   </variablelist>
   </variablelist>