summaryrefslogtreecommitdiff
path: root/apt-pkg
AgeCommit message (Collapse)AuthorFilesLines
2007-10-05 - only send LastModified if we actually have a fileMichael Vogt1-3/+0
- delete zero size I-M-S hits
2007-10-05apt-pkg/acquire-item.cc:Michael Vogt1-3/+0
- do not unlink() on normal i-m-s hit, this fixes the problem that local repository files got a i-m-s hit too and got removed test/pre-upload-check.py - add test for local Packages.gz file removal - add test for leftover files in partial/
2007-10-03merged from the dpkg-log branchMichael Vogt2-32/+57
2007-10-02 - apt-pkg/deb/debmetaindex.cc: comparison with string literal resultsOtavio Salvador1-1/+1
in unspecified behaviour;
2007-10-02 - apt-pkg/deb/dpkgpm.cc: initialization order and conversion fromOtavio Salvador1-3/+3
string constant to 'char*';
2007-10-02 - apt-pkg/cdrom.cc: '%lu' expects 'long unsigned int', but argumentOtavio Salvador1-2/+2
has type 'size_t';
2007-10-02 - apt-pkg/acquire-item.cc: likewise;Otavio Salvador1-1/+1
2007-10-02* Fix compilation warnings:Otavio Salvador1-2/+2
- apt-pkg/indexfile.cc: conversion from string constant to 'char*';
2007-10-02 - fix parse error when dpkg sends unexpected dataMichael Vogt6-19/+29
* fix missing SetExecClose() call when the status-fd is used * debian/apt.cron.daily: - move unattended-upgrade before apt-get autoclean * fix "purge" commandline argument, closes: #133421 (thanks to Julien Danjou for the patch) * cmdline/apt-get.cc: - do not change the auto-installed information if a package is reinstalled * apt-pkg/acquire-item.cc: - fix crash in diff acquire code * cmdline/apt-mark: - Fix chmoding after have renamed the extended-states file (LP: #140019) (thanks to Laurent Bigonville) * apt-pkg/contrib/mmap.cc: - don't fail if msync() returns > 0
2007-09-27* apt-pkg/acquire-item.cc:Michael Vogt1-1/+1
- fix typo
2007-09-27* apt-pkg/acquire-item.cc:Michael Vogt2-3/+3
- fix crash in diff acquire code * apt-pkg/contrib/mmap.cc: - don't fail if msync() returns > 0
2007-09-18apt-pkg/deb/dpkgpm.cc:Michael Vogt1-1/+0
- make it compileable
2007-09-18 - fix parse error when dpkg sends unexpected dataMichael Vogt1-3/+4
2007-09-14* apt-pkg/packagemanager.{cc,h}:Michael Vogt2-15/+22
- move DoInstallPostFork() out of the header into the .cc file
2007-09-11* fix missing SetExecClose() call when the status-fd is usedMichael Vogt1-0/+2
2007-09-10* apt-pkg/contrib/hashes.h:Michael Vogt1-0/+1
- fix anohter missing cstring include
2007-09-10apt-pkg/deb/dpkgpm.cc:Michael Vogt1-6/+10
- ignore EINTR on select()
2007-09-10* merged from the mvo branchMichael Vogt1-6/+10
2007-09-10* make apt build with g++ 4.3Michael Vogt10-1/+14
2007-09-10* make apt build with g++ 4.3Michael Vogt10-1/+14
2007-09-10* dpkg-triggers: Deal properly with new package states.Michael Vogt5-4/+19
2007-09-10apt-pkg/deb/dpkgpm.cc:Michael Vogt1-1/+4
- comment out dpkg trigger messages, those seem to be not generated by dpkg over the status fd
2007-09-06* dpkg-triggers: Deal properly with new package states.Michael Vogt5-4/+16
2007-09-05apt-pkg/deb/dpkgpm.cc:Michael Vogt1-1/+1
- remove leading "\n"
2007-09-05* write start/end log tagsMichael Vogt2-27/+57
2007-08-28* apt-pkg/acquire.cc:Michael Vogt1-1/+1
- increase MaxPipeDepth for the internal worker<->method communication to 1000 for the debtorrent backend
2007-08-28* apt-pkg/acquire.cc:Michael Vogt1-1/+1
- increase MaxPipeDepth for the internal worker<->method communication to 1000 for the debtorrent backend
2007-08-28* apt-pkg/pkgcachegen.cc:Michael Vogt5-19/+14
- increase default mmap size * tests/local-repo: - added local repository testcase
2007-08-28* merged from dpkg-log branchMichael Vogt1-2/+3
2007-08-28* merged from dpkg-log branchMichael Vogt1-2/+3
2007-08-27* apt-pkg/deb/dpkgpm.cc:Michael Vogt1-2/+3
- on error in select() continue
2007-08-11* merged from sha256 branchMichael Vogt1-1/+3
2007-08-11* merged dpkg-log branchMichael Vogt2-22/+35
2007-08-09* apt-pkg/pkgcachegen.cc:Michael Vogt2-5/+2
- increase default mmap size * tests/local-repo: - added local repository testcase
2007-08-08* apt-pkg/acquire-worker.cc:Michael Vogt1-1/+3
- only pass a hash if we actually got one from the method * methods/copy.cc: - take hashes here too (*sigh*)
2007-08-06* apt-pkg/deb/dpkgpm.{cc,h}:Michael Vogt2-6/+7
move term_out into DPkgPM class
2007-08-06* merged with dpkg-log branchMichael Vogt1-19/+30
2007-08-06* apt-pkg/deb/dpkgpm.cc:Michael Vogt1-19/+30
- do not fail if openpty() fails
2007-08-03* make apt -Wall cleanMichael Vogt4-10/+7
2007-08-03* merged from dpkg-log branchMichael Vogt2-3/+5
2007-08-03* apt-pkg/init.cc: Michael Vogt2-3/+5
- init Dir::Log::Terminal * apt-pkg/deb/dpkgpm.cc: - only work with term_out if it is not NULL
2007-08-03 (ABI break)Michael Vogt15-148/+282
* merged apt--sha256 branch to fully support the new sha256 checksums in the Packages and Release files (ABI break)
2007-08-03* merged from dpkg-log branchMichael Vogt1-12/+17
2007-08-03* doc/examples/configure-index:Michael Vogt1-12/+17
- updated Dir::Log::Terminal * apt-pkg/deb/dpkgpm.cc: - make the terminal log optional - rename Dir::Log::Name to Dir::Log::Terminal
2007-08-03* apt-pkg/deb/dpkgpm.{cc,h}:Michael Vogt5-137/+283
- 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 Vogt1-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
2007-08-02* methods/https.cc:Michael Vogt1-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/
2007-08-01* Applied patch from Aurelien Jarno <aurel32@debian.org> to fix wrongOtavio Salvador2-9/+1
directory downloading on non-linux architectures (closes: #435597)
2007-07-31* apt-pkg/acquire-item.cc:Michael Vogt1-1/+1
- only verify checksum in pkgAcqFile if we actually have one
2007-07-30* apt-pkg/acquire-item.{cc,h}:Michael Vogt8-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