summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | * apt-pkg/contrib/fileutl.{cc,h}:Michael Vogt2011-07-282-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
| * | | * merged latest fixes from debian-sidMichael Vogt2011-07-286-6/+72
| |\ \ \ | | | |/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| | * | merged from lp:~mvo/apt/mvoMichael Vogt2011-07-263-1/+68
| | |\|
| | | * fix typos in changelog, make DeEscapeString const, improve descriptionMichael Vogt2011-07-262-4/+4
| | | |
| | | * add another escape test case, fixup octal one (its \0XX instead of \0XXX)Michael Vogt2011-07-262-6/+5
| | | |
| | | * apt-pkg/contrib/strutl.cc: kill unneeded debug outputMichael Vogt2011-07-261-1/+0
| | | |
| | | * * apt-pkg/contrib/strutl.{h,cc}, test/libapt/strutil_test.cc:Michael Vogt2011-07-263-6/+69
| | | | | | | | | | | | | | | | - add new DeEscapeString() similar to DeQuoteQuotedWord but unescape charackter escapes like \0XXX and \xXX (plus add test)
| | | * * apt-pkg/contrib/cdromutl.cc:Michael Vogt2011-07-251-1/+7
| | | | | | | | | | | | - fix escape problem when looking for the mounted devices
| | * | * apt-pkg/contrib/sha1.cc:David Miller2011-07-261-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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).
| | * | apt-pkg/contrib/configuration.cc: revert Configuration::Set() ABI breakMichael Vogt2011-07-152-2/+2
| | | |
* | | | Support large files in the complete toolset. Indexes of thisDavid Kalnischkies2011-09-1319-75/+120
| | | | | | | | | | | | | | | | 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-1315-21/+42
|/ / /
* | | merged from http://bzr.debian.org/bzr/apt/apt/debian-sidMichael Vogt2011-07-152-2/+16
|\| |
| * | * apt-pkg/init.cc:David Kalnischkies2011-07-062-2/+16
| |/ | | | | - use CndSet in pkgInitConfig (Closes: #629617)
* | fix sha512 calculation in Hashes::VerifyFiles()David Kalnischkies2011-07-141-10/+9
| |
* | enable Hashes::AddFD() to skip creation of certain hashesDavid Kalnischkies2011-07-134-12/+19
| |
* | move implementation of checksums around by abstracting even moreDavid Kalnischkies2011-07-138-126/+65
| |
* | merge with debian-experimentalDavid Kalnischkies2011-07-102-2/+2
|\ \
| * \ merge lp:~mvo/apt/sha512-template to get fixes for the Michael Vogt2011-07-052-2/+2
| |\ \ | | | | | | | | sha1/md5 verifiation (closes: #632520)
| | * | apt-pkg/contrib/md5.cc: fix md5sum by using the right type (unsinged char*) ↵Michael Vogt2011-07-051-1/+1
| | | | | | | | | | | | | | | | and avoiding a implicit cast this way
| | * | apt-pkg/contrib/sha1.cc: fix sha1 hashsum by using the right type for "res" ↵Michael Vogt2011-07-051-1/+1
| | | | | | | | | | | | | | | | avoiding a implicit cast to string this way
* | | | Make private sha2 functions staticMatt Emmerton2011-06-291-8/+8
|/ / / | | | | | | | | | (freebsd which can be considered the "official" upstream has applied it)
* | | merge lp:~mvo/apt/sha512-template to add support for sha512Michael Vogt2011-06-0813-651/+1529
|\| |
| * | apt-pkg/contrib/sha2.{cc,h}: move duplicated AddFD to baseclassMichael Vogt2011-02-282-105/+67
| | |
| * | template based hashsum implementationMichael Vogt2011-02-257-334/+123
| | |
| * | move sha512,256 into apt-pkg/sha2.{cc,h}, move gifford implementation to ↵Michael Vogt2011-02-259-1940/+1600
| | | | | | | | | | | | sha2_internal.{cc,h}
| * | add sha512 support in the client now as wellMichael Vogt2011-02-252-2/+11
| | |
| * | add sha512 interface based on sha2 by aaron giffordMichael Vogt2011-02-224-0/+1458
| | |
* | | * Implement EDSP in libapt-pkg so that all front-ends whichDavid Kalnischkies2011-05-172-20/+10
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | 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
| * | fix SubProgress to accept a Percent parameter to update the CurrentDavid Kalnischkies2011-05-102-20/+10
| | | | | | | | | | | | with the text as otherwise the update will be ignored
* | | MAP_ANON is deprecated in favor of MAP_ANONYMOUS, but telesphoreo needsDavid Kalnischkies2011-05-131-0/+8
| | | | | | | | | | | | to ships a patch for this so pretend to be nice and make it work (TM)
* | | * apt-pkg/contrib/netrc.cc:David Kalnischkies2011-05-131-4/+8
| | | | | | | | | - replace non-posix gnu-extension strdupa with strdup
* | | fix a bunch of cppcheck warnings/errors based on a patch byDavid Kalnischkies2011-04-162-6/+12
| | | | | | | | | Niels Thykier, thanks! (Closes: #622805)
* | | let TimeRFC1123 return an empty string if gmtime() failsDavid Kalnischkies2011-04-021-2/+4
| | |
* | | impossible to be too long but just to be sure use snprintfDavid Kalnischkies2011-04-021-1/+1
|/ /
* | merged the lp:~mvo/apt/mvo branchMichael Vogt2011-03-103-0/+41
|\ \
| * | apt-pkg/contrib/cdromutl.{cc,h}: return string for mountpath; ↵Michael Vogt2011-03-092-4/+4
| | | | | | | | | | | | apt-pkg/cdrom.cc: use string
| * | apt-pkg/contrib/cdromutl.{cc,h}: add FindMountPointForDevice helper; ↵Michael Vogt2011-03-042-0/+32
| | | | | | | | | | | | apt-pkg/cdrom.cc: deal with missing FSTAB_DIR
| * | * apt-pkg/contrib/fileutl.cc, apt-pkg/deb/dpkgpm.cc:Michael Vogt2011-03-031-0/+9
| |/ | | | | - honor Dpkg::Chroot-Directory in the RunScripts*() methods
* | d'uh! implement and not only declare the string wrapper for FindVectorDavid Kalnischkies2011-02-271-1/+1
| |
* | * apt-pkg/contrib/error.cc:David Kalnischkies2011-02-152-94/+80
| | | | | | - ensure that va_list is not invalid in second try
* | * apt-pkg/contrib/fileutl.cc:David Kalnischkies2011-02-143-3/+5
| | | | | | | | | | | | | | - 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
* | use inttypes to avoid suprises with different type sizesDavid Kalnischkies2011-02-141-2/+8
| |
* | * apt-pkg/contrib/fileutl.cc:David Kalnischkies2011-02-131-1/+6
| | | | | | | | - reorder the loaded filesize bytes for big endian (Closes: #612986) Thanks to Jörg Sommer for the detailed analyse!
* | update size of dynamic MMap as we write in from the outsideDavid Kalnischkies2011-02-131-0/+1
| |
* | * apt-pkg/contrib/mmap.cc:David Kalnischkies2011-02-121-0/+2
| | | | | | - do not try to free the mapping if its is unset
* | * apt-pkg/contrib/error.cc:David Kalnischkies2011-02-071-6/+25
|/ | | - remove 400 char size limit of error messages (LP: #365611)
* merge 'after squeeze release'-stuffDavid Kalnischkies2011-02-036-15/+58
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ 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
| * * methods/rred.cc:David Kalnischkies2011-01-151-0/+1
| | | | | | | | | | - operate optional on gzip compressed pdiffs * apt-pkg/acquire-item.cc: - don't uncompress downloaded pdiff files before feeding it to rred
| * ignore non-regular files in GetListOfFilesInDir (Closes: #594694)David Kalnischkies2011-01-131-12/+16
| |