summaryrefslogtreecommitdiff
path: root/apt-pkg/indexcopy.cc
Commit message (Collapse)AuthorAgeFilesLines
* merge with debian/experimentalDavid Kalnischkies2011-09-131-11/+10
|\
| * fix a few more cppcheck performance and scope warningsDavid Kalnischkies2011-08-111-2/+1
| |
| * cppcheck complains about some possible speed improvements which could beDavid Kalnischkies2011-08-111-9/+9
| | | | | | | | | | | | done on the mirco-optimazation level, so lets fix them: (performance) Possible inefficient checking for emptiness. (performance) Prefer prefix ++/-- operators for non-primitive types.
* | Support large files in the complete toolset. Indexes of thisDavid Kalnischkies2011-09-131-11/+12
| | | | | | | | size are pretty unlikely for now, but we need it for deb packages which could become bigger than 4GB now (LP: #815895)
* | reorder includes: add <config.h> if needed and include it at firstDavid Kalnischkies2011-09-131-2/+4
|/
* fix from David Kalnischkies for the InRelease gpg verification Michael Vogt2011-07-131-1/+20
| | | code (LP: #784473)
* * apt-pkg/indexcopy.cc:Julian Andres Klode2011-04-071-5/+5
| | | | - Use RealFileExists() instead of FileExists(), allows amongst other things a directory named Sources to exist on a CD-ROM (LP: #750694).
* - try downloading clearsigned InRelease before trying Release.gpgDavid Kalnischkies2011-01-201-1/+2
| | | | * apt-pkg/deb/deblistparser.cc: - rewrite LoadReleaseInfo to cope with clearsigned Releasefiles
* * apt-pkg/indexcopy.cc:Michael Vogt2010-09-071-3/+10
|\ | | | | | | | | - only use trusted.gpg.d directory if it exists - do not replace /dev/null when running in APT::CDROM::NoAct mode (LP: #612666), thanks to Colin Watson
| * do not replace /dev/null when running in APT::CDROM::NoActMichael Vogt2010-09-071-1/+6
| | | | | | mode (LP: #612666), thanks to Colin Watson
| * apt-pkg/indexcopy.cc: include trustedFile (if it exists)Michael Vogt2010-09-031-5/+3
| |
| * * apt-pkg/indexcopy.cc:Michael Vogt2010-09-031-3/+7
| | | | | | - only use trusted.gpg.d directory if it exists
* | * apt-pkg/indexcopy.cc:David Kalnischkies2010-09-041-1/+1
|/ | | | - support really still the APT::GPGV::TrustedKeyring setting, as it breaks d-i badly otherwise (Closes: #595428)
* * apt-pkg/init.cc:David Kalnischkies2010-08-191-3/+2
| | | - set the default values for dir::etc::trusted options correctly
* apt-pkg, methods: Convert users of WriteEmpty to WriteAtomic.Julian Andres Klode2010-08-101-3/+3
|
* enhance the split out of the gpgv commandline mangling by splitting outDavid Kalnischkies2010-06-091-13/+49
| | | | the call completely
* * apt-pkg/indexcopy.cc:David Kalnischkies2010-06-091-39/+70
| | | - move the gpg codecopy to a new method and use it also in methods/gpgv.cc
* * French manpage translation updateMichael Vogt2010-01-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | * spot & fix various typos in all manpages * German manpage translation update * cmdline/apt-cache.cc: - remove translatable marker from the "%4i %s\n" string * buildlib/po4a_manpage.mak: - instruct debiandoc to build files with utf-8 encoding * buildlib/tools.m4: - fix some warning from the buildtools * apt-pkg/acquire-item.cc: - add configuration PDiffs::Limit-options to not download too many or too big patches (Closes: #554349) * debian/control: - let all packages depend on ${misc:Depends} * share/*-archive.gpg: - remove the horrible outdated files. We already depend on the keyring so we don't need to ship our own version * cmdline/apt-key: - errors out if wget is not installed (Closes: #545754) - add --keyring option as we have now possibly many * methods/gpgv.cc: - pass all keyrings (TrustedParts) to gpgv instead of using only one trusted.gpg keyring (Closes: #304846) * methods/https.cc: - finally merge the rest of the patchset from Arnaud Ebalard with the CRL and Issuers options, thanks! (Closes: #485963)
* * apt-pkg/packagemanager.cc:Michael Vogt2009-12-021-3/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | - add output about pre-depends configuring when debug::pkgPackageManager is used * methods/https.cc: - fix incorrect use of CURLOPT_TIMEOUT, closes: #497983, LP: #354972 thanks to Brian Thomason for the patch * apt-pkg/depcache.cc, apt-pkg/indexcopy.cc: - typo fix (LP: #462328) * cmdline/apt-key: - Emit a warning if removed keys keyring is missing and skip associated checks (LP: #218971)
| * * apt-pkg/depcache.cc, apt-pkg/indexcopy.cc:Michael Vogt2009-10-291-3/+3
| | | | | | | | - typo fix (LP: #462328)
* | [apt-pkg/indexcopy.cc] fix a (hypothetical) memory leak then the ReleaseDavid Kalnischkies2009-08-081-0/+3
|/ | | | file not exists, patch from George Danchev, thanks! (Closes: #511556)
* The 'not dead yet' releaseMichael Vogt2009-07-211-8/+8
|\ | | | | | | | | | | | | | | | | | | | | * add hook for MarkInstall and MarkDelete (closes: #470035) * add the various foldmarkers in apt-pkg & cmdline (no code change) * versions with a pin of -1 shouldn't be a candidate (Closes: #355237) * prefer mmap as memory allocator in MMap instead of a static char array which can (at least in theory) grow dynamic * eliminate (hopefully all) segfaults in pkgcachegen.cc and mmap.cc which can arise if cache doesn't fit into the mmap (Closes: #535218) * display warnings instead of errors if the parts dirs doesn't exist * honor the dpkg hold state in new Marker hooks (closes: #64141)
| * add the various foldmarkers in apt-pkg & cmdline (no code change)David Kalnischkies2009-06-301-8/+8
| |
| * fix various -Wall warningsMichael Vogt2008-10-281-1/+1
| |
* | apt-pkg/indexcopy.cc: discard errors after Verify()Michael Vogt2008-10-281-0/+1
| |
* | * apt-pkg/indexcopy.cc:Michael Vogt2008-08-091-0/+9
| | | | | | | | | | - support having CDs with no Packages file (just a Packages.gz) by not forcing a verification on non-existing files (LP: #255545)
* | fix various -Wall warningsMichael Vogt2008-08-051-1/+1
|/
* * implement sha256/sha1/md5 checking with proper backward compatibilityMichael Vogt2007-07-261-10/+3
| | | | and fallback
* * added a BUGS file with known problem, added apt-cdrom support for ↵Michael Vogt2005-07-281-3/+180
| | | | translated package descriptions
* * corrected a incorrect use of string().c_str() (thanks to mdz!)Michael Vogt2003-04-061-2/+6
|
* * honor "Acquire::gpgv::Options" in apt-cdrom tooMichael Vogt2005-04-061-3/+27
|
* Bring consistency to the use of capitals in programs messagesChristian Perrier2005-03-061-2/+2
|
* Move CD-ROM handling backend into libapt-pkgMatt Zimmerman2005-02-041-0/+644
- apt-cdrom.cc seperated into frontend (cmdline/apt-cdrom.cc and library apt-pkg/cdrom.{cc,h}) (Ubuntu #5668) Patches applied: * michael.vogt@ubuntu.com--2005/apt--auth-cdrom--0--base-0 tag of apt@packages.debian.org/apt--main--0--patch-51 * michael.vogt@ubuntu.com--2005/apt--auth-cdrom--0--patch-1 * added support for signed cdroms * michael.vogt@ubuntu.com--2005/apt--auth-cdrom--0--patch-2 * merged with apt--main, seperated cmdline/apt-cdrom.cc into a library (apt-pkg/cdrom.{cc,h}) * michael.vogt@ubuntu.com--2005/apt--auth-cdrom--0--patch-3 * cleaned up the cmdline/apt-cdrom.cc code