summaryrefslogtreecommitdiff
path: root/apt-pkg/deb
Commit message (Collapse)AuthorAgeFilesLines
* merge with debian/experimentalDavid Kalnischkies2011-09-136-29/+58
|\
| * merged from the debian-sid branchMichael Vogt2011-08-155-21/+21
| |\
| | * cppcheck complains about some possible speed improvements which could beDavid Kalnischkies2011-08-115-21/+21
| | | | | | | | | | | | | | | | | | done on the mirco-optimazation level, so lets fix them: (performance) Possible inefficient checking for emptiness. (performance) Prefer prefix ++/-- operators for non-primitive types.
| * | [ABI break] merged patch from Jonathan Thomas to have a newMichael Vogt2011-07-282-0/+12
| | | | | | | | | | | | RecordField() function in the pkgRecorder parser. Many thanks Thomas
| * | merged from debian-aptMichael Vogt2011-07-281-5/+19
| |\|
| | * merged from lp:~donkult/apt/sidMichael Vogt2011-07-281-5/+19
| | |\
| | | * * apt-pkg/deb/deblistparser.cc:David Kalnischkies2011-07-271-1/+5
| | |/ | | | | | | - do not assume that the last char on a line is a \n (Closes: #633350)
| * | * merged latest fixes from debian-sidMichael Vogt2011-07-281-3/+6
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| | * * apt-pkg/deb/deblistparser.cc:David Kalnischkies2011-07-251-3/+6
| | | | | | | | | | | | | | | - 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
* | | reorder includes: add <config.h> if needed and include it at firstDavid Kalnischkies2011-09-138-2/+16
|/ /
* | * apt-pkg/deb/debmetaindex.cc:David Kalnischkies2011-07-142-7/+35
| | | | | | | | | | | | | | - add trusted=yes option to mark unsigned (local) repository as trusted based on a patch from Ansgar Burchardt, thanks a lot! (Closes: #596498) Note that "apt-get update" still warns about unknown signatures even when [trusted=yes] is given for the source.
* | merge lp:~mvo/apt/abi-breakMichael Vogt2011-06-2911-103/+156
|\ \ | |/ |/|
| * * [ABI-Break] Implement EDSP in libapt-pkg so that all front-ends whichMichael Vogt2011-06-089-91/+138
| |\ | | | | | | | | | | | | * [ABI-Break] merge lp:~mvo/apt/sha512-template to add support for sha512 * [ABI-Break] merge lp:~mvo/apt/dpointer to support easier extending without breaking the ABI
| | * apt-pkg/deb/*: add placeholder dpointer and make destructors virtualMichael Vogt2011-02-025-2/+29
| | |
| | * apt-pkg/tagfile.h: add dpointer placeholder, make destructor virtual; ↵Michael Vogt2011-01-281-1/+1
| | | | | | | | | | | | apt-pkg/deb/debsystem.h: make destructor virtual
| | * apt-pkg/deb/dpkgpm.{cc,h}: convert to use dpointersMichael Vogt2011-01-272-55/+64
| | |
| | * apt-pkg/deb/debsystem.{cc,h}: add dpointerMichael Vogt2011-01-272-32/+41
| | |
| * | merge lp:~mvo/apt/sha512-template to add support for sha512Michael Vogt2011-06-082-1/+10
| |\ \
| | * | add sha512 support in the client now as wellMichael Vogt2011-02-252-1/+10
| | | |
| * | | * apt-pkg/pkgcache.h:David Kalnischkies2011-05-171-8/+3
| | | | | | | | | | | | | | | | - clean up mess with the "all" handling in MultiArch to fix LP: #733741 cleanly for everyone now
| * | | * Implement EDSP in libapt-pkg so that all front-ends whichDavid Kalnischkies2011-05-172-5/+7
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | * | | add a first round of stuff needed for talking between APT and solversDavid Kalnischkies2011-03-302-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | based on a very early draft for EDSP by Stefano APT can now write a scenario as well as load most stuff from it.
* | | | | merged from lp:~mvo/apt/mvoMichael Vogt2011-06-283-12/+15
|\ \ \ \ \
| * | | | | * apt-pkg/deb/dpkgpm.cc:Michael Vogt2011-06-271-1/+9
| | | | | | | | | | | | | | | | | | - set permissions of term.log to root.adm and 644 (LP: #404724)
| * | | | | apt-pkg/deb/debindexfile.cc: kill off another TranslationsAvailable() usage ↵Michael Vogt2011-06-091-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | that is not needed
| * | | | | apt-pkg/deb/debindexfile.cc: remove tests for TranslationsAvailable() as ↵Michael Vogt2011-06-091-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | this will break adding translations to the cache if the current environment does not include the language (e.g. LANG=C but german translations). testing for existance of the file is the better approach
| * | | | | * apt-pkg/deb/deblistparser.cc:Michael Vogt2011-06-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | - include all known languages when building the apt cache (LP: #794907)
* | | | | | log reinstall commands in history.logDavid Kalnischkies2011-05-231-18/+29
| | | | | |
* | | | | | remove invalid pkgcache.bin and rebuild it if possibleDavid Kalnischkies2011-05-191-1/+18
| |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The next invocation of APT tried to load an outdated big (and possible io-cold) file just to end up rebuilding it (possibly only as non-root in memory again and again), so we remove it here and if we have a srcpkgcache we are going to rebuild, too.
* | | | | rename I to J to avoid redefining a variable (clang warning)David Kalnischkies2011-05-171-5/+5
|/ / / /
* | | | * apt-pkg/deb/debmetaindex.cc:David Kalnischkies2011-04-261-1/+4
| | | | | | | | | | | | | | | | - do not download TranslationIndex if no Translation-* will be downloaded later on anyway (Closes: #624218)
* | | | * apt-pkg/deb/dpkgpm.cc:David Kalnischkies2011-04-161-2/+3
| | | | | | | | | | | | - replace obsolete usleep with nanosleep
* | | | * apt-pkg/deb/deblistparser.cc:Julian Andres Klode2011-04-141-1/+1
|/ / / | | | | | | - Handle no space before "[" in build-dependencies (LP: #72344)
* | | * apt-pkg/deb/deblistparser.cc:David Kalnischkies2011-03-282-12/+14
| | | | | | | | | - create foo:any provides for all architectures for an allowed package
* | | * apt-pkg/cacheiterator.h:David Kalnischkies2011-03-251-3/+11
| | | | | | | | | | | | | | | | | | - return "all" instead of native architecture without breaking the abi (too much) by extending enum instead of using bitflags (LP: #733741) With the next abi break that enum should be a char bitflag instead
* | | * apt-pkg/deb/deblistparser.h:David Kalnischkies2011-03-231-1/+1
| | | | | | | | | - enable StripMultiArch by default for ParseDepends
* | | * apt-pkg/deb/dpkgpm.cc:David Kalnischkies2011-03-161-2/+6
| | | | | | | | | - skip --configure if all packages disappeared
* | | merged the lp:~mvo/apt/mvo branchMichael Vogt2011-03-102-1/+13
|\ \ \
| * | | * apt-pkg/contrib/fileutl.cc, apt-pkg/deb/dpkgpm.cc:Michael Vogt2011-03-031-0/+9
| | | | | | | | | | | | - honor Dpkg::Chroot-Directory in the RunScripts*() methods
| * | | * apt-pkg/deb/debindexfile.cc:Michael Vogt2011-02-251-1/+4
| |/ / | | | | | | | | | - ignore missing deb-src files in /var/lib/apt/lists, thanks to Thorsten Spindler (LP: #85590)
* | | Remove the "pseudopackage" handling of Architecture: all packages forDavid Kalnischkies2011-03-081-55/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | Multi-Arch; instead, Arch: all packages only satisfy dependencies for the native arch, except where the Arch: all package is declared Multi-Arch: foreign. (Closes: #613584) This has the sideeffect that arch:all packages internally show up as coming from the native arch - so packages with the architecture "all" doesn't exist any longer in the pkgcache
* | | use FullName and strdup instead of handmade and new[]David Kalnischkies2011-03-071-5/+3
| | |
* | | * apt-pkg/deb/dpkgpm.cc:Steve Langasek2011-03-071-2/+19
| | | | | | | | | | | | | | | - make sure that for multiarch packages, we are passing the full qualified package name to dpkg for removals. (Closes: #614298)
* | | support every compression we have a compressor configuredDavid Kalnischkies2011-02-271-3/+6
| | |
* | | * apt-pkg/deb/debsrcrecords.cc:David Kalnischkies2011-02-221-1/+2
|\ \ \ | |/ / |/| | - support xz-compressed source v3 debian.tar files
| * | * apt-pkg/deb/debsrcrecords.cc:David Kalnischkies2011-02-221-1/+2
| |/ | | | | - support xz-compressed source v3 debian.tar files
* | merge 'after squeeze release'-stuffDavid Kalnischkies2011-02-035-82/+161
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ 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
| * | - download and use i18n/Index to choose which Translations to downloadDavid Kalnischkies2011-01-282-22/+57
| | | | | | | | | | | | * apt-pkg/aptconfiguration.cc: - remove the inbuilt Translation files whitelist
| * | - try downloading clearsigned InRelease before trying Release.gpgDavid Kalnischkies2011-01-203-54/+102
| | | | | | | | | | | | * apt-pkg/deb/deblistparser.cc: - rewrite LoadReleaseInfo to cope with clearsigned Releasefiles
| * | * deb/dpkgpm.cc:Petter Reinholdtsen2011-01-121-2/+2
| | | | | | | | | | | | | | | - fix popen/fclose mismatch reported by cppcheck. Thanks to Petter Reinholdtsen for report and patch! (Closes: #607803)