summaryrefslogtreecommitdiff
path: root/methods
Commit message (Collapse)AuthorAgeFilesLines
* methods/makefile: remove duplicated entry for httpsMichael Vogt2008-01-031-7/+0
|
* merge from apt--mvoMichael Vogt2008-01-031-0/+1
|\
| * * Applied patch from Robert Millan <rmh@aybabtu.com> to make apt-key andOtavio Salvador2007-12-161-0/+1
| | | | | | apt-get to ignore time conflicts, closes: #451328.
* | update ABI, the homepage change broke itMichael Vogt2007-12-071-1/+1
| |
* | we do not break the abiMichael Vogt2007-12-061-1/+1
| |
* | * methods/gpgv.cc:Michael Vogt2007-12-061-17/+0
|\| | | | | | | | | | | | | | | | | | | | | - remove cruft code that caused timestamp/I-M-S issues * ftparchive/contents.cc: - fix error output * methods/mirror.{cc,h}: - only update mirror list on IndexFile updates * ftparchive/contents.cc: - support lzma data members * ftparchive/multicompress.cc: - support lzma output
| * * methods/gpgv.cc:Michael Vogt2007-12-061-17/+0
| | | | | | - remove cruft code that caused timestamp/I-M-S issues
* | merge with the debian treeMichael Vogt2007-11-284-8/+9
|\|
| * Changed ABIOtavio Salvador2007-10-251-1/+1
| |
| * methods/https.cc:Michael Vogt2007-10-051-13/+13
| | | | | | | | | | - delete zero size I-M-S hits - fix of-by-one error in I-M-S code
| * - methods/ftp.cc: likewise;Otavio Salvador2007-10-021-1/+1
| |
| * - methods/gpgv.cc: conversion from string constant to 'char*';Otavio Salvador2007-10-021-3/+3
| |
| * * Reset curl options and timestamp between downloaded files. Thanks toOtavio Salvador2007-08-101-0/+13
| | | | | | Ryan Murray <rmurray@debian.org> for the patch (closes: #437150)
| * * Add hash support to copy method. Thanks Anders Kaseorg by the patchOtavio Salvador2007-08-061-0/+5
| | | | | | (closes: #436055)
* | * methods/mirror.{cc,h}:Michael Vogt2007-11-282-62/+97
|\ \ | | | | | | - only update mirror list on IndexFile updates
| * | methods/mirror.{cc,h}:Michael Vogt2007-11-282-62/+97
| | | | | | | | | | | | | | | | | | - improve the mirror method so that it only updates the mirror list from the server if we get new indexfiles - code cleanup
* | | * methods/https.cc:Michael Vogt2007-10-051-13/+13
| | | | | | | | | | | | | | | | | | - fix off-by-one error I-M-S handling - cleanup after I-M-S hit - only send LastModified if we actually have a file - delete zero size I-M-S hits
* | | * Reset curl options and timestamp between downloaded files. Thanks toMichael Vogt2007-10-031-0/+13
| | | | | | | | | Ryan Murray <rmurray@debian.org> for the patch
* | | * methods/copy.cc:Michael Vogt2007-08-081-1/+7
|\ \ \ | | | | | | | | | | | | | | | | - take hashes here too * apt-pkg/acquire-worker.cc: - only pass on computed hash if we recived one from the method
| * | | * apt-pkg/acquire-worker.cc:Michael Vogt2007-08-081-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | - only pass a hash if we actually got one from the method * methods/copy.cc: - take hashes here too (*sigh*)
| * | | * apt-pkg/acquire-item.{cc,h}:Michael Vogt2007-07-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - rename "hash" into ExpectedHash in pkgAcqFile, pkgAcqIndex - add missing HashSum() call to class pkgAcqIndex - use the data provided by acquire-method (and send via the {SHA256,SHA1,MD5Sum}-Hash tag when comparing the hash, this avoids calculating the hash twice (just like old libapt) * apt-pkg/acquire-method.cc: - send MD5Sum-Hash tag to libapt to be consistant with HashString::SupportedHashes() * apt-pkg/acquire-worker.cc: - check with "Owner->HashSum().HashType()" what hash the frontend is expecting and pass it to pkgAcquireItem::Done() in the new HashString format - add some debugging output * apt-pkg/contrib/hashes.cc: - fix off-by-one error when constructing a HashString from a single input string * apt-pkg/contrib/hashes.h: - add "HashType()" method * apt-pkg/init.h, apt-pkg/makefile, methods/makefile: - break ABI
* | | | * apt-inst/contrib/extracttar.cc:Michael Vogt2007-08-032-12/+29
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - fix fd leak for zero size files (thanks to Bill Broadley for reporting this bug) * 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 * apt-pkg/deb/dpkgpm.{cc,h}: - merged dpkg-log branch, this lets you specify a Dir::Log::Terminal file to log dpkg output to (ABI break) * merged apt--sha256 branch to fully support the new sha256 checksums in the Packages and Release files (ABI break) * Applied patch from Aurelien Jarno <aurel32@debian.org> to fix wrong directory downloading on non-linux architectures (closes: #435597) * Applied patch from Guillem Jover <guillem@debian.org> to use * Applied patch from Guillem Jover <guillem@debian.org> to add support to add lzma support (closes: #408201) * methods/makefile: - install lzma symlink method (for full lzma support) * debian/control: - suggest "lzma" * Simplified HttpMethod::Fetch on http.cc removing Tail variable; * Fix pipeline handling on http.cc (closes: #413324) * Fix building to properly support binNMUs. Thanks to Daniel Schepler <schepler@math.unipd.it> by the patch (closes: #359634) * Fix example for Install-{Recommends,Suggests} options on configure-index example file. Thanks to Peter Eisentraut <peter_e@gmx.net> by the patch (closes: #432223) * fixed compile errors with g++ 4.3 (thanks to Daniel Burrows, closes: #429378) * fixes in the auto-mark code (thanks to Daniel Burrows) * fix FTFBFS by changing build-depends to libcurl4-gnutls-dev (closes: #428363) * cmdline/apt-get.cc: - fix InstallTask code when a pkgRecord ends with a single '\n' (thanks to Soren Hansen for reporting) * merged from Christian Perrier: * vi.po: completed to 532t, again. Closes: #429899 * gl.po: completed to 532t. Closes: #429506 * vi.po: completed to 532t. Closes: #428672 * Update all PO and the POT. Gives 514t14f4u for formerly complete translations * fr.po: completed to 532t * ku.po, uk.po, LINGUAS: reintegrate those translations which disappeared from the BZR repositories
| * | | * apt-pkg/deb/dpkgpm.{cc,h}:Michael Vogt2007-08-031-1/+1
| |\ \ \ | | | | | | | | | | | | | | | | | | | | - merged dpkg-log branch, this lets you specify a Dir::Log::Terminal file to log dpkg output to ABI break
| * \ \ \ * apt-pkg/acquire-item.cc:Michael Vogt2007-08-031-8/+20
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
| | * | | | * methods/https.cc:Michael Vogt2007-08-021-8/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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/
| * | | | | * methods/makefile:Michael Vogt2007-07-301-3/+8
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | - install lzma symlink method (for full lzma support) * debian/control: - suggest "lzma"
* | | | | * Simplified HttpMethod::Fetch on http.cc removing Tail variable;Michael Vogt2007-07-141-6/+18
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix pipeline handling on http.cc (closes: #413324) * Fix building to properly support binNMUs. Thanks to Daniel Schepler <schepler@math.unipd.it> by the patch (closes: #359634) * Fix example for Install-{Recommends,Suggests} options on configure-index example file. Thanks to Peter Eisentraut <peter_e@gmx.net> by the patch (closes: #432223) *
| * | | | * Simplified HttpMethod::Fetch on http.cc removing Tail variable;Michael Vogt2007-07-141-6/+18
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix pipeline handling on http.cc (closes: #413324) * Fix building to properly support binNMUs. Thanks to Daniel Schepler <schepler@math.unipd.it> by the patch (closes: #359634) * Fix example for Install-{Recommends,Suggests} options on configure-index example file. Thanks to Peter Eisentraut <peter_e@gmx.net> by the patch (closes: #432223)
| | * | | | * Fix pipeline handling on http.cc (closes: #413324)Otavio Salvador2007-07-101-1/+18
| | | | | |
| | * | | | Simplified HttpMethod::Fetch on http.cc removing Tail variable;Otavio Salvador2007-07-101-4/+0
| |/ / / /
* | | | | * cmdline/apt-get.cc:Michael Vogt2007-07-124-8/+7
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - fix in the task-install code regexp (thanks to Adam Conrad and Colin Watson). This should bring the livecd build back into shape * Fix compilation warnings: - apt-pkg/contrib/configuration.cc: wrong argument type; - apt-pkg/deb/dpkgpm.cc: wrong signess; - apt-pkg-acquire-item.cc: wrong signess and orderned initializers; - methods/https.cc: - type conversion; - unused variable; - changed SetupProxy() method to void;
| * | | | Minor typos.Otavio Salvador2007-07-104-4/+4
| | | | |
| * | | | * Fix compilation warnings:Otavio Salvador2007-07-102-4/+3
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - apt-pkg/contrib/configuration.cc: wrong argument type; - apt-pkg/deb/dpkgpm.cc: wrong signess; - apt-pkg-acquire-item.cc: wrong signess and orderned initializers; - methods/https.cc: - type conversion; - unused variable; - changed SetupProxy() method to void;
* | | | * apt-pkg/deb/dpkgpm.cc:Michael Vogt2007-06-143-2/+277
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - apport integration added, this means that a apport report is written on dpkg failures * merged from debian/unstable, remaining changes: - maintainer field changed * merged the debian/experimental changes back into the debian/sid branch * merged from Christian Perrier: * mr.po: New Marathi translation Closes: #416806 * zh_CN.po: Updated by Eric Pareja Closes: #416822 * tl.po: Updated by Eric Pareja Closes: #416638 * gl.po: Updated by Jacobo Tarrio * da.po: Updated by Claus Hindsgaul * fr.po: Remove a non-breakable space for usability * ru.po: Updated Russian translation. Closes: #405476 * *.po: Unfuzzy after upstream typo corrections * buildlib/archtable: - added support for sh3/sh4 (closes: #424870) - added support for m32r (closes: #394096) * buildlib/systemtable: - added support for lpia * configure.in: - check systemtable for architecture mapping too * fix error in AutocleanInterval, closes: #319339 (thanks to Israel G. Lugo for the patch) * add "purge" commandline argument, closes: #133421) (thanks to Julien Danjou for the patch) * add "purge" commandline argument, closes: #133421) (thanks to Julien Danjou for the patch) * fix FTBFS with gcc 4.3, closes: #417090 (thanks to Martin Michlmayr for the patch) * add --dsc-only option, thanks to K. Richard Pixley * Removed the more leftover #pragma interface/implementation closes: #306937 (thanks to Andreas Henriksson for the patch) * ABI library name change because its build against new glibc * implement SourceVer() in pkgRecords (thanks to Daniel Burrows for the patch!) * apt-pkg/algorithm.cc: - use clog for all debugging - only increase the score of installed applications if they are not obsolete - fix resolver bug on removal triggered by weak-dependencies with or-groups * methods/http.cc: - send apt version in User-Agent * apt-pkg/deb/debrecords.cc: - fix SHA1Hash() return value * apt-pkg/cdrom.cc: - only unmount if APT::CDROM::NoMount is false * methods/cdrom.cc: - only umount if it was mounted by the method before - if decompression of a index fails, delete the index * vi.po: Updated to 515t. Closes: #426976 * eu.po: Updated to 515t. Closes: #423766 * pt.po: 515t. Closes: #423111 * fr.po: Updated by Christian Perrier * Update all PO and the POT. Gives 513t2f for formerly complete translations * Package that contains tall the new features * Removed all #pragma interface/implementation * Branch that contains tall the new features: * translated package descriptions * task install support * automatic dependency removal (thanks to Daniel Burrows) * merged support for the new dpkg "Breaks" field (thanks to Ian Jackson) * handle network failures more gracefully on "update" * support for unattended-upgrades (via unattended-upgrades package) * added apt-transport-https method - ca.po: Updated to 514t - be.po: Updated to 514t - it.po: Updated to 514t - hu.po: Updated to 514t - zh_TW.po: Updated to 514t - ar.po: Updated to 293t221u. - ru.po: Updated to 514t. Closes: #392466 - nb.po: Updated to 514t. Closes: #392466 - pt.po: Updated to 514t. Closes: #393199 - fr.po: One spelling error corrected: s/accèder/accéder - km.po: Updated to 514t. - ko.po: Updated to 514t. - bg.po: Updated to 514t. - de.po: Updated to 514t. - en_GB.po: Updated to 514t. * debian/control: - depend on debian-archive-keyring to offer clean upgrade path (closes: #386800) * merged "install-recommends" branch (ABI break): - new "--install-recommends" - install new recommends on "upgrade" if --install-recommends is given - new "--fix-policy" option to install all packages with unmet important dependencies (usefull with --install-recommends to see what not-installed recommends are on the system) - fix of recommended packages display (only show CandidateVersion fix or-group handling) * merged "install-task" branch (use with "apt-get install taskname^") * Applied patch from Daniel Schepler to make apt bin-NMU able. * apt-pkg/acquire-item.cc: - fix reversed logic of the "Acquire::PDiffs" option * apt-pkg/contrib/sha256.cc: - applied patch to fix unaligned access problem. Closes: #367417 (thanks to David Mosberger) * apt-pkg/contrib/sha256.{cc,h},hashes.{cc,h}: support for sha256 (thanks to Anthony Towns) * ftparchive/cachedb.{cc,h},writer.{cc,h}: optimizations (thanks to Anthony Towns) * apt pdiff support from experimental merged * apt-pkg/deb/dpkgpm.cc: wording fixes (thanks to Matt Zimmerman) - fix error in dpkg interaction (closes: #364513, thanks to Martin Dickopp)
| * | | * debian/control: increase standards versionMichael Vogt2007-06-092-3/+2
| | | | | | | | | | | | | | | | | | | | * methods/http.cc: revert pipeline depth and move global Proxy to here * methods/http.h: remove Proxy from here
| * | | * huge merge to bring the apt debian-sid and ubuntu branches as closeMichael Vogt2007-06-095-3/+575
| |\ \ \ | | | | | | | | | | | | | | | as possible to apt--mvo again
| | * \ \ * merged with the apt--mvo branchMichael Vogt2007-05-022-6/+8
| | |\ \ \ | | |/ / / | |/| | |
| | * | | * merged from apt--mvoMichael Vogt2007-01-121-1/+2
| | |\ \ \
| | * \ \ \ * merged apt--curl-https branchMichael Vogt2006-12-193-0/+304
| | |\ \ \ \ | | | | |/ / | | | |/| |
| | * | | | * merged the no-pragma branchMichael Vogt2006-12-141-1/+1
| | |\ \ \ \
| | | \ \ \ \
| | | \ \ \ \
| | *-. | | | | * merged with unstable, prepared uploadMichael Vogt2006-10-022-1/+9
| | |\ \| | | |
| | | * | | | | * merged from mainlineMichael Vogt2006-09-301-0/+7
| | | |\ \ \ \ \
| | | * \ \ \ \ \ * merged with mainlineMichael Vogt2006-09-122-1/+2
| | | |\ \ \ \ \ \
| | | * \ \ \ \ \ \ * merged with mainlineMichael Vogt2006-07-251-1/+7
| | | |\ \ \ \ \ \ \
| | * | \ \ \ \ \ \ \ * merged the install-recommends branchMichael Vogt2006-08-151-1/+1
| | |\ \ \ \ \ \ \ \ \ | | | | |/ / / / / / / | | | |/| | | | | | |
| | * | | | | | | | | * merged with mainlineMichael Vogt2006-07-261-1/+7
| | |\| | | | | | | |
| | * | | | | | | | | * merged the auto-remove branchMichael Vogt2006-06-261-1/+1
| | |\ \ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ \ \ merged with the debian-sid branchMichael Vogt2006-05-172-14/+23
| | |\ \ \ \ \ \ \ \ \ \ | | | | |_|/ / / / / / / | | | |/| | | | | | | |
| | | * | | | | | | | | * merged from mainlineMichael Vogt2006-05-082-14/+23
| | | |\ \ \ \ \ \ \ \ \
| | | * \ \ \ \ \ \ \ \ \ * merged the pdiff stuffMichael Vogt2006-04-023-1/+269
| | | |\ \ \ \ \ \ \ \ \ \