summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib
AgeCommit message (Collapse)Author
2011-09-13merge with debian/experimentalDavid Kalnischkies
2011-09-13Support large files in the complete toolset. Indexes of thisDavid Kalnischkies
size are pretty unlikely for now, but we need it for deb packages which could become bigger than 4GB now (LP: #815895)
2011-09-13reorder includes: add <config.h> if needed and include it at firstDavid Kalnischkies
2011-08-15merged from the debian-sid branchMichael Vogt
2011-08-11fix a few more cppcheck performance and scope warningsDavid Kalnischkies
2011-08-11cppcheck complains about some possible speed improvements which could beDavid Kalnischkies
done on the mirco-optimazation level, so lets fix them: (performance) Possible inefficient checking for emptiness. (performance) Prefer prefix ++/-- operators for non-primitive types.
2011-07-29apt-pkg/contrib/sha2_internal.h: remove extern "C" to avoid symbol clash ↵Michael Vogt
with libssl
2011-07-29merged from debian-sidMichael Vogt
2011-07-29apt-pkg/contrib/sha256.h: use #warning to warn about deprecated headerMichael Vogt
2011-07-28merged from lp:~mvo/apt/mvoMichael Vogt
2011-07-28* apt-pkg/contrib/fileutl.{cc,h}:Michael Vogt
- add GetModificationTime() helper * apt-pkg/pkgcachegen.cc: - regenerate the cache if the sources.list changes to ensure that changes in the ordering there will be honored by apt * apt-pkg/sourcelist.{cc,h}: - add pkgSourceList::GetLastModifiedTime() helper
2011-07-28* merged latest fixes from debian-sidMichael Vogt
* apt-pkg/contrib/sha1.cc: - fix illegally casts of on-stack buffer to a type requiring more alignment than it has resulting in segfaults on sparc (Closes: #634696) * apt-pkg/contrib/cdromutl.cc: - fix escape problem when looking for the mounted devices * apt-pkg/contrib/strutl.{h,cc}, test/libapt/strutil_test.cc: - add new DeEscapeString() similar to DeQuoteString but unescape character escapes like \0XX and \xXX (plus added test) * refresh po/* * cmdline/apt-get.cc: - fix missing download progress in apt-get download - do not require unused partial dirs in 'source' (Closes: #633510) - buildconflicts effect all architectures - implement MultiarchCross for build-dep and source (Closes: #632221) * cmdline/apt-key: - use a tmpfile instead of /etc/apt/secring.gpg (Closes: #632596) * debian/apt.postinst: - remove /etc/apt/secring.gpg if it is an empty file * doc/apt-cache.8.xml: - apply madison typofix from John Feuerstein, thanks! (Closes: #633455) * apt-pkg/policy.cc: - emit an error on unknown APT::Default-Release value (Closes: #407511) * apt-pkg/aptconfiguration.cc: - ensure that native architecture is if not specified otherwise the first architecture in the Architectures vector * apt-pkg/deb/deblistparser.cc: - Strip only :any and :native if MultiArch should be stripped as it is save to ignore them in non-MultiArch contexts but if the dependency is a specific architecture (and not the native) do not strip
2011-07-26merged from lp:~mvo/apt/mvoMichael Vogt
2011-07-26fix typos in changelog, make DeEscapeString const, improve descriptionMichael Vogt
2011-07-26add another escape test case, fixup octal one (its \0XX instead of \0XXX)Michael Vogt
2011-07-26apt-pkg/contrib/strutl.cc: kill unneeded debug outputMichael Vogt
2011-07-26* apt-pkg/contrib/strutl.{h,cc}, test/libapt/strutil_test.cc:Michael Vogt
- add new DeEscapeString() similar to DeQuoteQuotedWord but unescape charackter escapes like \0XXX and \xXX (plus add test)
2011-07-26* apt-pkg/contrib/sha1.cc:David Miller
- fix illegally casts of on-stack buffer to a type requiring more alignment than it has resulting in segfaults on sparc (Closes: #634696) The problem is how sha1.cc codes the SHA1 transform, it illegally casts the on-stack workspace buffer to a type requiring more alignment than 'workspace' is actually declared to have. This only shows up recently because gcc-4.6 now does a really aggressive optimization where it gets rid of the workspace buffer entirely and just accesses 'buffer' directly, and assumes it has the necessary alignment for 32-bit loads (which it doesn't).
2011-07-25* apt-pkg/contrib/cdromutl.cc:Michael Vogt
- fix escape problem when looking for the mounted devices
2011-07-15apt-pkg/contrib/configuration.cc: revert Configuration::Set() ABI breakMichael Vogt
2011-07-15merged from http://bzr.debian.org/bzr/apt/apt/debian-sidMichael Vogt
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-06* apt-pkg/init.cc:David Kalnischkies
- use CndSet in pkgInitConfig (Closes: #629617)
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