Commit Graph

29 Commits

Author SHA1 Message Date
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
Eugene V. Lyubimkin 788a8f42c1 Make apt proxy options have the highest priority, unified proxy determining code. 2008-12-15 21:17:39 +02:00
Michael Vogt 3c8cda8b05 fix various -Wall warnings 2008-10-28 18:14:29 +01:00
Michael Vogt 9b5d79ec68 fix various -Wall warnings 2008-08-05 10:52:09 +02:00
Michael Vogt 42e9340ee7 * merge patch that enforces stricter https server certificate
checking (thanks to Arnaud Ebalard, closes: #485960)
* allow per-mirror specific https settings
  (thanks to Arnaud Ebalard, closes: #485965)
* add doc/examples/apt-https-method-example.cof
  (thanks to Arnaud Ebalard, closes: #485964)
2008-07-25 19:57:08 +02:00
Michael Vogt c769cd6fdc * merge patch that enforces stricter https server certificate
checking (thanks to Arnaud Ebalard, closes: #485960)
* allow per-mirror specific https settings
  (thanks to Arnaud Ebalard, closes: #485965)
2008-07-25 19:37:19 +02:00
Otavio Salvador cc615257a9 Add timeout support for https. 2008-05-02 12:26:17 -03:00
Michael Vogt d6039f9e73 methods/https.cc:
- delete zero size I-M-S hits
- fix of-by-one error in I-M-S code
2007-10-05 07:48:13 +02:00
Otavio Salvador 5820530d3d * Reset curl options and timestamp between downloaded files. Thanks to
Ryan Murray <rmurray@debian.org> for the patch (closes: #437150)
2007-08-10 18:05:05 -03:00
Michael Vogt b84fa7158d * apt-pkg/acquire-item.cc:
- remove zero size files on I-M-S hit
* methods/https.cc:
  - only send LastModified if we actually have one
  - send range request with if-range 
  - delete failed downloads
2007-08-03 10:22:24 +02:00
Michael Vogt 4c49961112 * methods/https.cc:
- only send i-m-s if last-modified is > 0
  - instead of resume send a range: if-range: custom header
  - merge 304 detection patch from thom may (thanks!)
* apt-pkg/acquire-item.cc:
  - remove empty files on i-m-s hits from partial/
2007-08-02 19:23:41 +02:00