Ver código fonte

merge with lp:~mvo/apt/sid to get the finale 0.7.25 state

David Kalnischkies 16 anos atrás
pai
commit
a7b33d6543

+ 4 - 1
apt-inst/makefile

@@ -9,9 +9,12 @@ HEADER_TARGETDIRS = apt-pkg
 # Bring in the default rules
 include ../buildlib/defaults.mak
 
+# The library name and version (indirectly used from init.h)
+include ../buildlib/libversion.mak
+
 # The library name
 LIBRARY=apt-inst
-MAJOR=1.2
+MAJOR=1.1
 MINOR=0
 SLIBS=$(PTHREADLIB) -lapt-pkg
 APT_DOMAIN:=libapt-inst$(MAJOR)

+ 2 - 1
apt-pkg/deb/dpkgpm.cc

@@ -879,7 +879,8 @@ bool pkgDPkgPM::Go(int OutStatusFd)
 	    const char *s = _("Can not write log, openpty() "
 	                      "failed (/dev/pts not mounted?)\n");
 	    fprintf(stderr, "%s",s);
-	    fprintf(term_out, "%s",s);
+            if(term_out)
+              fprintf(term_out, "%s",s);
 	    master = slave = -1;
 	 }  else {
 	    struct termios rtt;

+ 1 - 3
apt-pkg/init.h

@@ -21,9 +21,7 @@
 // reverse-dependencies of libapt-pkg against the new SONAME.
 // Non-ABI-Breaks should only increase RELEASE number.
 // See also buildlib/libversion.mak
-// FIXME: this needs to be changed to "4" (without quotes) on the next
-//        ABI break
-#define APT_PKG_MAJOR libc6.10-6-4
+#define APT_PKG_MAJOR 4
 #define APT_PKG_MINOR 8
 #define APT_PKG_RELEASE 0
     

+ 7 - 7
buildlib/library.mak

@@ -16,11 +16,11 @@
 # See defaults.mak for information about LOCAL
 
 # Some local definitions
-LOCAL := lib$(LIBRARY).so.$(MAJOR).$(MINOR)
+LOCAL := lib$(LIBRARY)$(LIBEXT).so.$(MAJOR).$(MINOR)
 $(LOCAL)-OBJS := $(addprefix $(OBJ)/,$(addsuffix .opic,$(notdir $(basename $(SOURCE)))))
 $(LOCAL)-DEP := $(addprefix $(DEP)/,$(addsuffix .opic.d,$(notdir $(basename $(SOURCE)))))
 $(LOCAL)-HEADERS := $(addprefix $(INCLUDE)/,$(HEADERS))
-$(LOCAL)-SONAME := lib$(LIBRARY).so.$(MAJOR)
+$(LOCAL)-SONAME := lib$(LIBRARY)$(LIBEXT).so.$(MAJOR)
 $(LOCAL)-SLIBS := $(SLIBS)
 $(LOCAL)-LIBRARY := $(LIBRARY)
 
@@ -29,7 +29,7 @@ include $(PODOMAIN_H)
 
 # Install the command hooks
 headers: $($(LOCAL)-HEADERS)
-library: $(LIB)/lib$(LIBRARY).so $(LIB)/lib$(LIBRARY).so.$(MAJOR)
+library: $(LIB)/lib$(LIBRARY).so $(LIB)/lib$(LIBRARY)$(LIBEXT).so.$(MAJOR)
 clean: clean/$(LOCAL)
 veryclean: veryclean/$(LOCAL)
 
@@ -44,14 +44,14 @@ veryclean/$(LOCAL): clean/$(LOCAL)
 	-rm -f $($(@F)-HEADERS) $(LIB)/lib$($(@F)-LIBRARY)*.so*
 
 # Build rules for the two symlinks
-.PHONY: $(LIB)/lib$(LIBRARY).so.$(MAJOR) $(LIB)/lib$(LIBRARY).so
-$(LIB)/lib$(LIBRARY).so.$(MAJOR): $(LIB)/lib$(LIBRARY).so.$(MAJOR).$(MINOR)
+.PHONY: $(LIB)/lib$(LIBRARY)$(LIBEXT).so.$(MAJOR) $(LIB)/lib$(LIBRARY).so
+$(LIB)/lib$(LIBRARY)$(LIBEXT).so.$(MAJOR): $(LIB)/lib$(LIBRARY)$(LIBEXT).so.$(MAJOR).$(MINOR)
 	ln -sf $(<F) $@
-$(LIB)/lib$(LIBRARY).so: $(LIB)/lib$(LIBRARY).so.$(MAJOR).$(MINOR)
+$(LIB)/lib$(LIBRARY).so: $(LIB)/lib$(LIBRARY)$(LIBEXT).so.$(MAJOR).$(MINOR)
 	ln -sf $(<F) $@
 
 # The binary build rule
-$(LIB)/lib$(LIBRARY).so.$(MAJOR).$(MINOR): $($(LOCAL)-HEADERS) $($(LOCAL)-OBJS)
+$(LIB)/lib$(LIBRARY)$(LIBEXT).so.$(MAJOR).$(MINOR): $($(LOCAL)-HEADERS) $($(LOCAL)-OBJS)
 	-rm -f $(LIB)/lib$($(@F)-LIBRARY)*.so* 2> /dev/null
 	echo Building shared library $@
 	$(CXX) $(CXXFLAGS) $(LDFLAGS) $(PICFLAGS) $(LFLAGS) $(LFLAGS_SO)\

+ 7 - 0
buildlib/libversion.mak

@@ -12,3 +12,10 @@ LIBAPTPKG_RELEASE=$(shell grep -E '^\#define APT_PKG_RELEASE' $(BASE)/apt-pkg/in
 # The versionnumber is extracted from apt-inst/makefile - see also there.
 LIBAPTINST_MAJOR=$(shell egrep '^MAJOR=' $(BASE)/apt-inst/makefile |cut -d '=' -f 2)
 LIBAPTINST_MINOR=$(shell egrep '^MINOR=' $(BASE)/apt-inst/makefile |cut -d '=' -f 2)
+
+# FIXME: In previous releases this lovely variable includes
+# the detected libc and libdc++ version. As this is bogus we
+# want to drop this, but this a ABI break.
+# And we don't want to do this now. So we hardcode a value here,
+# and drop it later on (hopefully as fast as possible).
+LIBEXT=-libc6.9-6

+ 35 - 30
debian/changelog

@@ -6,15 +6,6 @@ apt (0.7.26) UNRELEASED; urgency=low
     (Closes: #444222, #448216, #550564)
   * Ignore :qualifiers after package name in build dependencies
     for now as long we don't understand them (Closes: #558103)
-  * doc/apt.conf.5.xml:
-    - briefly document the behaviour of the new https options
-  * methods/connect.cc:
-    - add AI_ADDRCONFIG to ai_flags as suggested by Aurelien Jarno
-      in response to Bernhard R. Link, thanks! (Closes: #505020)
-  * methods/rred.cc:
-    - rewrite to be able to handle even big patch files
-    - adopt optional mmap+iovec patch from Morten Hustveit
-      (Closes: #463354) which should speed up a bit. Thanks!
   * apt-pkg/contrib/mmap.{cc,h}:
     - extend it to have a growable flag - unused now but maybe...
   * apt-pkg/pkgcache.h:
@@ -23,24 +14,14 @@ apt (0.7.26) UNRELEASED; urgency=low
   * apt-pkg/acquire-item.cc:
     - allow also to skip the last patch if target is reached,
       thanks Bernhard R. Link! (Closes: #545699)
-  * methods/http{,s}.cc
-    - add config setting for User-Agent to the Acquire group,
-      thanks Timothy J. Miller! (Closes: #355782)
-    - add https options which default to http ones (Closes: #557085)
   * ftparchive/writer.{cc,h}:
     - add APT::FTPArchive::AlwaysStat to disable the too aggressive
       caching if versions are build multiply times (not recommend)
       Patch by Christoph Goehre, thanks! (Closes: #463260)
-  * ftparchive/*:
-    - fix a few typos in strings, comments and manpage,
-      thanks Karl Goetz! (Closes: #558757)
-  * debian/apt.cron.daily:
-    - check cache size even if we do nothing else otherwise, thanks
-      Francesco Poli for patch(s) and patience! (Closes: #459344)
 
  -- Michael Vogt <mvo@debian.org>  Thu, 10 Dec 2009 22:02:38 +0100
 
-apt (0.7.25) UNRELEASED; urgency=low
+apt (0.7.25) unstable; urgency=low
 
   [ Christian Perrier ]
   * Fix apt-ftparchive(1) wrt description of the "-o" option.
@@ -55,8 +36,6 @@ apt (0.7.25) UNRELEASED; urgency=low
     Closes: #548571
   * German translation update by Holger Wansing
     Closes: #551534
-  * German translation of manpages by Chris Leick
-    Closes: #552606
   * Italian translation update by Milo Casagrande
     Closes: #555797
   * Simplified Chinese translation update by Aron Xu 
@@ -79,7 +58,9 @@ apt (0.7.25) UNRELEASED; urgency=low
   * apt-pkg/deb/dpkgpm.cc:
     - add "purge" to list of known actions
   * apt-pkg/init.h:
-    - add compatibilty with old ABI name until the next ABI break
+    - add compatibility with old ABI name until the next ABI break
+  * merge segfault fix from Mario Sanchez Prada, many thanks
+    (closes: #561109)
 
   [ Brian Murray ]
   * apt-pkg/depcache.cc, apt-pkg/indexcopy.cc:
@@ -98,18 +79,21 @@ apt (0.7.25) UNRELEASED; urgency=low
   * doc/po4a.conf: activate translation of guide.sgml and offline.sgml
   * doc/apt.conf.5.xml:
     - provide a few more details about APT::Immediate-Configure
+    - briefly document the behaviour of the new https options
   * doc/sources.list.5.xml:
     - add note about additional apt-transport-methods
   * doc/apt-mark.8.xml:
     - correct showauto synopsis, thanks Andrew Schulman (Closes: #551440)
   * cmdline/apt-get.cc:
-    - source should displays his final pkg pick (Closes: #249383, #550952)
+    - source should display his final pkg pick (Closes: #249383, #550952)
     - source doesn't need the complete version for match (Closes: #245250)
     - source ignores versions/releases if not available (Closes: #377424)
     - only warn if (free) space overflows (Closes: #522238)
     - add --debian-only as alias for --diff-only
   * methods/connect.cc:
     - display also strerror of "wicked" getaddrinfo errors
+    - add AI_ADDRCONFIG to ai_flags as suggested by Aurelien Jarno
+      in response to Bernhard R. Link, thanks! (Closes: #505020)
   * buildlib/configure.mak, buildlib/config.{sub,guess}:
     - remove (outdated) config.{sub,guess} and use the ones provided
       by the new added build-dependency autotools-dev instead
@@ -123,21 +107,42 @@ apt (0.7.25) UNRELEASED; urgency=low
     - bump policy to 3.8.3 as we have no outdated manpages anymore
   * debian/NEWS:
     - fix a typo in 0.7.24: Allready -> Already (Closes: #557674)
-  * cmdline/apt-mark:
-    - print an error if a new state file can't be created,
-      thanks Carl Chenet! (Closes: #521289)
-    - print an error and exit if python-apt is not installed,
-      thanks Carl Chenet! (Closes: #521284)
   * ftparchive/writer.{cc,h}:
     - add APT::FTPArchive::LongDescription to be able to disable them
   * apt-pkg/deb/debsrcrecords.cc:
     - use "diff" filetype for .debian.tar.* files (Closes: #554898)
+  * methods/rred.cc:
+    - rewrite to be able to handle even big patch files
+    - adopt optional mmap+iovec patch from Morten Hustveit
+      (Closes: #463354) which should speed up a bit. Thanks!
+  * methods/http{,s}.cc
+    - add config setting for User-Agent to the Acquire group,
+      thanks Timothy J. Miller! (Closes: #355782)
+    - add https options which default to http ones (Closes: #557085)
+  * debian/apt.cron.daily:
+    - check cache size even if we do nothing else otherwise, thanks
+      Francesco Poli for patch(s) and patience! (Closes: #459344)
+  * ftparchive/*:
+    - fix a few typos in strings, comments and manpage,
+      thanks Karl Goetz! (Closes: #558757)
+
+  [ Carl Chenet ]
+  * cmdline/apt-mark:
+    - print an error if a new state file can't be created
+      (Closes: #521289) and
+    - exit nicely if python-apt is not installed (Closes: #521284)
 
   [ Chris Leick ]
+  * doc/de: German translation of manpages (Closes: #552606)
   * doc/ various manpages:
     - correct various errors, typos and oddities (Closes: #552535)
   * doc/apt-secure.8.xml:
     - replace literal with emphasis tags in Archive configuration
+  * doc/apt-ftparchive.1.xml:
+    - remove informalexample tag which hides the programlisting
+  * doc/apt-get.8.xml:
+    - change equivalent "for" to "to the" (purge command)
+    - clarify --fix-broken sentence about specifying packages
 
   [ Eugene V. Lyubimkin ]
   * apt-pkg/contib/strutl.h
@@ -157,7 +162,7 @@ apt (0.7.25) UNRELEASED; urgency=low
   * debian/apt.conf.autoremove:
     - Add kfreebsd-image-* to the list (Closes: #558803)
 
- -- Michael Vogt <mvo@debian.org>  Thu, 10 Dec 2009 22:02:38 +0100
+ -- Michael Vogt <mvo@debian.org>  Tue, 15 Dec 2009 09:21:55 +0100
 
 apt (0.7.24) unstable; urgency=low
 

+ 7 - 7
debian/rules

@@ -78,21 +78,21 @@ APT_UTILS=ftparchive sortpkgs extracttemplates
 include buildlib/libversion.mak
 
 # Determine which package we should provide in the control files
-LIBAPTPKG_PROVIDE=libapt-pkg-$(LIBAPTPKG_MAJOR)
-LIBAPTINST_PROVIDE=libapt-inst-$(LIBAPTINST_MAJOR)
+LIBAPTPKG_PROVIDE=libapt-pkg$(LIBEXT)-$(LIBAPTPKG_MAJOR)
+LIBAPTINST_PROVIDE=libapt-inst$(LIBEXT)-$(LIBAPTINST_MAJOR)
 
 debian/shlibs.local: apt-pkg/makefile
 	# We have 3 shlibs.local files.. One for 'apt', one for 'apt-utils' and
 	# one for the rest of the packages. This ensures that each package gets
 	# the right overrides.. 
 	rm -rf $@ $@.apt $@.apt-utils
-	echo "libapt-pkg $(LIBAPTPKG_MAJOR)" > $@.apt
+	echo "libapt-pkg$(LIBEXT) $(LIBAPTPKG_MAJOR)" > $@.apt
 
-	echo "libapt-pkg $(LIBAPTPKG_MAJOR) $(LIBAPTPKG_PROVIDE)" > $@.apt-utils
-	echo "libapt-inst $(LIBAPTINST_MAJOR)" >> $@.apt-utils
+	echo "libapt-pkg$(LIBEXT) $(LIBAPTPKG_MAJOR) $(LIBAPTPKG_PROVIDE)" > $@.apt-utils
+	echo "libapt-inst$(LIBEXT) $(LIBAPTINST_MAJOR)" >> $@.apt-utils
 
-	echo "libapt-pkg $(LIBAPTPKG_MAJOR) $(LIBAPTPKG_PROVIDE)" > $@
-	echo "libapt-inst $(LIBAPTINST_MAJOR) $(LIBAPTINST_PROVIDE)" >> $@
+	echo "libapt-pkg$(LIBEXT) $(LIBAPTPKG_MAJOR) $(LIBAPTPKG_PROVIDE)" > $@
+	echo "libapt-inst$(LIBEXT) $(LIBAPTINST_MAJOR) $(LIBAPTINST_PROVIDE)" >> $@
 
 build: build/build-stamp	
 build-doc: build/build-doc-stamp	

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

@@ -350,11 +350,11 @@
      <para>
      When processing a <literal>Tree</literal> section <command>apt-ftparchive</command> 
      performs an operation similar to:
-<informalexample><programlisting>
+     <programlisting>
 for i in Sections do 
    for j in Architectures do
       Generate for DIST=scope SECTION=i ARCH=j
-</programlisting></informalexample></para>
+     </programlisting></para>
 
      <variablelist>     
       <varlistentry><term>Sections</term>

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

@@ -333,8 +333,8 @@
      <varlistentry><term><option>-f</option></term><term><option>--fix-broken</option></term>
      <listitem><para>Fix; attempt to correct a system with broken dependencies in            
      place. This option, when used with install/remove, can omit any packages
-     to permit APT to deduce a likely solution. Any Package that are specified
-     must completely correct the problem. The option is sometimes necessary when 
+     to permit APT to deduce a likely solution. If packages are specified,
+     these have to completely correct the problem. The option is sometimes necessary when 
      running APT for the first time; APT itself does not allow broken package 
      dependencies to exist on a system. It is possible that a system's 
      dependency structure can be so corrupt as to require manual intervention 
@@ -466,7 +466,7 @@
      <varlistentry><term><option>--purge</option></term>
      <listitem><para>Use purge instead of remove for anything that would be removed.
      An asterisk ("*") will be displayed next to packages which are
-	 scheduled to be purged. <option>remove --purge</option> is equivalent for
+	 scheduled to be purged. <option>remove --purge</option> is equivalent to the
 	 <option>purge</option> command.
      Configuration Item: <literal>APT::Get::Purge</literal>.</para></listitem>
      </varlistentry>

+ 84 - 117
doc/po/fr.po

@@ -9,8 +9,8 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: \n"
-"POT-Creation-Date: 2009-11-27 00:05+0100\n"
-"PO-Revision-Date: 2009-09-26 19:25+0200\n"
+"POT-Creation-Date: 2009-12-01 19:13+0100\n"
+"PO-Revision-Date: 2009-12-16 07:51+0100\n"
 "Last-Translator: Christian Perrier <bubulle@debian.org>\n"
 "Language-Team: French <debian-l10n-french@lists.debian.org>\n"
 "MIME-Version: 1.0\n"
@@ -358,7 +358,7 @@ msgstr ""
 
 #. type: Plain text
 #: apt.ent:84
-#, fuzzy, no-wrap
+#, no-wrap
 #| msgid ""
 #| "<!ENTITY dpkg \"<citerefentry>\n"
 #| "    <refentrytitle><command>dpkg</command></refentrytitle>\n"
@@ -374,7 +374,7 @@ msgid ""
 msgstr ""
 "<!ENTITY dpkg \"<citerefentry>\n"
 "    <refentrytitle><command>dpkg</command></refentrytitle>\n"
-"    <manvolnum>8</manvolnum>\n"
+"    <manvolnum>1</manvolnum>\n"
 "  </citerefentry>\"\n"
 ">\n"
 
@@ -412,7 +412,7 @@ msgstr ""
 
 #. type: Plain text
 #: apt.ent:102
-#, fuzzy, no-wrap
+#, no-wrap
 #| msgid ""
 #| "<!ENTITY dpkg-scanpackages \"<citerefentry>\n"
 #| "    <refentrytitle><command>dpkg-scanpackages</command></refentrytitle>\n"
@@ -428,13 +428,13 @@ msgid ""
 msgstr ""
 "<!ENTITY dpkg-scanpackages \"<citerefentry>\n"
 "    <refentrytitle><command>dpkg-scanpackages</command></refentrytitle>\n"
-"    <manvolnum>8</manvolnum>\n"
+"    <manvolnum>1</manvolnum>\n"
 "  </citerefentry>\"\n"
 ">\n"
 
 #. type: Plain text
 #: apt.ent:108
-#, fuzzy, no-wrap
+#, no-wrap
 #| msgid ""
 #| "<!ENTITY dpkg-scansources \"<citerefentry>\n"
 #| "    <refentrytitle><command>dpkg-scansources</command></refentrytitle>\n"
@@ -450,13 +450,13 @@ msgid ""
 msgstr ""
 "<!ENTITY dpkg-scansources \"<citerefentry>\n"
 "    <refentrytitle><command>dpkg-scansources</command></refentrytitle>\n"
-"    <manvolnum>8</manvolnum>\n"
+"    <manvolnum>1</manvolnum>\n"
 "  </citerefentry>\"\n"
 ">\n"
 
 #. type: Plain text
 #: apt.ent:114
-#, fuzzy, no-wrap
+#, no-wrap
 #| msgid ""
 #| "<!ENTITY dselect \"<citerefentry>\n"
 #| "    <refentrytitle><command>dselect</command></refentrytitle>\n"
@@ -472,7 +472,7 @@ msgid ""
 msgstr ""
 "<!ENTITY dselect \"<citerefentry>\n"
 "    <refentrytitle><command>dselect</command></refentrytitle>\n"
-"    <manvolnum>8</manvolnum>\n"
+"    <manvolnum>1</manvolnum>\n"
 "  </citerefentry>\"\n"
 ">\n"
 
@@ -1080,7 +1080,7 @@ msgstr ""
 "     </varlistentry>\n"
 "\">\n"
 
-#.  The last update date 
+#.  The last update date
 #. type: Content of: <refentry><refentryinfo>
 #: apt-cache.8.xml:13 apt-config.8.xml:13 apt-extracttemplates.1.xml:13
 #: apt-sortpkgs.1.xml:13 sources.list.5.xml:13
@@ -1379,7 +1379,6 @@ msgstr ""
 
 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
 #: apt-cache.8.xml:152
-#, fuzzy
 #| msgid ""
 #| "<literal>Missing</literal> is the number of package names that were "
 #| "referenced in a dependency but were not provided by any package. Missing "
@@ -1397,7 +1396,7 @@ msgstr ""
 "dépendance mais qui ne sont fournis par aucun paquet. Les paquets manquants "
 "peuvent être mis en évidence quand on n'accède pas à une distribution "
 "complète ou si un paquet (réel ou virtuel) a été sorti d'une distribution. "
-"Habituellement on les trouve dans les champs « Conflicts »."
+"Habituellement on les trouve dans les champs « Conflicts » ou « Breaks »."
 
 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
 #: apt-cache.8.xml:159
@@ -1585,7 +1584,6 @@ msgstr ""
 
 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
 #: apt-cache.8.xml:234
-#, fuzzy
 #| msgid ""
 #| "Note that a package which APT knows of is not nessasarily available to "
 #| "download, installable or installed, e.g. virtual packages are also listed "
@@ -1597,7 +1595,7 @@ msgid ""
 msgstr ""
 "Veuillez noter qu'un paquet connu par APT n'est pas forcément disponible, "
 "installable ou installé. Par exemple, les paquets virtuels sont également "
-"affichés dans la liste."
+"affichés dans la liste créée."
 
 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
 #: apt-cache.8.xml:239
@@ -2450,7 +2448,6 @@ msgstr "<option>--tempdir</option>"
 
 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
 #: apt-extracttemplates.1.xml:62
-#, fuzzy
 #| msgid ""
 #| "Temporary directory in which to write extracted debconf template files "
 #| "and config scripts Configuration Item: <literal>APT::ExtractTemplates::"
@@ -2460,8 +2457,7 @@ msgid ""
 "config scripts.  Configuration Item: <literal>APT::ExtractTemplates::"
 "TempDir</literal>"
 msgstr ""
-"Répertoire temporaire dans lequel écrire les scripts et guides de "
-"configuration pour Debconf. Élément de configuration : <literal>APT::"
+"Répertoire temporaire dans lequel écrire les scripts de configuration et modèles d'écrans pour Debconf. Élément de configuration : <literal>APT::"
 "ExtractTemplates::TempDir</literal>."
 
 #. type: Content of: <refentry><refsect1><para>
@@ -2473,19 +2469,16 @@ msgstr ""
 "<command>apt-extracttemplates</command> retourne zéro si tout se passe bien, "
 "le nombre 100 en cas d'erreur."
 
-#.  The last update date 
+#.  The last update date
 #. type: Content of: <refentry><refentryinfo>
 #: apt-ftparchive.1.xml:13
-#, fuzzy
 #| msgid ""
 #| "&apt-author.moconnor; &apt-author.team; &apt-email; &apt-product; <date>2 "
 #| "November 2007</date>"
 msgid ""
 "&apt-author.jgunthorpe; &apt-author.team; &apt-email; &apt-product; <date>17 "
 "August 2009</date>"
-msgstr ""
-"&apt-author.moconnor; &apt-author.team; &apt-email; &apt-product; <date>2 "
-"Novembre 2007</date>"
+msgstr "&apt-author.moconnor; &apt-author.team; &apt-email; &apt-product; <date>17 août 2009</date>"
 
 #. type: Content of: <refentry><refnamediv><refname>
 #: apt-ftparchive.1.xml:22 apt-ftparchive.1.xml:29
@@ -2601,8 +2594,7 @@ msgstr ""
 
 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
 #: apt-ftparchive.1.xml:82 apt-ftparchive.1.xml:106
-msgid ""
-"The option <option>--db</option> can be used to specify a binary caching DB."
+msgid "The option <option>--db</option> can be used to specify a binary caching DB."
 msgstr ""
 "On peut se servir de l'option <option>--db</option> pour demander un cache "
 "binaire."
@@ -2757,10 +2749,8 @@ msgstr ""
 
 #. type: Content of: <refentry><refsect1><para>
 #: apt-ftparchive.1.xml:155
-msgid ""
-"The generate configuration has 4 separate sections, each described below."
-msgstr ""
-"Ce fichier de configuration possède quatre sections, décrites ci-dessous."
+msgid "The generate configuration has 4 separate sections, each described below."
+msgstr "Ce fichier de configuration possède quatre sections, décrites ci-dessous."
 
 #. type: Content of: <refentry><refsect1><refsect2><title>
 #: apt-ftparchive.1.xml:157
@@ -2769,7 +2759,6 @@ msgstr "La section Dir"
 
 #. type: Content of: <refentry><refsect1><refsect2><para>
 #: apt-ftparchive.1.xml:159
-#, fuzzy
 #| msgid ""
 #| "The <literal>Dir</literal> section defines the standard directories "
 #| "needed to locate the files required during the generation process. These "
@@ -3581,10 +3570,9 @@ msgstr ""
 
 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
 #: apt-ftparchive.1.xml:547
-#, fuzzy
 #| msgid "<option>--version</option>"
 msgid "<option>APT::FTPArchive::LongDescription</option>"
-msgstr "<option>--version</option>"
+msgstr "<option>APT::FTPArchive::LongDescription</option>"
 
 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
 #: apt-ftparchive.1.xml:549
@@ -3595,6 +3583,10 @@ msgid ""
 "that it is currently not possible to create these files with <command>apt-"
 "ftparchive</command>."
 msgstr ""
+"Cette option de configuration a « <literal>true</literal> » comme valeur par défaut et ne devrait être placée sur « <literal>false</literal> » que si l'archive créée avec "
+"&apt-ftparchive; fournit également des fichiers <filename>Translation</filename>. Veuillez noter qu'il n'est actuellement pas possible de créer ces fichiers avec <command>"
+"apt-"
+"ftparchive</command>."
 
 #. type: Content of: <refentry><refsect1><title>
 #: apt-ftparchive.1.xml:561 apt.conf.5.xml:1011 apt_preferences.5.xml:462
@@ -3626,7 +3618,7 @@ msgstr ""
 "<command>apt-ftparchive</command> retourne zéro si tout se passe bien, le "
 "nombre 100 en cas d'erreur."
 
-#.  The last update date 
+#.  The last update date
 #. type: Content of: <refentry><refentryinfo>
 #: apt-get.8.xml:13
 msgid ""
@@ -3992,7 +3984,6 @@ msgstr "source"
 
 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
 #: apt-get.8.xml:251
-#, fuzzy
 #| msgid ""
 #| "<literal>source</literal> causes <command>apt-get</command> to fetch "
 #| "source packages. APT will examine the available packages to decide which "
@@ -4020,7 +4011,6 @@ msgstr ""
 
 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
 #: apt-get.8.xml:259
-#, fuzzy
 msgid ""
 "Source packages are tracked separately from binary packages via <literal>deb-"
 "src</literal> type lines in the &sources-list; file. This means that you "
@@ -4029,13 +4019,12 @@ msgid ""
 "none) source version than the one you have installed or could install."
 msgstr ""
 "Les paquets source sont gérés indépendamment des paquets binaires, via les "
-"lignes de type <literal>deb-src</literal> dans le fichier &sources-list;. On "
-"n'obtiendra probablement pas les mêmes sources que celles du paquet installé "
-"ou celles du paquet qu'on pourrait installer."
+"lignes de type <literal>deb-src</literal> dans le fichier &sources-list;. Il est donc nécessaire d'ajouter une telle ligne pour chaque dépôt pour lequel vous souhaitez "
+"pouvoir obtenir les sources. Dans le cas contraite, vous risquez de ne pas obtenir les mêmes sources que celles du paquet installé "
+"ou celles du paquet installable."
 
 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
 #: apt-get.8.xml:266
-#, fuzzy
 msgid ""
 "If the <option>--compile</option> option is specified then the package will "
 "be compiled to a binary .deb using <command>dpkg-buildpackage</command>, if "
@@ -4314,7 +4303,6 @@ msgstr ""
 
 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
 #: apt-get.8.xml:386
-#, fuzzy
 #| msgid ""
 #| "Simulation run as user will deactivate locking (<literal>Debug::"
 #| "NoLocking</literal>)  automatical. Also a notice will be displayed "
@@ -4342,7 +4330,6 @@ msgstr ""
 
 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
 #: apt-get.8.xml:392
-#, fuzzy
 #| msgid ""
 #| "Simulate prints out a series of lines each one representing a dpkg "
 #| "operation, Configure (Conf), Remove (Remv), Unpack (Inst). Square "
@@ -4781,6 +4768,8 @@ msgid ""
 "&file-sourceslist; &file-aptconf; &file-preferences; &file-cachearchives; "
 "&file-statelists;"
 msgstr ""
+"&file-sourceslist; &file-aptconf; &file-preferences; &file-cachearchives; "
+"&file-statelists;"
 
 #. type: Content of: <refentry><refsect1><para>
 #: apt-get.8.xml:570
@@ -4955,8 +4944,7 @@ msgstr "<filename>/etc/apt/trusted.gpg</filename>"
 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
 #: apt-key.8.xml:141
 msgid "Keyring of local trusted keys, new keys will be added here."
-msgstr ""
-"Trousseau de clés locales fiables : les nouvelles clés y seront ajoutées."
+msgstr "Trousseau de clés locales fiables : les nouvelles clés y seront ajoutées."
 
 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
 #: apt-key.8.xml:144
@@ -4980,10 +4968,8 @@ msgstr "Trousseau des clés fiables de l'archive Debian."
 
 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
 #: apt-key.8.xml:152
-msgid ""
-"<filename>/usr/share/keyrings/debian-archive-removed-keys.gpg</filename>"
-msgstr ""
-"<filename>/usr/share/keyrings/debian-archive-removed-keys.gpg</filename>"
+msgid "<filename>/usr/share/keyrings/debian-archive-removed-keys.gpg</filename>"
+msgstr "<filename>/usr/share/keyrings/debian-archive-removed-keys.gpg</filename>"
 
 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
 #: apt-key.8.xml:153
@@ -4995,10 +4981,9 @@ msgstr "Trousseau des clés fiables supprimées de l'archive Debian."
 msgid "&apt-get;, &apt-secure;"
 msgstr "&apt-get;, &apt-secure;"
 
-#.  The last update date 
+#.  The last update date
 #. type: Content of: <refentry><refentryinfo>
 #: apt-mark.8.xml:13
-#, fuzzy
 #| msgid ""
 #| "&apt-author.moconnor; &apt-author.team; &apt-email; &apt-product; <date>2 "
 #| "November 2007</date>"
@@ -5006,8 +4991,8 @@ msgid ""
 "&apt-author.moconnor; &apt-author.team; &apt-email; &apt-product; <date>9 "
 "August 2009</date>"
 msgstr ""
-"&apt-author.moconnor; &apt-author.team; &apt-email; &apt-product; <date>2 "
-"Novembre 2007</date>"
+"&apt-author.moconnor; &apt-author.team; &apt-email; &apt-product; <date>9 "
+"août 2009</date>"
 
 #. type: Content of: <refentry><refnamediv><refname>
 #: apt-mark.8.xml:22 apt-mark.8.xml:29
@@ -5021,7 +5006,6 @@ msgstr "marquer/démarquer un paquet comme ayant été installé automatiquement
 
 #. type: Content of: <refentry><refsynopsisdiv><cmdsynopsis>
 #: apt-mark.8.xml:36
-#, fuzzy
 #| msgid ""
 #| "<command>apt-mark</command> <arg><option>-hv</option></arg> <arg><option>-"
 #| "f=<replaceable>FILENAME</replaceable></option></arg> <group choice=\"req"
@@ -5035,10 +5019,12 @@ msgid ""
 "choice=\"plain\" rep=\"repeat\"><replaceable>package</replaceable></arg> </"
 "arg> <arg choice=\"plain\">showauto</arg> </group>"
 msgstr ""
-"<command>apt-mark</command> <arg><option>-hv</option></arg> <arg><option>-"
-"f=<replaceable>FICHIER</replaceable></option></arg> <group choice=\"req"
-"\"><arg>markauto</arg><arg>unmarkauto</arg></group> <arg choice=\"plain\" "
-"rep=\"repeat\"><replaceable>paquet</replaceable></arg>"
+"  <command>apt-mark</command> <arg><option>-hv</option></arg> <arg><option>-"
+"f=<replaceable>FICHIER</replaceable></option></arg> <group choice=\"plain"
+"\"> <arg choice=\"plain\"> <group choice=\"req\"> <arg choice=\"plain"
+"\">markauto</arg> <arg choice=\"plain\">unmarkauto</arg> </group> <arg "
+"choice=\"plain\" rep=\"repeat\"><replaceable>paquet</replaceable></arg> </"
+"arg> <arg choice=\"plain\">showauto</arg> </group>"
 
 #. type: Content of: <refentry><refsect1><para>
 #: apt-mark.8.xml:53
@@ -5051,7 +5037,6 @@ msgstr ""
 
 #. type: Content of: <refentry><refsect1><para>
 #: apt-mark.8.xml:57
-#, fuzzy
 #| msgid ""
 #| "When you request that a package is installed, and as a result other "
 #| "packages are installed to satisfy its dependencies, the dependencies are "
@@ -5067,7 +5052,7 @@ msgid ""
 msgstr ""
 "Lorsque l'installation d'un paquet est demandée et que d'autres paquets dont "
 "il dépend sont installés, ces paquets sont marqués comme ayant été "
-"automatiquement installés. De tels paquets sont supprimés dès que plus aucun "
+"automatiquement installés. De tels paquets sont supprimés par <command>apt-get</command> ou <command>aptitude</command> dès que plus aucun "
 "paquet, installé manuellement, qui dépend d'eux ne subsiste sur le système."
 
 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
@@ -5105,11 +5090,10 @@ msgstr ""
 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
 #: apt-mark.8.xml:81
 msgid "showauto"
-msgstr ""
+msgstr "showauto"
 
 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
 #: apt-mark.8.xml:82
-#, fuzzy
 #| msgid ""
 #| "<literal>autoremove</literal> is used to remove packages that were "
 #| "automatically installed to satisfy dependencies for some package and that "
@@ -5118,30 +5102,25 @@ msgid ""
 "<literal>showauto</literal> is used to print a list of automatically "
 "installed packages with each package on a new line."
 msgstr ""
-"Avec la commande <literal>autoremove</literal>, apt-get supprime les paquets "
-"installés dans le but de satisfaire les dépendances d'un paquet donné et qui "
-"ne sont plus nécessaires."
+"<literal>showauto</literal>, affiche les paquets "
+"installés manuellement, un par ligne."
 
 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
 #: apt-mark.8.xml:93
-#, fuzzy
-#| msgid "<option>-f=<filename>FILENAME</filename></option>"
-msgid ""
-"<option>-f=<filename><replaceable>FILENAME</replaceable></filename></option>"
-msgstr "<option>-f=<filename>FICHIER</filename></option>"
+msgid "<option>-f=<filename><replaceable>FILENAME</replaceable></filename></option>"
+msgstr "<option>-f=<filename><replaceable>FICHIER</replaceable></filename></option>"
 
 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
 #: apt-mark.8.xml:94
-#, fuzzy
-#| msgid "<option>--file=<filename>FILENAME</filename></option>"
 msgid ""
 "<option>--file=<filename><replaceable>FILENAME</replaceable></filename></"
 "option>"
-msgstr "<option>--file=<filename>FICHIER</filename></option>"
+msgstr ""
+"<option>--file=<filename><replaceable>FICHIER</replaceable></filename></"
+"option>"
 
 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
 #: apt-mark.8.xml:97
-#, fuzzy
 #| msgid ""
 #| "Read/Write package stats from <filename>FILENAME</filename> instead of "
 #| "the default location, which is <filename>extended_status</filename> in "
@@ -5153,10 +5132,10 @@ msgid ""
 "<filename>extended_status</filename> in the directory defined by the "
 "Configuration Item: <literal>Dir::State</literal>."
 msgstr ""
-"Lire/écrire les statistiques sur les paquets depuis <filename>FICHIER</"
+"Lire/écrire les statistiques sur les paquets depuis <filename><replaceable>FICHIER</replaceable></"
 "filename> au lieu de l'emplacement par défaut (<filename>extended_status</"
 "filename> dans le répertoire défini par l'option de configuration "
-"<literal>Dir::State</literal>."
+"<literal>Dir::State</literal>)."
 
 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
 #: apt-mark.8.xml:103
@@ -5190,10 +5169,9 @@ msgstr "Afficher la version du programme."
 
 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
 #: apt-mark.8.xml:124
-#, fuzzy
 #| msgid "<filename>/etc/apt/preferences</filename>"
 msgid "<filename>/var/lib/apt/extended_states</filename>"
-msgstr "<filename>/etc/apt/preferences</filename>"
+msgstr "<filename>/var/lib/apt/extended_states</filename>"
 
 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
 #: apt-mark.8.xml:125
@@ -5202,13 +5180,14 @@ msgid ""
 "State</literal> sets the path to the <filename>extended_states</filename> "
 "file."
 msgstr ""
+"Liste d'état des paquets auto-installés. L'élément de configuration <literal>Dir::"
+"State</literal> définit le chemin d'accès au fichier <filename>extended_states</filename>."
 
 #. type: Content of: <refentry><refsect1><para>
 #: apt-mark.8.xml:134
-#, fuzzy
 #| msgid "&apt-cache; &apt-conf;"
 msgid "&apt-get;,&aptitude;,&apt-conf;"
-msgstr "&apt-cache; &apt-conf;"
+msgstr "&apt-get;,&aptitude;,&apt-conf;"
 
 #. type: Content of: <refentry><refsect1><para>
 #: apt-mark.8.xml:138
@@ -5274,7 +5253,6 @@ msgstr "Trusted archives"
 
 #. type: Content of: <refentry><refsect1><para>
 #: apt-secure.8.xml:67
-#, fuzzy
 #| msgid ""
 #| "The chain of trust from an apt archive to the end user is made up of "
 #| "different steps. <command>apt-secure</command> is the last step in this "
@@ -5330,7 +5308,6 @@ msgstr ""
 
 #. type: Content of: <refentry><refsect1><para>
 #: apt-secure.8.xml:92
-#, fuzzy
 #| msgid ""
 #| "Once the uploaded package is verified and included in the archive, the "
 #| "maintainer signature is stripped off, an MD5 sum of the package is "
@@ -5347,11 +5324,11 @@ msgid ""
 "by the archive key (which is created once a year) and distributed through "
 "the FTP server. This key is also on the Debian keyring."
 msgstr ""
-"Une fois le paquet vérifié et archivé, la signature du responsable est "
+"Une fois que le paquet envoyé a été vérifié et inclus dans l'archive, la signature du responsable est "
 "enlevée, une somme MD5 du paquet est calculée et mise dans le fichier "
 "Packages. Une somme MD5 de tous les paquets est ensuite calculée et mise "
 "dans le fichier Release. Ce fichier est signé par la clé de l'archive. Cette "
-"clé qui est créée chaque année et distribuée par le serveur FTP se trouve "
+"clé, qui est recréée chaque année, est distribuée par le serveur FTP. Elle se trouve "
 "aussi dans le trousseau Debian."
 
 #. type: Content of: <refentry><refsect1><para>
@@ -5467,7 +5444,6 @@ msgstr ""
 
 #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
 #: apt-secure.8.xml:160
-#, fuzzy
 #| msgid ""
 #| "<literal>Create a toplevel Release file</literal>.  if it does not exist "
 #| "already. You can do this by running <command>apt-ftparchive release</"
@@ -5477,13 +5453,12 @@ msgid ""
 "already. You can do this by running <command>apt-ftparchive release</"
 "command> (provided in apt-utils)."
 msgstr ""
-"<literal>créer un fichier Release à la racine de l'archive</literal>, s'il "
+"<emphasis>créer un fichier Release à la racine de l'archive</emphasis>, s'il "
 "n'existe pas déjà. Vous pouvez le créer avec la commande <command>apt-"
-"ftparchive release</command> (fournie dans le paquet apt-utils) ;"
+"ftparchive release</command> (fournie dans le paquet apt-utils)."
 
 #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
 #: apt-secure.8.xml:165
-#, fuzzy
 #| msgid ""
 #| "<literal>Sign it</literal>. You can do this by running <command>gpg -abs -"
 #| "o Release.gpg Release</command>."
@@ -5491,12 +5466,11 @@ msgid ""
 "<emphasis>Sign it</emphasis>. You can do this by running <command>gpg -abs -"
 "o Release.gpg Release</command>."
 msgstr ""
-"<literal>le signer</literal>, avec la commande <command>gpg -abs -o Release."
-"gpg Release</command> ;"
+"<emphasis>le signer</emphasis>, avec la commande <command>gpg -abs -o Release."
+"gpg Release</command>."
 
 #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
 #: apt-secure.8.xml:168
-#, fuzzy
 #| msgid ""
 #| "<literal>Publish the key fingerprint</literal>, that way your users will "
 #| "know what key they need to import in order to authenticate the files in "
@@ -5506,7 +5480,7 @@ msgid ""
 "know what key they need to import in order to authenticate the files in the "
 "archive."
 msgstr ""
-"<literal>publier l'empreinte de la clé</literal>. Ainsi les utilisateurs de "
+"<emphasis>publier l'empreinte de la clé</emphasis>. Ainsi les utilisateurs de "
 "votre archive connaîtront la clé qu'ils doivent importer pour authentifier "
 "les fichiers de l'archive."
 
@@ -5626,10 +5600,9 @@ msgstr ""
 "<command>apt-sortpkgs</command> retourne zéro si tout se passe bien ou 100 "
 "en cas d'erreur."
 
-#.  The last update date 
+#.  The last update date
 #. type: Content of: <refentry><refentryinfo>
 #: apt.conf.5.xml:13
-#, fuzzy
 #| msgid ""
 #| "&apt-author.jgunthorpe; &apt-author.team; <author> <firstname>Daniel</"
 #| "firstname> <surname>Burrows</surname> <contrib>Initial documentation of "
@@ -5644,7 +5617,7 @@ msgstr ""
 "&apt-author.jgunthorpe; &apt-author.team; <author> <firstname>Daniel</"
 "firstname> <surname>Burrows</surname> <contrib>Documentation d'origine de "
 "Debug::*.</contrib> <email>dburrows@debian.org</email> </author> &apt-email; "
-"&apt-product; <date>10 décembre 2008</date>"
+"&apt-product; <date>18 septembre 2009</date>"
 
 #. type: Content of: <refentry><refnamediv><refname>
 #: apt.conf.5.xml:28 apt.conf.5.xml:35
@@ -5688,7 +5661,6 @@ msgstr ""
 
 #. type: Content of: <refentry><refsect1><para>
 #: apt.conf.5.xml:50
-#, fuzzy
 #| msgid ""
 #| "The configuration file is organized in a tree with options organized into "
 #| "functional groups. option specification is given with a double colon "
@@ -5710,7 +5682,6 @@ msgstr ""
 
 #. type: Content of: <refentry><refsect1><para>
 #: apt.conf.5.xml:56
-#, fuzzy
 #| msgid ""
 #| "Syntactically the configuration language is modeled after what the ISC "
 #| "tools such as bind and dhcp use. Lines starting with <literal>//</"
@@ -5739,7 +5710,9 @@ msgstr ""
 "literal> et <literal>*/</literal>, tout comme les commentaires C/C++.  "
 "Chaque ligne est de la forme : <literal>APT::Get::Assume-Yes \"true\";</"
 "literal> Le point-virgule final est obligatoire et les guillemets sont "
-"optionnels.  On peut déclarer un nouveau champ d'action avec des accolades, "
+"optionnels.  La valeur doit tenir sur une seule ligne et il n'existe pas de fusion de chaînes. Elle ne doit pas comporter de guillemets . Le comportement du caractère "
+"barre oblique inversée \"\\\" et les caractères utilisés avec séquence d'échappement dans ue valeur ne sont pas déterministes et devraient être évités. Le nom d'une option "
+"peut contenir des caractères alphanumériques et « /-:._+ ». On peut déclarer un nouveau champ d'action avec des accolades, "
 "comme suit :"
 
 #. type: Content of: <refentry><refsect1><informalexample><programlisting>
@@ -5806,6 +5779,9 @@ msgid ""
 "list. If you specify a name you can override the option as every other "
 "option by reassigning a new value to the option."
 msgstr ""
+"Les noms des éléments de configuration sont optionnels si une liste est définie, comme cela peut se voir avec l'exemple <literal>DPkg::Pre-Install-Pkgs</literal> précédent."
+" Si vous n'indiquez pas de nom, une nouvelle entrée ajoutera une nouvelle option à la liste. Dans le cas contraire, l'option correspondante peut être remplacée, comme "
+"toute autre option, en lui réaffectant une valeur."
 
 #. type: Content of: <refentry><refsect1><para>
 #: apt.conf.5.xml:98
@@ -7179,7 +7155,7 @@ msgstr ""
 
 #.  TODO: provide a
 #. 	   motivating example, except I haven't a clue why you'd want
-#. 	   to do this. 
+#. 	   to do this.
 #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
 #: apt.conf.5.xml:674
 msgid ""
@@ -7201,8 +7177,7 @@ msgstr "<literal>Debug::Acquire::cdrom</literal>"
 
 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
 #: apt.conf.5.xml:693
-msgid ""
-"Print information related to accessing <literal>cdrom://</literal> sources."
+msgid "Print information related to accessing <literal>cdrom://</literal> sources."
 msgstr ""
 "Affiche les informations concernant les sources de type <literal>cdrom://</"
 "literal>"
@@ -7215,8 +7190,7 @@ msgstr "<literal>Debug::Acquire::ftp</literal>"
 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
 #: apt.conf.5.xml:704
 msgid "Print information related to downloading packages using FTP."
-msgstr ""
-"Affiche les informations concernant le téléchargement de paquets par FTP."
+msgstr "Affiche les informations concernant le téléchargement de paquets par FTP."
 
 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
 #: apt.conf.5.xml:711
@@ -7226,8 +7200,7 @@ msgstr "<literal>Debug::Acquire::http</literal>"
 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
 #: apt.conf.5.xml:715
 msgid "Print information related to downloading packages using HTTP."
-msgstr ""
-"Affiche les informations concernant le téléchargement de paquets par HTTP."
+msgstr "Affiche les informations concernant le téléchargement de paquets par HTTP."
 
 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
 #: apt.conf.5.xml:722
@@ -7388,8 +7361,7 @@ msgstr "<literal>Debug::pkgAcquire::Worker</literal>"
 
 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
 #: apt.conf.5.xml:844
-msgid ""
-"Log all interactions with the sub-processes that actually perform downloads."
+msgid "Log all interactions with the sub-processes that actually perform downloads."
 msgstr ""
 "Affiche toutes les interactions avec les processus enfants qui se chargent "
 "effectivement des téléchargements."
@@ -7530,8 +7502,7 @@ msgstr "<literal>Debug::pkgPackageManager</literal>"
 
 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
 #: apt.conf.5.xml:945
-msgid ""
-"Output status messages tracing the steps performed when invoking &dpkg;."
+msgid "Output status messages tracing the steps performed when invoking &dpkg;."
 msgstr "Affiche le détail des opérations liées à l'invocation de &dpkg;."
 
 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
@@ -7604,13 +7575,13 @@ msgstr ""
 msgid "&file-aptconf;"
 msgstr "&apt-conf;"
 
-#.  ? reading apt.conf 
+#.  ? reading apt.conf
 #. type: Content of: <refentry><refsect1><para>
 #: apt.conf.5.xml:1024
 msgid "&apt-cache;, &apt-config;, &apt-preferences;."
 msgstr "&apt-cache;, &apt-config;, &apt-preferences;."
 
-#.  The last update date 
+#.  The last update date
 #. type: Content of: <refentry><refentryinfo>
 #: apt_preferences.5.xml:13
 msgid "&apt-author.team; &apt-email; &apt-product; <date>04 May 2009</date>"
@@ -7752,8 +7723,7 @@ msgstr "une priorité égale à 990"
 
 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
 #: apt_preferences.5.xml:94
-msgid ""
-"to the versions that are not installed and belong to the target release."
+msgid "to the versions that are not installed and belong to the target release."
 msgstr ""
 "est affectée aux versions qui ne sont pas installées et qui appartiennent à "
 "la distribution par défaut."
@@ -8238,8 +8208,7 @@ msgstr ""
 #. type: Content of: <refentry><refsect1><refsect2><title>
 #: apt_preferences.5.xml:306
 msgid "Determination of Package Version and Distribution Properties"
-msgstr ""
-"Détermination de la version des paquets et des propriétés des distributions"
+msgstr "Détermination de la version des paquets et des propriétés des distributions"
 
 #. type: Content of: <refentry><refsect1><refsect2><para>
 #: apt_preferences.5.xml:308
@@ -9368,8 +9337,7 @@ msgstr ""
 
 #. type: <abstract></abstract>
 #: guide.sgml:11
-msgid ""
-"This document provides an overview of how to use the the APT package manager."
+msgid "This document provides an overview of how to use the the APT package manager."
 msgstr ""
 
 #. type: <copyrightsummary></copyrightsummary>
@@ -9973,8 +9941,7 @@ msgstr ""
 
 #. type: <p></p>
 #: guide.sgml:447
-msgid ""
-"Finally, APT will print out a summary of all the changes that will occur."
+msgid "Finally, APT will print out a summary of all the changes that will occur."
 msgstr ""
 
 #. type: <example></example>

+ 2 - 2
doc/sources.list.5.xml

@@ -175,11 +175,11 @@ deb http://http.us.debian.org/debian dists/stable-updates/
     commands to perform the file transfers from the remote.</para></listitem>
     </varlistentry>
 
-    <varlistentry><term>more recongnizable URI types</term>
+    <varlistentry><term>more recognizable URI types</term>
     <listitem><para>
     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. maintain also the <literal>apt-transport-https</literal> package which
+    The APT team e.g. maintains also the <literal>apt-transport-https</literal> package which
     provides access methods for https-URIs with features similiar to the http method, but other
     methods for using e.g. debtorrent are also available, see <citerefentry>
     <refentrytitle><filename>apt-transport-debtorrent</filename></refentrytitle>

+ 35 - 33
methods/https.cc

@@ -57,37 +57,40 @@ HttpsMethod::progress_callback(void *clientp, double dltotal, double dlnow,
    return 0;
 }
 
-void HttpsMethod::SetupProxy() {					/*{{{*/
-	URI ServerName = Queue->Uri;
-
-	// Determine the proxy setting - try https first, fallback to http and use env at last
-	string UseProxy = _config->Find("Acquire::https::Proxy::" + ServerName.Host,
-				_config->Find("Acquire::http::Proxy::" + ServerName.Host));
-
-	if (UseProxy.empty() == true)
-		UseProxy = _config->Find("Acquire::https::Proxy", _config->Find("Acquire::http::Proxy"));
-
-	// User want to use NO proxy, so nothing to setup
-	if (UseProxy == "DIRECT")
-		return;
-
-	if (UseProxy.empty() == false) {
-		// Parse no_proxy, a comma (,) separated list of domains we don't want to use
-		// a proxy for so we stop right here if it is in the list
-		if (getenv("no_proxy") != 0 && CheckDomainList(ServerName.Host,getenv("no_proxy")) == true)
-			return;
-	} else {
-		const char* result = getenv("http_proxy");
-		UseProxy = result == NULL ? "" : result;
-	}
-
-	// Determine what host and port to use based on the proxy settings
-	if (UseProxy.empty() == false) {
-		Proxy = UseProxy;
-		if (Proxy.Port != 1)
-			curl_easy_setopt(curl, CURLOPT_PROXYPORT, Proxy.Port);
-		curl_easy_setopt(curl, CURLOPT_PROXY, Proxy.Host.c_str());
-	}
+void HttpsMethod::SetupProxy()  					/*{{{*/
+{
+   URI ServerName = Queue->Uri;
+
+   // Determine the proxy setting - try https first, fallback to http and use env at last
+   string UseProxy = _config->Find("Acquire::https::Proxy::" + ServerName.Host,
+				   _config->Find("Acquire::http::Proxy::" + ServerName.Host).c_str());
+
+   if (UseProxy.empty() == true)
+      UseProxy = _config->Find("Acquire::https::Proxy", _config->Find("Acquire::http::Proxy").c_str());
+
+   // User want to use NO proxy, so nothing to setup
+   if (UseProxy == "DIRECT")
+      return;
+
+   if (UseProxy.empty() == false) 
+   {
+      // Parse no_proxy, a comma (,) separated list of domains we don't want to use
+      // a proxy for so we stop right here if it is in the list
+      if (getenv("no_proxy") != 0 && CheckDomainList(ServerName.Host,getenv("no_proxy")) == true)
+	 return;
+   } else {
+      const char* result = getenv("http_proxy");
+      UseProxy = result == NULL ? "" : result;
+   }
+
+   // Determine what host and port to use based on the proxy settings
+   if (UseProxy.empty() == false) 
+   {
+      Proxy = UseProxy;
+      if (Proxy.Port != 1)
+	 curl_easy_setopt(curl, CURLOPT_PROXYPORT, Proxy.Port);
+      curl_easy_setopt(curl, CURLOPT_PROXY, Proxy.Host.c_str());
+   }
 }									/*}}}*/
 // HttpsMethod::Fetch - Fetch an item					/*{{{*/
 // ---------------------------------------------------------------------
@@ -202,12 +205,11 @@ bool HttpsMethod::Fetch(FetchItem *Itm)
    curl_easy_setopt(curl, CURLOPT_USERAGENT,
 	_config->Find("Acquire::https::User-Agent",
 		_config->Find("Acquire::http::User-Agent",
-			"Debian APT-CURL/1.0 ("VERSION")")).c_str());
+			"Debian APT-CURL/1.0 ("VERSION")").c_str()).c_str());
 
    // set timeout
    int timeout = _config->FindI("Acquire::https::Timeout",
 		_config->FindI("Acquire::http::Timeout",120));
-   curl_easy_setopt(curl, CURLOPT_TIMEOUT, timeout);
    curl_easy_setopt(curl, CURLOPT_CONNECTTIMEOUT, timeout);
    //set really low lowspeed timeout (see #497983)
    curl_easy_setopt(curl, CURLOPT_LOW_SPEED_LIMIT, DL_MIN_SPEED);