]> git.saurik.com Git - apt.git/log
apt.git
10 years agowarning: unused parameter ‘foo’ [-Wunused-parameter]
David Kalnischkies [Sat, 1 Mar 2014 14:11:42 +0000 (15:11 +0100)] 
warning: unused parameter ‘foo’ [-Wunused-parameter]

Reported-By: gcc -Wunused-parameter
Git-Dch: Ignore

10 years agowarning: type qualifiers ignored on function return type [-Wignored-qualifiers]
David Kalnischkies [Sat, 1 Mar 2014 12:55:20 +0000 (13:55 +0100)] 
warning: type qualifiers ignored on function return type [-Wignored-qualifiers]

Reported-By: gcc -Wignored-qualifiers
Git-Dch: Ignore

10 years agowarning: cannot optimize loop, the loop counter may overflow [-Wunsafe-loop-optimizat...
David Kalnischkies [Thu, 27 Feb 2014 02:32:13 +0000 (03:32 +0100)] 
warning: cannot optimize loop, the loop counter may overflow [-Wunsafe-loop-optimizations]

Git-Dch: Ignore
Reported-By: gcc -Wunsafe-loop-optimizations
10 years agowarning: no previous declaration for foobar() [-Wmissing-declarations]
David Kalnischkies [Thu, 27 Feb 2014 02:11:54 +0000 (03:11 +0100)] 
warning: no previous declaration for foobar() [-Wmissing-declarations]

Git-Dch: Ignore
Reported-By: gcc -Wmissing-declarations
10 years agowarning: useless cast to type A [-Wuseless-cast]
David Kalnischkies [Thu, 27 Feb 2014 01:18:11 +0000 (02:18 +0100)] 
warning: useless cast to type A [-Wuseless-cast]

Git-Dch: Ignore
Reported-By: gcc -Wuseless-cast
10 years agowarning: cast from type A to type B casts away qualifiers [-Wcast-qual]
David Kalnischkies [Thu, 27 Feb 2014 00:54:10 +0000 (01:54 +0100)] 
warning: cast from type A to type B casts away qualifiers [-Wcast-qual]

Git-Dch: Ignore
Reported-By: gcc -Wcast-qual
10 years agoStartPos is always positive for http/https
David Kalnischkies [Thu, 27 Feb 2014 00:26:29 +0000 (01:26 +0100)] 
StartPos is always positive for http/https

server.cc: In member function ‘bool ServerState::HeaderLine(std::string)’:
server.cc:198:72: warning: format ‘%llu’ expects argument of type ‘long long unsigned int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
       else if (sscanf(Val.c_str(),"bytes %llu-%*u/%llu",&StartPos,&Size) != 2)

Git-Dch: Ignore
Reported-By: gcc -Wpedantic
10 years agowarning: extra ‘;’ [-Wpedantic]
David Kalnischkies [Thu, 27 Feb 2014 00:20:53 +0000 (01:20 +0100)] 
warning: extra ‘;’ [-Wpedantic]

Git-Dch: Ignore
Reported-By: gcc -Wpedantic
10 years agowarning: non-ISO-standard escape sequence, '\e' [enabled by default]
David Kalnischkies [Wed, 26 Feb 2014 23:56:11 +0000 (00:56 +0100)] 
warning: non-ISO-standard escape sequence, '\e' [enabled by default]

Git-Dch: Ignore
Reported-By: gcc -Wpedantic
10 years agofix -Wformat= warnings about size_t != %lu on e.g. armel
David Kalnischkies [Tue, 25 Feb 2014 21:30:39 +0000 (22:30 +0100)] 
fix -Wformat= warnings about size_t != %lu on e.g. armel

Git-Dch: Ignore
Reported-By: gcc
10 years agofix -Wmissing-field-initializers warnings
David Kalnischkies [Tue, 25 Feb 2014 21:22:41 +0000 (22:22 +0100)] 
fix -Wmissing-field-initializers warnings

Reported-By: gcc
Git-Dch: Ignore

10 years agomake doxygen more quiet, fix issues and disable latex
David Kalnischkies [Tue, 25 Feb 2014 21:10:40 +0000 (22:10 +0100)] 
make doxygen more quiet, fix issues and disable latex

Git-Dch: Ignore

10 years agounset LANGUAGE in the testing framework directly
David Kalnischkies [Tue, 25 Feb 2014 16:21:44 +0000 (17:21 +0100)] 
unset LANGUAGE in the testing framework directly

Git-Dch: Ignore

10 years agosupport DEB_BUILD_PROFILES and -P for build profiles
David Kalnischkies [Tue, 25 Feb 2014 13:26:18 +0000 (14:26 +0100)] 
support DEB_BUILD_PROFILES and -P for build profiles

Inspired by the rest of the patch in 661537, but abstract the
parsing of various ways of setting the build profiles more so it can
potentially be reused and all apt parts have the same behaviour.

Especially config options, cmdline options and environment will not be
combined as proposed as this isn't APTs usual behaviour and dpkg doesn't
do it either, so one overrides the other as it normally does.

10 years agoimplement BuildProfileSpec support as dpkg has in 1.17.2
Johannes Schauer [Mon, 24 Feb 2014 23:12:20 +0000 (00:12 +0100)] 
implement BuildProfileSpec support as dpkg has in 1.17.2

Build-dependencies are now able to include a <profile.foo …>
specification limiting usage similar to already supported [arch …].
More details: https://wiki.debian.org/BuildProfileSpec

Closes: 661537
10 years agoadd default and override handling for Cnf::FindVector
David Kalnischkies [Mon, 24 Feb 2014 22:10:25 +0000 (23:10 +0100)] 
add default and override handling for Cnf::FindVector

Automatically handle the override of list options via its parent value
which can even be a comma-separated list of values. It also adds an easy
way of providing a default for the list.

10 years agoautogenerate makefile for vendor system
David Kalnischkies [Sun, 23 Feb 2014 23:25:29 +0000 (00:25 +0100)] 
autogenerate makefile for vendor system

It can be useful to have a whole makefile available for vendor setup,
but by providing a basic one we can deal with the simple cases more
easily (and changes to the system are presumably easier).

10 years agocheck version before adding scores in resolver
David Kalnischkies [Sun, 23 Feb 2014 21:24:27 +0000 (22:24 +0100)] 
check version before adding scores in resolver

Prevents that "old" dependencies have an influence in the scoring.
With positive dependencies this is usually not a problem, but negative
dependencies can linger around for a long time.

10 years agoshow debug output only if told so in packagemanager
David Kalnischkies [Sun, 23 Feb 2014 21:22:15 +0000 (22:22 +0100)] 
show debug output only if told so in packagemanager

Git-Dch: Ignore

10 years agodo not do the same looping twice
David Kalnischkies [Sat, 15 Feb 2014 13:47:24 +0000 (14:47 +0100)] 
do not do the same looping twice

Git-Dch: Ignore

10 years agopropagate a negative score point along breaks/conflicts
David Kalnischkies [Sat, 15 Feb 2014 12:38:39 +0000 (13:38 +0100)] 
propagate a negative score point along breaks/conflicts

versioned -dev packages like db and boost have the problem of no
dependencies which would give them a competitive advantage against an
older incarnation of the -dev package, so they tend to be kept back
until the old version is removed from the archive, which, if the user
has older releases in its sources can take a long time (or never happens).

The newer version has a conflicts/breaks against the older one, but the
older one hasn't against the newer, so by giving via the conflicts the
older one a reduced score the newer one can win if there is no other
reason to keep it. If both have a conflict against each other the
scoring will cancel itself out, so no harm done.

This gives "action" a slightly bigger edge in breaks/conflicts cases
than before, but holding back isn't a really good solution anyway.

10 years agoPromote xz-utils from apt Suggests to libapt-pkg Depends
Julian Andres Klode [Wed, 12 Mar 2014 19:46:36 +0000 (20:46 +0100)] 
Promote xz-utils from apt Suggests to libapt-pkg Depends

libapt-pkg depends on the other compressors, and now that
xz is the default in many cases, it should depend on that
one as well.

10 years agol10n: vi.po (624t): Update Vietnamese translation
Trần Ngọc Quân [Mon, 3 Mar 2014 08:41:01 +0000 (15:41 +0700)] 
l10n: vi.po (624t): Update Vietnamese translation

Signed-off-by: Trần Ngọc Quân <vnwildman@gmail.com>
10 years agoreleasing package apt version 0.9.15.5 0.9.15.5
Michael Vogt [Fri, 28 Feb 2014 07:46:25 +0000 (08:46 +0100)] 
releasing package apt version 0.9.15.5

10 years agoinitial version of apt-helper
Michael Vogt [Thu, 27 Feb 2014 15:46:05 +0000 (16:46 +0100)] 
initial version of apt-helper

10 years agoBug#739988: Fix autopkgtest missing dependencies and locale
Martin Pitt [Mon, 24 Feb 2014 18:12:44 +0000 (19:12 +0100)] 
Bug#739988: Fix autopkgtest missing dependencies and locale

debian/tests/control: Add missing build-essential, fakeroot, and wget test
dependencies.

debian/tests/run-tests: Pin locale to C to avoid test failures in other
locales.

10 years agovendor/tanglu/makefile: add missing clean/sources.list
Michael Vogt [Sat, 22 Feb 2014 23:41:52 +0000 (00:41 +0100)] 
vendor/tanglu/makefile: add missing clean/sources.list

10 years agoreleasing package apt version 0.9.15.4 0.9.15.4
Michael Vogt [Sat, 22 Feb 2014 23:28:26 +0000 (00:28 +0100)] 
releasing package apt version 0.9.15.4

10 years agotest/integration/test-ubuntu-bug-346386-apt-get-update-paywall: use http-method from...
Michael Vogt [Sat, 22 Feb 2014 23:05:43 +0000 (00:05 +0100)] 
test/integration/test-ubuntu-bug-346386-apt-get-update-paywall: use http-method from METHODSDIR

10 years agoadd missing libdb-dev to debian/tests/control
Michael Vogt [Sat, 22 Feb 2014 22:53:54 +0000 (23:53 +0100)] 
add missing libdb-dev to debian/tests/control

10 years agoskip test if "apt" is not build
Michael Vogt [Sat, 22 Feb 2014 21:28:36 +0000 (22:28 +0100)] 
skip test if "apt" is not build

10 years agofix ADT failure in downloadfile()
Michael Vogt [Sat, 22 Feb 2014 21:04:22 +0000 (22:04 +0100)] 
fix ADT failure in downloadfile()

10 years agoadd testcase for Bug#718329
Michael Vogt [Sat, 22 Feb 2014 20:07:38 +0000 (21:07 +0100)] 
add testcase for Bug#718329

10 years agodebian: Add debDebFile::ExtractTarMember to the symbols file
Guillem Jover [Sat, 22 Feb 2014 18:24:32 +0000 (19:24 +0100)] 
debian: Add debDebFile::ExtractTarMember to the symbols file

10 years agoAdd support for data.tar, control.tar and control.tar.xz
Guillem Jover [Sun, 16 Feb 2014 22:30:48 +0000 (23:30 +0100)] 
Add support for data.tar, control.tar and control.tar.xz

Sync the deb(5) format support with latest dpkg, by allowing
uncompressed tar members and xz compressed control.tar. This
also refactors the control.tar member extraction by using
ExtractTarMember(), which also means future changes only need
to be implemented in a single place.

10 years agoDebFile: Refactor ExtractTarMember() out from ExtractArchive()
Guillem Jover [Mon, 17 Feb 2014 21:02:38 +0000 (22:02 +0100)] 
DebFile: Refactor ExtractTarMember() out from ExtractArchive()

Generalize DebFile::ExtractArchive() to take a member base name, so that
we can reuse it for control.tar member extraction too.

10 years agoExtractTar: Allow an empty decompressor program
Guillem Jover [Sun, 16 Feb 2014 22:29:13 +0000 (23:29 +0100)] 
ExtractTar: Allow an empty decompressor program

This allows for uncompressed tar files, as the decompressor process will
not get interposed in-between the file descriptors.

10 years agoadd apt-vendor information for tanglu
Jon Severinsson [Sat, 22 Feb 2014 17:40:09 +0000 (18:40 +0100)] 
add apt-vendor information for tanglu

10 years agoFix typos in documentation (codespell)
Michael Vogt [Sat, 22 Feb 2014 17:34:33 +0000 (18:34 +0100)] 
Fix typos in documentation (codespell)

10 years agoimprove clean for auto-generated sources.list
Michael Vogt [Sat, 22 Feb 2014 17:22:04 +0000 (18:22 +0100)] 
improve clean for auto-generated sources.list

10 years agoremove auto-generated apt-key and sources.list on clean (closes: 739749)
Michael Vogt [Sat, 22 Feb 2014 17:07:43 +0000 (18:07 +0100)] 
remove auto-generated apt-key and sources.list on clean (closes: 739749)

10 years agoreleasing package apt version 0.9.15.3
Michael Vogt [Thu, 20 Feb 2014 13:42:50 +0000 (14:42 +0100)] 
releasing package apt version 0.9.15.3

10 years agoMerge remote-tracking branch 'mvo/debian/sid' into debian/sid
Michael Vogt [Thu, 20 Feb 2014 13:41:48 +0000 (14:41 +0100)] 
Merge remote-tracking branch 'mvo/debian/sid' into debian/sid

10 years agoprepare re-enable fnmatch() once we have proper reporting
Michael Vogt [Thu, 20 Feb 2014 13:41:24 +0000 (14:41 +0100)] 
prepare re-enable fnmatch() once we have proper reporting

10 years agoprepare release
Michael Vogt [Thu, 20 Feb 2014 08:08:59 +0000 (09:08 +0100)] 
prepare release

10 years agoMerge remote-tracking branch 'donkult/debian/sid' into debian/sid
Michael Vogt [Fri, 14 Feb 2014 21:28:34 +0000 (22:28 +0100)] 
Merge remote-tracking branch 'donkult/debian/sid' into debian/sid

Conflicts:
apt-private/acqprogress.cc

10 years agoupdate symbols file with hints from the buildlogs
David Kalnischkies [Fri, 14 Feb 2014 21:20:17 +0000 (22:20 +0100)] 
update symbols file with hints from the buildlogs

10 years agoadd a testcase to check for forbidden https→http downgrades
David Kalnischkies [Fri, 14 Feb 2014 17:59:46 +0000 (18:59 +0100)] 
add a testcase to check for forbidden https→http downgrades

Git-Dch: Ignore

10 years agohonor option to disable pulses for the testcases
David Kalnischkies [Fri, 14 Feb 2014 17:35:35 +0000 (18:35 +0100)] 
honor option to disable pulses for the testcases

Git-Dch: Ignore

10 years agofix the test-kernel-helper-autoremove testcase
Michael Vogt [Fri, 14 Feb 2014 21:01:35 +0000 (22:01 +0100)] 
fix the test-kernel-helper-autoremove testcase

10 years agoAdditional test for the case when installed version != newest version
Steve Langasek [Mon, 5 Nov 2012 22:44:59 +0000 (14:44 -0800)] 
Additional test for the case when installed version != newest version

10 years agoMake the test more verbose and check for the negative case of a kernel that
Steve Langasek [Mon, 5 Nov 2012 21:11:39 +0000 (13:11 -0800)] 
Make the test more verbose and check for the negative case of a kernel that
should not be marked not-for-autoremoval

10 years agotypo fix
Steve Langasek [Mon, 5 Nov 2012 20:32:50 +0000 (12:32 -0800)] 
typo fix

10 years agoalso check that the running kernel is kept
Michael Vogt [Mon, 5 Nov 2012 10:39:47 +0000 (11:39 +0100)] 
also check that the running kernel is kept

10 years agoadd testcase for the autoremove feature
Michael Vogt [Mon, 5 Nov 2012 10:31:29 +0000 (11:31 +0100)] 
add testcase for the autoremove feature
Conflicts:
debian/apt.auto-removal.sh

10 years agodisable fnmatch()
Michael Vogt [Fri, 14 Feb 2014 18:58:56 +0000 (19:58 +0100)] 
disable fnmatch()

The current PackageContainerInterface::FromString() will do a
FromFnmatch() first and then FromRegEx(). This commit reverts
that change to restore the old behavior to only look for RegEx
and not glob-style pattern. The rational is that:
a) currently a fnmatch() is misleadingly reported as a regex match to
   the user (Bug#738880)
b) a fnmatch may match something different than a a RegEx so the
   change broke a published interface

10 years agoadd missing canNotFindFnmatch/showFnmatchSelection (for the next ABI break)
Michael Vogt [Fri, 14 Feb 2014 18:40:58 +0000 (19:40 +0100)] 
add missing canNotFindFnmatch/showFnmatchSelection (for the next ABI break)

10 years agoadd a testcase to check for forbidden https→http downgrades
David Kalnischkies [Fri, 14 Feb 2014 17:59:46 +0000 (18:59 +0100)] 
add a testcase to check for forbidden https→http downgrades

Git-Dch: Ignore

10 years agosimplify code some more to make reddit happy
David Kalnischkies [Fri, 14 Feb 2014 15:33:26 +0000 (16:33 +0100)] 
simplify code some more to make reddit happy

Commit 6008b79adf1d7ea5607fab87a355d664c8725026 should have been guarded
by "Git-Dch: Ignore", but it wasn't and I only noticed it with the Close
message via deity thinking "hehe, I wonder if someone is gonna notice".
Looks like someone did: hats off to reddit user itisOmegakai!
Good to know that what I do isn't only monitored by goverments. :)

As there is another instance of basically the same code we just factor
out the code a bit and reuse, so its even cleaner and not only simpler.

Reported-By: scan-build
10 years agohonor option to disable pulses for the testcases
David Kalnischkies [Fri, 14 Feb 2014 17:35:35 +0000 (18:35 +0100)] 
honor option to disable pulses for the testcases

Git-Dch: Ignore

10 years agodisable https->http redirects in libcurl
Michael Vogt [Fri, 14 Feb 2014 16:11:07 +0000 (17:11 +0100)] 
disable https->http redirects in libcurl

This change prevents changing the protocol from https to http.

10 years agotest/integration/test-bug-723705-tagfile-truncates-fields: fix autopkgtest failure
Michael Vogt [Fri, 14 Feb 2014 16:32:42 +0000 (17:32 +0100)] 
test/integration/test-bug-723705-tagfile-truncates-fields: fix autopkgtest failure

10 years agodo not compress .xhtml files and remove junk files
David Kalnischkies [Thu, 13 Feb 2014 23:55:20 +0000 (00:55 +0100)] 
do not compress .xhtml files and remove junk files

dh_compress compresses .xhtml files by default, which breaks our doxygen
documentation. doxygen has also a bunch of temporary files it creates
which stay in the build directory and so we remove them before
installing them as documentation.

Closes: 738933
10 years agoenforce 'house-style' on changelog testcase
David Kalnischkies [Thu, 13 Feb 2014 23:44:06 +0000 (00:44 +0100)] 
enforce 'house-style' on changelog testcase

Git-Dch: Ignore

10 years agoallow http protocol to switch to https
David Kalnischkies [Thu, 13 Feb 2014 23:30:58 +0000 (00:30 +0100)] 
allow http protocol to switch to https

switch protocols at random is a bad idea if e.g. http can switch to
file, so we limit the possibilities to http to http and http to https.

As very few people (less than 1% according to popcon) have https
installed this likely changes nothing in terms of failure. The commit is
adding a friendly hint which package needs to be installed though.

10 years agoreport https download start only if we really get it
David Kalnischkies [Thu, 13 Feb 2014 22:38:28 +0000 (23:38 +0100)] 
report https download start only if we really get it

Reporting it via progress means that e.g. a redirect will trigger it,
too, so you get a Get & Hit while http only reports a Hit as it should
be.

10 years agodo not recommend dselect in apt-get manpage
David Kalnischkies [Wed, 12 Feb 2014 14:01:40 +0000 (15:01 +0100)] 
do not recommend dselect in apt-get manpage

The current description says:
"Many users find dselect intimidating and new users may prefer to use
 apt-based user interfaces."
It doesn't feel right to refer users to it then.

Closes: 617625
10 years agotrivial indent fix
Michael Vogt [Thu, 13 Feb 2014 13:47:34 +0000 (14:47 +0100)] 
trivial indent fix

10 years agouse "Restrictions: allow-stderr and avoid apt-stderr.log in debian/tests/run-tests
Michael Vogt [Thu, 13 Feb 2014 13:22:24 +0000 (14:22 +0100)] 
use "Restrictions: allow-stderr and avoid apt-stderr.log in debian/tests/run-tests

10 years agoreleasing package apt version 0.9.15.2 0.9.15.2
Michael Vogt [Thu, 13 Feb 2014 08:52:03 +0000 (09:52 +0100)] 
releasing package apt version 0.9.15.2

10 years agoremove duplicated apt-get download apt apt test
Michael Vogt [Thu, 13 Feb 2014 08:51:57 +0000 (09:51 +0100)] 
remove duplicated apt-get download apt apt test

10 years agol10n: vi.po (621t): Update and review
Trần Ngọc Quân [Mon, 10 Feb 2014 00:57:04 +0000 (07:57 +0700)] 
l10n: vi.po (621t): Update and review

Signed-off-by: Trần Ngọc Quân <vnwildman@gmail.com>
10 years agoMerge remote-tracking branch 'mvo/debian/sid' into debian/sid
Michael Vogt [Wed, 12 Feb 2014 08:23:20 +0000 (09:23 +0100)] 
Merge remote-tracking branch 'mvo/debian/sid' into debian/sid

Conflicts:
test/integration/test-apt-get-download

10 years agoUse a APT::VersionSet instead of a VersionList
Michael Vogt [Wed, 12 Feb 2014 06:59:07 +0000 (07:59 +0100)] 
Use a APT::VersionSet instead of a VersionList

Use a APT::VersionSet instead of a APT::VersionList in DoDownload()
to ensure that there is only one version in the set even if the
user passes multiple identical name/versions on the commandline
(Bug#738103)

10 years agoremove duplication in pkgCdrom::Add and ::Ident
David Kalnischkies [Wed, 12 Feb 2014 01:12:40 +0000 (02:12 +0100)] 
remove duplication in pkgCdrom::Add and ::Ident

Git-Dch: Ignore

10 years agoapt-cdrom should succeed if any drive succeeds
John Ogness [Fri, 13 Dec 2013 19:59:31 +0000 (20:59 +0100)] 
apt-cdrom should succeed if any drive succeeds

If there are multiple CD-ROM drives, `apt-cdrom add` will abort with an
error if any of the drives do not contain a Debian CD which is against
the documentation we have saying "a CD-ROM" and also scripts do not
expect it this way.

This patch modifies apt-cdrom to return success if any of the drives
succeeded. If failures occur, apt-cdrom will still continue trying all
the drives and report the last failure (if none of them succeeded).

The 'ident' command was also changed to match the new 'add' behavior.

Closes: 728153
10 years agouse utimes instead of utimensat/futimens
David Kalnischkies [Mon, 10 Feb 2014 20:52:38 +0000 (21:52 +0100)] 
use utimes instead of utimensat/futimens

cppcheck complains about the obsolete utime as it was removed in
POSIX1.2008 and recommends usage of utimensat/futimens instead
as those are in POSIX and so commit 9ce3cfc9 switched to them.
It is just that they aren't as portable as the standard suggests:
At least our kFreeBSD and Hurd ports stumble over it at runtime.
So to make both, the ports and cppcheck happy, we use utimes instead.

Closes: 738567
10 years agouse VersionSet in download to handle repeats
David Kalnischkies [Mon, 10 Feb 2014 17:06:28 +0000 (18:06 +0100)] 
use VersionSet in download to handle repeats

Closes: 738103
10 years agoalways cleanup patchfiles at the end of rred call
David Kalnischkies [Mon, 10 Feb 2014 16:55:13 +0000 (17:55 +0100)] 
always cleanup patchfiles at the end of rred call

With APT::Get::List-Cleanup disabled the ed-style patch files are
lingering in the lists/ directory otherwise. That was kinda okay in the
old none-client-merge as the filename was always the same so it was
constantly overridden, but now with different names for client-merge
quiet a few could pill up on the system and are used by the next call
as it picks them up based on the filename.

10 years agodo not use an empty APT_CONFIG environment variable
David Kalnischkies [Mon, 10 Feb 2014 13:42:56 +0000 (14:42 +0100)] 
do not use an empty APT_CONFIG environment variable

10 years agodisable doxygen undocumented method warning
David Kalnischkies [Thu, 6 Feb 2014 22:32:53 +0000 (23:32 +0100)] 
disable doxygen undocumented method warning

Very few methods we have are documented, so this is A LOT of noise
hidden the "interesting" warnings about methods which are documented,
but incorrectly and such stuff.

Git-Dch: Ignore

10 years agobump Standards-Version to 3.9.5 (no changes needed)
David Kalnischkies [Thu, 6 Feb 2014 21:01:45 +0000 (22:01 +0100)] 
bump Standards-Version to 3.9.5 (no changes needed)

10 years agoupdate libapt-pkg.symbols file
David Kalnischkies [Thu, 6 Feb 2014 20:59:11 +0000 (21:59 +0100)] 
update libapt-pkg.symbols file

10 years agosimplify code to make compilers happy
David Kalnischkies [Thu, 6 Feb 2014 20:46:29 +0000 (21:46 +0100)] 
simplify code to make compilers happy

Does the same as before, but is a bit simpler on the logic for humans as
well as compilers. scan-build complained about it at least with:
"Result of operation is garbage or undefined"

Reported-By: scan-build
10 years agofix remaining testcase-bugs from my armel box
David Kalnischkies [Thu, 6 Feb 2014 19:48:52 +0000 (20:48 +0100)] 
fix remaining testcase-bugs from my armel box

Git-Dch: Ignore

10 years agoreleasing package apt version 0.9.15.1
Michael Vogt [Thu, 6 Feb 2014 17:10:48 +0000 (18:10 +0100)] 
releasing package apt version 0.9.15.1

10 years agomulticompress with externals sets wrong file modes
Colin Watson [Thu, 30 Jan 2014 14:08:08 +0000 (14:08 +0000)] 
multicompress with externals sets wrong file modes

Copy from the bug description:
After we upgraded the Ubuntu master archive from lucid to precise, we
noticed that Translation-en.bz2 was being written with mode 0600 rather
than 0644, which broke our mirroring.  This is no longer reproducible as
such in unstable because apt now links against libbz2, but it's still
reproducible with xz; it happens because multicompress fchmods one end
of the compression pipe in this case rather than the target file.

[Original testcase slightly modified to comply with house-style]

Closes: 737130
10 years agoMerge remote-tracking branch 'mvo/bugfix/multiarch-upgrade' into debian/sid
Michael Vogt [Thu, 6 Feb 2014 06:10:38 +0000 (07:10 +0100)] 
Merge remote-tracking branch 'mvo/bugfix/multiarch-upgrade' into debian/sid

10 years agodiscard impossible candidates in MarkInstall
David Kalnischkies [Wed, 5 Feb 2014 23:13:10 +0000 (00:13 +0100)] 
discard impossible candidates in MarkInstall

If a (Pre-)Depends can't be satisfied there is no point in keeping the
candidate as is as it is impossible to find a solution for it, so we can
just as well reset the candidate to the currently installed version.
We avoid trying to install this impossible candidate later on this way.

Closes: #735967
10 years agomove isatty() check into InitOutput()
Michael Vogt [Wed, 5 Feb 2014 16:35:33 +0000 (17:35 +0100)] 
move isatty() check into InitOutput()

10 years agoFix multiarch package upgrade issue
Michael Vogt [Tue, 4 Feb 2014 09:18:16 +0000 (10:18 +0100)] 
Fix multiarch package upgrade issue

When checking for negative dependencies in MarkInstall() ensure that
only dependencies that are relevant (i.e. getting installed) are
checked.

10 years agoshow "status" in apt list last
Michael Vogt [Fri, 31 Jan 2014 07:57:34 +0000 (08:57 +0100)] 
show "status" in apt list last

10 years agoMerge remote-tracking branch 'donkult/debian/sid' into debian/sid
Michael Vogt [Fri, 31 Jan 2014 07:23:23 +0000 (08:23 +0100)] 
Merge remote-tracking branch 'donkult/debian/sid' into debian/sid

10 years agodo not crash if VF.File()/VF.File().Archive() is NULL
Michael Vogt [Thu, 30 Jan 2014 14:06:26 +0000 (15:06 +0100)] 
do not crash if VF.File()/VF.File().Archive() is NULL

10 years agofix various style/performance warnings in rred
David Kalnischkies [Wed, 29 Jan 2014 23:11:05 +0000 (00:11 +0100)] 
fix various style/performance warnings in rred

Reported-By: cppcheck
Git-Dch: Ignore

10 years agorestart debSrcRecordParsers only if needed
David Kalnischkies [Wed, 29 Jan 2014 22:24:41 +0000 (23:24 +0100)] 
restart debSrcRecordParsers only if needed

The offset variable in DebSrcRecordParser was not initialized which we
now do and based on it do not trigger a restart if the parser was not
used yet avoiding a needless rescan of the section.

Detected while working on the previous commit e62aa1dd. Both commits act
as a "fix" for the bug shown in the testcase of the commit – this one
here would only hide it through.

10 years agopkgTagFile: if we have seen the end, do not try to see more
David Kalnischkies [Wed, 29 Jan 2014 22:02:51 +0000 (23:02 +0100)] 
pkgTagFile: if we have seen the end, do not try to see more

Asking for more via Step() will notice that we are done with the file
already and will result in a fail, which means we can't find the last
sections anymore (which is especially painful if we haven't moved at
all as in the testcase we haven't even looked at one of the sources
leading to a strange behaviour)

Reported-By: Niall Walsh <niallwalsh@users.berlios.de>
10 years agofix apt-get download truncation (closes: #736962)
Michael Vogt [Wed, 29 Jan 2014 09:37:17 +0000 (10:37 +0100)] 
fix apt-get download truncation (closes: #736962)

10 years agoadd test for Suite with path
Michael Vogt [Tue, 28 Jan 2014 16:20:19 +0000 (17:20 +0100)] 
add test for Suite with path

10 years agoenable deb822 sources for associated testcase
David Kalnischkies [Sun, 26 Jan 2014 14:29:10 +0000 (15:29 +0100)] 
enable deb822 sources for associated testcase

Git-Dch: Ignore