Commit Graph

39 Commits

Author SHA1 Message Date
David Kalnischkies 0fffbc8ce4 merge with current debian apt/experimental 2011-10-05 18:43:00 +02:00
Michael Vogt 7be8c02360 * apt-pkg/contrib/configuration.cc:
- fix double delete (LP: #848907)
  - ignore only the invalid regexp instead of all options
* apt-pkg/acquire-item.h, apt-pkg/deb/debmetaindex.cc:
  - fix fetching language information by adding OptionalSubIndexTarget
* methods/https.cc:
  - cleanup broken downloads properly

* ftparchive/cachedb.cc:
  - fix buffersize in bytes2hex
* apt-pkg/deb/deblistparser.cc:
  - fix crash when the dynamic mmap needs to be grown in
    LoadReleaseInfo (LP: #854090)
2011-10-05 18:14:38 +02:00
Michael Vogt db1f14695c * methods/https.cc:
- cleanup broken downloads properly
2011-09-20 18:21:21 +02:00
David Kalnischkies 472ff00ef2 use forward declaration in headers if possible instead of includes 2011-09-19 19:14:19 +02:00
David Kalnischkies 650faab016 Support large files in the complete toolset. Indexes of this
size are pretty unlikely for now, but we need it for deb
packages which could become bigger than 4GB now (LP: #815895)
2011-09-13 17:46:48 +02:00
David Kalnischkies ea54214002 reorder includes: add <config.h> if needed and include it at first 2011-09-13 10:09:00 +02:00
David Kalnischkies 52b22cea95 * methods/https.cc:
- fix CURLOPT_SSL_VERIFYHOST by really passing 2 to it if enabled
2011-01-12 23:46:18 +01:00
Michael Vogt 46e39c8e14 * 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)
2010-01-08 22:28:49 +01:00
Michael Vogt 4407a02f4e merged patches from david (many thanks) 2009-12-14 09:22:29 +01:00
David Kalnischkies e4c2981b6e fix the backport of the https methods as they would require an ABI break
otherwise in the Configuration class.
2009-12-11 12:45:04 +01:00
David Kalnischkies b9e9a44b33 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.
2009-12-11 00:38:13 +01:00
David Kalnischkies 9f542bae2b add config setting for User-Agent in http and https to the Acquire group,
thanks Timothy J. Miller! (Closes: #355782)
2009-12-11 00:32:01 +01:00
Michael Vogt be2033f956 merged -r1875..1886 from lp:~donkult/apt/sid 2009-12-10 17:24:40 +01:00
Michael Vogt e4b16ac681 * 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
2009-12-10 16:06:40 +01:00
Michael Vogt 777b4ac688 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.
2009-12-07 11:04:17 +01:00
Michael Vogt 01fc89305c * apt-pkg/contrib/netrc.cc:
- check for hostname and then host+path
  - better debug output
* methods/https.cc:
  - fix bug in netrc integration
2009-12-04 10:22:56 +01:00
Michael Vogt 16d7341fce * 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)
2009-12-02 17:22:32 +01:00
Michael Vogt 5085e66067 methods/https.cc: cleanup for CURLOPT_LOW_SPEED_TIME 2009-11-17 09:55:22 -06:00
Michael Vogt 43cf55db7c * methods/https.cc:
- fix incorrect use of CURLOPT_TIMEOUT, closes: #497983, LP: #354972
    thanks to Brian Thomason for the patch
2009-11-17 09:51:31 -06:00
Michael Vogt 1de1f70383 add maybe_add_auth for ftp as well 2009-10-16 15:42:05 +02:00
Michael Vogt 592b78001c port netrc support from maemon 2009-10-16 15:36:28 +02:00
Julian Andres Klode f465a80f6e methods/https.cc: Add support for authentication using netrc (Closes: #518473),
patch  by Jussi Hakala <jussi.hakala@hut.fi>.
2009-10-12 16:24:34 +02:00
Michael Vogt 889053489a merged from the jackyf-devel branch 2009-08-19 11:27:00 +02:00
Michael Vogt 668ce84da0 * methods/https.cc:
- add Acquire::https::AllowRedirect support
2009-02-03 14:10:36 +01:00
Michael Vogt cb3cc4806c methods/https.cc: do not unlink partial files (thanks to robbiew) 2009-02-03 10:50:32 +01:00