summaryrefslogtreecommitdiff
path: root/methods
AgeCommit message (Collapse)Author
2009-08-27merged from lp:~donkult/apt/sidMichael Vogt
2009-08-19merged from the jackyf-devel branchMichael Vogt
2009-08-18Allow empty Reason-Phase in the Status-Lines, which is allowed by rtfDavid Kalnischkies
http://www.w3.org/Protocols/rfc2616/rfc2616.html . Fixed by removing a space which will now be visibly in the errormessages, but as this errors should never happen anyway and an extra space doesn't harm we don't removed it. * methods/http.cc: - allow empty Reason-Phase in Status-Line to please squid, thanks Modestas Vainius for noticing! (Closes: #531157, LP: #411435)
2009-07-23[ABI] merged the libudev-dlopen branch, this allows to passMichael Vogt
"apt-udev-auto" to Acquire::Cdrom::mount and the cdrom method will dynamically find/mount the cdrom device (if libhal is available)
2009-07-23methods/cdrom.cc: add AutoDetectAndMount methodMichael Vogt
2009-07-22methods/cdrom.cc: move the scan into the loop that waits for a CDMichael Vogt
2009-07-22* methods/cdrom.cc:Michael Vogt
- add Acquire::Cdrom::mount "apt-udev-auto" magic to allow dynamically finding the cdrom device * apt-pkg/contrib/cdromutl.{h,cc}: - support additional (optional) DeviceName parameter for MountCdrom()
2009-07-21* apt-pkg/acquire.cc:Michael Vogt
- make the max pipeline depth of the acquire queue configurable via Acquire::Max-Pipeline-Depth * apt-pkg/deb/dpkgpm.cc: - add Dpkg::UseIoNice boolean option to run dpkg with ionice -c3 (off by default) - send "dpkg-exec" message on the status fd when dpkg is run - provide DPkg::Chroot-Directory config option (useful for testing) - fix potential hang when in a backgroud process group * apt-pkg/algorithms.cc: - consider recommends when making the scores for the problem resolver * apt-pkg/acquire-worker.cc: - show error details of failed methods * apt-pkg/contrib/fileutl.cc: - if a process aborts with signal, show signal number * methods/http.cc: - ignore SIGPIPE, we deal with EPIPE from write in HttpMethod::ServerDie() (LP: #385144) * apt-pkg/indexcopy.cc: - support having CDs with no Packages file (just a Packages.gz) by not forcing a verification on non-existing files (LP: #255545) - remove the gettext from a string that consists entirely of variables (LP: #56792) * apt-pkg/cacheiterators.h: - add missing checks for Owner == 0 in end() * apt-pkg/indexrecords.cc: - fix some i18n issues * apt-pkg/contrib/strutl.h: - add new strprintf() function to make i18n strings easier - fix compiler warning * apt-pkg/deb/debsystem.cc: - make strings i18n able * fix problematic use of tolower() when calculating the version hash by using locale independant tolower_ascii() function. Thanks to M. Vefa Bicakci (LP: #80248) * build fixes for g++-4.4 * cmdline/apt-mark: - add "showauto" option to show automatically installed packages * document --install-recommends and --no-install-recommends (thanks to Dereck Wonnacott, LP: #126180) * Updated cron script to support backups by hardlinks and verbose levels. All features turned off by default. * Added more error handlings. Closes: #438803, #462734, #454989, * Refactored condition structure to make download and upgrade performed if only previous steps succeeded. Closes: #341970 * Documented all cron script related configuration items in configure-index. * apt-ftparchive might write corrupt Release files (LP: #46439) * Apply --important option to apt-cache depends (LP: #16947)
2009-07-09move libudev based code into libapt cdrom.cc classMichael Vogt
2009-07-08prototype for libudev dlopen() type of cdrom detectionMichael Vogt
2009-07-02* apt-pkg/acquire-worker.cc:Michael Vogt
- show error details of failed methods * apt-pkg/contrib/fileutl.cc: - if a process aborts with signal, show signal number * methods/http.cc: - ignore SIGPIPE, we deal with EPIPE from write in HttpMethod::ServerDie() (LP: #385144)
2009-06-09[ABI break] support '#' in apt.conf and /etc/apt/preferencesMichael Vogt
(closes: #189866)
2009-04-09* apt-pkg/contrib/strutl.cc:Michael Vogt
- fix TimeToStr i18n (LP: #289807) * [ABI break] merge support for http redirects, thanks to Jeff Licquia and Anthony Towns * [ABI break] use int for the package IDs (thanks to Steve Cotton) * apt-pkg/pkgcache.cc: - do not run "dpkg --configure pkg" if pkg is in trigger-awaited state (LP: #322955) * methods/https.cc: - add Acquire::https::AllowRedirect support * Clarify the --help for 'purge' (LP: #243948) * cmdline/apt-get.cc - fix "apt-get source pkg" if there is a binary package and a source package of the same name but from different packages (LP: #330103) * cmdline/acqprogress.cc: - Call pkgAcquireStatus::Pulse even if quiet, so that we still get dlstatus messages on the status-fd (LP: #290234).
2009-04-08* methods/gpgv.cc:Michael Vogt
- properly check for expired and revoked keys (closes: #433091)
2009-04-08* methods/gpgv.cc:Michael Vogt
- properly check for expired and revoked keys (closes: #433091)
2009-02-03* methods/https.cc:Michael Vogt
- add Acquire::https::AllowRedirect support
2009-02-03methods/https.cc: do not unlink partial files (thanks to robbiew)Michael Vogt
2009-01-30[ABI break] merge support for http redirects, thanks toMichael Vogt
Jeff Licquia and Anthony Towns
2008-12-15Make apt proxy options have the highest priority, unified proxy determining ↵Eugene V. Lyubimkin
code.
2008-12-09* methods/gpgv.cc:Michael Vogt
- fix compiler warning * cmdline/apt-get.cc: - fix "apt-get source pkg=ver" if binary name != source name and show a message (LP: #202219) * apt-pkg/deb/debsystem.cc: - make strings i18n able
2008-10-28* apt-ftparchive might write corrupt Release files (LP: #46439)Michael Vogt
* Apply --important option to apt-cache depends (LP: #16947) * apt-pkg/acquire-item.cc: - Added fallback to uncompressed 'Packages' if neither 'bz2' nor 'gz' available. (Closes: #409284) * apt-pkg/algorithm.cc: - Strip username and password from source URL in error message. (Closes: #425150) * Fix typos: - apt-pkg/depcache.cc * Fix compilation warnings: - apt-pkg/acquire.cc - apt-pkg/versionmatch.cc * Compilation fixes and portability improvement for compiling APT against non-GNU libc (thanks to Martin Koeppe, closes: #392063): - buildlib/apti18n.h.in: + textdomain() and bindtextdomain() must not be visible when --disable-nls - buildlib/inttypes.h.in: undefine standard int*_t types - Append INTLLIBS to SLIBS: + cmdline/makefile + ftparchive/makefile + methods/makefile * doc/apt.conf.5.xml: - clarify whether configuration items of apt.conf are case-sensitive (thanks to Vincent McIntyre, closes: #345901) * doc/apt-cache.8.xml: - search command uses POSIX regex, and searches for virtual packages too (closes: #277536) * doc/offline.sgml: clarify remote and target hosts (thanks to Nikolaus Schulz, closes: #175940) * Fix several typos in docs, translations and debian/changelog (thanks to timeless, Nicolas Bonifas and Josh Triplett, closes: #368665, #298821, #411532, #431636, #461458) * Document apt-key finger and adv commands (thanks to Stefan Schmidt, closes: #350575) * Better documentation for apt-get --option (thanks to Tomas Pospisek, closes: #386579) * Retitle the apt-mark.8 manpage (thanks to Justin Pryzby, closes: #471276) * Better documentation on using both APT::Default-Release and /etc/apt/preferences (thanks to Ingo Saitz, closes: #145575) * doc/apt-cache.8.xml: - add missing citerefentry * Upload to unstable * apt-pkg/deb/dpkgpm.cc: - Store the trigger state descriptions in a way that does not break the ABI. The approach taken makes the search for a string O(n) rather than O(lg(n)), but since n == 4, I do not consider this a major concern. If it becomes a concern, we can sort the static array and use std::equal_range(). (Closes: #499322) * apt-pkg/pkgcachegen.cc: - do not add multiple identical descriptions for the same language (closes: #400768) * Catalan updated. Closes: #499462 * Fix typo in cron.daily script. Closes: #486179 * Traditional Chinese updated. Closes: #488526 * German corrected and completed. Closes: #490532, #480002, #498018 * French completed * Bulgarian updated. Closes: #492473 * Slovak updated. Closes: #492475 * Galician updated. Closes: #492794 * Japanese updated. Closes: #492975 * Fix missing space in Greek translation. Closes: #493922 * Greek updated. * Brazilian Portuguese updated. * Basque updated. Closes: #496754 * Romanian updated. Closes: #492773, #488361 * Portuguese updated. Closes: #491790 * Simplified Chinese updated. Closes: #489344 * Norwegian Bokmål updated. Closes: #480022 * Czech updated. Closes: #479628, #497277 * Korean updated. Closes: #464515 * Spanish updated. Closes: #457706 * Lithuanian added. Closes: #493328 * Swedish updated. Closes: #497496 * Vietnamese updated. Closes: #497893 * Portuguese updated. Closes: #498411 * Greek updated. Closes: #498687 * Polish updated. * 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) * apt-pkg/depcache.cc: - when checking for new important deps, skip critical ones (closes: #485943) * improve apt progress reporting, display trigger actions * add DPkg::NoTriggers option so that applications that call apt/aptitude (like the installer) defer trigger processing (thanks to Joey Hess) * doc/makefile: - add examples/apt-https-method-example.conf * Russian updated. Closes: #479777, #499029 * fix FTBFS by changing build-depends to * ABI library name change because it's built against * Package that contains all the new features * Branch that contains all the new features:
2008-10-28fix various -Wall warningsMichael Vogt
2008-10-11* Compilation fixes and portability improvement for compiling APT against ↵Luca Bruno
non-GNU libc
2008-08-05fix various -Wall warningsMichael Vogt
2008-07-25* merge patch that enforces stricter https server certificateMichael Vogt
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* merge patch that enforces stricter https server certificateMichael Vogt
checking (thanks to Arnaud Ebalard, closes: #485960) * allow per-mirror specific https settings (thanks to Arnaud Ebalard, closes: #485965)
2008-05-02Add timeout support for https.Otavio Salvador
2008-03-11typo fixesMichael Vogt
2008-02-21* Fix typos in manpages. Thanks to Daniel Leidert for the fixesMichael Vogt
Closes: #444922 [ Raise urgency to critical since it fixes a critical but for Debian Installer Lenny Beta1 release ] - Vietnamese updated. Closes: #460825 - Basque updated. Closes: #461166 - Galician updated. Closes: #461468 - Portuguese updated. Closes: #464575 - Korean updated. Closes: #448430 - Simplified Chinese updated. Closes: #465866 * Applied patch from Robert Millan <rmh@aybabtu.com> to fix the error message when gpgv isn't installed, closes: #452640. * Fix regression about APT::Get::List-Cleanup setting being ignored, closes: #466052. * Fix compilation warnings in apt-pkg/cdrom.cc and apt-pkg/contrib/configuration.cc. * Fix typo in debian/copyright file ("licened" instead of "licensed"), closes: #458966. - Vietnamese updated. Closes: #453774, #459013 - Simplified Chinese updated. Closes: #458039 - Norwegian Bokmål updated. Closes: #457917 * Fix wording for "After unpacking...". Thanks to Michael Gilbert
2008-02-08* methods/connect.cc:Michael Vogt
- remember hosts with Resolve failures or connect Timeouts
2008-01-17* Applied patch from Robert Millan <rmh@aybabtu.com> to fix the errorOtavio Salvador
message when gpgv isn't installed, closes: #452640.
2008-01-07* apt-pkg/acquire-worker.cc, methods/connect.cc:Michael Vogt
- consider a ResolveError a transient-network problem
2007-12-16* Applied patch from Robert Millan <rmh@aybabtu.com> to make apt-key andOtavio Salvador
apt-get to ignore time conflicts, closes: #451328.
2007-12-06* methods/gpgv.cc:Michael Vogt
- remove cruft code that caused timestamp/I-M-S issues
2007-10-25Changed ABIOtavio Salvador
2007-10-05methods/https.cc:Michael Vogt
- delete zero size I-M-S hits - fix of-by-one error in I-M-S code
2007-10-02 - methods/ftp.cc: likewise;Otavio Salvador
2007-10-02 - methods/gpgv.cc: conversion from string constant to 'char*';Otavio Salvador
2007-08-10* Reset curl options and timestamp between downloaded files. Thanks toOtavio Salvador
Ryan Murray <rmurray@debian.org> for the patch (closes: #437150)
2007-08-06* Add hash support to copy method. Thanks Anders Kaseorg by the patchOtavio Salvador
(closes: #436055)
2007-08-03* apt-pkg/deb/dpkgpm.{cc,h}:Michael Vogt
- merged dpkg-log branch, this lets you specify a Dir::Log::Terminal file to log dpkg output to ABI break
2007-08-03* apt-pkg/acquire-item.cc:Michael Vogt
- 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-02* methods/https.cc:Michael Vogt
- 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-07-30* methods/makefile:Michael Vogt
- install lzma symlink method (for full lzma support) * debian/control: - suggest "lzma"
2007-07-14* Simplified HttpMethod::Fetch on http.cc removing Tail variable;Michael Vogt
* 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)
2007-07-10 * Fix pipeline handling on http.cc (closes: #413324)Otavio Salvador
2007-07-10Simplified HttpMethod::Fetch on http.cc removing Tail variable;Otavio Salvador
2007-07-10Minor typos.Otavio Salvador
2007-07-10 * Fix compilation warnings:Otavio Salvador
- 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;
2007-06-09* debian/control: increase standards versionMichael Vogt
* methods/http.cc: revert pipeline depth and move global Proxy to here * methods/http.h: remove Proxy from here