summaryrefslogtreecommitdiff
path: root/apt-pkg/deb/dpkgpm.cc
Commit message (Collapse)AuthorAgeFilesLines
* dpkg-triggers: deal properly with new package states; 0.7.6ubuntu6Ian Jackson2007-08-161-1/+6
|
* * apt-pkg/deb/dpkgpm.cc:Michael Vogt2007-08-061-2/+2
| | | - fix packagename extraction when writting apport reports
* * merged from apt--mvoMichael Vogt2007-08-061-3/+3
|\
| * * apt-pkg/deb/dpkgpm.{cc,h}:Michael Vogt2007-08-061-4/+4
| | | | | | | | move term_out into DPkgPM class
* | * apt-pkg/deb/dpkgpm.cc:Michael Vogt2007-08-061-20/+31
|\| | | | | - do not break if no /dev/pts is available
| * * merged with dpkg-log branchMichael Vogt2007-08-061-19/+30
| |\
| | * * apt-pkg/deb/dpkgpm.cc:Michael Vogt2007-08-061-19/+30
| | | | | | | | | | | | - do not fail if openpty() fails
* | | * merged from apt--mvoMichael Vogt2007-08-031-5/+2
|\| |
| * | * make apt -Wall cleanMichael Vogt2007-08-031-4/+1
| |/
| * * apt-pkg/init.cc: Michael Vogt2007-08-031-2/+4
| | | | | | | | | | | | - init Dir::Log::Terminal * apt-pkg/deb/dpkgpm.cc: - only work with term_out if it is not NULL
* | - when writting apport reports, attach the dpkgMichael Vogt2007-08-031-4/+25
| | | | | | terminal log too
* | * debian/changelog: updated creditsMichael Vogt2007-08-031-2/+4
| | | | | | | | * apt-pkg/deb/dpkgpm.cc: merged from dpkg-log branch
* | * apt-inst/contrib/extracttar.cc:Michael Vogt2007-08-031-134/+253
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
| * * doc/examples/configure-index:Michael Vogt2007-08-031-12/+17
| | | | | | | | | | | | | | - updated Dir::Log::Terminal * apt-pkg/deb/dpkgpm.cc: - make the terminal log optional - rename Dir::Log::Name to Dir::Log::Terminal
| * apt-pkg/deb/dpkgpm.{cc,h}Michael Vogt2007-07-191-20/+28
| | | | | | | | | | | | | | | | | | | | | | | | - a bit cleanup - move the log date to the right place - write log to dir::log::name apt-pkg/init.cc: - init dir::log::name "/var/log/apt/term.log" debian/apt.dirs: - create /var/log/apt/ doc/examples/configure-index: - add new dir::log::name to the index
| * apt-pkg/deb/dpkgpm.{cc,h}:Michael Vogt2007-07-191-131/+93
| | | | | | | | | | - move output processing ProcessDpkgStatusLine() and out of the Go() method (yeah!) - things start to look more tidy now
| * apt-pkg/deb/dpkgpm.{cc,h}:Michael Vogt2007-07-191-12/+50
| | | | | | | | | | - move make dpkgstatus processing into DoDpkgStatusFd() and ProcessDpkgStatusLine() [the later is a stub for now]
| * apt-pkg/deb/dpkgpm.{cc,h}:Michael Vogt2007-07-161-131/+173
| |\ | | | | | | | | | - merge select() based terminal log
| | * apt-pkg/deb/dpkgpm.cc:Michael Vogt2007-07-161-18/+20
| | | | | | | | | | | | | | | - run DoStdin(), DoTerminalPty() calls only if their FD is in the returned set after select()
| | * apt-pkg/deb/dpkgpm.cc:Michael Vogt2007-07-151-3/+13
| | | | | | | | | | | | - write current time to log
| | * apt-pkg/deb/dpkgpm.cc:Michael Vogt2007-07-151-107/+104
| | | | | | | | | | | | - unbreak progress reporting, make code nicer
| | * apt-pkg/deb/dpkgpm.{cc,h}:Michael Vogt2007-07-151-23/+38
| | | | | | | | | | | | - move the terminal and stdin reading into its own functions
| | * apt-pkg/deb/dpkgpm.cc:Michael Vogt2007-07-151-5/+20
| |/ | | | | | | - use select() to check for new data
| * * first (raw and ineffient) implementationMichael Vogt2007-07-031-6/+71
| |
| * * merged the remaining bits from the apt--no-pragma branchMichael Vogt2007-06-091-3/+0
| |\
* | \ * cmdline/apt-get.cc:Michael Vogt2007-07-121-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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;
| * | | * Fix compilation warnings:Otavio Salvador2007-07-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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;
| * | | * Removed the more leftover #pragma interface/implementationMichael Vogt2007-06-081-3/+0
| |\ \ \ | | |/ / | |/| / | | |/ closes: #306937 (thanks to Andreas Henriksson for the patch)
| * | * merged with apt--mvoMichael Vogt2006-12-141-25/+41
| |\ \
* | \ \ * merged apt--no-pragmaMichael Vogt2007-06-091-3/+0
|\ \ \ \ | | |_|/ | |/| |
| * | | * remove all the remaining #pragma implementationMichael Vogt2007-06-081-3/+0
| | | |
* | | | * apt-pkg/deb/dpkgpm.cc:Michael Vogt2007-06-051-1/+96
| | | | | | | | | | | | | | | | - apport integration added, this means that a apport report is written on dpkg failures
* | | | merged from apt--mvoMichael Vogt2006-12-071-14/+30
|\ \ \ \ | | |_|/ | |/| |
| * | | * apt-pkg/deb/dpkgpm.cc: Michael Vogt2006-11-271-7/+16
| | | | | | | | | | | | | | | | | | | | - added "Dpkg::StopOnError" variable that controls if apt will abort on errors from dpkg
| * | | * apt-pkg/deb/dpkgpm.cc:Michael Vogt2006-10-311-0/+2
| | | | | | | | | | | | | | | | - reset the line if a invalid line was read
| * | | * apt-pkg/deb/dpkgpm.cc:Michael Vogt2006-10-301-7/+12
| |/ / | | | | | | | | | - fix segfault if dpkg sends multiline error messages
| * | * apt-pkg/deb/dpkgpm.cc:Michael Vogt2006-09-301-11/+11
| | | | | | | | | | | | | | | | | | | | | - translate the dpkg progress strings when they are used, not in the struct (thanks to Steinar Gunderson) * debian/changelog: - updated
* | | * merged i18n fixes from apt--mvoMichael Vogt2006-10-051-11/+11
| |/ |/|
* | * apt-pkg/deb/dpkgpm.cc:Michael Vogt2006-08-151-0/+2
|/ | | | | | - pass --auto-deconfigure to dpkg (-B) * debian/control: - depend on a dpkg with support for breaks
* * apt-pkg/deb/dpkgpm.cc:Michael Vogt2006-07-251-1/+7
| | | | | | - ignore lines that can't be split properly from dpkg (DpkgPM::Go) * doc/examples/configure-index: - documentation updates
* * apt-pkg/deb/dpkgpm.cc: wording fixes (thanks to mdz)Michael Vogt2006-04-251-2/+2
| | | | | | * debian/changelog: updated * debian/rules: invoke tar with --no-recursion to avoid cruft in the tarbal * po/apt-all.pot: updated
* * wording (thanks to mdz)Michael Vogt2006-04-181-2/+2
|
* * merged from mainMichael Vogt2005-08-091-26/+216
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * apt@packages.debian.org/apt--main--0--patch-106 Restore lost changelog entries * apt@packages.debian.org/apt--main--0--patch-107 Merge michael.vogt@ubuntu.com--2005/apt--progress-reporting--0 * apt@packages.debian.org/apt--main--0--patch-108 Merge michael.vogt@ubuntu.com--2005/apt--progress-reporting--0 * apt@packages.debian.org/apt--main--0--patch-109 Merge michael.vogt@ubuntu.com--2005/apt--progress-reporting--0 * apt@packages.debian.org/apt--main--0--patch-110 Merge michael.vogt@ubuntu.com--2005/apt--progress-reporting--0 * michael.vogt@ubuntu.com--2005/apt--fixes--0--patch-5 * merged with apt--main--0 * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--base-0 tag of apt@packages.debian.org/apt--main--0--patch-85 * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-1 * inital proof of concept code, understands what dpkg tells it already * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-2 * progress reporting works now * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-3 * added "APT::Status-Fd" variable * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-4 * do i18n now too * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-5 * define N_(x) if it is not defined already * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-6 * PackageManager::DoInstall(int status_fd) added (does not break the ABI) * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-7 * merged with apt--fixes--0 to make it build again * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-8 * added support for "error" and "conffile-prompt" messages from dpkg * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-9 merge with main * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-10 * use sizeof() for all snprintf() uses; fix a potential line break problem in the status reading code; changed the N_() to _() calls * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-11 * added APT::KeepFDs configuration list for file descriptors that apt should leave open (needed for various frontends like debconf, synaptic) * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-12 * fixed a API breakage * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-13 * doc added, should be releasable now * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-14 * merged with apt--main--0 * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-15 * more source comments, added Debug::DpkgPM debug code to inspect the dpkg<->apt communication, broke the abi (ok with matt) * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-16 * the progress reporting has it's own "Debug::pkgDPkgProgressReporting" debug variable now * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-17 * merged PackageOps and TranslatedPackageOps into a single Map with the new DpkgState struct * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-18 * clear the APT::Keep-Fds configuration when it's no longer needed * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-19 * rewrote the reading from dpkg so that it never blocks * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-20 * merged the two status arrays into one * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-21 * added support for download progress reporting too (for Kamion and base-config) * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-22 * ABI break; added Configuration::Clear(string List, {int,string} value) added (to remove a single Value from a list); test/conf_clear.cc added * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-23 * remvoed a debug string * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-24 * soname changed, fixed a bug in the parsing code when dpkg send the same state more than once (at the end) * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-25 * merged with apt@packages.debian.org/apt--main--0, added changelog entry for the 0.6.40.1 upload * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-26 * fix a bug when out-of-order states are send from dpkg * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-27 * changelog update * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-28 * a real changelog entry now * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-29 * changelog finalized * michael.vogt@ubuntu.com--2005/apt--progress-reporting--0--patch-30 * propper (and sane) support for pmerror and pmconffile added
* Merge michael.vogt@canonical.com--2004/apt--status-fd--0Matt Zimmerman2005-01-191-2/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * michael.vogt@canonical.com--2004--laptop/apt--status-fd--0--base-0 tag of apt@packages.debian.org/apt--main--0--patch-32 * michael.vogt@canonical.com--2004--laptop/apt--status-fd--0--patch-1 * michael.vogt@canonical.com--2004--laptop/apt--status-fd--0--patch-2 * changed version of the library * michael.vogt@canonical.com--2004--laptop/apt--status-fd--0--patch-3 * merged with matt again * michael.vogt@canonical.com--2004--laptop/apt--status-fd--0--patch-4 * merged with apt--main--0 and fixed permissions in po/ * michael.vogt@canonical.com--2004/apt--status-fd--0--patch-1 tag of michael.vogt@canonical.com--2004--laptop/apt--status-fd--0--patch-4 * michael.vogt@canonical.com--2004/apt--status-fd--0--patch-2 * merged with matt's tree * michael.vogt@canonical.com--2004/apt--status-fd--0--patch-3 * removed a stupid "<<<" merge in the changelog * michael.vogt@canonical.com--2004/apt--status-fd--0--patch-4 * star-merged with apt@packages.debian.org/apt--main--0 * michael.vogt@canonical.com--2004/apt--status-fd--0--patch-5 * removed the "pre-fork/post-fork" change and put it into it's own branch, star-merged with matt so that it applies cleanly * michael.vogt@canonical.com--2004/apt--status-fd--0--patch-6 * cleaned a incorrect log-file merge * michael.vogt@canonical.com--2004/apt--status-fd--0--patch-7 * removed a conflict in =tagging-method * michael.vogt@canonical.com--2004/apt--status-fd--0--patch-8 * cleaned up the delta so that it no longer contains unreleated whitespace changes
* Increase Dpkg::MaxArgs and Dpkg::MaxArgBytesMatt Zimmerman2004-11-131-2/+2
| | | | | * Set default Dpkg::MaxArgs to 1024, and Dpkg::MaxArgBytes to 32k. Needed to work around ordering bugs when installing a large number of packages
* * Restore SIGINT/SIGQUIT handlers to their old values (...Arch Librarian2004-09-201-5/+9
| | | | | | | Author: mdz Date: 2004-01-27 02:25:01 GMT * Restore SIGINT/SIGQUIT handlers to their old values (rather than SIG_DFL) after invoking dpkg (Closes: #229854)
* * Only try to clear stdin if it is a tty, to avoid loop...Arch Librarian2004-09-201-2/+2
| | | | | | | Author: mdz Date: 2003-07-26 00:25:44 GMT * Only try to clear stdin if it is a tty, to avoid looping if there is lots of stuff (perhaps an infinite amount) to read (Closes: #192228)
* When building the dpkg command line, allow for 8192 cha...Arch Librarian2004-09-201-2/+2
| | | | | | | Author: doogie Date: 2003-04-27 03:02:40 GMT When building the dpkg command line, allow for 8192 chars to be used, instead of only 1024.
* Configurable max values to use with dpkgArch Librarian2004-09-201-8/+9
| | | | | | Author: jgg Date: 2002-04-24 05:40:47 GMT Configurable max values to use with dpkg
* Ignore pipe failured for package list sub process. Clos...Arch Librarian2004-09-201-7/+2
| | | | | | Author: jgg Date: 2002-04-02 06:42:39 GMT Ignore pipe failured for package list sub process. Closes: #89830