summaryrefslogtreecommitdiff
path: root/apt-pkg/deb
Commit message (Collapse)AuthorAgeFilesLines
* [ABI break] Allow pinning by codename (closes: #97564)Michael Vogt2009-06-291-0/+2
|\
| * [apt-pkg] allow also codenames for specifying a releaseDavid Kalnischkies2009-05-071-0/+2
| | | | | | | | | | * MatchType::Release checks first for archive than for codename equality * new n= option in apt_preference to be able to pin based on a codeName
* | Introduce support for the Enhances field. (Closes: #137583) jak@debian.org2009-06-151-0/+2
|/
* build fixes, change version 0.7.21Michael Vogt2009-04-141-0/+1
|
* * apt-pkg/contrib/strutl.cc:Michael Vogt2009-04-092-4/+2
| | | | | | | | | | | | | | | | | | | - 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).
* merge from the mvo branchMichael Vogt2008-11-121-1/+1
|
* apt-pkg/deb/dpkgpm.cc: fix typo (thanks to jackyf)Michael Vogt2008-11-121-1/+1
|
* fix SIGHUP handling (closes: #463030)Michael Vogt2008-11-121-0/+5
|
* fix various -Wall warningsMichael Vogt2008-10-281-2/+2
|
* * apt-pkg/packagemanager.cc, apt-pkg/deb/dpkgpm.cc:Michael Vogt2008-10-011-0/+2
| | | | | | | - move the state file writting into the Go() implementation of dpkgpm (closes: #498799) * apt-pkg/algorithms.cc: - fix simulation performance drop (thanks to Ferenc Wagner for reporting the issue)
* Restore the apt ABI.Daniel Burrows2008-09-252-13/+40
| | | | | | | | | | | | | The problem was that the size of pkgDpkgPM and its member offsets changed because a map giving the names of the trigger states was inserted into the middle of the structure. I fixed it by using a statically allocated array instead. This changes the procedure for looking up a string to a linear search, which should be fine (or even faster than before) since there are only 4 state strings. If it becomes a problem, sorting the array by key will allow us to use std::equal_range(), but I would advise against this unless it's really necessary, since sooner or later someone will forget to maintain the sort order.
* * add DPkg::NoTriggers option so that applications that callMichael Vogt2008-07-251-0/+3
| | | | | apt/aptitude (like the installer) defer trigger processing (thanks to Joey Hess)
* * improve apt progress reporting, display trigger actionsMichael Vogt2008-07-252-1/+43
|
* * apt-pkg/deb/debmetaindex.cc:Michael Vogt2008-02-041-0/+9
| | | | - add missing "Release" file uri when apt-get update --print-uris is run
* * apt-pkg/deb/dpkgpm.cc:Michael Vogt2008-01-311-1/+3
| | | | - merged patch from Kees Cook to fix anoying upper-case display on amd64 in sbuild
* * merged the apt--DoListUpdate branch, this provides a common interfaceMichael Vogt2008-01-042-63/+1
|\ | | | | | | for apt-get update like operations for the frontends and also provides hooks to run stuff in APT::Update::{Pre,Post}-Invoke
| * * apt-pkg/deb/dpkgpm.cc, apt-pkg/contrib/fileutl.{cc,h}:Michael Vogt2006-06-071-54/+2
| | | | | | | | | | | | - move the RunScripts() code into fileutl.{cc,h} * apt-pkg/cachefile.cc: - add support for "APT::Update::{Pre,Post}-Invoke" scripts
* | apt-pkg/deb/dpkgpm.cc: fix typesMichael Vogt2007-12-171-4/+4
| |
* | * Applied patch from Aurelien Jarno <aurel32@debian.org> to avoid CPUOtavio Salvador2007-11-262-2/+10
| | | | | | | | getting crazy when /dev/null is redirected to stdin (which breaks buildds), closes: #452858.
* | Minor fixes on racy_pselectOtavio Salvador2007-10-311-3/+3
| |
* | * Applied patch from Brian M. Carlson <sandals@crustytoothpaste.ath.cx>Otavio Salvador2007-10-291-0/+24
| | | | | | | | to add backward support for arches that lacks pselect support, closes: #448406.
* | * Applied patch from Daniel Burrows <dburrows@debian.org> to add supportOtavio Salvador2007-10-252-0/+9
| | | | | | for the Homepage field, closes: #447970.
* | merged with apt--mvoMichael Vogt2007-10-201-14/+28
|\ \
| * | apt-pkg/deb/dpkgpm.cc:Michael Vogt2007-10-201-4/+18
| | | | | | | | | | | | | | | | | | - use pselect() instead of select() - on EIO error on pty master read, usleep(0.5s) to give up timeslice so that the child can properly exit
* | | * merge from apt--mvo (fix resource leak, run apt.cron.daily only ifMichael Vogt2007-10-151-1/+4
|\| | | | | | | | | | | apt-get check is successfull)
| * | apt-pkg/deb/dpkgpm.cc:Michael Vogt2007-10-151-1/+4
| | | | | | | | | | | | - fix resource leak
* | | merged from the dpkg-log branchMichael Vogt2007-10-032-32/+57
|\ \ \ | |/ / |/| |
| * | apt-pkg/deb/dpkgpm.cc:Michael Vogt2007-09-051-1/+1
| | | | | | | | | | | | - remove leading "\n"
| * | * write start/end log tagsMichael Vogt2007-09-052-27/+57
| | |
* | | - apt-pkg/deb/debmetaindex.cc: comparison with string literal resultsOtavio Salvador2007-10-021-1/+1
| | | | | | | | | in unspecified behaviour;
* | | - apt-pkg/deb/dpkgpm.cc: initialization order and conversion fromOtavio Salvador2007-10-021-3/+3
| | | | | | | | | string constant to 'char*';
* | | apt-pkg/deb/dpkgpm.cc:Michael Vogt2007-09-181-1/+0
| | | | | | | | | | | | - make it compileable
* | | - fix parse error when dpkg sends unexpected dataMichael Vogt2007-09-181-3/+4
| | |
* | | apt-pkg/deb/dpkgpm.cc:Michael Vogt2007-09-101-6/+10
| | | | | | | | | | | | - ignore EINTR on select()
* | | apt-pkg/deb/dpkgpm.cc:Michael Vogt2007-09-101-1/+4
| | | | | | | | | | | | | | | - comment out dpkg trigger messages, those seem to be not generated by dpkg over the status fd
* | | * dpkg-triggers: Deal properly with new package states.Michael Vogt2007-09-062-1/+8
|/ /
* | * merged from dpkg-log branchMichael Vogt2007-08-281-2/+3
|\ \
| * | * apt-pkg/deb/dpkgpm.cc:Michael Vogt2007-08-271-2/+3
| | | | | | | | | | | | - on error in select() continue
* | | * apt-pkg/deb/dpkgpm.{cc,h}:Michael Vogt2007-08-062-6/+7
| | | | | | | | | | | | move term_out into DPkgPM class
* | | * 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
* | | * make apt -Wall cleanMichael Vogt2007-08-032-7/+4
| | |
* | | * merged from dpkg-log branchMichael Vogt2007-08-031-2/+4
|\| |
| * | * 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
* | | (ABI break)Michael Vogt2007-08-033-1/+10
|\ \ \ | | | | | | | | | | | | | | | | * merged apt--sha256 branch to fully support the new sha256 checksums in the Packages and Release files (ABI break)
| * | | * implement sha256/sha1/md5 checking with proper backward compatibilityMichael Vogt2007-07-263-1/+10
| | | | | | | | | | | | | | | | and fallback
* | | | * merged from dpkg-log branchMichael Vogt2007-08-031-12/+17
|\ \ \ \ | | |/ / | |/| |
| * | | * 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-08-032-134/+276
|\| | | | | | | | | | | | | | | | | | | - merged dpkg-log branch, this lets you specify a Dir::Log::Terminal file to log dpkg output to ABI break
| * | | apt-pkg/deb/dpkgpm.{cc,h}Michael Vogt2007-07-192-25/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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