ntk/apt.git
14 years agorefreshed po/ doc/po files
Michael Vogt [Thu, 18 Feb 2010 20:06:47 +0000 (21:06 +0100)]
refreshed po/ doc/po files

14 years agomerge from the lp:~donkult/apt/sid branch
Michael Vogt [Thu, 18 Feb 2010 14:39:03 +0000 (15:39 +0100)]
merge from the lp:~donkult/apt/sid branch

14 years ago* [BREAK] merged lp:~mvo/apt/history
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)

14 years ago* [BREAK] add possibility to download and use multiply
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)

14 years agoabicheck/run_abi_test: check both libapt-pkg and libapt-inst
Michael Vogt [Thu, 18 Feb 2010 13:55:13 +0000 (14:55 +0100)]
abicheck/run_abi_test: check both libapt-pkg and libapt-inst

14 years agoabicheck: use absoute path for build too
Michael Vogt [Thu, 18 Feb 2010 13:40:42 +0000 (14:40 +0100)]
abicheck: use absoute path for build too

14 years agoabicheck/run_abi_test: check for ../build; abicheck/apt_build.xml: fix version name
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

14 years ago* abicheck/
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

14 years agoAUTHORS: updated again
Michael Vogt [Thu, 18 Feb 2010 10:31:34 +0000 (11:31 +0100)]
AUTHORS: updated again

14 years agoChange the package index Info methods to allow apt-cache policy to be
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)

14 years agoAUTHORS: updated to reflect current status
Michael Vogt [Thu, 18 Feb 2010 10:21:49 +0000 (11:21 +0100)]
AUTHORS: updated to reflect current status

14 years ago* doc/apt-cdrom.8.xml:
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

14 years ago* debian/rules:
David Kalnischkies [Thu, 18 Feb 2010 00:59:50 +0000 (01:59 +0100)]
* debian/rules:
  - remove creation of empty dir /usr/share/apt

14 years agowe break the ABI, so let use increase the ABI number :)
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)

14 years ago* doc/apt_preferences.5.xml:
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)

14 years ago* debian/control:
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

14 years ago* aptconfiguration.cc:
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).

14 years ago* buildlib/apti18n.h.in, po/makefile:
David Kalnischkies [Wed, 17 Feb 2010 23:31:49 +0000 (00:31 +0100)]
* buildlib/apti18n.h.in, po/makefile:
  - add ngettext support with P_()

14 years agodd support for the LANGUAGE environment variable
David Kalnischkies [Wed, 17 Feb 2010 23:30:51 +0000 (00:30 +0100)]
dd support for the LANGUAGE environment variable

14 years ago - add --arch option for apt-ftparchive packages and contents commands
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)

14 years ago* apt-pkg/deb/dpkgpm.cc:
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!

14 years agomerged from debian-sid
Michael Vogt [Wed, 17 Feb 2010 21:09:25 +0000 (22:09 +0100)]
merged from debian-sid

14 years agomerge with debian-sid
David Kalnischkies [Sat, 13 Feb 2010 00:45:26 +0000 (01:45 +0100)]
merge with debian-sid

14 years agodebian/changelog: updated
Michael Vogt [Mon, 8 Feb 2010 19:01:59 +0000 (20:01 +0100)]
debian/changelog: updated

14 years agofix progress reporting while reading extended_states file
David Kalnischkies [Sun, 7 Feb 2010 18:26:02 +0000 (19:26 +0100)]
fix progress reporting while reading extended_states file

14 years agoadd Acquire::http::ProxyAutoDetect configuration that
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

14 years agoSlovak translation update
bubulle@debian.org [Wed, 3 Feb 2010 19:09:24 +0000 (20:09 +0100)]
Slovak translation update

14 years ago* methods/http.cc:
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

14 years agoreleasing version 0.7.25.3 0.7.25.3
Michael Vogt [Mon, 1 Feb 2010 20:03:52 +0000 (21:03 +0100)]
releasing version 0.7.25.3

14 years agomerge r1966..1967 from lp:~donkult/apt/sid
Michael Vogt [Mon, 1 Feb 2010 02:56:26 +0000 (18:56 -0800)]
merge r1966..1967  from lp:~donkult/apt/sid

14 years ago* cmdline/acqprogress.cc:
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)

14 years agocommit debian/changelog for final 0.7.25.2 upload
Michael Vogt [Sun, 31 Jan 2010 15:21:48 +0000 (16:21 +0100)]
commit debian/changelog for final 0.7.25.2 upload

14 years ago* cmdline/apt-get.cc:
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)

14 years ago* ftparchive/writer.cc:
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)

14 years ago* cmdline/acqprogress.cc:
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)

14 years agocleanup the error header a bit by moving the printf-macros out
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

14 years ago* apt-pkg/contrib/macros.h:
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)

14 years agoFirst French update
bubulle@debian.org [Fri, 29 Jan 2010 18:59:11 +0000 (19:59 +0100)]
First French update

14 years agoFrench translation update
bubulle@debian.org [Fri, 29 Jan 2010 18:54:18 +0000 (19:54 +0100)]
French translation update

14 years agoItalian translation update
bubulle@debian.org [Fri, 29 Jan 2010 18:46:44 +0000 (19:46 +0100)]
Italian translation update

14 years agomerged from lp:~mvo/apt/mvo
Michael Vogt [Wed, 27 Jan 2010 15:07:21 +0000 (16:07 +0100)]
merged from lp:~mvo/apt/mvo

14 years agocmdline/apt-cdrom.cc: add help, fix duplicated option
Michael Vogt [Wed, 27 Jan 2010 15:06:05 +0000 (16:06 +0100)]
cmdline/apt-cdrom.cc: add help, fix duplicated option

14 years agomerge 1695..1701 from the lp:~mvo/apt/mvo branch
Michael Vogt [Wed, 27 Jan 2010 11:11:07 +0000 (12:11 +0100)]
merge 1695..1701 from the lp:~mvo/apt/mvo branch

14 years agodebian/changelog: add --auto-detect option
Michael Vogt [Wed, 27 Jan 2010 11:05:22 +0000 (12:05 +0100)]
debian/changelog: add --auto-detect option

14 years agomerged from libudev-dlopen
Michael Vogt [Wed, 27 Jan 2010 11:03:55 +0000 (12:03 +0100)]
merged from libudev-dlopen

14 years agodebian/apt.dirs: remove var/lib/apt/media again
Michael Vogt [Wed, 27 Jan 2010 11:00:35 +0000 (12:00 +0100)]
debian/apt.dirs: remove var/lib/apt/media again

14 years agomerged the latest lp:~mvo/apt/libudev-cdrom branch
Michael Vogt [Tue, 26 Jan 2010 20:23:30 +0000 (21:23 +0100)]
merged the latest lp:~mvo/apt/libudev-cdrom branch

14 years agoadd Dir::Media::MountPath config option
Michael Vogt [Tue, 26 Jan 2010 20:08:41 +0000 (21:08 +0100)]
add Dir::Media::MountPath config option

14 years ago* cmdline/apt-cdrom.cc:
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

14 years agocmdline/apt-cdrom.cc: add --auto-detect
Michael Vogt [Tue, 26 Jan 2010 15:43:20 +0000 (16:43 +0100)]
cmdline/apt-cdrom.cc: add --auto-detect

14 years ago* apt-pkg/cdrom.cc:
Michael Vogt [Tue, 26 Jan 2010 14:56:29 +0000 (15:56 +0100)]
* apt-pkg/cdrom.cc:
  - fix crash in pkgUdevCdromDevices

14 years agomerge from the mvo branch
Michael Vogt [Tue, 26 Jan 2010 14:51:45 +0000 (15:51 +0100)]
merge from the mvo branch

14 years agomethods/cdrom.cc: fix compilication error
Michael Vogt [Tue, 26 Jan 2010 12:37:25 +0000 (13:37 +0100)]
methods/cdrom.cc: fix compilication error

14 years agoadd new "Acquire::cdrom::AutoDetect" config that enables/disables
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

14 years agoadd new "Acquire::cdrom::AutoDetect" variable that enables/disables
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

14 years ago* ftparchive/writer.{cc,h}:
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)

14 years ago* cmdline/apt-mark:
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)

14 years agomethods/cdrom.cc: fix compile error
Michael Vogt [Mon, 25 Jan 2010 11:09:52 +0000 (12:09 +0100)]
methods/cdrom.cc: fix compile error

14 years ago* apt-pkg/contrib/fileutl.cc:
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)

14 years ago* methods/cdrom.cc:
Michael Vogt [Fri, 22 Jan 2010 20:34:29 +0000 (21:34 +0100)]
* methods/cdrom.cc:
  - fixes in multi cdrom setup code

14 years ago* methods/cdrom.cc:
Michael Vogt [Fri, 22 Jan 2010 20:21:30 +0000 (21:21 +0100)]
* methods/cdrom.cc:
  - fixes in multi cdrom setup code

14 years ago* apt-pkg/contrib/cdromutl.cc:
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

14 years ago* apt-pkg/contrib/cdromutl.cc:
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

14 years agomark the Error methods as __cold
David Kalnischkies [Fri, 22 Jan 2010 07:38:09 +0000 (08:38 +0100)]
mark the Error methods as __cold

14 years agoadd a few gcc helpers, including [un]likely() and __deprecated
David Kalnischkies [Fri, 22 Jan 2010 07:27:20 +0000 (08:27 +0100)]
add a few gcc helpers, including [un]likely() and __deprecated

14 years ago* apt-pkg/contrib/strutl.cc:
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)

14 years agoreplace the per language addendum with a global addendum and
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)

14 years ago* apt-pkg/deb/dpkgpm.cc:
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)

14 years agomerge with lp:~mvo/apt/apt-sid to get the complete fr
David Kalnischkies [Sun, 17 Jan 2010 14:56:50 +0000 (15:56 +0100)]
Merge ... lp:~mvo/apt/apt-sid to get the complete fr

14 years agoMissing \n
bubulle@debian.org [Sun, 17 Jan 2010 12:18:08 +0000 (13:18 +0100)]
Missing \n

14 years agoFix the newly introduced method GetListOfFilesInDir to not accept every
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.

14 years agoCompleted translation
bubulle@debian.org [Sat, 16 Jan 2010 07:11:50 +0000 (08:11 +0100)]
Completed translation

14 years agoFrench translation update (17 left)
bubulle@debian.org [Thu, 14 Jan 2010 18:33:17 +0000 (19:33 +0100)]
French translation update (17 left)

14 years agocorrect a spelling error spotted by lintian in the debian/NEWS file:
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

14 years agomerge with lp:~mvo/apt/debian-sid to get 0.7.25.1 and my changes back
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

14 years agoreleasing version 0.7.25.1 0.7.25.1
Michael Vogt [Mon, 11 Jan 2010 18:44:47 +0000 (19:44 +0100)]
releasing version 0.7.25.1

14 years ago* apt-pkg/deb/debindexfile.cc, apt-pkg/pkgcachegen.cc:
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)

14 years agoUpdate PO files
bubulle@debian.org [Sat, 9 Jan 2010 16:20:40 +0000 (17:20 +0100)]
Update PO files

14 years agoRussian translation update
bubulle@debian.org [Sat, 9 Jan 2010 15:46:43 +0000 (16:46 +0100)]
Russian translation update

14 years agofix merge error
Michael Vogt [Fri, 8 Jan 2010 21:47:24 +0000 (22:47 +0100)]
fix merge error

14 years ago* po/ru.po:
Michael Vogt [Fri, 8 Jan 2010 21:40:46 +0000 (22:40 +0100)]
* po/ru.po:
  - merged updated ru.po, thanks to Yuri Kozlov (closes: #564171)

14 years ago* cmdline/apt-get.cc:
Michael Vogt [Fri, 8 Jan 2010 21:32:32 +0000 (22:32 +0100)]
* cmdline/apt-get.cc:
  - fix apt-get source pkg=version regression (closes: #561971)

14 years ago* French manpage translation update
Michael Vogt [Fri, 8 Jan 2010 21:28:49 +0000 (22:28 +0100)]
* French manpage translation update

* spot & fix various typos in all manpages
* German manpage translation update
* cmdline/apt-cache.cc:
  - remove translatable marker from the "%4i %s\n" string
* buildlib/po4a_manpage.mak:
  - instruct debiandoc to build files with utf-8 encoding
* buildlib/tools.m4:
  - fix some warning from the buildtools
* apt-pkg/acquire-item.cc:
  - add configuration PDiffs::Limit-options to not download
    too many or too big patches (Closes: #554349)
* debian/control:
  - let all packages depend on ${misc:Depends}
* share/*-archive.gpg:
  - remove the horrible outdated files. We already depend on
    the keyring so we don't need to ship our own version
* cmdline/apt-key:
  - errors out if wget is not installed (Closes: #545754)
  - add --keyring option as we have now possibly many
* methods/gpgv.cc:
  - pass all keyrings (TrustedParts) to gpgv instead of
    using only one trusted.gpg keyring (Closes: #304846)
* methods/https.cc:
  - finally merge the rest of the patchset from Arnaud Ebalard
    with the CRL and Issuers options, thanks! (Closes: #485963)

14 years ago44 strings left
bubulle@debian.org [Fri, 8 Jan 2010 18:45:15 +0000 (19:45 +0100)]
44 strings left

14 years agomerge again with lp:~mvo/apt/debian-sid to get a buildable fr again
David Kalnischkies [Mon, 4 Jan 2010 13:09:54 +0000 (14:09 +0100)]
merge again with lp:~mvo/apt/debian-sid to get a buildable fr again

14 years agosome minor style fixes: use empty() and add a few const
David Kalnischkies [Mon, 4 Jan 2010 13:06:49 +0000 (14:06 +0100)]
some minor style fixes: use empty() and add a few const

14 years agofinally merge the rest of the patchset from Arnaud Ebalard
David Kalnischkies [Mon, 4 Jan 2010 12:54:57 +0000 (13:54 +0100)]
finally merge the rest of the patchset from Arnaud Ebalard
with the CRL and Issuers options for https, thanks! (Closes: #485963)

14 years agoadd TrustedParts so in the future new keyrings can just be dropped
David Kalnischkies [Mon, 4 Jan 2010 12:45:14 +0000 (13:45 +0100)]
add TrustedParts so in the future new keyrings can just be dropped
into /etc/apt/trusted.gpg.d/ which eliminates the need to have
gpg installed to add keys to APTs trusted keyring (with apt-key)
(Closes #304846) - Thanks to Timo Weingärtner & Peter Palfrader
for providing different patchs/ideas for this!

14 years agoReview continued by Stephane Blondon
bubulle@debian.org [Mon, 4 Jan 2010 06:09:43 +0000 (07:09 +0100)]
Review continued by Stephane Blondon

14 years agoAdd a GetListOfFilesInDir() helper method which replaces the old
David Kalnischkies [Sun, 3 Jan 2010 18:37:34 +0000 (19:37 +0100)]
Add a GetListOfFilesInDir() helper method which replaces the old
code copies used to load the various parts-files

14 years agoReviewed by Philippe batailler
bubulle@debian.org [Sun, 3 Jan 2010 15:55:41 +0000 (16:55 +0100)]
Reviewed by Philippe batailler

14 years agoReview by Stephane Blondon and msgcat
bubulle@debian.org [Sun, 3 Jan 2010 08:30:47 +0000 (09:30 +0100)]
Review by Stephane Blondon and msgcat

14 years agoapt-key errors out nicely if wget is not installed (Closes: #545754)
David Kalnischkies [Sat, 2 Jan 2010 19:24:53 +0000 (20:24 +0100)]
apt-key errors out nicely if wget is not installed (Closes: #545754)

14 years agoremove the horrible outdated share/*-archive.gpg files and all there traces
David Kalnischkies [Sat, 2 Jan 2010 16:53:05 +0000 (17:53 +0100)]
remove the horrible outdated share/*-archive.gpg files and all there traces
We already depend on the proper keyring so we don't need to ship our
own version which isn't used anyway.

14 years agofix a typo in the apt.conf manpage spotted by lintian
David Kalnischkies [Sat, 2 Jan 2010 16:43:07 +0000 (17:43 +0100)]
fix a typo in the apt.conf manpage spotted by lintian
W: apt: spelling-error-in-manpage usr/share/man/man5/apt.conf.5.gz enviroment environment

14 years agofix another mistake spotted by lintian:
David Kalnischkies [Sat, 2 Jan 2010 16:38:04 +0000 (17:38 +0100)]
fix another mistake spotted by lintian:
I: apt: spelling-error-in-binary ./usr/lib/libapt-pkg-libc6.9-6.so.4.8.0 Alot A lot

14 years agoFix the following gcc-4.5 buildfailure in pkgcache.cc by following the suggestion:
David Kalnischkies [Sat, 2 Jan 2010 16:19:07 +0000 (17:19 +0100)]
Fix the following gcc-4.5 buildfailure in pkgcache.cc by following the suggestion:
pkgcache.cc: In member function ‘const char* pkgCache::PkgIterator::CandVersion() const’:
pkgcache.cc:301:51: error: cannot call constructor ‘pkgPolicy::pkgPolicy’ directly
pkgcache.cc:301:51: note: for a function-style cast, remove the redundant ‘::pkgPolicy’

14 years agolet all packages depend on
David Kalnischkies [Sat, 2 Jan 2010 16:03:23 +0000 (17:03 +0100)]
let all packages depend on

14 years agoadd configuration PDiffs::Limit-options (FileLimit and SizeLimit) to
David Kalnischkies [Fri, 1 Jan 2010 23:22:31 +0000 (00:22 +0100)]
add configuration PDiffs::Limit-options (FileLimit and SizeLimit) to
not download too many or too big patches (Closes: #554349)

14 years agobzrignore the now linked config.{guess,sub} files
David Kalnischkies [Fri, 1 Jan 2010 20:32:50 +0000 (21:32 +0100)]
bzrignore the now linked config.{guess,sub} files