summaryrefslogtreecommitdiff
path: root/apt-pkg/deb
AgeCommit message (Collapse)Author
2010-10-28* apt-pkg/deb/dpkgpm.cc:Michael Vogt
- ensure that history.log gets closed to avoid leaking a FD (closes: #601649)
2010-10-28* apt-pkg/deb/dpkgpm.cc:Michael Vogt
- ensure that history.log gets closed to avoid leaking a FD (closes: #601649)
2010-10-15add test case for having no indexes, and fix regression in that caseMartin Pitt
2010-10-13merge with debian-sidDavid Kalnischkies
2010-10-13merge from trunkMartin Pitt
2010-10-13* apt-pkg/deb/debsystem.cc:Michael Vogt
- fix issues with dir::state::status and dir::state::extended_states when alternative rootdirs are used
2010-10-13apt-pkg/deb/debsystem.cc: remove duplicated rootdir (FindFile will prepend ↵Michael Vogt
the rootdir later anyway)
2010-10-13* revert commit:Michael Vogt
* apt-pkg/deb/debsystem.cc: - set dir::state::status based at least on dir This causes problems with alternative rootdirs
2010-10-13* apt-pkg/deb/debindexfile.cc:Martin Pitt
- Use FileFd::Size() instead of stat()ing the sources/binary/translations indexes directly, so that we have transparent handling of gzipped indexes.
2010-10-07* apt-pkg/deb/deblistparser.cc:Sebastian Andrzej Siewior
- support ArmHardFloat port in CompleteArch, thanks to Sebastian Andrzej Siewior for the patch!
2010-09-14* apt-pkg/policy.cc:David Kalnischkies
- support 100-pinning in Release file with ButAutomaticUpgrades as requested by the backports crew (Closes: #596097) * apt-pkg/deb/deblistparser.cc: - overrule NotAutomatic in case of ButAutomaticUpgrades
2010-09-06rename the newly public CheckDirectory method to CreateAPTDirectoryIfNeededDavid Kalnischkies
to give a better indication what this method will do if called.
2010-09-02* apt-pkg/deb/dpkgpm.cc:David Kalnischkies
- create Dir::Log if needed to support /var/log as tmpfs or similar, inspired by Thomas Bechtold, thanks! (Closes: #523919, LP: #220239) Easily done by moving a private method from pkgAcquire into the public area of fileutl.cc to be able to use it also in here
2010-08-20* apt-pkg/deb/dpkgpm.cc:David Kalnischkies
- use the InstVer instead of the CurrentVer for the autobit transfer Add also a small testcase to check the handling automatical
2010-08-19* apt-pkg/deb/debsystem.cc:David Kalnischkies
- set dir::state::status based at least on dir
2010-07-21Add to history whether a change was automatic or not.Julian Andres Klode
2010-07-21* apt-pkg/deb/dpkgpm.cc:Julian Andres Klode
- Write architecture information to history file.
2010-07-11fix typo preventing display of architecture in Info()David Kalnischkies
2010-07-11* apt-pkg/deb/debmetaindex.cc:David Kalnischkies
- do not query each architecture for flat file archives
2010-07-11[ Martin Pitt ]David Kalnischkies
* debian/rules: - Make DEB_BUILD_OPTIONS=noopt actually work by passing the right CXXFLAGS. * apt-pkg/contrib/fileutl.{h,cc}: - Add support for reading of gzipped files with the new "ReadOnlyGzip" OpenMode. (Closes: #188407) - Link against zlib (in apt-pkg/makefile) and add zlib build dependency. - [ABI BREAK] This adds a new private member to FileFd, but its initialization is in the public header file. * configure.in: - Check for zlib library and headers. * apt-pkg/acquire-item.cc, apt-pkg/deb/debindexfile.cc, apt-pkg/deb/debrecords.cc, apt-pkg/deb/debsrcrecords.h, cmdline/apt-cache.cc: - Open Packages, Sources, and Translations indexes in "ReadOnlyGzip" mode. * apt-pkg/deb/debindexfile.cc: - If we do not find uncompressed package/source/translation indexes, look for gzip compressed ones. * apt-pkg/acquire-item.cc: - If the Acquire::GzipIndexes option is true and we download a gzipped index file, keep it as it is (and rename to .gz) instead of uncompressing it. * doc/apt.conf.5.xml: - Document the new Acquire::GzipIndexes option. * doc/po/apt-doc.pot, doc/po/de.po: - German translation of new Acquire::GzipIndexes option. * Add test/test-indexes.sh: - Test behaviour of index retrieval and usage, in particular with uncompressed and gzip compressed indexes. * methods/gzip.cc: With FileFd now being able to read gzipped files, there is no need for the gzip method any more to spawn an external gzip process. Rewrite it to use FileFd directly, which makes the code a lot simpler, and also using less memory and overhead.
2010-07-09* apt-pkg/deb/dpkgpm.cc:Michael Vogt
- make the apt/term.log output unbuffered (thanks to Matt Zimmerman)
2010-07-08* apt-pkg/pkgcachegen.{cc,h}:David Kalnischkies
- make the used MMap moveable (and therefore dynamic resizeable) by applying (some) mad pointer magic (Closes: #195018)
2010-07-08use references instead of copies in the Cache generation methodsDavid Kalnischkies
2010-07-07* apt-pkg/deb/dpkgpm.cc:Michael Vogt
- make the apt/term.log output unbuffered (thanks to Matt Zimmerman)
2010-07-05merge with debian-experimental-maDavid Kalnischkies
2010-07-04clean deblistparser a bit by get the Architectures at one placeDavid Kalnischkies
instead of distributed in a few methods
2010-06-27deblistparser: Special-case *-armel, lpia and powerpcspe architectures.Julian Andres Klode
2010-06-26apt-pkg/deb/deblistparser.cc: Fix bug in architecture wildcard support.Julian Andres Klode
Previously, linux-any was always matched, because the code simply appended linux- to the APT::Architecture value. Now, it does this only if the APT::Architecture value does not contain "-".
2010-06-26* apt-pkg/deb/deblistparser.cc:Julian Andres Klode
- Handle architecture wildcards (Closes: #547724).
2010-06-24Switch FileFd to not transparently gunzip, since that breaks code which ↵martin@piware.de
expects the compressed contents to stay (such as the copy backend, or when using file:// repositories. Instead, introduce a new ReadOnlyGzip mode and use that where needed
2010-06-11apt-pkg/deb/debindexfile.cc: Fix one more place to check for gzipped ↵martin@piware.de
indexes, to work with apt-get source as well
2010-06-09* apt-pkg/deb/debindexfile.cc:martin@piware.de
- If we do not find uncompressed package/source/translation indexes, look for gzip compressed ones.
2010-06-09merged from lp:~donkult/apt/sidMichael Vogt
2010-06-09merge lp:~mvo/apt/ubuntu-mirror-method-improvementsMichael Vogt
2010-06-09* merge the remaining Ubuntu change:Michael Vogt
- on gpg verification failure warn and restore the last known good state - on failure display the IP of the server (useful for servers that use round robin DNS) - support Original-Maintainer in RewritePackageOrder - enable cdrom autodetection via libudev by default - show messsage about Vcs in use when apt-get source is run for packages maintained in a Vcs - better support transitional packages with mark auto-installed. when the transitional package is in "oldlibs" the new package is not marked auto installed (same is true for section metapackages) - provide new "deb mirror://archive.foo/mirrors.list sid main" method expects a list of mirrors (generated on the server e.g. via geoip) and will use that, including cycle on failure - write apport crash file on package failure (disabled by default on debian until apport is available) - support mirror failure reporting (disabled by default on debian)
2010-06-09* apt-pkg/pkgcache.h:David Kalnischkies
- switch {,Install-}Size to unsigned long long - deal with long long, not with int to remove 2GB Limit (LP: #250909) - deprecate AddSize with Multiplier as it is unused and switch to boolean instead to handle the sizes more gracefully. - switch i{Download,Usr}Size from double to (un)signed long long * cmdline/apt-get.cc: - use unsigned long long instead of double to store values it gets
2010-06-04* apt-pkg/cachefile.{cc,h}:David Kalnischkies
- split Open() into submethods to be able to build only parts - make the OpProgress optional in the Cache buildprocess
2010-06-03* apt-pkg/pkgcache.h:David Kalnischkies
- switch {,Install-}Size to unsigned long long * apt-pkg/depcache.cc: - deal with long long, not with int to remove 2GB Limit (LP: #250909)
2010-06-02* apt-pkg/deb/dpkgpm.cc:Michael Vogt
- add missing include * methods/mirror.{cc,h}: - add SelectNextMirror() and InitMirrors() functions - read all mirrors into the AllMirrors vector
2010-05-28* apt-pkg/deb/debsystem.cc:David Kalnischkies
- add better config item for extended_states file
2010-05-27forward manual-installed bit on package disappearanceDavid Kalnischkies
2010-05-27* apt-pkg/deb/dpkgpm.cc:David Kalnischkies
- write Disappeared also to the history.log
2010-05-24 - show at the end of the install process a list of disappeared packagesDavid Kalnischkies
* apt-pkg/packagemanager.h: - export info about disappeared packages with GetDisappearedPackages()
2010-05-24* apt-pkg/deb/dpkgpm.cc:David Kalnischkies
- add 'disappear' to the known processing states, thanks Jonathan Nieder
2010-05-05* apt-pkg/deb/debrecords.cc:Michael Vogt
- fix max tag buffer size (LP: #545336, closes: #578959)
2010-05-05* apt-pkg/deb/debrecords.cc:Michael Vogt
- fix max tag buffer size (LP: #545336, closes: #578959)
2010-05-05* apt-pkg/deb/debrecords.cc:Michael Vogt
- fix max tag buffer size (LP: #545336, closes: #578959)
2010-05-05* apt-pkg/deb/debrecords.cc:Michael Vogt
- fix max tag buffer size (LP: #545336, closes: #578959)
2010-04-14* apt-pkg/deb/dpkgpm.cc:David Kalnischkies
- remove Chroot-Directory from files passed to install commands. Thanks to Kel Modderman for report & patch! (Closes: #577226)
2010-04-03Initialize history_out always with NULL so apt will not segfault laterDavid Kalnischkies
in the event of a failure in OpenLog() (which will happen if called with Debug::NoLocking as user)