]> git.saurik.com Git - apt.git/log
apt.git
11 years agodon't explicitly init ExtractTar InFd with invalid fd
David Kalnischkies [Sat, 25 May 2013 18:27:33 +0000 (20:27 +0200)] 
don't explicitly init ExtractTar InFd with invalid fd

The default constructor of the FileFd will kick in anyway,
which will know that the Fd is invalid while with this explicit
call it must be assumed that the fd is in fact valid, which
might generate errors in the future

11 years agoset Fail flag in FileFd on all errors consistently
David Kalnischkies [Sat, 25 May 2013 18:22:06 +0000 (20:22 +0200)] 
set Fail flag in FileFd on all errors consistently

Previously some errors would set the Fail flag while some didn't
without a clear reason as all errors leave a bad FileFd behind,
so we use a helper now to ensure that all errors set the flag.

11 years agomake the vprintf like _error->Insert public
David Kalnischkies [Sat, 25 May 2013 18:18:15 +0000 (20:18 +0200)] 
make the vprintf like _error->Insert public

Git-Dch: Ignore

11 years agofix support for multiple patterns in apt-cache search
David Kalnischkies [Sat, 25 May 2013 17:57:48 +0000 (19:57 +0200)] 
fix support for multiple patterns in apt-cache search

Patterns can appear in the name as well as in the description,
they don't have to match all in the name/description only.

Closes: 691453
11 years agoinitialize the whole search array with zero
David Kalnischkies [Sat, 25 May 2013 17:47:28 +0000 (19:47 +0200)] 
initialize the whole search array with zero

Git-Dch: Ignore

11 years agodeprecate InstallProtect as a cpu-eating no-op
David Kalnischkies [Fri, 24 May 2013 08:20:38 +0000 (10:20 +0200)] 
deprecate InstallProtect as a cpu-eating no-op

In the past packages were flagged "Protected" so that install/
remove markings where issued before the ProblemResolver.
Nowadays, the marking methods check if they are allowed to modify
the marking of a package instead, so that markings set by FromUser
calls are not overwritten anymore by automatic calls which elimates
the need for InstallProtect which just eats CPU now.

The method itself is left untouched for now in case frontend needs it
still for some wierd usecase, but they should be eliminated.

11 years agodo unpacks before configures in SmartConfigure
David Kalnischkies [Thu, 23 May 2013 10:14:56 +0000 (12:14 +0200)] 
do unpacks before configures in SmartConfigure

Splits the big loop over dependencies in SmartConfigure which unpacks and
configures dependencies into two loops and reverse their order, so that all
dependencies which need to be unpacked are handled first and only after that
configures are issued for dependencies.

This is needed as otherwise the unpack of a (new) dependency will be issued
in between a configure call for two (or more) packages which form a loop,
which means the configure calls aren't part of the same dpkg call and
therefore dpkg bails out.

Such tight loops should really be avoided as they are usually wrong – and in
reality the dependencies in libreoffice were greatly simplified thanks to
Rene Engelhard so the problem is gone for the benefit of all.

Closes: 707578
11 years agotry all providers in order if uninstallable in MarkInstall
David Kalnischkies [Tue, 21 May 2013 19:50:30 +0000 (21:50 +0200)] 
try all providers in order if uninstallable in MarkInstall

11 years agofix priority sorting by prefering higher in MarkInstall
David Kalnischkies [Tue, 21 May 2013 16:06:17 +0000 (18:06 +0200)] 
fix priority sorting by prefering higher in MarkInstall

Used to work until a certain (here unnamed) person came along and used
the wrong operator causing low-priority packages to be sorted above
high-priority packages while choosing a provider in commit
 2b5c35c7bb915dbd46fefd7c79f05364ba22f93b from Nov 2011

11 years agoprefer Essentials over Removals in ordering score
David Kalnischkies [Tue, 21 May 2013 15:10:21 +0000 (17:10 +0200)] 
prefer Essentials over Removals in ordering score

Doing Removes early is good to have them out of the way, so they
don't break 'Inst' or 'Conf' chains, but scoring them above Essentials
means that we end up upgrading (many) less important packages before
we handle big stuff like libc6 or debconf which not only fails if those
less important packages have unannounced (strict) dependencies, but also
leads to having these packages unconfigured for a long time triggering
bugs in maintainer scripts for no good reason (#708831).

So this commits sets the default value for remove scores to 100, which
is below the one for essentials (200) and a lot lower than the previous
default value (500).

11 years agorewrite pkgOrderList::DepRemove to stop incorrect immediate setting
David Kalnischkies [Mon, 20 May 2013 22:05:14 +0000 (00:05 +0200)] 
rewrite pkgOrderList::DepRemove to stop incorrect immediate setting

Some squeeze → wheezy upgrades indicate that DepRemove runs amok
in complicated setups as it wasn't correctly working with or-groups.
Completely rewritten the check is now moving from or-group to or-group
instead.

The behavior should be the same as the code before, but
(hopefully) with less bugs and more comments.

Closes: 645713
11 years agoremove -ldl from cdrom and -lutil from apt-get linkage
David Kalnischkies [Sun, 19 May 2013 16:53:19 +0000 (18:53 +0200)] 
remove -ldl from cdrom and -lutil from apt-get linkage

Building src:apt shows:
dpkg-shlibdeps: warning: package could avoid a useless dependency if
debian/apt/usr/lib/apt/methods/cdrom was not linked against libdl.so.2
(it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if
debian/apt/usr/bin/apt-get was not linked against libutil.so.1 (it uses
none of the library's symbols)

11 years agobuild the en manpages in subdirectory doc/en
David Kalnischkies [Sun, 19 May 2013 13:49:24 +0000 (15:49 +0200)] 
build the en manpages in subdirectory doc/en

Building manpages becames more consistent this way and
it is simpler to ignore build artefacts, too.

11 years agostreamline .gitignore further
David Kalnischkies [Sun, 19 May 2013 09:39:44 +0000 (11:39 +0200)] 
streamline .gitignore further

adding some comments, regrouping files and use some patterns to avoid
updating the ignore file for new translations or abi changes

Git-Dch: Ignore

11 years agomerged trunk
Michael Vogt [Thu, 6 Jun 2013 17:25:59 +0000 (19:25 +0200)] 
merged trunk

11 years agoMerge branch 'debian/sid' of https://github.com/ion1/apt into debian/sid
Michael Vogt [Thu, 6 Jun 2013 17:17:25 +0000 (19:17 +0200)] 
Merge branch 'debian/sid' of https://github.com/ion1/apt into debian/sid

11 years agoprepare release
Michael Vogt [Thu, 6 Jun 2013 17:15:52 +0000 (19:15 +0200)] 
prepare release

11 years agoFix double free (closes: #711045)
Michael Vogt [Thu, 6 Jun 2013 16:20:35 +0000 (18:20 +0200)] 
Fix double free (closes: #711045)

* Fix double free (closes: #711045)

* Fix crash when the "mirror" method does not find any entry
  (closes: #699303)

11 years agofix double free (closes: #711045)
Michael Vogt [Thu, 6 Jun 2013 16:17:14 +0000 (18:17 +0200)] 
fix double free (closes: #711045)

11 years agocmdline/apt-key: Accept nonexistent --keyring file with adv as well
Johan Kiviniemi [Wed, 22 May 2013 18:14:33 +0000 (21:14 +0300)] 
cmdline/apt-key: Accept nonexistent --keyring file with adv as well

11 years agocmdline/apt-key: Create new keyrings with mode 0644 instead of 0600
Johan Kiviniemi [Wed, 22 May 2013 18:06:26 +0000 (21:06 +0300)] 
cmdline/apt-key: Create new keyrings with mode 0644 instead of 0600

11 years ago* buildlib/apti18n.h.in:
Michael Vogt [Thu, 16 May 2013 21:12:37 +0000 (23:12 +0200)] 
* buildlib/apti18n.h.in:
  - fix build failure when building without NLS (closes: #671587)

11 years agodebian/gbp.conf: add debian-tag key to ensure git-dch works
Michael Vogt [Thu, 16 May 2013 20:38:21 +0000 (22:38 +0200)] 
debian/gbp.conf: add debian-tag key to ensure git-dch works

11 years agoUpdate changelog to include Vcs-* changes
Julian Andres Klode [Thu, 16 May 2013 20:34:04 +0000 (22:34 +0200)] 
Update changelog to include Vcs-* changes

11 years agoFrench translation : typo fix. Closes: #677272
Christian PERRIER [Thu, 16 May 2013 20:28:52 +0000 (22:28 +0200)] 
French translation : typo fix. Closes: #677272

11 years agoUpdate Vcs fields
Guillem Jover [Thu, 16 May 2013 17:45:25 +0000 (19:45 +0200)] 
Update Vcs fields

Use the canonical URLs. Rename Vcs-Bzr to Vcs-Git and use the more
efficient git protocol instead of http. Point Vcs-Browser to the
gitweb interface.

11 years agoadd export-dir and debian-branch 0.9.8.1
Michael Vogt [Thu, 16 May 2013 13:30:23 +0000 (15:30 +0200)] 
add export-dir and debian-branch

11 years agoupdate .gitignore
Michael Vogt [Thu, 16 May 2013 13:02:24 +0000 (15:02 +0200)] 
update .gitignore

11 years agoprepare upload
Michael Vogt [Thu, 16 May 2013 12:58:56 +0000 (14:58 +0200)] 
prepare upload

11 years agomerged previous bzr commit
Michael Vogt [Thu, 16 May 2013 12:31:14 +0000 (14:31 +0200)] 
merged previous bzr commit

11 years agomoved to git, updated gbp.conf to match the bzr version
Michael Vogt [Thu, 16 May 2013 12:22:12 +0000 (14:22 +0200)] 
moved to git, updated gbp.conf to match the bzr version

11 years agonon-inline RunGPGV methods to restore ABI compatibility with previous versions to...
David Kalnischkies [Sat, 11 May 2013 08:10:07 +0000 (10:10 +0200)] 
non-inline RunGPGV methods to restore ABI compatibility with previous versions to fix partial upgrades (Closes: #707771)

The rename in 0.9.7.9~exp2 moved the method body to the class definition
which means it became inline, which isn't ABI compatibile. The reverse of
moving inline to non-inline is safe though.

11 years agorebuild po
Michael Vogt [Thu, 16 May 2013 09:35:32 +0000 (11:35 +0200)] 
rebuild po

11 years agoadd .gitignore and gbp.conf
Michael Vogt [Thu, 16 May 2013 09:34:38 +0000 (11:34 +0200)] 
add .gitignore and gbp.conf

11 years agoreleasing version 0.9.8 0.9.8
Michael Vogt [Wed, 8 May 2013 16:58:29 +0000 (18:58 +0200)] 
releasing version 0.9.8

11 years agofix uri test
Michael Vogt [Wed, 8 May 2013 16:58:10 +0000 (18:58 +0200)] 
fix uri test

11 years agorefresh translations
Michael Vogt [Wed, 8 May 2013 16:57:09 +0000 (18:57 +0200)] 
refresh translations

11 years agomerged patch from Daniel Hartwig to fix URI and proxy releated issues
Michael Vogt [Wed, 8 May 2013 15:50:15 +0000 (17:50 +0200)] 
merged patch from Daniel Hartwig to fix URI and proxy releated issues

11 years agomerged from the debian-wheezy branch
Michael Vogt [Wed, 8 May 2013 15:48:31 +0000 (17:48 +0200)] 
merged from the debian-wheezy branch

11 years ago* apt-pkg/algorithms.cc:
Michael Vogt [Wed, 8 May 2013 15:46:31 +0000 (17:46 +0200)] 
* apt-pkg/algorithms.cc:
  - Do not propagate negative scores from rdepends. Propagating the absolute
    value of a negative score may boost obsolete packages and keep them
    installed instead of installing their successors.  (Closes: #699759)

11 years agoproperly handle if-modfied-since with libcurl/https
Michael Vogt [Wed, 8 May 2013 15:45:17 +0000 (17:45 +0200)] 
properly handle if-modfied-since with libcurl/https
(closes: #705648)

11 years agoFix English spelling error in a message ('A error'). Unfuzzy
bubulle@debian.org [Wed, 10 Apr 2013 09:28:11 +0000 (11:28 +0200)] 
Fix English spelling error in a message ('A error'). Unfuzzy
translations. Closes: #705087

11 years agoChangelog entry for translation fixes
bubulle@debian.org [Tue, 9 Apr 2013 05:59:33 +0000 (07:59 +0200)] 
Changelog entry for translation fixes

11 years agoComplete French translation
bubulle@debian.org [Tue, 9 Apr 2013 05:58:34 +0000 (07:58 +0200)] 
Complete French translation

11 years agoComplete translation
bubulle@debian.org [Tue, 9 Apr 2013 05:56:45 +0000 (07:56 +0200)] 
Complete translation

11 years agoReformat PO file
bubulle@debian.org [Tue, 9 Apr 2013 05:54:52 +0000 (07:54 +0200)] 
Reformat PO file

11 years agoFix typo
bubulle@debian.org [Tue, 9 Apr 2013 05:54:11 +0000 (07:54 +0200)] 
Fix typo

11 years agoreleasing version 0.9.7.9~exp3
Michael Vogt [Mon, 8 Apr 2013 15:30:18 +0000 (17:30 +0200)] 
releasing version 0.9.7.9~exp3

11 years agopo: refresh
Michael Vogt [Mon, 8 Apr 2013 15:29:47 +0000 (17:29 +0200)] 
po: refresh

11 years agomerged bundle from david
Michael Vogt [Mon, 8 Apr 2013 13:38:45 +0000 (15:38 +0200)] 
merged bundle from david

11 years agomerged lp:~mvo/apt/add-missing-dsc-hashes
Michael Vogt [Mon, 8 Apr 2013 06:45:06 +0000 (08:45 +0200)] 
merged lp:~mvo/apt/add-missing-dsc-hashes

11 years ago* debian/control:
Michael Vogt [Mon, 8 Apr 2013 06:41:51 +0000 (08:41 +0200)] 
* debian/control:
  - replace manpages-it (closes: #704723)

11 years ago* apt-pkg/sourcelist.cc:
Michael Vogt [Thu, 4 Apr 2013 16:22:16 +0000 (18:22 +0200)] 
* apt-pkg/sourcelist.cc:
  - fix segfault when a hostname contains a [, thanks to
    Tzafrir Cohen (closes: #704653)

11 years agoshare version strings between same versions (of different architectures)
David Kalnischkies [Wed, 3 Apr 2013 17:43:03 +0000 (19:43 +0200)] 
share version strings between same versions (of different architectures)
to save some space and allow quick comparisions later on

11 years ago* apt-pkg/cacheiterators.h:
David Kalnischkies [Wed, 3 Apr 2013 17:34:47 +0000 (19:34 +0200)] 
* apt-pkg/cacheiterators.h:
  - provide DepIterator::IsSatisfied as a nicer shorthand for DepCheck

11 years agoreleasing version 0.9.7.9~exp2
Michael Vogt [Wed, 3 Apr 2013 12:40:08 +0000 (14:40 +0200)] 
releasing version 0.9.7.9~exp2

11 years agopo/*: refreshed
Michael Vogt [Wed, 3 Apr 2013 12:39:40 +0000 (14:39 +0200)] 
po/*: refreshed

11 years agoapt-pkg/contrib/gpgv.cc: fix InRelease check
Michael Vogt [Wed, 3 Apr 2013 12:19:34 +0000 (14:19 +0200)] 
apt-pkg/contrib/gpgv.cc: fix InRelease check

11 years ago - sort group and package names in the hashtable on insert
David Kalnischkies [Wed, 3 Apr 2013 10:44:36 +0000 (12:44 +0200)] 
  - sort group and package names in the hashtable on insert
* apt-pkg/pkgcache.cc:
  - assume sorted hashtable entries for groups/packages

11 years agomerged lp:~mvo/apt/fix-inrelease5
Michael Vogt [Tue, 2 Apr 2013 13:20:16 +0000 (15:20 +0200)] 
merged lp:~mvo/apt/fix-inrelease5

11 years agopo/{ca,cs,ru}.po: fix merge artifacts harder
Michael Vogt [Tue, 2 Apr 2013 13:08:34 +0000 (15:08 +0200)] 
po/{ca,cs,ru}.po: fix merge artifacts harder

11 years agomicro-optimize and enhance readability of ListParser::VersionHash
David Kalnischkies [Mon, 1 Apr 2013 21:27:16 +0000 (23:27 +0200)] 
micro-optimize and enhance readability of ListParser::VersionHash

11 years agoequal comparisions are used mostly in same-source relations,
David Kalnischkies [Mon, 1 Apr 2013 13:41:02 +0000 (15:41 +0200)] 
equal comparisions are used mostly in same-source relations,
so use this to try to reuse some version strings

11 years ago* apt-pkg/deb/debversion.cc:
David Kalnischkies [Mon, 1 Apr 2013 11:19:43 +0000 (13:19 +0200)] 
* apt-pkg/deb/debversion.cc:
  - add a string-equal shortcut for equal version comparisions

11 years agomerge stuff from donkult
Michael Vogt [Tue, 26 Mar 2013 13:54:31 +0000 (14:54 +0100)] 
merge stuff from donkult

11 years ago* doc/apt.conf.5.xml:
Michael Vogt [Mon, 25 Mar 2013 12:55:07 +0000 (13:55 +0100)] 
* doc/apt.conf.5.xml:
  - document Acquire::ForceIPv{4,6}

11 years ago* methods/connect.cc:
Michael Vogt [Mon, 25 Mar 2013 08:03:48 +0000 (09:03 +0100)] 
* methods/connect.cc:
  - use Errno() instead of strerror(), thanks to David Kalnischk

11 years agomerge patches from daniel to fix merge artifact and test failure
Michael Vogt [Mon, 25 Mar 2013 07:56:42 +0000 (08:56 +0100)] 
merge patches from daniel to fix merge artifact and test failure

11 years agomerge patch from Daniel Hartwig
Michael Vogt [Mon, 25 Mar 2013 07:52:20 +0000 (08:52 +0100)] 
merge patch from Daniel Hartwig

11 years ago* Update all PO files and apt-all.pot
bubulle@debian.org [Sun, 24 Mar 2013 07:58:27 +0000 (08:58 +0100)] 
* Update all PO files and apt-all.pot
* French translation completed (Christian Perrier)

11 years agoUpdate POT and PO files
bubulle@debian.org [Sun, 24 Mar 2013 07:54:14 +0000 (08:54 +0100)] 
Update POT and PO files

11 years agoreleasing version 0.9.7.9~exp1
Michael Vogt [Fri, 22 Mar 2013 21:10:02 +0000 (22:10 +0100)] 
releasing version 0.9.7.9~exp1

11 years agoprepare upload
Michael Vogt [Fri, 22 Mar 2013 20:53:30 +0000 (21:53 +0100)] 
prepare upload

11 years agomerged lp:~mvo/apt/fix-tagfile-hash
Michael Vogt [Fri, 22 Mar 2013 20:52:42 +0000 (21:52 +0100)] 
merged lp:~mvo/apt/fix-tagfile-hash

11 years agomerged the debian-wheezy branch
Michael Vogt [Fri, 22 Mar 2013 20:49:22 +0000 (21:49 +0100)] 
merged the debian-wheezy branch

11 years agoadd new config options "Acquire::ForceIPv4" and
Michael Vogt [Fri, 22 Mar 2013 20:46:53 +0000 (21:46 +0100)] 
add new config options "Acquire::ForceIPv4" and
"Acquire::ForceIPv6" to allow focing one or the other
(closes: #611891)

11 years agoTurkish (Mert Dirik). Closes: #703526
bubulle@debian.org [Fri, 22 Mar 2013 06:17:05 +0000 (07:17 +0100)] 
Turkish (Mert Dirik). Closes: #703526

11 years agomerge patch from Colin to fix error message from getaddrinfo() (#703603)
Michael Vogt [Thu, 21 Mar 2013 15:18:58 +0000 (16:18 +0100)] 
merge patch from Colin to fix error message from getaddrinfo() (#703603)

11 years agoapt-pkg/edsp.cc: do not use stderr in WriteSolution at all
Michael Vogt [Wed, 20 Mar 2013 11:18:16 +0000 (12:18 +0100)] 
apt-pkg/edsp.cc: do not use stderr in WriteSolution at all

11 years agoapt-pkg/edsp.cc: do not spam stderr in WriteSolution
Michael Vogt [Wed, 20 Mar 2013 11:17:05 +0000 (12:17 +0100)] 
apt-pkg/edsp.cc: do not spam stderr in WriteSolution

11 years agosupport dash-escaped text in clearsigned files as implementations are
David Kalnischkies [Tue, 19 Mar 2013 11:37:50 +0000 (12:37 +0100)] 
support dash-escaped text in clearsigned files as implementations are
free to escape all lines (we have no lines in our files which need
 to be escaped as these would be invalid fieldnames) and while ExecGPGV
would detect dash-escaped text as invalid (as its not expected in
 messages with detached signatures) it would be possible to "comment"
lines in (signed) dsc files which are only parsed but not verified

11 years agouse FileFd instead of int fds to tidy up the interface a bit
David Kalnischkies [Tue, 19 Mar 2013 09:49:57 +0000 (10:49 +0100)] 
use FileFd instead of int fds to tidy up the interface a bit

11 years ago* apt-pkg/deb/debindexfile.cc,
David Kalnischkies [Mon, 18 Mar 2013 21:57:08 +0000 (22:57 +0100)] 
* apt-pkg/deb/debindexfile.cc,
  apt-pkg/deb/deblistparser.cc:
  - use OpenMaybeClearSignedFile to be free from detecting and
    skipping clearsigning metadata in dsc and Release files

We can't write a "clean" file to disk as not all acquire methods copy
Release files before checking them (e.g. cdrom), so this reverts recombining,
but uses the method we use for dsc files also in the two places we
deal with Release files

11 years ago - add method to open (maybe) clearsigned files transparently
David Kalnischkies [Mon, 18 Mar 2013 18:36:55 +0000 (19:36 +0100)] 
  - add method to open (maybe) clearsigned files transparently
* ftparchive/writer.cc:
  - use OpenMaybeClearSignedFile to be free from detecting and
    skipping clearsigning metadata in dsc files

11 years agorename testcase to mention CVE number, make the code more consistent with
David Kalnischkies [Mon, 18 Mar 2013 16:06:51 +0000 (17:06 +0100)] 
rename testcase to mention CVE number, make the code more consistent with
the rest and add some more tests (by fixing commented ones)

11 years agotest/libapt/tagfile_test.cc: add missing "unistd.h" (thanks to Niels Thykier)
Michael Vogt [Mon, 18 Mar 2013 12:52:43 +0000 (13:52 +0100)] 
test/libapt/tagfile_test.cc: add missing "unistd.h" (thanks to Niels Thykier)

11 years agofix pkgTagSection::Exists() and add test
Michael Vogt [Mon, 18 Mar 2013 11:10:35 +0000 (12:10 +0100)] 
fix pkgTagSection::Exists() and add test

11 years agotest/integration/framework: use EXIT_CODE to be consistent with the run-tests code
Michael Vogt [Mon, 18 Mar 2013 10:46:20 +0000 (11:46 +0100)] 
test/integration/framework: use EXIT_CODE to be consistent with the run-tests code

11 years agoreport failures via exit and ensure we don't overflow
Michael Vogt [Mon, 18 Mar 2013 10:38:19 +0000 (11:38 +0100)] 
report failures via exit and ensure we don't overflow

11 years ago* test/integration/framework:
Michael Vogt [Mon, 18 Mar 2013 07:08:37 +0000 (08:08 +0100)] 
* test/integration/framework:
  - continue after test failure but preserve exit status

11 years ago* test/libapt/assert.h, test/libapt/run-tests:
Michael Vogt [Sun, 17 Mar 2013 18:51:02 +0000 (19:51 +0100)] 
* test/libapt/assert.h, test/libapt/run-tests:
  - exit with status 1 on test failure

11 years agoensure that we fclose/unlink/free in the new gpg-code as soon as possible
David Kalnischkies [Sat, 16 Mar 2013 11:40:43 +0000 (12:40 +0100)] 
ensure that we fclose/unlink/free in the new gpg-code as soon as possible

11 years agoadd testcase and update changelog
Michael Vogt [Sat, 16 Mar 2013 09:08:28 +0000 (10:08 +0100)] 
add testcase and update changelog

11 years agomerged from davids bundle
Michael Vogt [Sat, 16 Mar 2013 08:15:46 +0000 (09:15 +0100)] 
merged from davids bundle

11 years ago - if ExecGPGV deals with a clear-signed file it will split this file
David Kalnischkies [Fri, 15 Mar 2013 17:53:53 +0000 (18:53 +0100)] 
  - if ExecGPGV deals with a clear-signed file it will split this file
    into data and signatures, pass it to gpgv for verification and
    recombines it after that in a known-good way without unsigned blocks
    and whitespaces resulting usually in more or less the same file as
    before, but later code can be sure about the format
* apt-pkg/deb/debmetaindex.cc:
  - reenable InRelease by default

11 years agosplit out a method to strip whitespaces only on the right side
Michael Vogt [Fri, 15 Mar 2013 13:57:27 +0000 (14:57 +0100)] 
split out a method to strip whitespaces only on the right side

11 years ago* apt-pkg/acquire-item.cc:
David Kalnischkies [Fri, 15 Mar 2013 13:55:43 +0000 (14:55 +0100)] 
* apt-pkg/acquire-item.cc:
  - keep the last good InRelease file around just as we do it with
    Release.gpg in case the new one we download isn't good for us

11 years agodon't close stdout/stderr if it is also the statusfd
David Kalnischkies [Fri, 15 Mar 2013 13:49:05 +0000 (14:49 +0100)] 
don't close stdout/stderr if it is also the statusfd

11 years ago* apt-pkg/contrib/gpgv.cc:
David Kalnischkies [Fri, 15 Mar 2013 13:29:46 +0000 (14:29 +0100)] 
* apt-pkg/contrib/gpgv.cc:
  - ExecGPGV is a method which should never return, so mark it as such
    and fix the inconsistency of returning in error cases

11 years ago* apt-pkg/indexcopy.cc:
David Kalnischkies [Fri, 15 Mar 2013 13:17:01 +0000 (14:17 +0100)] 
* apt-pkg/indexcopy.cc:
  - rename RunGPGV to ExecGPGV and move it to apt-pkg/contrib/gpgv.cc