summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* * apt-pkg/packagemanager.{cc,h}:Michael Vogt2007-09-142-15/+22
| | | | - move DoInstallPostFork() out of the header into the .cc file
* * fix "purge" commandline argument, closes: #133421Michael Vogt2007-09-142-0/+3
| | | (thanks to Julien Danjou for the patch)
* * debian/apt.cron.daily:Michael Vogt2007-09-112-6/+8
| | | - move unattended-upgrade before apt-get autoclean
* * fix missing SetExecClose() call when the status-fd is usedMichael Vogt2007-09-112-0/+3
|
* * apt-pkg/contrib/hashes.h:Michael Vogt2007-09-101-0/+1
| | | | - fix anohter missing cstring include
* apt-pkg/deb/dpkgpm.cc:Michael Vogt2007-09-101-6/+10
| | | | - ignore EINTR on select()
* * make apt build with g++ 4.3Michael Vogt2007-09-1013-2/+17
|
* 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-067-4/+22
|
* * test/fake-status:Michael Vogt2007-08-281-1/+1
| | | | | - make the fake package architecture all to make the testsuit work on all arches
* * test/pre-upload-check.py:Michael Vogt2007-08-281-1/+6
| | | | - add pointer to test-data-repo
* * apt-pkg/acquire.cc:Michael Vogt2007-08-282-1/+4
| | | | - increase MaxPipeDepth for the internal worker<->method communication to 1000 for the debtorrent backend
* * 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/pkgcachegen.cc:Michael Vogt2007-08-0910-25/+86
| | | | | | | | | | - increase default mmap size * tests/local-repo: - added local repository testcase
* | * 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
* | * added missing test/fake-status fileMichael Vogt2007-08-031-0/+16
| |
* | * make apt -Wall cleanMichael Vogt2007-08-035-10/+8
| |
* | * merged from dpkg-log branchMichael Vogt2007-08-032-3/+5
|\|
| * * 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
* | * test/pre-upload-check.py:Michael Vogt2007-08-0316-0/+1320
| | | | | | | | | | - commit initial testsuit code to do a blackbox test on the generated binary to catch common problem before a upload
* | (ABI break)Michael Vogt2007-08-0317-152/+289
|\ \ | | | | | | | | | | | | * 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-309-18/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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-2613-147/+252
| | | | | | | | | | | | and fallback
* | | * merged from dpkg-log branchMichael Vogt2007-08-032-13/+18
|\ \ \ | | |/ | |/|
| * | * doc/examples/configure-index:Michael Vogt2007-08-032-13/+18
| | | | | | | | | | | | | | | | | | | | | - 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-0312-139/+305
|\| | | | | | | | | | | | | | - merged dpkg-log branch, this lets you specify a Dir::Log::Terminal file to log dpkg output to ABI break
| * | merge logrotate supportMichael Vogt2007-07-193-0/+10
| |\ \
| | * | add logrotate supportMichael Vogt2007-07-193-0/+10
| |/ /
| * | merge the local changes backMichael Vogt2007-07-195-152/+192
| |\ \
| | * | apt-pkg/deb/dpkgpm.{cc,h}Michael Vogt2007-07-195-25/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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-033-8/+73
| | |
* | | * apt-pkg/acquire-item.cc:Michael Vogt2007-08-033-15/+38
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | - 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-022-15/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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/
* | | | debian/changelog: updated creditsMichael Vogt2007-08-031-1/+2
| | | |
* | | | * apt-inst/contrib/extracttar.cc:Michael Vogt2007-08-022-1/+8
| | | | | | | | | | | | - fix fd leak for zero size files
* | | | * Applied patch from Aurelien Jarno <aurel32@debian.org> to fix wrongOtavio Salvador2007-08-0112-37/+26
| | | | | | | | | | | | directory downloading on non-linux architectures (closes: #435597)