summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib
AgeCommit message (Collapse)Author
2011-07-14fix sha512 calculation in Hashes::VerifyFiles()David Kalnischkies
2011-07-13enable Hashes::AddFD() to skip creation of certain hashesDavid Kalnischkies
2011-07-13move implementation of checksums around by abstracting even moreDavid Kalnischkies
2011-07-10merge with debian-experimentalDavid Kalnischkies
2011-07-05merge lp:~mvo/apt/sha512-template to get fixes for the Michael Vogt
sha1/md5 verifiation (closes: #632520)
2011-07-05apt-pkg/contrib/md5.cc: fix md5sum by using the right type (unsinged char*) ↵Michael Vogt
and avoiding a implicit cast this way
2011-07-05apt-pkg/contrib/sha1.cc: fix sha1 hashsum by using the right type for "res" ↵Michael Vogt
avoiding a implicit cast to string this way
2011-06-29Make private sha2 functions staticMatt Emmerton
(freebsd which can be considered the "official" upstream has applied it)
2011-06-08merge lp:~mvo/apt/sha512-template to add support for sha512Michael Vogt
2011-05-17* Implement EDSP in libapt-pkg so that all front-ends whichDavid Kalnischkies
use the internal resolver can now be used also with external ones as the usage is hidden in between the old API * provide two edsp solvers in apt-utils: - 'dump' to quickly output a complete scenario and - 'apt' to use the internal as an external resolver
2011-05-13MAP_ANON is deprecated in favor of MAP_ANONYMOUS, but telesphoreo needsDavid Kalnischkies
to ships a patch for this so pretend to be nice and make it work (TM)
2011-05-13* apt-pkg/contrib/netrc.cc:David Kalnischkies
- replace non-posix gnu-extension strdupa with strdup
2011-05-10fix SubProgress to accept a Percent parameter to update the CurrentDavid Kalnischkies
with the text as otherwise the update will be ignored
2011-04-16fix a bunch of cppcheck warnings/errors based on a patch byDavid Kalnischkies
Niels Thykier, thanks! (Closes: #622805)
2011-04-02let TimeRFC1123 return an empty string if gmtime() failsDavid Kalnischkies
2011-04-02impossible to be too long but just to be sure use snprintfDavid Kalnischkies
2011-03-10merged the lp:~mvo/apt/mvo branchMichael Vogt
2011-03-09apt-pkg/contrib/cdromutl.{cc,h}: return string for mountpath; ↵Michael Vogt
apt-pkg/cdrom.cc: use string
2011-03-04apt-pkg/contrib/cdromutl.{cc,h}: add FindMountPointForDevice helper; ↵Michael Vogt
apt-pkg/cdrom.cc: deal with missing FSTAB_DIR
2011-03-03* apt-pkg/contrib/fileutl.cc, apt-pkg/deb/dpkgpm.cc:Michael Vogt
- honor Dpkg::Chroot-Directory in the RunScripts*() methods
2011-02-28apt-pkg/contrib/sha2.{cc,h}: move duplicated AddFD to baseclassMichael Vogt
2011-02-27d'uh! implement and not only declare the string wrapper for FindVectorDavid Kalnischkies
2011-02-25template based hashsum implementationMichael Vogt
2011-02-25move sha512,256 into apt-pkg/sha2.{cc,h}, move gifford implementation to ↵Michael Vogt
sha2_internal.{cc,h}
2011-02-25add sha512 support in the client now as wellMichael Vogt
2011-02-22add sha512 interface based on sha2 by aaron giffordMichael Vogt
2011-02-15* apt-pkg/contrib/error.cc:David Kalnischkies
- ensure that va_list is not invalid in second try
2011-02-14* apt-pkg/contrib/fileutl.cc:David Kalnischkies
- really detect bigendian machines by including config.h, so we can really (Closes: #612986) * apt-pkg/contrib/mmap.cc: - Base has as 'valid' failure states 0 and -1 so add a simple validData method to check for failure states
2011-02-14use inttypes to avoid suprises with different type sizesDavid Kalnischkies
2011-02-13* apt-pkg/contrib/fileutl.cc:David Kalnischkies
- reorder the loaded filesize bytes for big endian (Closes: #612986) Thanks to Jörg Sommer for the detailed analyse!
2011-02-13update size of dynamic MMap as we write in from the outsideDavid Kalnischkies
2011-02-12* apt-pkg/contrib/mmap.cc:David Kalnischkies
- do not try to free the mapping if its is unset
2011-02-07* apt-pkg/contrib/error.cc:David Kalnischkies
- remove 400 char size limit of error messages (LP: #365611)
2011-02-03merge 'after squeeze release'-stuffDavid Kalnischkies
[ David Kalnischkies ] * apt-pkg/depcache.cc: - add SetCandidateRelease() to set a candidate version and the candidates of dependencies if needed to a specified release (Closes: #572709) * cmdline/apt-get.cc: - if --print-uris is used don't setup downloader as we don't need progress, lock nor the directories it would create otherwise - show dependencies of essential packages which are going to remove only if they cause the remove of this essential (Closes: #601961) - keep not installed garbage packages uninstalled instead of showing in the autoremove section and installing those (Closes: #604222) - change pkg/release behavior to use the new SetCandidateRelease so installing packages from experimental or backports is easier - really do not show packages in the extra section if they were requested on the commandline, e.g. with a modifier (Closes: #184730) * debian/control: - add Vcs-Browser now that loggerhead works again (Closes: #511168) - depend on debhelper 7 to raise compat level - depend on dpkg-dev (>= 1.15.8) to have c++ symbol mangling * apt-pkg/contrib/fileutl.cc: - add a RealFileExists method and check that your configuration files are real files to avoid endless loops if not (Closes: #604401) - ignore non-regular files in GetListOfFilesInDir (Closes: #594694) * apt-pkg/contrib/weakptr.h: - include stddefs.h to fix compile error (undefined NULL) with gcc-4.6 * methods/https.cc: - fix CURLOPT_SSL_VERIFYHOST by really passing 2 to it if enabled * deb/dpkgpm.cc: - fix popen/fclose mismatch reported by cppcheck. Thanks to Petter Reinholdtsen for report and patch! (Closes: #607803) * doc/apt.conf.5.xml: - fix multipl{y,e} spelling error reported by Jakub Wilk (Closes: #607636) * apt-inst/contrib/extracttar.cc: - let apt-utils work with encoded tar headers if uid/gid are large. Thanks to Nobuhiro Hayashi for the patch! (Closes: #330162) * apt-pkg/cacheiterator.h: - do not segfault if cache is not build (Closes: #254770) * doc/apt-get.8.xml: - remove duplicated mentioning of --install-recommends * doc/sources.list.5.xml: - remove obsolete references to non-us (Closes: #594495) * debian/rules: - use -- instead of deprecated -u for dh_gencontrol - remove shlibs.local creation and usage - show differences in the symbol files, but never fail * pre-build.sh: - remove as it is not needed for a working 'bzr bd' * debian/{apt,apt-utils}.symbols: - ship experimental unmangled c++ symbol files * methods/rred.cc: - operate optional on gzip compressed pdiffs * apt-pkg/acquire-item.cc: - don't uncompress downloaded pdiff files before feeding it to rred - try downloading clearsigned InRelease before trying Release.gpg - change the internal handling of Extensions in pkgAcqIndex - add a special uncompressed compression type to prefer those files - download and use i18n/Index to choose which Translations to download * cmdline/apt-key: - don't set trustdb-name as non-root so 'list' and 'finger' can be used without being root (Closes: #393005, #592107) * apt-pkg/deb/deblistparser.cc: - rewrite LoadReleaseInfo to cope with clearsigned Releasefiles * ftparchive/writer.cc: - add config option to search for more patterns in release command - include Index files by default in the Release file * methods/{gzip,bzip}.cc: - print a good error message if FileSize() is zero * apt-pkg/aptconfiguration.cc: - remove the inbuilt Translation files whitelist
2011-01-15* methods/rred.cc:David Kalnischkies
- operate optional on gzip compressed pdiffs * apt-pkg/acquire-item.cc: - don't uncompress downloaded pdiff files before feeding it to rred
2011-01-13ignore non-regular files in GetListOfFilesInDir (Closes: #594694)David Kalnischkies
2011-01-13* apt-inst/contrib/extracttar.cc:David Kalnischkies
- let apt-utils work with encoded tar headers if uid/gid are large. Thanks to Nobuhiro Hayashi for the patch! (Closes: #330162)
2011-01-12* apt-pkg/contrib/weakptr.h:David Kalnischkies
- include stddefs.h to fix compile error (undefined NULL) with gcc-4.6
2011-01-12* apt-pkg/contrib/fileutl.cc:David Kalnischkies
- add a RealFileExists method and check that your configuration files are real files to avoid endless loops if not (Closes: #604401)
2011-01-12* apt-pkg/contrib/weakptr.h:Michael Vogt
- fix compile error with g++ 4.6
2010-12-03Permit base256 encoded value in the numeric field of tar header.Nobuhiro Hayashi
2010-11-30add the possibility to disable only the progress reporting stuff as theDavid Kalnischkies
quiet level 1 does this, but also disables other stuff we might want to test against in a testcase
2010-11-18merged lp:~mvo/apt/apt-get-changelog Michael Vogt
2010-11-16add support for third party changelogsMichael Vogt
2010-10-21* apt-pkg/contrib/fileutl.cc:David Kalnischkies
- Add a FileFd::FileSize() method to get the size of the underlying file and not the size of the content in the file as FileFd::Size() does - the sizes can differ since the direct gzip integration * methods/{gzip,bzip2}.cc: - use FileSize() to determine if the file is invalid (Closes: #600852)
2010-10-13apt-pkg/contrib/fileutl.cc: fix FileFd::Size() for files that are empty or ↵Michael Vogt
for non-gzip files
2010-10-13* apt-pkg/contrib/fileutl.cc:Martin Pitt
- Fix FileFd::Size() for gzipped files to give the size of the uncompressed data. This fixes cache progress building progress going way over 100%.
2010-09-28* apt-pkg/contrib/strutl.cc:David Kalnischkies
- add a space between number and unit as required by SI (Closes: #598352)
2010-09-10merged from lp:~mvo/apt/mvoMichael Vogt
2010-09-10apt-pkg/contrib/cdromutl.cc: do not take Buf.f_bfree into account on ↵Michael Vogt
writable media