summaryrefslogtreecommitdiff
path: root/apt-pkg/deb
Commit message (Collapse)AuthorAgeFilesLines
* add test case for having no indexes, and fix regression in that caseMartin Pitt2010-10-151-9/+35
|
* merge with debian-sidDavid Kalnischkies2010-10-132-11/+15
|\
| * merge from trunkMartin Pitt2010-10-131-2/+2
| |\
| | * * apt-pkg/deb/debsystem.cc:Michael Vogt2010-10-131-2/+2
| | |\ | | | | | | | | | | | | - fix issues with dir::state::status and dir::state::extended_states when alternative rootdirs are used
| | | * apt-pkg/deb/debsystem.cc: remove duplicated rootdir (FindFile will prepend ↵Michael Vogt2010-10-131-1/+1
| | | | | | | | | | | | | | | | the rootdir later anyway)
| | | * * revert commit:Michael Vogt2010-10-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | * apt-pkg/deb/debsystem.cc: - set dir::state::status based at least on dir This causes problems with alternative rootdirs
| * | | * apt-pkg/deb/debindexfile.cc:Martin Pitt2010-10-131-9/+13
| |/ / | | | | | | | | | | | | - Use FileFd::Size() instead of stat()ing the sources/binary/translations indexes directly, so that we have transparent handling of gzipped indexes.
* / / * apt-pkg/deb/deblistparser.cc:Sebastian Andrzej Siewior2010-10-071-0/+1
|/ / | | | | | | | | - support ArmHardFloat port in CompleteArch, thanks to Sebastian Andrzej Siewior for the patch!
* | * apt-pkg/policy.cc:David Kalnischkies2010-09-141-0/+6
| | | | | | | | | | | | - 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
* | rename the newly public CheckDirectory method to CreateAPTDirectoryIfNeededDavid Kalnischkies2010-09-061-1/+1
|/ | | | to give a better indication what this method will do if called.
* * apt-pkg/deb/dpkgpm.cc:David Kalnischkies2010-09-021-1/+2
| | | | | | | - 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
* * apt-pkg/deb/dpkgpm.cc:David Kalnischkies2010-08-201-2/+4
| | | | | - use the InstVer instead of the CurrentVer for the autobit transfer Add also a small testcase to check the handling automatical
* * apt-pkg/deb/debsystem.cc:David Kalnischkies2010-08-191-1/+1
| | | - set dir::state::status based at least on dir
* Add to history whether a change was automatic or not.Julian Andres Klode2010-07-211-1/+6
|
* * apt-pkg/deb/dpkgpm.cc:Julian Andres Klode2010-07-211-5/+5
| | | - Write architecture information to history file.
* fix typo preventing display of architecture in Info()David Kalnischkies2010-07-111-1/+1
|
* * apt-pkg/deb/debmetaindex.cc:David Kalnischkies2010-07-113-7/+17
| | | - do not query each architecture for flat file archives
* [ Martin Pitt ]David Kalnischkies2010-07-113-11/+32
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
| * Switch FileFd to not transparently gunzip, since that breaks code which ↵martin@piware.de2010-06-243-5/+5
| | | | | | | | 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
| * apt-pkg/deb/debindexfile.cc: Fix one more place to check for gzipped ↵martin@piware.de2010-06-111-3/+7
| | | | | | | | indexes, to work with apt-get source as well
| * * apt-pkg/deb/debindexfile.cc:martin@piware.de2010-06-091-3/+19
| | | | | | | | - If we do not find uncompressed package/source/translation indexes, look for gzip compressed ones.
* | * apt-pkg/deb/dpkgpm.cc:Michael Vogt2010-07-091-1/+1
|\ \ | | | | | | - make the apt/term.log output unbuffered (thanks to Matt Zimmerman)
| * | * apt-pkg/deb/dpkgpm.cc:Michael Vogt2010-07-071-1/+2
| | | | | | | | | - make the apt/term.log output unbuffered (thanks to Matt Zimmerman)
* | | * apt-pkg/pkgcachegen.{cc,h}:David Kalnischkies2010-07-081-0/+1
| | | | | | | | | | | | - make the used MMap moveable (and therefore dynamic resizeable) by applying (some) mad pointer magic (Closes: #195018)
* | | use references instead of copies in the Cache generation methodsDavid Kalnischkies2010-07-082-15/+15
| | |
* | | merge with debian-experimental-maDavid Kalnischkies2010-07-051-1/+22
|\ \ \
| * | | deblistparser: Special-case *-armel, lpia and powerpcspe architectures.Julian Andres Klode2010-06-271-0/+6
| | | |
| * | | apt-pkg/deb/deblistparser.cc: Fix bug in architecture wildcard support.Julian Andres Klode2010-06-261-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | 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 "-".
| * | | * apt-pkg/deb/deblistparser.cc:Julian Andres Klode2010-06-261-1/+9
| | | | | | | | | | | | - Handle architecture wildcards (Closes: #547724).
* | | | clean deblistparser a bit by get the Architectures at one placeDavid Kalnischkies2010-07-042-14/+13
|/ / / | | | | | | | | | instead of distributed in a few methods
* | | merged from lp:~donkult/apt/sidMichael Vogt2010-06-096-26/+102
|\ \ \
| * \ \ * apt-pkg/pkgcache.h:David Kalnischkies2010-06-091-3/+2
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
| | * | | * apt-pkg/pkgcache.h:David Kalnischkies2010-06-031-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | - switch {,Install-}Size to unsigned long long * apt-pkg/depcache.cc: - deal with long long, not with int to remove 2GB Limit (LP: #250909)
| * | | | * apt-pkg/cachefile.{cc,h}:David Kalnischkies2010-06-042-11/+13
| | | | | | | | | | | | | | | | | | | | - split Open() into submethods to be able to build only parts - make the OpProgress optional in the Cache buildprocess
| * | | | * apt-pkg/deb/debsystem.cc:David Kalnischkies2010-05-281-1/+1
| | | | | | | | | | | | | | | - add better config item for extended_states file
| * | | | forward manual-installed bit on package disappearanceDavid Kalnischkies2010-05-272-1/+61
| | | | |
| * | | | * apt-pkg/deb/dpkgpm.cc:David Kalnischkies2010-05-272-10/+25
| |/ / / | | | | | | | | - write Disappeared also to the history.log
* | | | merge lp:~mvo/apt/ubuntu-mirror-method-improvementsMichael Vogt2010-06-091-0/+1
|\ \ \ \
| * | | | * apt-pkg/deb/dpkgpm.cc:Michael Vogt2010-06-021-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - add missing include * methods/mirror.{cc,h}: - add SelectNextMirror() and InitMirrors() functions - read all mirrors into the AllMirrors vector
* | | | | * merge the remaining Ubuntu change:Michael Vogt2010-06-093-4/+209
|\| | | | | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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)
| * | | * apt-pkg/deb/debrecords.cc:Michael Vogt2010-05-051-1/+2
| | | | | | | | | | | | - fix max tag buffer size (LP: #545336, closes: #578959)
| * | | cherry pick -r 1954..1955 lp:~donkult/apt/sidMichael Vogt2010-03-261-7/+9
| | | |
| * | | cherry pick -r 1956..1957 lp:~donkult/apt/sidMichael Vogt2010-03-261-2/+16
| | | |
| * | | * apt-pkg/deb/dpkgpm.cc:Michael Vogt2010-03-121-0/+1
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | - fix backgrounding when dpkg runs (closes: #486222) * cmdline/apt-mark: - show error on incorrect aguments (LP: #517917), thanks to Torsten Spindler
| * \ \ \ merged from the mvo branchMichael Vogt2010-03-081-6/+6
| |\ \ \ \
| * \ \ \ \ merged from the mvo branchMichael Vogt2010-02-173-5/+35
| |\ \ \ \ \
| * | | | | | Change history branch so that it does not break the Michael Vogt2010-01-262-14/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | apt ABI for the pkgPackageManager interface (can be reverted on the next ABI break)
| * | | | | | * Merged from the mvo branchMichael Vogt2009-12-183-18/+90
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * merged from the lp:~mvo/apt/history branch * Fix apt-ftparchive(1) wrt description of the "-o" option. Thanks to Dann Frazier for the patch. Closes: #273100 * po/LINGUAS. Re-disable Hebrew. Closes: #534992 * po/LINGUAS. Enable Asturian and Lithuanian * Fix typo in apt-cache.8.xml: nessasarily * Fix "with with" in apt-get.8.xml * Fix some of the typos mentioned by the german team Closes: #479997 * Polish translation update by Wiktor Wandachowicz Closes: #548571 * German translation update by Holger Wansing Closes: #551534 * Italian translation update by Milo Casagrande Closes: #555797 * Simplified Chinese translation update by Aron Xu Closes: #558737 * Slovak translation update by Ivan Masár Closes: #559277 * apt-pkg/packagemanager.cc: - add output about pre-depends configuring when debug::pkgPackageManager is used * methods/https.cc: - fix incorrect use of CURLOPT_TIMEOUT, closes: #497983, LP: #354972 thanks to Brian Thomason for the patch * merge lp:~mvo/apt/netrc branch, this adds support for a /etc/apt/auth.conf that can be used to store username/passwords in a "netrc" style file (with the extension that it supports "/" in a machine definition). Based on the maemo git branch (Closes: #518473) (thanks also to Jussi Hakala and Julian Andres Klode) * apt-pkg/deb/dpkgpm.cc: - add "purge" to list of known actions * apt-pkg/init.h: - add compatibility with old ABI name until the next ABI break * merge segfault fix from Mario Sanchez Prada, many thanks (closes: #561109) * apt-pkg/depcache.cc, apt-pkg/indexcopy.cc: - typo fix (LP: #462328) * cmdline/apt-key: - Emit a warning if removed keys keyring is missing and skip associated checks (LP: #218971) * apt-pkg/packagemanager.cc: - better debug output for ImmediateAdd with depth and why - improve the message shown for failing immediate configuration * doc/guide.it.sgml: moved to doc/it/guide.it.sgml * doc/po4a.conf: activate translation of guide.sgml and offline.sgml * doc/apt.conf.5.xml: - provide a few more details about APT::Immediate-Configure - briefly document the behaviour of the new https options * doc/sources.list.5.xml: - add note about additional apt-transport-methods * doc/apt-mark.8.xml: - correct showauto synopsis, thanks Andrew Schulman (Closes: #551440) * cmdline/apt-get.cc: - source should display his final pkg pick (Closes: #249383, #550952) - source doesn't need the complete version for match (Closes: #245250) - source ignores versions/releases if not available (Closes: #377424) - only warn if (free) space overflows (Closes: #522238) - add --debian-only as alias for --diff-only * methods/connect.cc: - display also strerror of "wicked" getaddrinfo errors - add AI_ADDRCONFIG to ai_flags as suggested by Aurelien Jarno in response to Bernhard R. Link, thanks! (Closes: #505020) * buildlib/configure.mak, buildlib/config.{sub,guess}: - remove (outdated) config.{sub,guess} and use the ones provided by the new added build-dependency autotools-dev instead * configure.in, buildlib/{xml,yodl,sgml}_manpage.mak: - remove the now obsolete manpage buildsystems * doc/{pl,pt_BR,es,it}/*.{sgml,xml}: - convert all remaining translation to the po4a system * debian/control: - drop build-dependency on docbook-utils and xmlto - add build-dependency on autotools-dev - bump policy to 3.8.3 as we have no outdated manpages anymore * debian/NEWS: - fix a typo in 0.7.24: Allready -> Already (Closes: #557674) * ftparchive/writer.{cc,h}: - add APT::FTPArchive::LongDescription to be able to disable them * apt-pkg/deb/debsrcrecords.cc: - use "diff" filetype for .debian.tar.* files (Closes: #554898) * methods/rred.cc: - rewrite to be able to handle even big patch files - adopt optional mmap+iovec patch from Morten Hustveit (Closes: #463354) which should speed up a bit. Thanks! * methods/http{,s}.cc - add config setting for User-Agent to the Acquire group, thanks Timothy J. Miller! (Closes: #355782) - add https options which default to http ones (Closes: #557085) * debian/apt.cron.daily: - check cache size even if we do nothing else otherwise, thanks Francesco Poli for patch(s) and patience! (Closes: #459344) * ftparchive/*: - fix a few typos in strings, comments and manpage, thanks Karl Goetz! (Closes: #558757) * cmdline/apt-mark: - print an error if a new state file can't be created (Closes: #521289) and - exit nicely if python-apt is not installed (Closes: #521284) * doc/de: German translation of manpages (Closes: #552606) * doc/ various manpages: - correct various errors, typos and oddities (Closes: #552535) * doc/apt-secure.8.xml: - replace literal with emphasis tags in Archive configuration * doc/apt-ftparchive.1.xml: - remove informalexample tag which hides the programlisting * doc/apt-get.8.xml: - change equivalent "for" to "to the" (purge command) - clarify --fix-broken sentence about specifying packages * apt-pkg/contib/strutl.h - Avoid extra inner copy in APT_MKSTRCMP and APT_MKSTRCMP2. * build infrastructure: - Bumped libapt version, excluded eglibc from SONAME. (Closes: #448249) * doc/apt.conf.5.xml: - Deprecate unquoted values, string concatenation and explain what should not be written inside a value (quotes,backslash). - Restrict option names to alphanumerical characters and "/-:._+". - Deprecate #include, we have apt.conf.d nowadays which should be sufficient. * ftparchive/apt-ftparchive.cc: - Call setlocale() so translations are actually used. * debian/apt.conf.autoremove: - Add kfreebsd-image-* to the list (Closes: #558803)
| * \ \ \ \ \ \ merge from debian-sid apt 0.7.24Michael Vogt2009-12-031-2/+17
| |\ \ \ \ \ \ \
| * | | | | | | | * apt-pkg/deb/dpkgpm.cc:Michael Vogt2009-12-031-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - include df -l output in the apport log as well (thanks to tjaalton)