David Kalnischkies [Sun, 14 Mar 2010 15:47:48 +0000 (16:47 +0100)]
Merge ... debian-sid, update-po for manpages and fix a few more
typos in doc/po/es.po to generate the manpages properly.
[ Christian Perrier ]
* German translation update. Closes: #571037
* Spanish manpages translation update. Closes: #573293
[ Julian Andres Klode ]
* cmdline/apt-mark:
- Use the new python-apt API (and conflict with python-apt << 0.7.93.2).
* apt-inst/contrib/arfile.h:
- Add public ARArchive::Members() which returns the list of members.
* debian/rules:
- Fix the libraries name to be e.g. libapt-pkg4.9 instead of
libapt-pkg-4.9.
David Kalnischkies [Sat, 13 Mar 2010 13:11:22 +0000 (14:11 +0100)]
* apt-pkg/deb/debversion.cc:
- consider absent of debian revision equivalent to 0 (Closes: #573592)
This moves the existing testcase for version comparison to "my" directory,
adds a few more tests (e.g. the tests used in cupt) and rewrites the
testcases runner: The runner does now call dpkg --compare-versions
to check what dpkg thinks about the comparison - all done in less code ;)
David Kalnischkies [Fri, 12 Mar 2010 18:41:30 +0000 (19:41 +0100)]
* apt-pkg/deb/dpkgpm.cc:
- if available store the Commandline in the history
* apt-pkg/contrib/cmndline.cc:
- save Commandline in Commandline::AsString for logging
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.
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.
David Kalnischkies [Fri, 12 Mar 2010 10:08:13 +0000 (11:08 +0100)]
* cmdline/apt-get.cc
- fix memory leaks in error conditions in DoSource()
David Kalnischkies [Fri, 12 Mar 2010 09:59:37 +0000 (10:59 +0100)]
* cmdline/apt-get.cc:
- add a --only-upgrade flag to install command (Closes: #572259)
That is NOT what is requested in e.g. #74067 - this is a very simple
flag which behaves orthogonal to --no-upgrade not a full-blown
upgrade option for a single package instead of the whole package set.
David Kalnischkies [Fri, 12 Mar 2010 09:56:25 +0000 (10:56 +0100)]
* apt-pkg/deb/dpkgpm.cc:
- fix error message construction in OpenLog()
bubulle@debian.org [Wed, 10 Mar 2010 21:39:44 +0000 (22:39 +0100)]
Spanish manpages translation update
David Kalnischkies [Wed, 3 Mar 2010 20:29:01 +0000 (21:29 +0100)]
fix memory leak in getLanguages() by closing the directory after checking
David Kalnischkies [Tue, 2 Mar 2010 17:57:27 +0000 (18:57 +0100)]
ignore the autogenerated files and directories in abicheck/
David Kalnischkies [Tue, 2 Mar 2010 17:55:18 +0000 (18:55 +0100)]
* doc/apt_preferences.5.xml:
- fix two typos and be more verbose in the novice warning.
Thanks to Osamu Aoki for pointing it out! (Closes: #567669)
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
David Kalnischkies [Sat, 27 Feb 2010 01:02:25 +0000 (02:02 +0100)]
* apt-pkg/contrib/mmap.{h,cc}:
- add char[] fallback for filesystems without shared writable
mmap() like JFFS2. Thanks to Marius Vollmer for writing
and to Loïc Minier for pointing to the patch! (Closes: #314334)
David Kalnischkies [Fri, 26 Feb 2010 19:19:06 +0000 (20:19 +0100)]
* debian/control:
- remove some years old and obsolete Replaces
David Kalnischkies [Thu, 25 Feb 2010 18:51:05 +0000 (19:51 +0100)]
* cmdline/apt-mark:
- don't crash if no arguments are given (Closes: #570962)
bubulle@debian.org [Wed, 24 Feb 2010 21:14:21 +0000 (22:14 +0100)]
German translation update
David Kalnischkies [Fri, 19 Feb 2010 20:21:53 +0000 (21:21 +0100)]
"Switch" to dpkg-source 3.0 (native) format
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)
Michael Vogt [Sun, 31 Jan 2010 15:21:48 +0000 (16:21 +0100)]
commit debian/changelog for final 0.7.25.2 upload
David Kalnischkies [Sun, 31 Jan 2010 01:16:17 +0000 (02:16 +0100)]
* cmdline/apt-get.cc:
- don't mark as manually if in download only (Closes: #468180)
David Kalnischkies [Sat, 30 Jan 2010 22:57:27 +0000 (23:57 +0100)]
* ftparchive/writer.cc:
- generate sha1 and sha256 checksums for dsc (Closes: #567343)
David Kalnischkies [Sat, 30 Jan 2010 21:40:25 +0000 (22:40 +0100)]
* cmdline/acqprogress.cc:
- Set Mode to Medium so that the correct prefix is used.
Thanks Stefan Haller for the patch! (Closes: #567304 LP: #275243)
David Kalnischkies [Sat, 30 Jan 2010 21:30:29 +0000 (22:30 +0100)]
cleanup the error header a bit by moving the printf-macros out
and remove the using std::string
David Kalnischkies [Sat, 30 Jan 2010 21:19:57 +0000 (22:19 +0100)]
* apt-pkg/contrib/macros.h:
- move the header system.h with a new name to the public domain,
to be able to use it in other headers (Closes: #567662)
bubulle@debian.org [Fri, 29 Jan 2010 18:59:11 +0000 (19:59 +0100)]
First French update
bubulle@debian.org [Fri, 29 Jan 2010 18:54:18 +0000 (19:54 +0100)]
French translation update
bubulle@debian.org [Fri, 29 Jan 2010 18:46:44 +0000 (19:46 +0100)]
Italian translation update
Michael Vogt [Wed, 27 Jan 2010 15:07:21 +0000 (16:07 +0100)]
merged from lp:~mvo/apt/mvo
Michael Vogt [Wed, 27 Jan 2010 15:06:05 +0000 (16:06 +0100)]
cmdline/apt-cdrom.cc: add help, fix duplicated option
Michael Vogt [Wed, 27 Jan 2010 11:11:07 +0000 (12:11 +0100)]
merge 1695..1701 from the lp:~mvo/apt/mvo branch
Michael Vogt [Wed, 27 Jan 2010 11:05:22 +0000 (12:05 +0100)]
debian/changelog: add --auto-detect option
Michael Vogt [Wed, 27 Jan 2010 11:03:55 +0000 (12:03 +0100)]
merged from libudev-dlopen
Michael Vogt [Wed, 27 Jan 2010 11:00:35 +0000 (12:00 +0100)]
debian/apt.dirs: remove var/lib/apt/media again
Michael Vogt [Tue, 26 Jan 2010 20:23:30 +0000 (21:23 +0100)]
merged the latest lp:~mvo/apt/libudev-cdrom branch
Michael Vogt [Tue, 26 Jan 2010 20:08:41 +0000 (21:08 +0100)]
add Dir::Media::MountPath config option
Michael Vogt [Tue, 26 Jan 2010 19:36:13 +0000 (20:36 +0100)]
* cmdline/apt-cdrom.cc:
- fixed signed/unsigned warning
- create /media mount point if needed
- fix initialization for res in DoAdd()
* methods/cdrom.cc:
- make AptMountPoint a variable
Michael Vogt [Tue, 26 Jan 2010 15:43:20 +0000 (16:43 +0100)]
cmdline/apt-cdrom.cc: add --auto-detect
Michael Vogt [Tue, 26 Jan 2010 14:56:29 +0000 (15:56 +0100)]
* apt-pkg/cdrom.cc:
- fix crash in pkgUdevCdromDevices
Michael Vogt [Tue, 26 Jan 2010 14:51:45 +0000 (15:51 +0100)]
merge from the mvo branch
Michael Vogt [Tue, 26 Jan 2010 12:37:25 +0000 (13:37 +0100)]
methods/cdrom.cc: fix compilication error
Michael Vogt [Tue, 26 Jan 2010 10:49:29 +0000 (11:49 +0100)]
add new "Acquire::cdrom::AutoDetect" config that enables/disables
the dlopen of libudev for automatic cdrom detection. Off by default
currently, feedback/testing welcome
Michael Vogt [Tue, 26 Jan 2010 10:27:58 +0000 (11:27 +0100)]
add new "Acquire::cdrom::AutoDetect" variable that enables/disables
the dlopen of libudev for automatic cdrom detection
Michael Vogt [Mon, 25 Jan 2010 16:34:02 +0000 (17:34 +0100)]
* ftparchive/writer.{cc,h}:
- merge crash fix for apt-ftparchive on hurd, thanks to
Samuel Thibault for the patch (closes: #566664)
Michael Vogt [Mon, 25 Jan 2010 16:15:53 +0000 (17:15 +0100)]
* cmdline/apt-mark:
- merge fix from Gene Cash that supports markauto for
packages that are not in the extended_states file yet
(closes: #534920)
Michael Vogt [Mon, 25 Jan 2010 11:09:52 +0000 (12:09 +0100)]
methods/cdrom.cc: fix compile error
Michael Vogt [Fri, 22 Jan 2010 23:37:21 +0000 (00:37 +0100)]
* apt-pkg/contrib/fileutl.cc:
- Fix the newly introduced method GetListOfFilesInDir to not
accept every file if no extension is enforced
(= restore old behaviour). (Closes: #565213)
* apt-pkg/policy.cc:
- accept also partfiles with "pref" file extension as valid
* apt-pkg/contrib/configuration.cc:
- accept also partfiles with "conf" file extension as valid
* doc/apt.conf.5.xml:
- reorder description and split out syntax
- add partfile name convention (Closes: #558348)
* doc/apt_preferences.conf.5.xml:
- describe partfile name convention also here
* apt-pkg/deb/dpkgpm.cc:
- don't segfault if term.log file can't be opened.
Thanks Sam Brightman for the patch! (Closes: #475770)
* doc/*:
- replace the per language addendum with a global addendum
- add a explanation why translations include (maybe) english
parts to the new global addendum (Closes: #561636)
* apt-pkg/contrib/strutl.cc:
- fix malloc asseration fail with ja_JP.eucJP locale in
apt-cache search. Thanks Kusanagi Kouichi! (Closes: #548884)
Michael Vogt [Fri, 22 Jan 2010 20:34:29 +0000 (21:34 +0100)]
* methods/cdrom.cc:
- fixes in multi cdrom setup code
Michael Vogt [Fri, 22 Jan 2010 20:21:30 +0000 (21:21 +0100)]
* methods/cdrom.cc:
- fixes in multi cdrom setup code
Michael Vogt [Fri, 22 Jan 2010 19:06:37 +0000 (20:06 +0100)]
* apt-pkg/contrib/cdromutl.cc:
- fix UnmountCdrom() fails, give it a bit more time and try
the umount again
Michael Vogt [Fri, 22 Jan 2010 19:05:11 +0000 (20:05 +0100)]
* apt-pkg/contrib/cdromutl.cc:
- fix UnmountCdrom() fails, give it a bit more time and try
the umount again
David Kalnischkies [Fri, 22 Jan 2010 07:38:09 +0000 (08:38 +0100)]
mark the Error methods as __cold
David Kalnischkies [Fri, 22 Jan 2010 07:27:20 +0000 (08:27 +0100)]
add a few gcc helpers, including [un]likely() and __deprecated
David Kalnischkies [Wed, 20 Jan 2010 13:18:12 +0000 (14:18 +0100)]
* apt-pkg/contrib/strutl.cc:
- fix malloc asseration fail with ja_JP.eucJP locale in
apt-cache search. Thanks Kusanagi Kouichi! (Closes: #548884)
David Kalnischkies [Wed, 20 Jan 2010 12:39:37 +0000 (13:39 +0100)]
replace the per language addendum with a global addendum and
add a explanation why translations include (maybe) english
parts to this new global addendum (Closes: #561636)
David Kalnischkies [Tue, 19 Jan 2010 12:08:01 +0000 (13:08 +0100)]
* apt-pkg/deb/dpkgpm.cc:
- don't segfault if term.log file can't be opened.
Thanks Sam Brightman for the patch! (Closes: #475770)
David Kalnischkies [Sun, 17 Jan 2010 14:56:50 +0000 (15:56 +0100)]
Merge ... lp:~mvo/apt/apt-sid to get the complete fr
bubulle@debian.org [Sun, 17 Jan 2010 12:18:08 +0000 (13:18 +0100)]
Missing \n
David Kalnischkies [Sat, 16 Jan 2010 22:09:42 +0000 (23:09 +0100)]
Fix the newly introduced method GetListOfFilesInDir to not accept every
file if no extension is enforced (= restore old behaviour). (Closes: #565213)
This commit includes also:
* apt-pkg/policy.cc:
- accept also partfiles with "pref" file extension as valid
* apt-pkg/contrib/configuration.cc:
- accept also partfiles with "conf" file extension as valid
* doc/apt.conf.5.xml:
- reorder description and split out syntax
- add partfile name convention (Closes: #558348)
* doc/apt_preferences.conf.5.xml:
- describe partfile name convention also here
And a lovely test application of course.
bubulle@debian.org [Sat, 16 Jan 2010 07:11:50 +0000 (08:11 +0100)]
Completed translation
bubulle@debian.org [Thu, 14 Jan 2010 18:33:17 +0000 (19:33 +0100)]
French translation update (17 left)
David Kalnischkies [Wed, 13 Jan 2010 13:52:28 +0000 (14:52 +0100)]
correct a spelling error spotted by lintian in the debian/NEWS file:
W: spelling-error-in-news-debian: informations -> information
David Kalnischkies [Wed, 13 Jan 2010 13:51:28 +0000 (14:51 +0100)]
Merge ... lp:~mvo/apt/debian-sid to get 0.7.25.1 and my changes back
Michael Vogt [Mon, 11 Jan 2010 18:44:47 +0000 (19:44 +0100)]
releasing version 0.7.25.1
Michael Vogt [Sat, 9 Jan 2010 20:19:03 +0000 (21:19 +0100)]
* apt-pkg/deb/debindexfile.cc, apt-pkg/pkgcachegen.cc:
- add debug option Debug::pkgCacheGen
- merge fix for apt-get source pkg=version regression
(closes: #561971)