summaryrefslogtreecommitdiff
path: root/apt-pkg/deb
AgeCommit message (Collapse)AuthorFilesLines
2012-05-10fix calling style of FileFd (no functional change)David Kalnischkies1-3/+3
2012-05-02* apt-pkg/deb/deblistparser.cc:David Kalnischkies1-5/+12
- check length and containing chars for a given description md5sum
2012-04-20merged from lp:~donkult/apt/sidMichael Vogt1-2/+8
2012-04-20merge from the lp:~mvo/apt/mvo branchMichael Vogt1-1/+5
2012-04-20cherry pick r1975 from lp:~ubuntu-core-dev/apt/ubuntuMichael Vogt1-0/+1
2012-04-18* apt-pkg/deb/deblistparser.cc:David Kalnischkies1-2/+8
- only treat the native apt as essential by default
2012-04-11use a static FileFd::Write overload to reduce duplication of write()-retry codeDavid Kalnischkies1-27/+7
2012-03-27* apt-pkg/deb/dpkgpm.cc:Michael Vogt1-1/+4
- do not crash if (*I).Pkg is NULL (LP: #939867)
2012-03-22make these retry_write methods static so that they don't end up as symbolsDavid Kalnischkies1-1/+2
2012-03-20* methods/rred.cc:David Kalnischkies1-8/+28
- check return of writev() as gcc recommends * methods/mirror.cc: - check return of chdir() as gcc recommends * apt-pkg/deb/dpkgpm.cc: - check return of write() a gcc recommends * apt-inst/deb/debfile.cc: - check return of chdir() as gcc recommends * apt-inst/deb/dpkgdb.cc: - check return of chdir() as gcc recommends
2012-03-06merge with apt/experimentalDavid Kalnischkies1-1/+1
* apt-pkg/packagemanager.cc: - fix bug in predepends handling - ensure that packages that needs unpackaging are unpacked before they are configured (LP: #927993) [ Julian Andres Klode ] * apt-pkg/deb/deblistparser.cc: - Set the Essential flag on APT instead of only Important * apt-pkg/packagemanager.cc: - Do not use immediate configuration for packages with the Important flag * Treat the Important flag like the Essential flag with those differences: - No Immediate configuration (see above) - Not automatically installed during dist-upgrade - No higher score for installation ordering
2012-03-05* apt-pkg/deb/deblistparser.cc:Julian Andres Klode1-1/+1
- Set the Essential flag on APT instead of only Important
2012-03-05set char-limits for the scanf parsing previous crash-reportsDavid Kalnischkies1-1/+1
2012-03-04fix a bunch of cppcheck "(warning) Member variable '<#>' is notDavid Kalnischkies1-1/+3
initialized in the constructor." messages (no functional change)
2012-03-04handle a SIGINT in all modes as a break after the currently runningDavid Kalnischkies1-3/+4
dpkg transaction instead of ignoring it completely
2012-02-18* apt-pkg/acquire-item.cc:David Kalnischkies1-25/+11
- drop support for i18n/Index file (introduced in 0.8.11) and use the Release file instead to get the Translations (Closes: #649314) * ftparchive/writer.cc: - add 'Translation-*' to the default patterns i18n/Index was never used outside debian - and even here it isn't used consistently as only 'main' has such a file. As the Release file now includes the Translation-* files we therefore drop support for i18n/Index. A version supporting it was never part of a debian release and still supporting it would mean that we get 99% of the time a 404 as response to the request anyway and confuse archive maintainers who want to provide all files APT tries to acquire.
2012-02-11save the universe by not printing messages about apport if a packageDavid Kalnischkies1-0/+6
with this name is not installed (Closes: #619646)
2012-02-09call dpkg --assert-multi-arch with execvp instead of execvDavid Kalnischkies1-1/+1
2012-01-30* apt-pkg/deb/dpkgpm.cc:Michael Vogt1-2/+36
- fix crash when a package is in removed but residual config state (LP: #923807)
2012-01-29ensure that dpkg binary doesn't have the chroot-directory prefixedDavid Kalnischkies1-1/+11
2012-01-29* apt-pkg/deb/dpkgpm.cc:David Kalnischkies1-17/+15
- chroot if needed before dpkg --assert-multi-arch
2012-01-19* apt-pkg/cacheiterators.h:David Kalnischkies1-2/+2
- return the correct version arch for all+foreign, too The flag is interpreted at a few other places in different styles so this commit ensures that the flag check is consistent everywhere (checking for Same in flag style is a bit too much as it isn't used in combination with others anyway, but who knows and just for consistency)
2012-01-19* apt-pkg/deb/dpkgpm.cc:Michael Vogt1-1/+5
- fix segfault on pkg removal
2012-01-19if multi-arch is detected ensure that pkg:all is reported as pkg:allDavid Kalnischkies1-1/+4
Versions with arch:all are added to the package with the native arch, so we can't rely on Pkg.Arch() for the architecture
2012-01-19* apt-pkg/deb/dpkgpm.cc:David Kalnischkies1-0/+5
- redirect out/input of dpkg --assert-multi-arch to /dev/null
2012-01-13* apt-pkg/deb/dpkgpm.cc:David Kalnischkies1-21/+52
- check if dpkg supports multiarch with --assert-multi-arch and if it does be always explicit about the architecture
2011-12-17try to avoid direct usage of .Fd() if possible and do read()s and coDavid Kalnischkies1-3/+0
on the FileFd instead
2011-12-15atleast libapt should announce to itself that it is clean…David Kalnischkies1-0/+2
(and be it if it tries to announce that…)
2011-12-13revert 2184.1.3: forward declaration instead of headersDavid Kalnischkies3-0/+12
The breakage is just to big for now, so guard the change with #ifndef APT_8_CLEANER_HEADERS and be nice to library users
2011-12-13revert 2184.1.2: do not pollute namespace in headersDavid Kalnischkies1-0/+5
The breakage is just to big for now, so guard the change with #ifndef APT_8_CLEANER_HEADERS and be nice to library users
2011-12-13Allow the FileFd to use an external Compressor to uncompress a given fileDavid Kalnischkies1-0/+1
internally so that it is exported and can be used like a "normal" uncompressed file with FileFd This allows us to hide th zlib usage in the implementation and use gzip instead if we don't have zlib builtin (the same for other compressors). The code includes quiet a few FIXME's so while all tests are working it shouldn't be used just yet outside of libapt as it might break.
2011-12-10* apt-pkg/contrib/fileutl.{h,cc}:David Kalnischkies1-13/+6
- implement a ModificationTime method for FileFd
2011-12-10enable FileFd to guess the compressor based on the filename if requested orDavid Kalnischkies3-8/+9
to search for compressed silbings of the given filename and use this guessing instead of hardcoding Gzip compression
2011-11-03* apt-pkg/deb/deblistparser.cc:David Kalnischkies1-0/+3
- M-A: foreign packages provide for other archs, too
2011-10-30merge with my debian-sid branchDavid Kalnischkies3-29/+18
2011-10-11* apt-pkg/pkgcachegen.cc:David Kalnischkies1-4/+1
- refactor MergeList by creating -Group, -Package and -Version specialist
2011-10-05cherrypick from my apt/experimental branchDavid Kalnischkies1-2/+6
* apt-pkg/deb/debmetaindex.cc: - none is a separator, not a language: no need for Index (Closes: #624218) * apt-pkg/aptconfiguration.cc: - do not builtin languages only if none is forced (Closes: #643787)
2011-10-05* apt-pkg/deb/debmetaindex.cc:David Kalnischkies1-2/+6
- none is a separator, not a language: no need for Index (Closes: #624218) * apt-pkg/aptconfiguration.cc: - do not builtin languages only if none is forced (Closes: #643787)
2011-10-05merge with current debian apt/experimentalDavid Kalnischkies2-13/+21
2011-10-05* apt-pkg/contrib/configuration.cc:Michael Vogt2-13/+21
- fix double delete (LP: #848907) - ignore only the invalid regexp instead of all options * apt-pkg/acquire-item.h, apt-pkg/deb/debmetaindex.cc: - fix fetching language information by adding OptionalSubIndexTarget * methods/https.cc: - cleanup broken downloads properly * ftparchive/cachedb.cc: - fix buffersize in bytes2hex * apt-pkg/deb/deblistparser.cc: - fix crash when the dynamic mmap needs to be grown in LoadReleaseInfo (LP: #854090)
2011-09-26merged fix from donkultMichael Vogt1-12/+20
2011-09-21* apt-pkg/deb/debsrcrecords.cc:David Kalnischkies2-20/+26
- remove the limit of 400 Binaries for a source package (Closes: #622110)
2011-09-21convert a few for-loop char finds to proper strchr and memchrDavid Kalnischkies2-28/+18
2011-09-20* apt-pkg/deb/dpkgpm.cc:David Kalnischkies1-72/+78
- use std::vector instead of fixed size arrays to store args and multiarch-packagename strings - load the dpkg base arguments only one time and reuse them later * cmdline/apt-get.cc: - follow Provides in the evaluation of saving candidates, too, for statisfying garbage package dependencies (Closes: #640590) * apt-pkg/algorithms.cc: - if a package is garbage, don't try to save it with FixByInstall
2011-09-20load the dpkg base arguments only one time and reuse them laterDavid Kalnischkies1-22/+28
2011-09-20* apt-pkg/deb/dpkgpm.cc:David Kalnischkies1-61/+61
- use std::vector instead of fixed size arrays to store args and multiarch-packagename strings
2011-09-19remove old APT_COMPATIBILITY ifdef'sDavid Kalnischkies2-29/+0
2011-09-19use forward declaration in headers if possible instead of includesDavid Kalnischkies7-24/+32
2011-09-19do not pollute namespace in the headers with using (Closes: #500198)David Kalnischkies11-90/+95
2011-09-16* apt-pkg/acquire-item.h, apt-pkg/deb/debmetaindex.cc:Michael Vogt1-1/+1
- fix fetching language information by adding OptionalSubIndexTarget