David Kalnischkies [Wed, 23 Dec 2009 11:38:19 +0000 (12:38 +0100)]
merge Goswin Brederlow "support download of index files for different archs"
patch which includes the following big changes:
- Declare the unused [vendor] field in sources.list as option field,
e.g. deb [arch=amd64,i386 lang=en_GB have=fun] http://example.org
- When fetching index files download them for all APT::Architectures
(overrideable with the options field above)
- Allow all architectures of APT::Architectures to be in the Cache
- Add the architecture to status and progress informations
- Add b= (Binary architecture) to policy
This commit doesn't incude the "pin-hack" as the Group structure will take
care of this (and does it already to some extend).
bubulle@debian.org [Tue, 22 Dec 2009 19:02:18 +0000 (20:02 +0100)]
Review by Philippe batailler
David Kalnischkies [Tue, 22 Dec 2009 11:20:43 +0000 (12:20 +0100)]
merge with lp:~mvo/apt/sid to get the finale 0.7.25 state
bubulle@debian.org [Sun, 20 Dec 2009 21:16:38 +0000 (22:16 +0100)]
French translation update
David Kalnischkies [Sat, 19 Dec 2009 15:25:56 +0000 (16:25 +0100)]
Implement the first step toward Multi-Arch by setting up a Group
infrastructor for packages.
APT is now aware of the fact that a package A in architecture X can't
satisfy a dependency on package A in architecture Y - to handle these
packages are now identified by name and architecture, so different
architectures of the same package are handled internally as completly
different packages. This is great for pinning, dependency checking and
in many other situations, but sometimes we need to know which archs are
available for a given package: Here Groups come to our rescue!
David Kalnischkies [Sat, 19 Dec 2009 13:27:21 +0000 (14:27 +0100)]
mark the Error/Warning method as __cold
David Kalnischkies [Sat, 19 Dec 2009 13:25:20 +0000 (14:25 +0100)]
add optional gcc features as deprecated, unused and (un)likely
bubulle@debian.org [Sat, 19 Dec 2009 07:36:46 +0000 (08:36 +0100)]
French translation update
bubulle@debian.org [Wed, 16 Dec 2009 22:00:06 +0000 (23:00 +0100)]
French translation update
Michael Vogt [Tue, 15 Dec 2009 12:49:21 +0000 (13:49 +0100)]
releasing version 0.7.25
Michael Vogt [Mon, 14 Dec 2009 16:45:51 +0000 (17:45 +0100)]
merge segfault fix from Mario Sanchez Prada, many thanks
(closes: #561109)
Michael Vogt [Mon, 14 Dec 2009 12:50:40 +0000 (13:50 +0100)]
doc/sources.list.5.xml: merge typo fixes
David Kalnischkies [Mon, 14 Dec 2009 11:44:17 +0000 (12:44 +0100)]
fix two other typos - this time in sources.list.5.xml:
* recongnizable --> recognizable
* maintain --> maintains
Michael Vogt [Mon, 14 Dec 2009 09:08:27 +0000 (10:08 +0100)]
apt-inst/makefile: include libversion.mak
Michael Vogt [Mon, 14 Dec 2009 08:22:29 +0000 (09:22 +0100)]
merged patches from david (many thanks)
David Kalnischkies [Sat, 12 Dec 2009 18:06:01 +0000 (19:06 +0100)]
fix to other oddities observed by Chris Leick while translating
in doc/apt-get.8.xml, namely:
- change equivalent "for" to "to the" (purge command)
- clarify --fix-broken sentence about specifying packages
David Kalnischkies [Sat, 12 Dec 2009 15:52:17 +0000 (16:52 +0100)]
decrease the libapt-inst major version again to 1.1 as the increase
was a backport error and is not needed (and destroys our non-abi-break hack)
David Kalnischkies [Sat, 12 Dec 2009 15:32:18 +0000 (16:32 +0100)]
remove informalexample tag which hides the programlisting in the
tree section of the apt-ftparchive manpage,
thanks Chris Leick for noticing it!
David Kalnischkies [Sat, 12 Dec 2009 15:28:25 +0000 (16:28 +0100)]
refactor the current changelog a bit
bubulle@debian.org [Sat, 12 Dec 2009 13:51:16 +0000 (14:51 +0100)]
French translation update
David Kalnischkies [Sat, 12 Dec 2009 00:54:33 +0000 (01:54 +0100)]
revert this commit as fast as possible (aka next ABI break)
This commit sets up our faked library extension to trick the build
system into building the packages with libc6.9-6 while we are actually
already at libc6.10-6. Oh dear...
David Kalnischkies [Fri, 11 Dec 2009 11:45:04 +0000 (12:45 +0100)]
fix the backport of the https methods as they would require an ABI break
otherwise in the Configuration class.
David Kalnischkies [Thu, 10 Dec 2009 23:48:52 +0000 (00:48 +0100)]
fix a few typos in strings, comments and manpage of apt-ftparchive
thanks Karl Goetz! (Closes: #558757)
David Kalnischkies [Thu, 10 Dec 2009 23:44:32 +0000 (00:44 +0100)]
check cache size even if we do nothing else otherwise in apt.cron.daily,
thanks Francesco Poli for patch(s) and patience! (Closes: #459344)
David Kalnischkies [Thu, 10 Dec 2009 23:42:43 +0000 (00:42 +0100)]
add AI_ADDRCONFIG to ai_flags in connect.cc as suggested by Aurelien Jarno
in his response to Bernhard R. Link's patch, thanks! (Closes: #505020)
David Kalnischkies [Thu, 10 Dec 2009 23:38:13 +0000 (00:38 +0100)]
add https options which default to the ones from http for the https
method as this is more sane than using only the http options without
a possibility to override these for https.
David Kalnischkies [Thu, 10 Dec 2009 23:32:01 +0000 (00:32 +0100)]
add config setting for User-Agent in http and https to the Acquire group,
thanks Timothy J. Miller! (Closes: #355782)
David Kalnischkies [Thu, 10 Dec 2009 23:23:18 +0000 (00:23 +0100)]
Backport rred patches from my own sid branch to the 0.7.25 branch
* rewrite and refactor rred method to be able to handle even big (>30 MB)
patches (Closes: #554349) and hardening the method itself by using more
constants and a return value which can't be misinterpreted as linenumber
* Finally adope the patch from Morten Hustveit <morten@debian.org> to be
able to optional use mmaps and iovec to increase patch speed -
but as this increase memory usage we can always fall back to the "old"
method which doesn't depend on mmaps.
Michael Vogt [Thu, 10 Dec 2009 22:48:04 +0000 (23:48 +0100)]
* apt-pkg/init.h:
- add compatibilty with old ABI name until the next ABI break
David Kalnischkies [Thu, 10 Dec 2009 22:43:06 +0000 (23:43 +0100)]
merge Michaels wonderful "fix" for the currently unwanted ABI Break
Michael Vogt [Thu, 10 Dec 2009 22:28:57 +0000 (23:28 +0100)]
* apt-pkg/init.h:
- add compatibilty with old ABI name until the next ABI break
David Kalnischkies [Thu, 10 Dec 2009 22:08:28 +0000 (23:08 +0100)]
merge again with lp:~mvo/debian-sid
David Kalnischkies [Thu, 10 Dec 2009 22:05:23 +0000 (23:05 +0100)]
merge with lp:~mvo/apt/debian-sid : move all my ABI break changes
to the "new" 0.7.26 version
Michael Vogt [Thu, 10 Dec 2009 21:29:48 +0000 (22:29 +0100)]
merged -r 1898..1899 from lp:~donkult/apt/sid
Michael Vogt [Thu, 10 Dec 2009 21:20:07 +0000 (22:20 +0100)]
merged from the mvo branch (and contains all non-abi break changes from donkult)
Michael Vogt [Thu, 10 Dec 2009 20:59:49 +0000 (21:59 +0100)]
merged -r 1923..1926 from lp:~donkult/apt/sid
Michael Vogt [Thu, 10 Dec 2009 20:48:54 +0000 (21:48 +0100)]
merged -r 1920..1922 from lp:~donkult/apt/sid
Michael Vogt [Thu, 10 Dec 2009 20:45:31 +0000 (21:45 +0100)]
merged -r 1918..1919 from lp:~donkult/apt/sid
Michael Vogt [Thu, 10 Dec 2009 20:43:34 +0000 (21:43 +0100)]
merged -r 1914..1915 from lp:~donkult/apt/sid
Michael Vogt [Thu, 10 Dec 2009 20:35:50 +0000 (21:35 +0100)]
merged -r1901..1911 from lp:~donkult/apt/sid
Michael Vogt [Thu, 10 Dec 2009 19:48:36 +0000 (20:48 +0100)]
merged -r1887..1901 from lp:~donkult/apt/sid
Michael Vogt [Thu, 10 Dec 2009 17:07:12 +0000 (18:07 +0100)]
* cmdline/apt-get.cc:
- source should displays his final pkg pick (Closes: #249383, #550952)
- source doesn't need the complete version for match (Closes: #245250)
- source ignores versions/releases if not available (Closes: #377424)
Michael Vogt [Thu, 10 Dec 2009 16:24:40 +0000 (17:24 +0100)]
merged -r1875..1886 from lp:~donkult/apt/sid
Michael Vogt [Thu, 10 Dec 2009 16:11:28 +0000 (17:11 +0100)]
merge debian sid branch
Michael Vogt [Thu, 10 Dec 2009 15:07:43 +0000 (16:07 +0100)]
* merge lp:~mvo/apt/netrc branch, this adds support for a
/etc/apt/auth.conf that can be used to store username/passwords
in a "netrc" style file (with the extension that it supports "/"
in a machine definition). Based on the maemo git branch.
* apt-pkg/deb/dpkgpm.cc:
- add "purge" to list of known actions
Michael Vogt [Thu, 10 Dec 2009 15:06:40 +0000 (16:06 +0100)]
* merge lp:~mvo/apt/netrc branch, this adds support for a
/etc/apt/auth.conf that can be used to store username/passwords
in a "netrc" style file (with the extension that it supports "/"
in a machine definition). Based on the maemo git branch.
* apt-pkg/deb/dpkgpm.cc:
- add "purge" to list of known actions
David Kalnischkies [Wed, 9 Dec 2009 18:24:03 +0000 (19:24 +0100)]
Refactor the cache iterators by using a common base class
This should not change the public interface, but it removes the
friend connection between the iterators and pkgcache as it is unused.
Michael Vogt [Wed, 9 Dec 2009 09:56:29 +0000 (10:56 +0100)]
* apt-pkg/deb/dpkgpm.cc:
- add "purge" to list of known actions
Michael Vogt [Mon, 7 Dec 2009 10:04:17 +0000 (11:04 +0100)]
merge lp:~mvo/apt/netrc branch, this adds support for a
/etc/apt/auth.conf that can be used to store username/passwords
in a "netrc" style file (with the extension that it supports "/"
in a machine definition). Based on the maemo git branch.
Michael Vogt [Mon, 7 Dec 2009 09:35:32 +0000 (10:35 +0100)]
if "/" is found in the machine, do a uri.startswith(host) substring match to support multiple user/passwds on the same host
Michael Vogt [Fri, 4 Dec 2009 09:22:56 +0000 (10:22 +0100)]
* apt-pkg/contrib/netrc.cc:
- check for hostname and then host+path
- better debug output
* methods/https.cc:
- fix bug in netrc integration
bubulle@debian.org [Thu, 3 Dec 2009 21:04:09 +0000 (22:04 +0100)]
Slovak translation update
Michael Vogt [Wed, 2 Dec 2009 16:24:56 +0000 (17:24 +0100)]
merge from the debian-sid branch
Michael Vogt [Wed, 2 Dec 2009 16:22:32 +0000 (17:22 +0100)]
* apt-pkg/packagemanager.cc:
- add output about pre-depends configuring when debug::pkgPackageManager
is used
* methods/https.cc:
- fix incorrect use of CURLOPT_TIMEOUT, closes: #497983, LP: #354972
thanks to Brian Thomason for the patch
* apt-pkg/depcache.cc, apt-pkg/indexcopy.cc:
- typo fix (LP: #462328)
* cmdline/apt-key:
- Emit a warning if removed keys keyring is missing and skip associated
checks (LP: #218971)
bubulle@debian.org [Tue, 1 Dec 2009 20:51:17 +0000 (21:51 +0100)]
drop quote elements
bubulle@debian.org [Tue, 1 Dec 2009 20:31:37 +0000 (21:31 +0100)]
Simplified CHinese translation update
Julian Andres Klode [Tue, 1 Dec 2009 18:14:23 +0000 (19:14 +0100)]
doc/po: Rerun po4a to update the template and translations.
Julian Andres Klode [Tue, 1 Dec 2009 18:13:06 +0000 (19:13 +0100)]
doc/po/de.po: Fix missing > in </option>.
Julian Andres Klode [Tue, 1 Dec 2009 18:11:26 +0000 (19:11 +0100)]
doc/po/de.po: Fix the umlauts.
Julian Andres Klode [Tue, 1 Dec 2009 15:36:48 +0000 (16:36 +0100)]
* debian/apt.conf.autoremove:
- Add kfreebsd-image-* to the list (Closes: #558803)
David Kalnischkies [Mon, 30 Nov 2009 23:28:26 +0000 (00:28 +0100)]
fix a few typos in strings, comments and manpage of apt-ftparchive
thanks Karl Goetz! (Closes: #558757)
David Kalnischkies [Sat, 28 Nov 2009 23:23:26 +0000 (00:23 +0100)]
Ignore :qualifiers after package name in build dependencies
for now as long we don't understand them (Closes: #558103)
David Kalnischkies [Sat, 28 Nov 2009 22:30:02 +0000 (23:30 +0100)]
convert getlanguages_test to our new equals()
David Kalnischkies [Sat, 28 Nov 2009 22:27:11 +0000 (23:27 +0100)]
add our own equals method as assert doesn't really show the offending
values which causes the failure.
David Kalnischkies [Sat, 28 Nov 2009 02:46:39 +0000 (03:46 +0100)]
check cache size even if we do nothing else otherwise in apt.cron.daily,
thanks Francesco Poli for patch(s) and patience! (Closes: #459344)
David Kalnischkies [Sat, 28 Nov 2009 02:19:52 +0000 (03:19 +0100)]
tell every method in ftparchive/ that const& is sexy
David Kalnischkies [Sat, 28 Nov 2009 01:12:36 +0000 (02:12 +0100)]
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)
David Kalnischkies [Fri, 27 Nov 2009 23:53:53 +0000 (00:53 +0100)]
add AI_ADDRCONFIG to ai_flags in connect.cc as suggested by Aurelien Jarno
in his response to Bernhard R. Link's patch, thanks! (Closes: #505020)
David Kalnischkies [Fri, 27 Nov 2009 09:10:55 +0000 (10:10 +0100)]
use "diff" filetype for .debian.tar.* files (Closes: #554898) in
apt-pkg/deb/debsrcrecords.cc as source format v3 uses this name
scheme for their "diff" files.
David Kalnischkies [Fri, 27 Nov 2009 09:02:27 +0000 (10:02 +0100)]
add --debian-only as alias for --diff-only for all source v3 lovers
David Kalnischkies [Thu, 26 Nov 2009 23:19:48 +0000 (00:19 +0100)]
merge with lp:~mvo/apt/debian-sid and update all pot's and po's
David Kalnischkies [Thu, 26 Nov 2009 22:59:41 +0000 (23:59 +0100)]
add a few closes tags to Acquire::Translation changelog
David Kalnischkies [Thu, 26 Nov 2009 22:46:49 +0000 (23:46 +0100)]
Add APT::FTPArchive::LongDescription to disable the inclusion of the
LongDescriptions in the generated Packages file.
David Kalnischkies [Thu, 26 Nov 2009 21:24:03 +0000 (22:24 +0100)]
Add a very simple test runner
David Kalnischkies [Thu, 26 Nov 2009 21:23:08 +0000 (22:23 +0100)]
[BREAK] add possibility to download and use multiply
Translation files, configurable with Acquire::Languages
accessable with APT::Configuration::getLanguages() and
as always with documentation in apt.conf.
The commit also includes a very very simple testapp.
David Kalnischkies [Wed, 25 Nov 2009 22:40:36 +0000 (23:40 +0100)]
print an error and exit if python-apt is not installed for apt-mark,
thanks Carl Chenet! (Closes: #521284)
David Kalnischkies [Wed, 25 Nov 2009 22:29:57 +0000 (23:29 +0100)]
add https options which default to the ones from http for the https
method as this is more sane than using only the http options without
a possibility to override these for https.
David Kalnischkies [Wed, 25 Nov 2009 22:24:43 +0000 (23:24 +0100)]
another round of method hardening with const& in Configuration
David Kalnischkies [Wed, 25 Nov 2009 22:20:12 +0000 (23:20 +0100)]
add config setting for User-Agent in http and https to the Acquire group,
thanks Timothy J. Miller! (Closes: #355782)
David Kalnischkies [Wed, 25 Nov 2009 21:47:45 +0000 (22:47 +0100)]
print an error if a new state file can't be created in apt-mark,
thanks Carl Chenet! (Closes: #521289)
David Kalnischkies [Wed, 25 Nov 2009 20:57:51 +0000 (21:57 +0100)]
allow also to skip the last patch if target is reached in acquire-item.cc,
thanks Bernhard R. Link! (Closes: #545699)
David Kalnischkies [Wed, 25 Nov 2009 19:22:36 +0000 (20:22 +0100)]
use long instead of short for {Ver,Desc}File size in pkgcache.h
patch from Víctor Manuel Jáquez Leal, thanks! (Closes: #538917)
David Kalnischkies [Wed, 25 Nov 2009 17:15:36 +0000 (18:15 +0100)]
merge my rred-rewrite branch & add it's changes to the changelog
David Kalnischkies [Wed, 25 Nov 2009 15:42:10 +0000 (16:42 +0100)]
cleanup code a bit more and expand error messages
Julian Andres Klode [Tue, 24 Nov 2009 14:22:51 +0000 (15:22 +0100)]
* ftparchive/apt-ftparchive.cc:
- Call setlocale() so translations are actually used.
David Kalnischkies [Tue, 24 Nov 2009 11:26:07 +0000 (12:26 +0100)]
fix a typo in debian/NEWS entry for 0.7.24: Allready -> Already (Closes: #557674)
David Kalnischkies [Thu, 19 Nov 2009 22:55:33 +0000 (23:55 +0100)]
fix argument check for the rred method
Michael Vogt [Tue, 17 Nov 2009 15:55:22 +0000 (09:55 -0600)]
methods/https.cc: cleanup for CURLOPT_LOW_SPEED_TIME
Michael Vogt [Tue, 17 Nov 2009 15:51:31 +0000 (09:51 -0600)]
* methods/https.cc:
- fix incorrect use of CURLOPT_TIMEOUT, closes: #497983, LP: #354972
thanks to Brian Thomason for the patch
bubulle@debian.org [Thu, 12 Nov 2009 07:32:33 +0000 (08:32 +0100)]
Italian translation update
bubulle@debian.org [Wed, 11 Nov 2009 18:44:38 +0000 (19:44 +0100)]
Italian translation update
David Kalnischkies [Mon, 9 Nov 2009 09:17:19 +0000 (10:17 +0100)]
extent the mmap to be able to handle currently not implemented
(but planed) growable mmaps
David Kalnischkies [Fri, 6 Nov 2009 08:43:31 +0000 (09:43 +0100)]
Finally adope the patch from Morten Hustveit <morten@debian.org> to be
able to optional use mmaps and iovec to increase patch speed -
but as this increase memory usage we can always fall back to the "old"
method which doesn't relay on mmaps.
David Kalnischkies [Thu, 5 Nov 2009 10:53:01 +0000 (11:53 +0100)]
copyLinesFromFileToFile instead of a single Line in the rred method
by saving the length of the data we need to copy into the out file
David Kalnischkies [Thu, 5 Nov 2009 01:05:21 +0000 (02:05 +0100)]
rewrite and refactor rred method to be able to handle even big (>30 MB)
patches (Closes: #554349) and hardening the method itself by using more
constants and a return value which can't be misinterpreted as linenumber
David Kalnischkies [Wed, 4 Nov 2009 22:44:15 +0000 (23:44 +0100)]
add a debug test mode to the rred method for easier testing
David Kalnischkies [Mon, 2 Nov 2009 17:44:37 +0000 (18:44 +0100)]
bump policy to 3.8.3 as we have no outdated manpages anymore
David Kalnischkies [Mon, 2 Nov 2009 16:58:57 +0000 (17:58 +0100)]
don't try to detect glibc and libstdc++ version as we don't need this information any longer
David Kalnischkies [Mon, 2 Nov 2009 16:54:22 +0000 (17:54 +0100)]
remove traces of old manpage-buildsystems
David Kalnischkies [Mon, 2 Nov 2009 09:26:52 +0000 (10:26 +0100)]
fix/simplify buildsystem for the (now) po4a-only manpages