summaryrefslogtreecommitdiff
path: root/methods
Commit message (Collapse)AuthorAgeFilesLines
* merge 1695..1701 from the lp:~mvo/apt/mvo branchMichael Vogt2010-01-271-6/+7
|
* add new "Acquire::cdrom::AutoDetect" config that enables/disablesMichael Vogt2010-01-261-1/+2
| | | | the dlopen of libudev for automatic cdrom detection. Off by default currently, feedback/testing welcome
* methods/cdrom.cc: fix compile errorMichael Vogt2010-01-251-2/+2
|
* * methods/cdrom.cc:Michael Vogt2010-01-221-11/+9
| | | - fixes in multi cdrom setup code
* * French manpage translation updateMichael Vogt2010-01-082-50/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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)
* merged patches from david (many thanks)Michael Vogt2009-12-144-231/+509
|\
| * fix the backport of the https methods as they would require an ABI breakDavid Kalnischkies2009-12-111-3/+3
| | | | | | | | otherwise in the Configuration class.
| * add AI_ADDRCONFIG to ai_flags in connect.cc as suggested by Aurelien JarnoDavid Kalnischkies2009-12-111-0/+1
| | | | | | | | in his response to Bernhard R. Link's patch, thanks! (Closes: #505020)
| * add https options which default to the ones from http for the httpsDavid Kalnischkies2009-12-111-55/+45
| | | | | | | | | | method as this is more sane than using only the http options without a possibility to override these for https.
| * add config setting for User-Agent in http and https to the Acquire group,David Kalnischkies2009-12-112-2/+6
| | | | | | | | thanks Timothy J. Miller! (Closes: #355782)
| * Backport rred patches from my own sid branch to the 0.7.25 branchDavid Kalnischkies2009-12-111-184/+464
|/ | | | | | | | | | * rewrite and refactor rred method to be able to handle even big (>30 MB) patches (Closes: #554349) and hardening the method itself by using more constants and a return value which can't be misinterpreted as linenumber * Finally adope the patch from Morten Hustveit <morten@debian.org> to be able to optional use mmaps and iovec to increase patch speed - but as this increase memory usage we can always fall back to the "old" method which doesn't depend on mmaps.
* merged -r1887..1901 from lp:~donkult/apt/sidMichael Vogt2009-12-102-5/+4
|\
| * refactor the buildsystem to extract library versions from one file,David Kalnischkies2009-10-281-3/+2
| | | | | | | | | | | | so it is not needed to change x-files to just increase a version number (because this is far to easy to forget one of the files, which will not result in failures or is bad in general, but is inconsitent.)
| * Bumped libapt version and excluded eglibc from SONAME. (Closes: #448249)David Kalnischkies2009-10-241-1/+1
| | | | | | | | | | Backported from lp:~mvo/apt/debian-experimental Based on patch by Eugene V. Lyubimkin
| * * methods/connect.cc:David Kalnischkies2009-10-201-2/+2
| | | | | | | | - display also strerror of "wicked" getaddrinfo errors
* | merged -r1875..1886 from lp:~donkult/apt/sidMichael Vogt2009-12-101-1/+0
|\|
* | * merge lp:~mvo/apt/netrc branch, this adds support for aMichael Vogt2009-12-103-4/+13
|\ \ | | | | | | | | | | | | | | | | | | /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
| * \ merge lp:~mvo/apt/netrc branch, this adds support for aMichael Vogt2009-12-073-4/+13
| |\ \ | | | | | | | | | | | | | | | | /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/contrib/netrc.cc:Michael Vogt2009-12-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - check for hostname and then host+path - better debug output * methods/https.cc: - fix bug in netrc integration
| | * | add ftp support, basic debuggingMichael Vogt2009-10-161-0/+1
| | | |
| | * | add maybe_add_auth for ftp as wellMichael Vogt2009-10-163-3/+5
| | | |
| | * | port netrc support from maemonMichael Vogt2009-10-162-2/+8
| | | |
* | | | * apt-pkg/packagemanager.cc:Michael Vogt2009-12-022-1/+5
|\| | | | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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)
| * | methods/https.cc: cleanup for CURLOPT_LOW_SPEED_TIMEMichael Vogt2009-11-172-2/+3
| | |
| * | * methods/https.cc:Michael Vogt2009-11-171-1/+4
| |/ | | | | | | - fix incorrect use of CURLOPT_TIMEOUT, closes: #497983, LP: #354972 thanks to Brian Thomason for the patch
* | methods/https.cc: Add support for authentication using netrc (Closes: #518473),Julian Andres Klode2009-10-121-0/+1
| | | | | | patch by Jussi Hakala <jussi.hakala@hut.fi>.
* | Fix some typos from #479997bubulle@debian.org2009-09-261-1/+1
| |
* | add text at the top without failing in rred (Closes: #545694)David Kalnischkies2009-09-081-1/+1
| | | | | | | | Patch from Bernhard R. Link, thanks!
* | merged from lp:~donkult/apt/sidMichael Vogt2009-08-271-2/+2
|\ \ | |/ |/|
| * Allow empty Reason-Phase in the Status-Lines, which is allowed by rtfDavid Kalnischkies2009-08-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | 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)
* | merged from the jackyf-devel branchMichael Vogt2009-08-193-39/+56
|\ \ | |/ |/|
| * Make apt proxy options have the highest priority, unified proxy determining ↵Eugene V. Lyubimkin2008-12-153-39/+56
| | | | | | | | code.
* | [ABI] merged the libudev-dlopen branch, this allows to passMichael Vogt2009-07-232-26/+105
|\ \ | | | | | | | | | "apt-udev-auto" to Acquire::Cdrom::mount and the cdrom method will dynamically find/mount the cdrom device (if libhal is available)
| * | methods/cdrom.cc: add AutoDetectAndMount methodMichael Vogt2009-07-231-44/+61
| | |
| * | methods/cdrom.cc: move the scan into the loop that waits for a CDMichael Vogt2009-07-221-28/+39
| | |
| * | * methods/cdrom.cc:Michael Vogt2009-07-221-17/+65
| | | | | | | | | | | | | | | | | | | | | - 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()
| * | move libudev based code into libapt cdrom.cc classMichael Vogt2009-07-091-54/+0
| | |
| * | prototype for libudev dlopen() type of cdrom detectionMichael Vogt2009-07-082-5/+62
| | |
* | | * apt-pkg/acquire.cc:Michael Vogt2009-07-212-2/+4
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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)
| * | * apt-pkg/acquire-worker.cc:Michael Vogt2009-07-021-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | - 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)
| * | * methods/gpgv.cc:Michael Vogt2009-04-081-6/+34
| | | | | | | | | - properly check for expired and revoked keys (closes: #433091)
| * | * methods/https.cc:Michael Vogt2009-02-031-0/+5
| | | | | | | | | - add Acquire::https::AllowRedirect support
| * | methods/https.cc: do not unlink partial files (thanks to robbiew)Michael Vogt2009-02-031-1/+0
| | |
| * | [ABI break] merge support for http redirects, thanks toMichael Vogt2009-01-303-2/+81
| | | | | | | | | Jeff Licquia and Anthony Towns
| * | * methods/gpgv.cc:Michael Vogt2008-12-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | - 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
| * | * apt-ftparchive might write corrupt Release files (LP: #46439)Michael Vogt2008-10-281-10/+10
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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:
| * | | fix various -Wall warningsMichael Vogt2008-08-052-2/+3
| | | |
| * | | * merge patch that enforces stricter https server certificateMichael Vogt2008-07-251-12/+47
| | | | | | | | | | | | | | | | | | | | checking (thanks to Arnaud Ebalard, closes: #485960) * allow per-mirror specific https settings (thanks to Arnaud Ebalard, closes: #485965)
* | | | [ABI break] support '#' in apt.conf and /etc/apt/preferencesMichael Vogt2009-06-091-1/+1
| | | | | | | | | | | | (closes: #189866)
* | | | * apt-pkg/contrib/strutl.cc:Michael Vogt2009-04-094-3/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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).