[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#558757: Wording fix for man apt-ftparchive and some typo fixes



Package: apt
Version: 0.7.20.2+lenny1
Severity: minor
Tags: patch


Hi, I was checking apt-ftparchive to see if it would move packages
(as stated on http://www.debian.org/doc/manuals/repository-howto/repository-howto.en.html#pools).
I haven't found a way to do this, but along the way I've fixed a few typos
in the package (source) comments, and a wording error in the man page.
When I get my bug number I'll email the patch into the bug.
thanks,
kk

-- Package-specific info:

-- (no /etc/apt/preferences present) --


-- (/etc/apt/sources.list present, but not submitted) --


-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.30.7-libre-fshoppe1 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages apt depends on:
ii  debian-archive-keyring      1:2009.01.31 GnuPG archive keys of the Debian a
ii  libc6                       2.7-18       GNU C Library: Shared libraries
ii  libgcc1                     1:4.3.2-1.1  GCC support library
ii  libstdc++6                  4.3.2-1.1    The GNU Standard C++ Library v3

apt recommends no packages.

Versions of packages apt suggests:
pn  apt-doc               <none>             (no description available)
ii  aptitude              0.4.11.11-1~lenny1 terminal-based package manager
ii  bzip2                 1.0.5-1            high-quality block-sorting file co
ii  dpkg-dev              1.14.25            Debian package development tools
ii  lzma                  4.43-14            Compression method of 7z format in
ii  python-apt            0.7.7.1+nmu1       Python interface to libapt-pkg
ii  synaptic              0.62.1+nmu1        Graphical package manager

-- no debconf information
# Bazaar merge directive format 2 (Bazaar 0.90)
# revision_id: karl@kgoetz.id.au-20091130104507-60guv8hjnbecxmvh
# target_branch: bzr+ssh://kgoetz@bazaar.launchpad.net/%7Eubuntu-core-\
#   dev/apt/ubuntu/
# testament_sha1: 18be449629346de76c83c76c674522f1be0fbf9c
# timestamp: 2009-11-30 21:20:29 +1030
# base_revision_id: kees@outflux.net-20091014223105-wl7j3c3oi48j92zx
# 
# Begin patch
=== modified file 'doc/apt-ftparchive.1.xml'
--- doc/apt-ftparchive.1.xml	2009-08-26 10:21:54 +0000
+++ doc/apt-ftparchive.1.xml	2009-11-30 10:45:07 +0000
@@ -285,7 +285,7 @@
       
       <varlistentry><term>Sources</term>
       <listitem><para>
-      Sets the output Packages file. Defaults to 
+      Sets the output Sources file. Defaults to 
       <filename>$(DIST)/$(SECTION)/source/Sources</filename></para></listitem>
       </varlistentry>
       

=== modified file 'ftparchive/apt-ftparchive.cc'
--- ftparchive/apt-ftparchive.cc	2007-08-03 10:18:12 +0000
+++ ftparchive/apt-ftparchive.cc	2009-11-30 10:45:07 +0000
@@ -3,7 +3,7 @@
 // $Id: apt-ftparchive.cc,v 1.8.2.3 2004/01/02 22:01:48 mdz Exp $
 /* ######################################################################
 
-   apt-scanpackages - Efficient work-alike for dpkg-scanpackages
+   apt-ftparchive - Efficient work-alike for dpkg-scanpackages
 
    Let contents be disabled from the conf
    
@@ -792,7 +792,7 @@
    if (_config->FindB("APT::FTPArchive::Contents",true) == false)
       return true;
    
-   c1out << "Done Packages, Starting contents." << endl;
+   c1out << "Packages done, Starting contents." << endl;
 
    // Sort the contents file list by date
    string ArchiveDir = Setup.FindDir("Dir::ArchiveDir");

=== modified file 'ftparchive/cachedb.cc'
--- ftparchive/cachedb.cc	2009-07-30 15:34:48 +0000
+++ ftparchive/cachedb.cc	2009-11-30 10:45:07 +0000
@@ -69,7 +69,7 @@
       // apt 0.6.44
       if (err == EINVAL)
       {
-	 _error->Error(_("DB format is invalid. If you upgraded from a older version of apt, please remove and re-create the database."));
+	 _error->Error(_("DB format is invalid. If you upgraded from an older version of apt, please remove and re-create the database."));
       }
       if (err)
       {
@@ -83,7 +83,7 @@
    return true;
 }
 									/*}}}*/
-// CacheDB::OpenFile - Open the filei					/*{{{*/
+// CacheDB::OpenFile - Open the file					/*{{{*/
 // ---------------------------------------------------------------------
 /* */
 bool CacheDB::OpenFile()
@@ -139,7 +139,7 @@
    
 	if (DBLoaded)
 	{
-		/* First see if thre is anything about it
+		/* First see if there is anything about it
 		   in the database */
 
 		/* Get the flags (and mtime) */

=== modified file 'ftparchive/contents.cc'
--- ftparchive/contents.cc	2007-11-30 12:00:15 +0000
+++ ftparchive/contents.cc	2009-11-30 10:45:07 +0000
@@ -13,7 +13,7 @@
    removing the massive sort time overhead.
    
    By breaking all the pathnames into components and storing them 
-   separately a space savings is realized by not duplicating the string
+   separately a space saving is realized by not duplicating the string
    over and over again. Ultimately this saving is sacrificed to storage of
    the tree structure itself but the tree structure yields a speed gain
    in the sorting and processing. Ultimately it takes about 5 seconds to

=== modified file 'ftparchive/multicompress.cc'
--- ftparchive/multicompress.cc	2007-12-06 18:34:08 +0000
+++ ftparchive/multicompress.cc	2009-11-30 10:45:07 +0000
@@ -365,7 +365,7 @@
 // MultiCompress::Child - The writer child				/*{{{*/
 // ---------------------------------------------------------------------
 /* The child process forks a bunch of compression children and takes 
-   input on FD and passes it to all the compressor childer. On the way it
+   input on FD and passes it to all the compressor child. On the way it
    computes the MD5 of the raw data. After this the raw data in the 
    original files is compared to see if this data is new. If the data
    is new then the temp files are renamed, otherwise they are erased. */

=== modified file 'ftparchive/writer.cc'
--- ftparchive/writer.cc	2009-09-23 15:26:43 +0000
+++ ftparchive/writer.cc	2009-11-30 10:45:07 +0000
@@ -446,7 +446,7 @@
       SetTFRewriteData(Changes[End++], "Maintainer", NewMaint.c_str());
    
    /* Get rid of the Optional tag. This is an ugly, ugly, ugly hack that
-      dpkg-scanpackages does.. Well sort of. dpkg-scanpackages just does renaming
+      dpkg-scanpackages does. Well sort of. dpkg-scanpackages just does renaming
       but dpkg does this append bit. So we do the append bit, at least that way the
       status file and package file will remain similar. There are other transforms
       but optional is the only legacy one still in use for some lazy reason. */

# Begin bundle
IyBCYXphYXIgcmV2aXNpb24gYnVuZGxlIHY0CiMKQlpoOTFBWSZTWbcPdBAABOrfgDAwUXf//3+v
zYC////4YA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