summaryrefslogtreecommitdiff
path: root/apt-pkg
Commit message (Collapse)AuthorAgeFilesLines
* dpkg-triggers: deal properly with new package states; 0.7.6ubuntu6Ian Jackson2007-08-165-4/+16
|
* * apt-pkg/acquire-item.cc:Michael Vogt2007-08-091-3/+0
|\ | | | | | | | | | | | | | | | | - fix file removal on local repo i-m-s hit (LP: #131166) * tests/local-repo: - added regression test for this bug * apt-pkg/pkgcachegen.cc: - increase default mmap size * tests/local-repo: - added local repository testcase
| * * apt-pkg/pkgcachegen.cc:Michael Vogt2007-08-092-5/+2
| | | | | | | | | | - increase default mmap size * tests/local-repo: - added local repository testcase
* | * methods/copy.cc:Michael Vogt2007-08-081-1/+3
|\ \ | | | | | | | | | | | | - 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/+3
| | | | | | | | | | | | | | | | | | - only pass a hash if we actually got one from the method * methods/copy.cc: - take hashes here too (*sigh*)
* | | * apt-pkg/pkgcachegen.cc:Michael Vogt2007-08-061-2/+2
| | | | | | | | | - increase default mmap size (LP: #125640)
* | | * 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-062-6/+7
| | | | | | | | | | | | 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-033-10/+7
|\| | |
| * | | * make apt -Wall cleanMichael Vogt2007-08-034-10/+7
| | | |
| * | | * merged from dpkg-log branchMichael Vogt2007-08-032-3/+5
| |\| |
* | | | - when writting apport reports, attach the dpkgMichael Vogt2007-08-032-6/+28
| | | | | | | | | | | | terminal log too
* | | | * merged from dpkg-logMichael Vogt2007-08-031-1/+1
|\ \ \ \ | | |/ / | |/| |
| * | | * apt-pkg/init.cc: Michael Vogt2007-08-032-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | - init Dir::Log::Terminal * apt-pkg/deb/dpkgpm.cc: - only work with term_out if it is not NULL
* | | | * 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-0321-304/+586
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
| * | | (ABI break)Michael Vogt2007-08-0315-148/+282
| |\ \ \ | | | |/ | | |/| | | | | | | | | * merged apt--sha256 branch to fully support the new sha256 checksums in the Packages and Release files (ABI break)
| | * | * apt-pkg/acquire-item.cc:Michael Vogt2007-07-311-1/+1
| | | | | | | | | | | | | | | | - only verify checksum in pkgAcqFile if we actually have one
| | * | * apt-pkg/acquire-item.{cc,h}:Michael Vogt2007-07-308-17/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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-pkg/acquire-item.cc:Michael Vogt2007-07-301-3/+3
| | | | | | | | | | | | | | | | - md5sum -> hashsum
| | * | * apt-pkg/acquire-method.{cc,h}:Michael Vogt2007-07-302-0/+7
| | | | | | | | | | | | | | | | - transfert sha256 sum between libapt and method too
| | * | * implement sha256/sha1/md5 checking with proper backward compatibilityMichael Vogt2007-07-2612-144/+249
| | | | | | | | | | | | | | | | 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-035-137/+283
| |\| | | | | | | | | | | | | | | | | | - 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-193-25/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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-192-138/+117
| | | | | | | | | | | | | | | | | | | | - 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-192-13/+57
| | | | | | | | | | | | | | | | | | | | - move make dpkgstatus processing into DoDpkgStatusFd() and ProcessDpkgStatusLine() [the later is a stub for now]
| | * | apt-pkg/deb/dpkgpm.{cc,h}:Michael Vogt2007-07-162-131/+178
| | |\ \ | | | | | | | | | | | | | | | - 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-152-23/+43
| | | | | | | | | | | | | | | | | | | | - 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-032-7/+72
| | | |
| * | | * apt-pkg/acquire-item.cc:Michael Vogt2007-08-031-7/+12
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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-7/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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/
| * | | | * Applied patch from Aurelien Jarno <aurel32@debian.org> to fix wrongOtavio Salvador2007-08-012-9/+1
| | | | | | | | | | | | | | | directory downloading on non-linux architectures (closes: #435597)
| * | | | * Applied patch from Guillem Jover <guillem.jover@nokia.com> to addOtavio Salvador2007-07-281-1/+1
| | |_|/ | |/| | | | | | support to add lzma support (closes: #408201)
* | | | * merged from apt--mvoMichael Vogt2007-07-261-10/+27
|\| | |
| * | | * apt-pkg/depcache.cc:Michael Vogt2007-07-261-10/+27
| | | | | | | | | | | | | | | | | | | | - support a list of sections for: APT::Install-Recommends-Sections APT::Never-MarkAuto-Sections
* | | | * cmdline/apt-get.cc:Michael Vogt2007-07-123-5/+5
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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-103-5/+5
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | - 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;
* | | * merged apt--mvoMichael Vogt2007-07-094-14/+16
|\| | | | | | | | | | | | | | * reverted b-d changes * make upate-po
| * | * fixed compile errors with g++ 7.3 (thanks to Michael Vogt2007-07-016-9/+14
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: * 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
| | * | * fixes in the auto-mark code (thanks to DanielMichael Vogt2007-06-291-3/+6
| | | | | | | | | | | | Burrows)