This effectively merges branch 'typofixes-vlajos-
20150807' of github.com:vlajos/apt
with the following commit:
commit
13cacb3e2e2352ba701e769fc889e3344fabbf7e
Author: Veres Lajos <vlajos@gmail.com>
Date: Sun Aug 9 00:12:53 2015 +0100
typofix - https://github.com/vlajos/misspell_fixer
It has been rebased for a better commit message.
18 files changed:
map_ptrloc *Last = &FLPkg->Files;
/* Loop over all files, restore those that have been unpacked from their
map_ptrloc *Last = &FLPkg->Files;
/* Loop over all files, restore those that have been unpacked from their
while (Files.end() == false)
{
// Locate the hash bucket for the node and locate its group head
while (Files.end() == false)
{
// Locate the hash bucket for the node and locate its group head
-static void printHashSumComparision(std::string const &URI, HashStringList const &Expected, HashStringList const &Actual) /*{{{*/
+static void printHashSumComparison(std::string const &URI, HashStringList const &Expected, HashStringList const &Actual) /*{{{*/
{
if (_config->FindB("Debug::Acquire::HashSumMismatch", false) == false)
return;
{
if (_config->FindB("Debug::Acquire::HashSumMismatch", false) == false)
return;
if (Debug == true)
{
std::clog << "pkgAcqDiffIndex: " << IndexDiffFile << ": Index has different hashes than parser, probably older, so fail pdiffing" << std::endl;
if (Debug == true)
{
std::clog << "pkgAcqDiffIndex: " << IndexDiffFile << ": Index has different hashes than parser, probably older, so fail pdiffing" << std::endl;
- printHashSumComparision(CurrentPackagesFile, ServerHashes, TargetFileHashes);
+ printHashSumComparison(CurrentPackagesFile, ServerHashes, TargetFileHashes);
Policy iPolicy;
pkgDepCache Sim;
pkgDepCache::ActionGroup group;
Policy iPolicy;
pkgDepCache Sim;
pkgDepCache::ActionGroup group;
-
- // The Actuall installation implementation
+
+ // The Actual installation implementation
virtual bool Install(PkgIterator Pkg,std::string File) APT_OVERRIDE;
virtual bool Configure(PkgIterator Pkg) APT_OVERRIDE;
virtual bool Remove(PkgIterator Pkg,bool Purge) APT_OVERRIDE;
virtual bool Install(PkgIterator Pkg,std::string File) APT_OVERRIDE;
virtual bool Configure(PkgIterator Pkg) APT_OVERRIDE;
virtual bool Remove(PkgIterator Pkg,bool Purge) APT_OVERRIDE;
/*}}}*/
// ReduceSourceList - Takes the path list and reduces it /*{{{*/
// ---------------------------------------------------------------------
/*}}}*/
// ReduceSourceList - Takes the path list and reduces it /*{{{*/
// ---------------------------------------------------------------------
-/* This takes the list of source list expressed entires and collects
+/* This takes the list of source list expressed entries and collects
similar ones to form a single entry for each dist */
void pkgCdrom::ReduceSourcelist(string /*CD*/,vector<string> &List)
{
similar ones to form a single entry for each dist */
void pkgCdrom::ReduceSourcelist(string /*CD*/,vector<string> &List)
{
// WriteSourceList - Write an updated sourcelist /*{{{*/
// ---------------------------------------------------------------------
/* This reads the old source list and copies it into the new one. It
// WriteSourceList - Write an updated sourcelist /*{{{*/
// ---------------------------------------------------------------------
/* This reads the old source list and copies it into the new one. It
- appends the new CDROM entires just after the first block of comments.
+ appends the new CDROM entries just after the first block of comments.
This places them first in the file. It also removes any old entries
that were the same. */
bool pkgCdrom::WriteSourceList(string Name,vector<string> &List,bool Source)
This places them first in the file. It also removes any old entries
that were the same. */
bool pkgCdrom::WriteSourceList(string Name,vector<string> &List,bool Source)
vector<string> split;
size_t start, pos;
vector<string> split;
size_t start, pos;
- // no seperator given, this is bogus
+ // no separator given, this is bogus
if(sep.size() == 0)
return split;
if(sep.size() == 0)
return split;
*
* \param input The input string.
*
*
* \param input The input string.
*
- * \param sep The seperator to use.
+ * \param sep The separator to use.
*
* \param maxsplit (optional) The maximum amount of splitting that
* should be done .
*
* \param maxsplit (optional) The maximum amount of splitting that
* should be done .
// Check for an error code.
if (WIFEXITED(Status) == 0 || WEXITSTATUS(Status) != 0)
{
// Check for an error code.
if (WIFEXITED(Status) == 0 || WEXITSTATUS(Status) != 0)
{
- // if it was set to "keep-dpkg-runing" then we won't return
+ // if it was set to "keep-dpkg-running" then we won't return
// here but keep the loop going and just report it as a error
// for later
bool const stopOnError = _config->FindB("Dpkg::StopOnError",true);
// here but keep the loop going and just report it as a error
// for later
bool const stopOnError = _config->FindB("Dpkg::StopOnError",true);
void DoDpkgStatusFd(int statusfd);
void ProcessDpkgStatusLine(char *line);
void DoDpkgStatusFd(int statusfd);
void ProcessDpkgStatusLine(char *line);
- // The Actuall installation implementation
+ // The Actual installation implementation
virtual bool Install(PkgIterator Pkg,std::string File) APT_OVERRIDE;
virtual bool Configure(PkgIterator Pkg) APT_OVERRIDE;
virtual bool Remove(PkgIterator Pkg,bool Purge = false) APT_OVERRIDE;
virtual bool Install(PkgIterator Pkg,std::string File) APT_OVERRIDE;
virtual bool Configure(PkgIterator Pkg) APT_OVERRIDE;
virtual bool Remove(PkgIterator Pkg,bool Purge = false) APT_OVERRIDE;
Package Manager - Abstacts the package manager
More work is needed in the area of transitioning provides, ie exim
Package Manager - Abstacts the package manager
More work is needed in the area of transitioning provides, ie exim
- replacing smail. This can cause interesing side effects.
+ replacing smail. This can cause interesting side effects.
Other cases involving conflicts+replaces should be tested.
Other cases involving conflicts+replaces should be tested.
// PM::ImmediateAdd - Add the immediate flag recursivly /*{{{*/
// ---------------------------------------------------------------------
/* This adds the immediate flag to the pkg and recursively to the
// PM::ImmediateAdd - Add the immediate flag recursivly /*{{{*/
// ---------------------------------------------------------------------
/* This adds the immediate flag to the pkg and recursively to the
*/
void pkgPackageManager::ImmediateAdd(PkgIterator I, bool UseInstallVer, unsigned const int &Depth)
{
*/
void pkgPackageManager::ImmediateAdd(PkgIterator I, bool UseInstallVer, unsigned const int &Depth)
{
if (I->VersionList == 0)
continue;
if (I->VersionList == 0)
continue;
- // Mark the package and its dependends for immediate configuration
+ // Mark the package and its dependents for immediate configuration
if ((((I->Flags & pkgCache::Flag::Essential) == pkgCache::Flag::Essential) &&
NoImmConfigure == false) || ImmConfigureAll)
{
if ((((I->Flags & pkgCache::Flag::Essential) == pkgCache::Flag::Essential) &&
NoImmConfigure == false) || ImmConfigureAll)
{
if (S->CurrentState == pkgCache::State::UnPacked ||
S->CurrentState == pkgCache::State::HalfConfigured)
if (S->CurrentState == pkgCache::State::UnPacked ||
S->CurrentState == pkgCache::State::HalfConfigured)
- // we leave triggers alone complettely. dpkg deals with
+ // we leave triggers alone completely. dpkg deals with
// them in a hard-to-predict manner and if they get
// resolved by dpkg before apt run dpkg --configure on
// the TriggersPending package dpkg returns a error
// them in a hard-to-predict manner and if they get
// resolved by dpkg before apt run dpkg --configure on
// the TriggersPending package dpkg returns a error
-// ostream operator to handle string representation of a dependecy /*{{{*/
+// ostream operator to handle string representation of a dependency /*{{{*/
// ---------------------------------------------------------------------
/* */
std::ostream& operator<<(std::ostream& out, pkgCache::DepIterator D)
// ---------------------------------------------------------------------
/* */
std::ostream& operator<<(std::ostream& out, pkgCache::DepIterator D)
* Improve the API for APT::Upgrade::Upgrade()
* Re-add "Calculating upgrade..." message
* move upgrade releated code into upgrade.{cc,h}
* Improve the API for APT::Upgrade::Upgrade()
* Re-add "Calculating upgrade..." message
* move upgrade releated code into upgrade.{cc,h}
- * Move ListUpdate/AquireUpdate into update.{cc,h}
+ * Move ListUpdate/AcquireUpdate into update.{cc,h}
* Add new apt-pkg/install-progress.h with APT::Progress::PackageManager
progress reporting classes
* Move the status-fd progress reporting out of the pkgDPkgPM class
* Add new apt-pkg/install-progress.h with APT::Progress::PackageManager
progress reporting classes
* Move the status-fd progress reporting out of the pkgDPkgPM class
* methods/http{s,}.cc:
- if a file without an extension is requested send an 'Accept: text/*'
header to avoid that the server chooses unsupported compressed files
* methods/http{s,}.cc:
- if a file without an extension is requested send an 'Accept: text/*'
header to avoid that the server chooses unsupported compressed files
- in a content-negotation attempt (Closes: #657560)
+ in a content-negotiation attempt (Closes: #657560)
- remove the arbitrary MAXLEN limit for response lines (Closes: #658346)
* apt-pkg/aptconfiguration.cc:
- chroot if needed before calling dpkg --print-foreign-architectures
- remove the arbitrary MAXLEN limit for response lines (Closes: #658346)
* apt-pkg/aptconfiguration.cc:
- chroot if needed before calling dpkg --print-foreign-architectures
* apt-pkg/deb/dpkgpm.cc:
- fix backgrounding when dpkg runs (closes: #486222)
* cmdline/apt-mark:
* apt-pkg/deb/dpkgpm.cc:
- fix backgrounding when dpkg runs (closes: #486222)
* cmdline/apt-mark:
- - show error on incorrect aguments (LP: #517917), thanks to
+ - show error on incorrect arguments (LP: #517917), thanks to
Torsten Spindler
* cmdline/apt-get.cc:
- if apt-get source foo=version or foo/distro can not be found,
Torsten Spindler
* cmdline/apt-get.cc:
- if apt-get source foo=version or foo/distro can not be found,
- add build-dependency on autotools-dev
- bump policy to 3.8.3 as we have no outdated manpages anymore
* debian/NEWS:
- add build-dependency on autotools-dev
- 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)
+ - fix a typo in 0.7.24: Already -> Already (Closes: #557674)
* ftparchive/writer.{cc,h}:
- add APT::FTPArchive::LongDescription to be able to disable them
* apt-pkg/deb/debsrcrecords.cc:
* ftparchive/writer.{cc,h}:
- add APT::FTPArchive::LongDescription to be able to disable them
* apt-pkg/deb/debsrcrecords.cc:
[ Michael Vogt ]
* apt-pkg/packagemanager.cc, apt-pkg/deb/dpkgpm.cc:
[ Michael Vogt ]
* apt-pkg/packagemanager.cc, apt-pkg/deb/dpkgpm.cc:
- - move the state file writting into the Go() implementation
+ - move the state file writing into the Go() implementation
of dpkgpm (closes: #498799)
* apt-pkg/algorithms.cc:
- fix simulation performance drop (thanks to Ferenc Wagner
of dpkgpm (closes: #498799)
* apt-pkg/algorithms.cc:
- fix simulation performance drop (thanks to Ferenc Wagner
apt (0.6.42.1) unstable; urgency=low
apt (0.6.42.1) unstable; urgency=low
- * fix a incorrect example in the apt_prefrences man page
+ * fix a incorrect example in the apt_preferences man page
(thanks to Filipus Klutiero, closes: #282918)
* apt-pkg/pkgrecords.cc:
- revert patch from last version, it causes trouble on alpha
(thanks to Filipus Klutiero, closes: #282918)
* apt-pkg/pkgrecords.cc:
- revert patch from last version, it causes trouble on alpha
added "Acquire::BrokenProxy" that will force apt to always
re-get the Release.gpg file (for broken proxies)
- debian/apt.cron.daily:
added "Acquire::BrokenProxy" that will force apt to always
re-get the Release.gpg file (for broken proxies)
- debian/apt.cron.daily:
- MinAge is defaulting to 2 days now to prevent over-aggresive removal
+ MinAge is defaulting to 2 days now to prevent over-aggressive removal
- apt-pkg/cdrom.cc:
honor "Acquire::gpgv::Options" when verifying the signature (Ubuntu #8496)
- apt-pkg/cdrom.cc:
honor "Acquire::gpgv::Options" when verifying the signature (Ubuntu #8496)
ignore roots umask for these files. Closes: #108801
* Support larger config spaces. Closes: #111914
* 'apt-get update' no longer does 'Building Dependency Tree'.
ignore roots umask for these files. Closes: #108801
* Support larger config spaces. Closes: #111914
* 'apt-get update' no longer does 'Building Dependency Tree'.
- * When matching regexs allways print a message. Change regex activation
+ * When matching regexs always print a message. Change regex activation
charset. Closes: #147817
* Don't die if lines in sources.list are too long. Closes: #146846
* Show file name on apt-extracttemplate error messges. Closes: #151835
charset. Closes: #147817
* Don't die if lines in sources.list are too long. Closes: #146846
* Show file name on apt-extracttemplate error messges. Closes: #151835
* When installing build-deps, make sure the new version will
satisfy build requirements. Closes: #178121
* Split offline and guide documentation into apt-doc. This was done so
* When installing build-deps, make sure the new version will
satisfy build requirements. Closes: #178121
* Split offline and guide documentation into apt-doc. This was done so
- that binary-arch builds do not require documention deps. Note, that
+ that binary-arch builds do not require documentation deps. Note, that
apt-doc is not installed on upgrades.
* Use doc-base, instead of dhelp directly. Closes: #110389
* Change http message 'Waiting for file' to 'Waiting for headers'.
apt-doc is not installed on upgrades.
* Use doc-base, instead of dhelp directly. Closes: #110389
* Change http message 'Waiting for file' to 'Waiting for headers'.
* Typo in Algorithms.cc. Closes: #63577
* Evil dotty function in apt-cache for generating dependency graphs
with the as-yet-unpackaged GraphVis.
* Typo in Algorithms.cc. Closes: #63577
* Evil dotty function in apt-cache for generating dependency graphs
with the as-yet-unpackaged GraphVis.
- * Appears to have been fixed in Janurary.. Closes: #57981
+ * Appears to have been fixed in January.. Closes: #57981
* New config.guess/sub for the new archs. Closes: #60874
* Fixed error reporting for certain kinds of resolution failures.
Closes: #61327
* New config.guess/sub for the new archs. Closes: #60874
* Fixed error reporting for certain kinds of resolution failures.
Closes: #61327
* Added ftp support.
* Various other less visible bug fixes.
* Added ftp support.
* Various other less visible bug fixes.
- * Fixed problem with segfault when apt-get invoked in a non-existant
+ * Fixed problem with segfault when apt-get invoked in a non-existent
directory (Bug #21863)
* Bumped policy to 2.4.1
directory (Bug #21863)
* Bumped policy to 2.4.1
include the trailing \n.
* GenCaches::SelectFile accepts a site parameter now too.
* Global version compare functions are gone. If you
include the trailing \n.
* GenCaches::SelectFile accepts a site parameter now too.
* Global version compare functions are gone. If you
- #define APT_COMPATABILITY 1
+ #define APT_COMPATIBILITY 1
They will come back as they were before. Code should be updated to
reference the compare functions to the VersioningSystem (VS) referenced
by the Cache or _system structures.
They will come back as they were before. Code should be updated to
reference the compare functions to the VersioningSystem (VS) referenced
by the Cache or _system structures.
-* Initialization is now two stage (define APT_COMPATABILITY..) The first
+* Initialization is now two stage (define APT_COMPATIBILITY..) The first
stage, pkgInitConfig is called before commandline parsing, and
pkgInitSystem is called after. This gives the user the oppertunity to
override default settings from the config files before startup has been
stage, pkgInitConfig is called before commandline parsing, and
pkgInitSystem is called after. This gives the user the oppertunity to
override default settings from the config files before startup has been
Filename: pool/main/t/ttf-dejavu/ttf-dejavu-core_2.31-1_all.deb
Size: 1451418
MD5Sum: d3d8850ec0ef68d9b7655545ce0b2b22
Filename: pool/main/t/ttf-dejavu/ttf-dejavu-core_2.31-1_all.deb
Size: 1451418
MD5Sum: d3d8850ec0ef68d9b7655545ce0b2b22
-Description: Vera font family derivate with additional characters
+Description: Vera font family derivative with additional characters
Package: ucf
Priority: standard
Package: ucf
Priority: standard
Replaces: ttf-dejavu (<< 2.20-1)
Depends: defoma
Conflicts: ttf-dejavu (<< 2.20-1)
Replaces: ttf-dejavu (<< 2.20-1)
Depends: defoma
Conflicts: ttf-dejavu (<< 2.20-1)
-Description: Vera font family derivate with additional characters
+Description: Vera font family derivative with additional characters
Package: ttf-dejavu-extra
Status: install ok installed
Package: ttf-dejavu-extra
Status: install ok installed
Replaces: ttf-dejavu (<< 2.20-1)
Depends: defoma, ttf-dejavu-core
Conflicts: ttf-dejavu (<< 2.20-1)
Replaces: ttf-dejavu (<< 2.20-1)
Depends: defoma, ttf-dejavu-core
Conflicts: ttf-dejavu (<< 2.20-1)
-Description: Vera font family derivate with additional characters
+Description: Vera font family derivative with additional characters
Package: ttf-dejavu
Status: install ok installed
Package: ttf-dejavu
Status: install ok installed
Version: 2.30-2
Replaces: ttf-dejavu (<< 2.20-1)
Conflicts: ttf-dejavu (<< 2.20-1)
Version: 2.30-2
Replaces: ttf-dejavu (<< 2.20-1)
Conflicts: ttf-dejavu (<< 2.20-1)
-Description: Vera font family derivate with additional characters
+Description: Vera font family derivative with additional characters
DejaVu provides an expanded version of the Vera font family aiming for
quality and broader Unicode coverage while retaining the original Vera
style. DejaVu currently works towards conformance with the Multilingual
DejaVu provides an expanded version of the Vera font family aiming for
quality and broader Unicode coverage while retaining the original Vera
style. DejaVu currently works towards conformance with the Multilingual
Suggests: pciutils
Description: Generic PCI access library for X
Provides functionality for X to access the PCI bus and devices
Suggests: pciutils
Description: Generic PCI access library for X
Provides functionality for X to access the PCI bus and devices
- in a platform-independant way.
+ in a platform-independent way.
Original-Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
Package: libc-bin
Original-Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
Package: libc-bin
msgmsg "test_cve_2012_0214"
test_cve_2012_0214
msgmsg "test_cve_2012_0214"
test_cve_2012_0214
-# ensure InRelase can not be subverted
+# ensure InRelease can not be subverted
msgmsg "test_subvert_inrelease"
test_subvert_inrelease
msgmsg "test_subvert_inrelease"
test_subvert_inrelease
- msgtest 'Test for non-existance of file' "$1"
+ msgtest 'Test for non-existence of file' "$1"
test -e "$1" && msgfail || msgpass
rm -f "$1"
}
test -e "$1" && msgfail || msgpass
rm -f "$1"
}
testbinaries 'arch-=foreign,unknown,foreign' 'amd64' 'armel' 'armhf' 'mipsel' 'all'
echo 'deb [arch=mips,i386 arch-=mips] http://example.org/debian stable rocks' > rootdir/etc/apt/sources.list
testbinaries 'arch-=foreign,unknown,foreign' 'amd64' 'armel' 'armhf' 'mipsel' 'all'
echo 'deb [arch=mips,i386 arch-=mips] http://example.org/debian stable rocks' > rootdir/etc/apt/sources.list
-testbinaries 'substract from a arch-set' 'i386' 'all'
+testbinaries 'subtract from a arch-set' 'i386' 'all'
echo 'deb [arch=mips,i386 arch-=mips] http://example.org/debian stable rocks' > rootdir/etc/apt/sources.list
testbinaries 'useless subtract from a arch-set' 'i386' 'all'
echo 'deb [arch=mips,i386 arch-=mips] http://example.org/debian stable rocks' > rootdir/etc/apt/sources.list
testbinaries 'useless subtract from a arch-set' 'i386' 'all'