]> git.saurik.com Git - apt.git/log
apt.git
10 years agoRelease 0.9.16.1 0.9.16.1
Julian Andres Klode [Sat, 15 Mar 2014 17:12:54 +0000 (18:12 +0100)] 
Release 0.9.16.1

10 years agoFix handling of autoclosing for compressed files (Closes: #741685)
Julian Andres Klode [Sat, 15 Mar 2014 16:59:47 +0000 (17:59 +0100)] 
Fix handling of autoclosing for compressed files (Closes: #741685)

AutoClose is both an argument in OpenDescriptor() and an enum. In
commit 84baaae93badc2da7c1f4f356456762895cef278 code using the AutoClose
parameter was moved to OpenDescriptorInternal(). In that function,
AutoClose meant the enum value, so the check was always false.

10 years agoUpdated German doc translation
Chris Leick [Sat, 15 Mar 2014 12:04:15 +0000 (13:04 +0100)] 
Updated German doc translation

10 years agoprepare 0.9.16 release 0.9.16
Michael Vogt [Fri, 14 Mar 2014 08:42:46 +0000 (09:42 +0100)] 
prepare 0.9.16 release

10 years agoadd debian/apt.install to gitignore
Michael Vogt [Fri, 14 Mar 2014 08:42:41 +0000 (09:42 +0100)] 
add debian/apt.install to gitignore

10 years agofix test/integration/test-apt-helper
Michael Vogt [Fri, 14 Mar 2014 08:02:44 +0000 (09:02 +0100)] 
fix test/integration/test-apt-helper

10 years agoMerge branch 'debian/sid' of ssh://git.debian.org/git/apt/apt into debian/sid
Michael Vogt [Thu, 13 Mar 2014 17:28:42 +0000 (18:28 +0100)] 
Merge branch 'debian/sid' of ssh://git.debian.org/git/apt/apt into debian/sid

10 years agouse the pretty fullname of a pkg as download desciption
David Kalnischkies [Thu, 13 Mar 2014 00:27:34 +0000 (01:27 +0100)] 
use the pretty fullname of a pkg as download desciption

Otherwise the "WARNING: The following packages cannot be authenticated!"
messages does not include the architecture of the package, so it would
be slightly misinformative.

10 years agorefactor FileFd to hide some #ifdefs
David Kalnischkies [Wed, 12 Mar 2014 15:16:14 +0000 (16:16 +0100)] 
refactor FileFd to hide some #ifdefs

They tend to be ugly to look at, so hide them.

Git-Dch: Ignore

10 years agouse liblzma-dev to provide xz/lzma support
David Kalnischkies [Wed, 12 Mar 2014 13:39:18 +0000 (14:39 +0100)] 
use liblzma-dev to provide xz/lzma support

We have xz/lzma support for a while, but only via an external binary
provided by xz-utils. Now that the Debian archive provides xz by default
and dpkg pre-depends on the library provided by liblzma-dev we can switch
now to use this library as well to avoid requiring an external binary.
For now the binary is in a prio:required package, but this might change
in the future.

API wise it is quiet similar to bz2 code expect that it doesn't provide
file I/O methods, so we piece this together on our own.

10 years agoadd a config option to switch uncompress methods to compress
David Kalnischkies [Wed, 12 Mar 2014 13:24:41 +0000 (14:24 +0100)] 
add a config option to switch uncompress methods to compress

Not very useful in the normal operation of work, but handy for tests.

Git-Dch: Ignore

10 years agoensure that gz compression test is run with gz
David Kalnischkies [Wed, 12 Mar 2014 12:36:08 +0000 (13:36 +0100)] 
ensure that gz compression test is run with gz

The framework can be configured to use different compression algorithms
to test different ones, but a testcase testing for gz support should
always be run with gz, regardless of what compressions are configured
otherwise.

Git-Dch: Ignore

10 years agofactor out getting list of architectures from comma list
David Kalnischkies [Wed, 12 Mar 2014 12:31:41 +0000 (13:31 +0100)] 
factor out getting list of architectures from comma list

Beside fixing this minor code duplication it also resolves the problem
of messing up vim syntax-highlighting.

Git-Dch: Ignore

10 years agorefactor setup of file opening via zlib/bz2 lib
David Kalnischkies [Sun, 9 Jun 2013 12:32:48 +0000 (14:32 +0200)] 
refactor setup of file opening via zlib/bz2 lib

Git-Dch: Ignore

10 years agomove fd duplication closer to the gz/bz2 open calls
David Kalnischkies [Fri, 31 May 2013 17:27:57 +0000 (19:27 +0200)] 
move fd duplication closer to the gz/bz2 open calls

Git-Dch: Ignore

10 years agoabstract version hash comparison a bit
David Kalnischkies [Wed, 12 Mar 2014 16:55:08 +0000 (17:55 +0100)] 
abstract version hash comparison a bit

In #737085 we see that apt can be confused if informations about
versions only differ slightly. This commit adds a way of at least adding
a few more data points with the next abi break to help a bit with it.

Git-Dch: Ignore

10 years agofactor out parsing of MultiArch flag
David Kalnischkies [Wed, 12 Mar 2014 15:53:44 +0000 (16:53 +0100)] 
factor out parsing of MultiArch flag

Git-Dch: Ignore

10 years agocorrect LD_LIBRARY_PATH and config loading for apt-helper
David Kalnischkies [Mon, 10 Mar 2014 21:31:00 +0000 (22:31 +0100)] 
correct LD_LIBRARY_PATH and config loading for apt-helper

Mostly ensures that we use the build methods and not the system
provided methods in the tests (if we don't want it that way).

Git-Dch: Ignore

10 years agoensure that a dot is a dot in the hook
David Kalnischkies [Mon, 10 Mar 2014 20:31:35 +0000 (21:31 +0100)] 
ensure that a dot is a dot in the hook

As we deal with regex matchers here the dots are treated as wildcards if
we don't take care of escaping them. Not very likely that this could be
a real-world problem, but just to be sure.

10 years agoadd ".*-{kernel,modules}-$KERVER" matcher for hook
David Kalnischkies [Mon, 10 Mar 2014 20:12:59 +0000 (21:12 +0100)] 
add ".*-{kernel,modules}-$KERVER" matcher for hook

Pre-build kernel modules (like those build with module-assistent) are
commonly named in this way and it should be ungeneric enough to be added
by default for everyone.

10 years agosupport kfreebsd and hurd in the kernel hook
David Kalnischkies [Mon, 10 Mar 2014 19:57:07 +0000 (20:57 +0100)] 
support kfreebsd and hurd in the kernel hook

kfreebsd as well as hurd kernel packages call the postinst script as
well so we just need to enable the correct parsing for installed
packages and disable the "protect every version" hammer for them.

10 years agouse a configurable list of versioned kernel packages
David Kalnischkies [Mon, 10 Mar 2014 16:53:22 +0000 (17:53 +0100)] 
use a configurable list of versioned kernel packages

With APT::VersionedKernelPackages users have the option of adding
packages like pre-build out-of-tree modules to the list of automatically
protected from being autoremoved.

10 years agocmdline parsing: apt-config is not apt-cdrom
David Kalnischkies [Mon, 10 Mar 2014 14:12:11 +0000 (15:12 +0100)] 
cmdline parsing: apt-config is not apt-cdrom

10 years agoimprove debug output in case downloadfile fails
David Kalnischkies [Mon, 10 Mar 2014 13:15:45 +0000 (14:15 +0100)] 
improve debug output in case downloadfile fails

Git-Dch: Ignore

10 years agomsgstr with elipses need three dots
David Kalnischkies [Mon, 10 Mar 2014 01:54:33 +0000 (02:54 +0100)] 
msgstr with elipses need three dots

fixes some messages and their translation so that all of them have three
dots for messages with an elipse. Many translations already had this.

10 years agofix polish --install-suggests text in apt-get manpage
Wojciech Górski [Mon, 10 Mar 2014 01:07:05 +0000 (02:07 +0100)] 
fix polish --install-suggests text in apt-get manpage

Description of the --install-suggests option is wrong in the polish
apt-get man page. The actual meaning of this option is the opposite
to what is written in the manual.

Closes: 741056
10 years agosupport very long mtab entries in mountpoint discovery
David Kalnischkies [Mon, 10 Mar 2014 00:49:37 +0000 (01:49 +0100)] 
support very long mtab entries in mountpoint discovery

Old code limited lines to 250 characters which is probably enough for
everybody, but who knows… It also takes care of device nodes which start
with the same prefix.

10 years agoenable mount support for apt-cdrom in the tests
David Kalnischkies [Sun, 9 Mar 2014 23:43:21 +0000 (00:43 +0100)] 
enable mount support for apt-cdrom in the tests

Git-Dch: Ignore

10 years agoremove code duplication for Add & Ident in apt-cdrom
David Kalnischkies [Sun, 9 Mar 2014 23:33:38 +0000 (00:33 +0100)] 
remove code duplication for Add & Ident in apt-cdrom

The preparation code to deal with auto-detection and co is the same for
both methods, so not sharing them would be bad. Deals also with the
prevention of side effects triggered by the auto-detection like
disabling mounting for the fallback.

Git-Dch: Ignore

10 years agoapt-cdrom ident shouldn't be interactive
David Kalnischkies [Sun, 9 Mar 2014 23:09:56 +0000 (00:09 +0100)] 
apt-cdrom ident shouldn't be interactive

Commit 62dcbf84 changed the code of ident to look more like the code for
add on my suggestion. This made ident interactive as it starts with a
unmount, press enter, mount cycle. The first two are skipped now.
This fixes d-i/apt-setup which is using it to get ID as well as label.

Closes: 740673
10 years agono error for non-existing mountpoints in MountCdrom
David Kalnischkies [Sun, 9 Mar 2014 13:38:07 +0000 (14:38 +0100)] 
no error for non-existing mountpoints in MountCdrom

The mountpoint might be auto-generated by the mount command so pushing
an error on the stack will confuse the following code and let it believe
an unrecoverable error occured while potentially everything is okay.

Same goes for umount as a non-existing mountpoint is by definition not
mounted.

10 years agoif mountpoint has a ".disk" directory it is mounted
David Kalnischkies [Sun, 9 Mar 2014 12:32:07 +0000 (13:32 +0100)] 
if mountpoint has a ".disk" directory it is mounted

Checking that parent-directory of mountpoint and mountpoint are on
different devices is fine most of the time, but is too restrictive
for our testcases and there shouldn't be anything wrong with 'normal'
users copying disk-contents around either if they want to.

We check for the existance of the ".disk/" directory now as this will
not be present if the disk isn't 'mounted'. Disks doesn't need to have
such a directory through, so for those we fall back to the old way of
detecting mounted or not mounted.

10 years agosimplify apt-cdrom testcode
David Kalnischkies [Sat, 8 Mar 2014 16:42:11 +0000 (17:42 +0100)] 
simplify apt-cdrom testcode

Git-Dch: Ignore

10 years agodo not configure already unpacked packages needlessly
David Kalnischkies [Sat, 8 Mar 2014 16:29:46 +0000 (17:29 +0100)] 
do not configure already unpacked packages needlessly

The unpack of a M-A:same package will force the unpack of all its
siblings directly to prevent that they could be separated by later
immediate actions. In commit 634985f8 a call to SmartConfigure was
introduced to configure these packages at the time the installation
order encounters them. Usually, the unpack order is already okay, so
that this 'earlier' unpack was not needed and if it wouldn't have been
done, the package would now only be unpacked, but by configuring the package
now we impose new requirements which must be satisfied. The code is
clever enough to handle this most of the time (it worked for 2 years!),
but it isn't needed and in very coupled cases this can fail.

Removing this call again removes this extra burden and so simplifies the
ordering as can be seen in the modified tests. Famous last words, but I
don't see a reason for this extra burden to exist hence the remove.

Closes: 740843
10 years agoenable various compiler warnings
David Kalnischkies [Thu, 6 Mar 2014 01:36:48 +0000 (02:36 +0100)] 
enable various compiler warnings

Now that the last few commits resolved the issues we can finally enable
a bunch of compiler warnings by default.

Git-Dch: ignore

10 years agouse SPtrArray handling instead of explicit delete[]
David Kalnischkies [Thu, 6 Mar 2014 00:31:55 +0000 (01:31 +0100)] 
use SPtrArray handling instead of explicit delete[]

The warning message from gcc doesn't make that much sense in my reading
as there is no loop which could overflow here, but it is better to use
our SPtrArray wrapping anyway which fixes the warning as well.

warning: cannot optimize loop, the loop counter may overflow [-Wunsafe-loop-optimizations]
   delete[] Dsc;

Git-Dch: Ignore
Reported-By: gcc -Wunsafe-loop-optimizations
10 years agofollow method attribute suggestions by gcc
David Kalnischkies [Wed, 5 Mar 2014 23:33:10 +0000 (00:33 +0100)] 
follow method attribute suggestions by gcc

Git-Dch: Ignore
Reported-By: gcc -Wsuggest-attribute={pure,const,noreturn}
10 years agocleanup headers and especially #includes everywhere
David Kalnischkies [Wed, 5 Mar 2014 21:11:25 +0000 (22:11 +0100)] 
cleanup headers and especially #includes everywhere

Beside being a bit cleaner it hopefully also resolves oddball problems
I have with high levels of parallel jobs.

Git-Dch: Ignore
Reported-By: iwyu (include-what-you-use)
10 years agomove defines for version to macros.h
David Kalnischkies [Sat, 1 Mar 2014 21:27:11 +0000 (22:27 +0100)] 
move defines for version to macros.h

also adds namespaced attributes for good usage

Git-Dch: Ignore

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 agoMerge remote-tracking branch 'upstream/debian/sid' into feature/apt-download-file
Michael Vogt [Wed, 12 Mar 2014 19:40:01 +0000 (20:40 +0100)] 
Merge remote-tracking branch 'upstream/debian/sid' into feature/apt-download-file

Conflicts:
cmdline/apt-helper.cc
test/integration/framework
test/integration/test-apt-https-no-redirect

10 years agoadd hashsum support in apt-file download and add more tests
Michael Vogt [Wed, 12 Mar 2014 19:33:05 +0000 (20:33 +0100)] 
add hashsum support in apt-file download and add more tests

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 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