martin@piware.de [Tue, 6 Jul 2010 11:14:57 +0000 (13:14 +0200)]
methods/gzip.cc: With FileFd now being able to read gzipped files, there
is no need for the gzip method any more to spawn an external gzip process.
Rewrite it to use FileFd directly, which makes the code a lot simpler, and
also using less memory and overhead.
martin@piware.de [Tue, 6 Jul 2010 10:48:06 +0000 (12:48 +0200)]
FileFd(): Drop file name extension check in ReadOnlyGzip mode
Drop the ".gz" extension check in FileFd::Open() in ReadOnlyGzip mode, to not
depend on a particular file extension. This allows rewriting the gzip method
using internal decompression (on ".decomp" files).
This requires a zlib bug workaround in FileFd::Close(): When opening an empty
file with gzdopen(), gzclose() fails with Z_BUF_ERROR. Do not count this as a
failure.
martin@piware.de [Thu, 24 Jun 2010 20:59:48 +0000 (22:59 +0200)]
test-indexes.sh: EXFAIL: file:/ URIs currently decompress even with the GzipIndexes option; not a big deal for now
martin@piware.de [Thu, 24 Jun 2010 20:43:07 +0000 (22:43 +0200)]
apt-pkg/acquire-item.cc: Fix handling of local (file:/) sources
martin@piware.de [Thu, 24 Jun 2010 19:27:59 +0000 (21:27 +0200)]
test-indexes.sh: Test handling of local file:// archives
martin@piware.de [Thu, 24 Jun 2010 19:27:27 +0000 (21:27 +0200)]
Switch FileFd to not transparently gunzip, since that breaks code which expects the compressed contents to stay (such as the copy backend, or when using file:// repositories. Instead, introduce a new ReadOnlyGzip mode and use that where needed
martin@piware.de [Mon, 21 Jun 2010 11:22:40 +0000 (13:22 +0200)]
debian/changelog: it is an ABI break after all
martin@piware.de [Thu, 17 Jun 2010 11:58:39 +0000 (13:58 +0200)]
test-indexes.sh: quiesce apt-get source; we know that we cannot verify package signatures
martin@piware.de [Thu, 17 Jun 2010 11:41:48 +0000 (13:41 +0200)]
test-indexes.sh: Also test compressed index mode with apt.conf.d file
martin@piware.de [Thu, 17 Jun 2010 11:38:42 +0000 (13:38 +0200)]
test-indexes.sh: Just for paranoia, test that apt-cache is still working after apt-get update with previously existing indexes
martin@piware.de [Thu, 17 Jun 2010 11:36:52 +0000 (13:36 +0200)]
pkgAcqIndex::Done(): If we have an IMS-Hit, also rename the destination file in GzipIndexes mode, to avoid it being cleaned
martin@piware.de [Thu, 17 Jun 2010 11:35:23 +0000 (13:35 +0200)]
test-indexes.sh: fix check_indexes call in compressed mode
martin@piware.de [Thu, 17 Jun 2010 11:18:19 +0000 (13:18 +0200)]
test-indexes.sh: Actually test for non/pre-existing indexes in compressed mode
martin@piware.de [Thu, 17 Jun 2010 10:18:54 +0000 (12:18 +0200)]
test-indexes: Use /etc/apt from temporary work dir, not from system
martin@piware.de [Thu, 17 Jun 2010 09:47:51 +0000 (11:47 +0200)]
test-indexes.sh: Refactor common code into functions
martin@piware.de [Thu, 17 Jun 2010 09:17:13 +0000 (11:17 +0200)]
test-indexes.sh: More verbose failures on wrong/missing indexes
martin@piware.de [Tue, 15 Jun 2010 11:17:33 +0000 (13:17 +0200)]
test/test-indexes.sh: Stop hardcoding archive gpg key ID, get it from first failed apt-get update output
martin@piware.de [Fri, 11 Jun 2010 17:23:08 +0000 (19:23 +0200)]
apt-pkg/deb/debindexfile.cc: Fix one more place to check for gzipped indexes, to work with apt-get source as well
martin@piware.de [Fri, 11 Jun 2010 16:59:06 +0000 (18:59 +0200)]
* apt-pkg/acquire-item.cc:
- Fix return value of pkgAcqFile::Custom600Headers() in the non-index
case, to avoid returning NULL and causing crashers in callers. This also
fixes a compiler warning.
martin@piware.de [Fri, 11 Jun 2010 16:22:48 +0000 (18:22 +0200)]
test-indexes.sh: Add source related tests, which uncovers two regressions
martin@piware.de [Fri, 11 Jun 2010 10:34:26 +0000 (12:34 +0200)]
changelog: clarify abi break, it's not external
martin@piware.de [Fri, 11 Jun 2010 09:16:22 +0000 (11:16 +0200)]
* configure.in:
- Check for zlib library and headers.
martin@piware.de [Fri, 11 Jun 2010 09:04:12 +0000 (11:04 +0200)]
* doc/po/apt-doc.pot, doc/po/de.po:
- German translation of new Acquire::GzipIndexes option.
martin@piware.de [Fri, 11 Jun 2010 08:56:56 +0000 (10:56 +0200)]
* doc/apt.conf.5.xml:
- Document the new Acquire::GzipIndexes option.
martin@piware.de [Fri, 11 Jun 2010 08:43:43 +0000 (10:43 +0200)]
Fix compressed index retrieval for current timestamps
Fix a thinko in r1973, which did the Acquire::GzipIndexes test ealier than the
IMS-Hit test. This led to rename errors.
martin@piware.de [Fri, 11 Jun 2010 08:01:27 +0000 (10:01 +0200)]
* debian/rules:
- Make DEB_BUILD_OPTIONS=noopt actually work by passing the right
CXXFLAGS.
martin@piware.de [Thu, 10 Jun 2010 13:19:10 +0000 (15:19 +0200)]
* Add test/test-indexes.sh:
- Test behaviour of index retrieval and usage, in particular with
uncompressed and gzip compressed indexes.
martin@piware.de [Thu, 10 Jun 2010 12:23:24 +0000 (14:23 +0200)]
mention abi break in changelog
martin@piware.de [Thu, 10 Jun 2010 11:20:27 +0000 (13:20 +0200)]
* apt-pkg/acquire-item.cc:
- If the Acquire::GzipIndexes option is true and we download a gzipped
index file, keep it as it is (and rename to .gz) instead of
uncompressing it.
martin@piware.de [Wed, 9 Jun 2010 12:09:42 +0000 (14:09 +0200)]
* apt-pkg/deb/debindexfile.cc:
- If we do not find uncompressed package/source/translation indexes, look
for gzip compressed ones.
martin@piware.de [Wed, 9 Jun 2010 12:08:20 +0000 (14:08 +0200)]
* apt-pkg/contrib/fileutl.{h,cc}:
- Add support for transparent reading of gzipped files.
- Link against zlib (in apt-pkg/makefile) and add zlib build dependency.
bubulle@debian.org [Sun, 16 May 2010 05:05:47 +0000 (07:05 +0200)]
Italian translation completed
bubulle@debian.org [Sat, 15 May 2010 18:07:48 +0000 (20:07 +0200)]
Italian translation update. Closes: #581742
bubulle@debian.org [Tue, 11 May 2010 17:52:33 +0000 (19:52 +0200)]
Slovak translation update. Closes: #581159
Michael Vogt [Wed, 5 May 2010 14:34:20 +0000 (16:34 +0200)]
* debian/rules:
- install html doxygen in libapt-pkg-doc as well
Michael Vogt [Wed, 5 May 2010 14:25:32 +0000 (16:25 +0200)]
* debian/rules:
- install html doxygen in libapt-pkg-doc as well
Michael Vogt [Wed, 5 May 2010 08:01:41 +0000 (10:01 +0200)]
* apt-pkg/deb/debrecords.cc:
- fix max tag buffer size (LP: #545336, closes: #578959)
Michael Vogt [Wed, 5 May 2010 07:54:49 +0000 (09:54 +0200)]
* apt-pkg/deb/debrecords.cc:
- fix max tag buffer size (LP: #545336, closes: #578959)
Michael Vogt [Tue, 4 May 2010 07:57:24 +0000 (09:57 +0200)]
merge from the mvo branch
Michael Vogt [Mon, 3 May 2010 08:07:13 +0000 (10:07 +0200)]
* apt-pkg/indexfile.cc:
- If no "_" is found in the language code, try to find a "."
This is required for languages like Esperanto that have no
county associated with them (LP: #560956)
Thanks to "Aisano" for the fix
Michael Vogt [Wed, 28 Apr 2010 13:49:55 +0000 (15:49 +0200)]
apt-pkg/policy.cc: yet another cout -> clog fix
Michael Vogt [Wed, 28 Apr 2010 13:45:06 +0000 (15:45 +0200)]
* apt-pkg/depcache.cc:
- fix incorrect std::cout usage for debug output
Michael Vogt [Wed, 28 Apr 2010 07:41:44 +0000 (09:41 +0200)]
* [ Abi break ] apt-pkg/acquire-item.{cc,h}:
- add "IsIndexFile" to constructor of pkgAcqFile so that it sends
the right cache control headers
Michael Vogt [Wed, 14 Apr 2010 17:26:34 +0000 (19:26 +0200)]
Remember hosts with general failures for
https://wiki.ubuntu.com/NetworklessInstallationFixes (LP: #556831).
Julian Andres Klode [Fri, 26 Mar 2010 15:37:16 +0000 (16:37 +0100)]
ftparchive/apt-ftparchive.cc: Include apt-pkg/init.h.
Michael Vogt [Fri, 26 Mar 2010 15:04:49 +0000 (16:04 +0100)]
* apt-pkg/deb/dpkgpm.cc:
- fix backgrounding when dpkg runs (closes: #486222)
* cmdline/apt-mark:
- show error on incorrect aguments (LP: #517917), thanks to
Torsten Spindler
* cmdline/apt-get.cc:
- if apt-get source foo=version or foo/distro can not be found,
error out (LP: #502641)
* apt-pkg/packagemanager.cc:
- better debug output
* doc/examples/configure-index:
- add missing Debug::pkgPackageManager option
Julian Andres Klode [Fri, 26 Mar 2010 14:35:36 +0000 (15:35 +0100)]
* ftparchive/apt-ftparchive.cc:
- Read default configuration (Closes: #383257)
bubulle@debian.org [Tue, 23 Mar 2010 12:07:31 +0000 (13:07 +0100)]
French translation completed
Julian Andres Klode [Sun, 21 Mar 2010 17:11:46 +0000 (18:11 +0100)]
cmdline/apt-cache.cc: Change behavior of showsrc to match the one of show (Closes: #512046).
Julian Andres Klode [Sun, 21 Mar 2010 16:58:58 +0000 (17:58 +0100)]
* cmdline/apt-key:
- Honor Apt::GPGV::TrustedKeyring (Closes: #316390)
Julian Andres Klode [Sun, 21 Mar 2010 16:38:43 +0000 (17:38 +0100)]
* apt-pkg/policy.cc:
- Always return a candidate if there is at least one version pinned > 0
(Closes: #512318)
bubulle@debian.org [Fri, 19 Mar 2010 03:19:15 +0000 (10:19 +0700)]
Add conflict with manpages-pl
bubulle@debian.org [Fri, 19 Mar 2010 03:14:11 +0000 (10:14 +0700)]
Polish manpages translation update
Michael Vogt [Tue, 16 Mar 2010 20:47:49 +0000 (21:47 +0100)]
apt-pkg/packagemanager.cc: more debug output for debug::pkgPackageManager
bubulle@debian.org [Tue, 16 Mar 2010 04:35:38 +0000 (11:35 +0700)]
Dutch translation update
Michael Vogt [Fri, 12 Mar 2010 21:06:08 +0000 (22:06 +0100)]
* apt-pkg/indexfile.cc:
- deal correctly with three letter langcodes (LP: #391409)
Julian Andres Klode [Fri, 12 Mar 2010 17:28:57 +0000 (18:28 +0100)]
doc/po/es.po: Add a missing placeholder xml, fixes build.
Michael Vogt [Fri, 12 Mar 2010 14:39:06 +0000 (15:39 +0100)]
* cmdline/apt-get.cc:
- if apt-get source foo=version or foo/distro can not be found,
error out (LP: #502641)
Julian Andres Klode [Fri, 12 Mar 2010 14:29:07 +0000 (15:29 +0100)]
* debian/rules:
- Fix the libraries name to be e.g. libapt-pkg4.9 instead of
libapt-pkg-4.9.
Julian Andres Klode [Fri, 12 Mar 2010 14:28:24 +0000 (15:28 +0100)]
apt-inst/contrib/arfile.h: Add public ARArchive::Members() which returns the list of members.
Michael Vogt [Fri, 12 Mar 2010 09:13:44 +0000 (10:13 +0100)]
* cmdline/apt-mark:
- show error on incorrect aguments (LP: #517917), thanks to
Torsten Spindler
bubulle@debian.org [Wed, 10 Mar 2010 21:39:44 +0000 (22:39 +0100)]
Spanish manpages translation update
Julian Andres Klode [Mon, 1 Mar 2010 12:47:56 +0000 (13:47 +0100)]
* cmdline/apt-mark:
- Use the new python-apt API (and conflict with python-apt << 0.7.93.2).
bubulle@debian.org [Sun, 28 Feb 2010 10:18:34 +0000 (11:18 +0100)]
Completed translation
bubulle@debian.org [Sat, 27 Feb 2010 06:25:20 +0000 (07:25 +0100)]
Correct translation error
bubulle@debian.org [Sat, 27 Feb 2010 06:23:30 +0000 (07:23 +0100)]
Correct translation error
Michael Vogt [Thu, 25 Feb 2010 12:29:41 +0000 (13:29 +0100)]
* apt-pkg/deb/dpkgpm.cc:
- fix backgrounding when dpkg runs (closes: #486222)
bubulle@debian.org [Wed, 24 Feb 2010 21:14:21 +0000 (22:14 +0100)]
German translation update
Michael Vogt [Thu, 18 Feb 2010 21:08:25 +0000 (22:08 +0100)]
fix crash when LANGUAGE is not set
Michael Vogt [Thu, 18 Feb 2010 20:06:47 +0000 (21:06 +0100)]
refreshed po/ doc/po files
Michael Vogt [Thu, 18 Feb 2010 14:39:03 +0000 (15:39 +0100)]
merge from the lp:~donkult/apt/sid branch
Michael Vogt [Thu, 18 Feb 2010 14:17:50 +0000 (15:17 +0100)]
* [BREAK] merged lp:~mvo/apt/history
- this writes a /var/log/apt/history tagfile that contains details
from the transaction (complements term.log)
* methods/http.cc:
- add cache-control headers even if no cache is given to allow
adding options for intercepting proxies
- add Acquire::http::ProxyAutoDetect configuration that
can be used to call a external helper to figure out the
proxy configuration and return it to apt via stdout
(this is a step towards WPAD and zeroconf/avahi support)
* abicheck/
- add new abitest tester using the ABI Compliance Checker from
http://ispras.linuxfoundation.org/index.php/ABI_compliance_checker
* Change the package index Info methods to allow apt-cache policy to be
useful when using several different archives on the same host.
(Closes: #329814, LP: #22354)
Michael Vogt [Thu, 18 Feb 2010 14:07:56 +0000 (15:07 +0100)]
* [BREAK] add possibility to download and use multiply
Translation files, configurable with Acquire::Translation
(Closes: #444222, #448216, #550564)
* Ignore :qualifiers after package name in build dependencies
for now as long we don't understand them (Closes: #558103)
* apt-pkg/contrib/mmap.{cc,h}:
- extend it to have a growable flag - unused now but maybe...
* apt-pkg/pkgcache.h:
- use long instead of short for {Ver,Desc}File size,
patch from Víctor Manuel Jáquez Leal, thanks! (Closes: #538917)
* apt-pkg/acquire-item.cc:
- allow also to skip the last patch if target is reached,
thanks Bernhard R. Link! (Closes: #545699)
* ftparchive/writer.{cc,h}:
- add APT::FTPArchive::AlwaysStat to disable the too aggressive
caching if versions are build multiply times (not recommend)
Patch by Christoph Goehre, thanks! (Closes: #463260)
Michael Vogt [Thu, 18 Feb 2010 13:55:13 +0000 (14:55 +0100)]
abicheck/run_abi_test: check both libapt-pkg and libapt-inst
Michael Vogt [Thu, 18 Feb 2010 13:40:42 +0000 (14:40 +0100)]
abicheck: use absoute path for build too
Michael Vogt [Thu, 18 Feb 2010 13:19:40 +0000 (14:19 +0100)]
abicheck/run_abi_test: check for ../build; abicheck/apt_build.xml: fix version name
Michael Vogt [Thu, 18 Feb 2010 10:39:08 +0000 (11:39 +0100)]
* abicheck/
- add new abitest tester using the ABI Compliance Checker from
http://ispras.linuxfoundation.org/index.php/ABI_compliance_checker
Michael Vogt [Thu, 18 Feb 2010 10:31:34 +0000 (11:31 +0100)]
AUTHORS: updated again
Michael Vogt [Thu, 18 Feb 2010 10:22:26 +0000 (11:22 +0100)]
Change the package index Info methods to allow apt-cache policy to be
useful when using several different archives on the same host.
(Closes: #329814, LP: #22354)
Michael Vogt [Thu, 18 Feb 2010 10:21:49 +0000 (11:21 +0100)]
AUTHORS: updated to reflect current status
David Kalnischkies [Thu, 18 Feb 2010 01:15:23 +0000 (02:15 +0100)]
* doc/apt-cdrom.8.xml:
- fix typo spotted by lintian: proc(c)eed
David Kalnischkies [Thu, 18 Feb 2010 00:59:50 +0000 (01:59 +0100)]
* debian/rules:
- remove creation of empty dir /usr/share/apt
David Kalnischkies [Thu, 18 Feb 2010 00:37:59 +0000 (01:37 +0100)]
we break the ABI, so let use increase the ABI number :)
(This is the revert of the glibc-abi-compatibility-hack)
David Kalnischkies [Wed, 17 Feb 2010 23:37:52 +0000 (00:37 +0100)]
* doc/apt_preferences.5.xml:
- explicitly warn against careless use (Closes: #567669)
David Kalnischkies [Wed, 17 Feb 2010 23:37:00 +0000 (00:37 +0100)]
* debian/control:
- update with no changes to debian policy 3.8.4
David Kalnischkies [Wed, 17 Feb 2010 23:35:25 +0000 (00:35 +0100)]
* aptconfiguration.cc:
- include all existing Translation files in the Cache (Closes: 564137)
Previously if APT was executed with a different LC_* all these invocations
needed to rebuild the Cache as too many files were included or missing:
Now the lists-directory is checked for Translation-files and all these
will be included in getLanguages() regardless of the environment setting
(after a "none" so APT will not use them for displaying information).
David Kalnischkies [Wed, 17 Feb 2010 23:31:49 +0000 (00:31 +0100)]
* buildlib/apti18n.h.in, po/makefile:
- add ngettext support with P_()
David Kalnischkies [Wed, 17 Feb 2010 23:30:51 +0000 (00:30 +0100)]
dd support for the LANGUAGE environment variable
David Kalnischkies [Wed, 17 Feb 2010 23:05:14 +0000 (00:05 +0100)]
- add --arch option for apt-ftparchive packages and contents commands
- if an arch is given accept only *_all.deb and *_arch.deb instead
of *.deb. Thanks Stephan Bosch for the patch! (Closes: #319710)
David Kalnischkies [Wed, 17 Feb 2010 23:04:26 +0000 (00:04 +0100)]
* apt-pkg/deb/dpkgpm.cc:
- stdin redirected to /dev/null takes all CPU (Closes: #569488)
Thanks to Aurelien Jarno for providing (again) a patch!
Michael Vogt [Wed, 17 Feb 2010 21:09:25 +0000 (22:09 +0100)]
merged from debian-sid
David Kalnischkies [Sat, 13 Feb 2010 00:45:26 +0000 (01:45 +0100)]
merge with debian-sid
Michael Vogt [Mon, 8 Feb 2010 19:01:59 +0000 (20:01 +0100)]
debian/changelog: updated
David Kalnischkies [Sun, 7 Feb 2010 18:26:02 +0000 (19:26 +0100)]
fix progress reporting while reading extended_states file
Michael Vogt [Sat, 6 Feb 2010 02:34:27 +0000 (18:34 -0800)]
add Acquire::http::ProxyAutoDetect configuration that
can be used to call a external helper to figure out the
proxy configuration and return it to apt via stdout
bubulle@debian.org [Wed, 3 Feb 2010 19:09:24 +0000 (20:09 +0100)]
Slovak translation update
Michael Vogt [Wed, 3 Feb 2010 18:00:54 +0000 (10:00 -0800)]
* methods/http.cc:
- add cache-control headers even if no cache is given to allow
adding options for intercepting proxies
Michael Vogt [Mon, 1 Feb 2010 20:03:52 +0000 (21:03 +0100)]
releasing version 0.7.25.3
Michael Vogt [Mon, 1 Feb 2010 02:56:26 +0000 (18:56 -0800)]
merge r1966..1967 from lp:~donkult/apt/sid
Michael Vogt [Sun, 31 Jan 2010 15:28:06 +0000 (07:28 -0800)]
* cmdline/acqprogress.cc:
- Set Mode to Medium so that the correct prefix is used.
Thanks Stefan Haller for the patch! (Closes: #567304 LP: #275243)
* ftparchive/writer.cc:
- generate sha1 and sha256 checksums for dsc (Closes: #567343)
* cmdline/apt-get.cc:
- don't mark as manually if in download only (Closes: #468180)