summaryrefslogtreecommitdiff
path: root/ftparchive
AgeCommit message (Collapse)Author
2010-09-07* ftparchive/apt-ftparchive.cc:David Kalnischkies
- ensure that BinDirectory as well as Tree settings get the correct default FileMode setting (Closes: #595922)
2010-08-19* ftparchive/writer.cc:David Kalnischkies
- init valid-until correctly to prevent garbage entering Release file
2010-06-09 - backport forgotten Valid-Until patch from the obsolete experimentalDavid Kalnischkies
branch to prevent replay attacks better, thanks to Thomas Viehmann for the initial patch! (Closes: #499897) * doc/apt.conf.5.xml: - document the new Valid-Until related options * apt-pkg/contrib/strutl.cc: - split StrToTime() into HTTP1.1 and FTP date parser methods and use strptime() instead of some self-made scanf mangling - use the portable timegm shown in his manpage instead of a strange looking code copycat from wget * ftparchive/writer.cc: - add ValidTime option to generate a Valid-Until header in Release file
2010-06-09* ftparchive/writer.cc:David Kalnischkies
- add ValidTime option to generate a Valid-Until header in Release file
2010-05-31i managed to commit broken code… which (at least in my mind) workedDavid Kalnischkies
yesterday. Strange… anyway only small fixes.
2010-05-29* ftparchive/writer.h:David Kalnischkies
- add a virtual destructor to FTWScanner class (for cppcheck)
2010-04-23* ftparchive/writer.cc:David Kalnischkies
- remove 999 chars Files and Checksums rewrite limit (Closes: #577759)
2010-04-01merged from lp:~donkult/apt/sidMichael Vogt
2010-03-26Switch the TranslationWriter to use MultiCompress to be able to generateDavid Kalnischkies
the compressed files as we want them and to prevent the file to be replaced without a reason which could save us from steady redownloads of a file with the same content.
2010-03-26Inclusion of Long Descriptions in the Packages files can be set nowDavid Kalnischkies
also in TreeDefaults and Tree to support generation of archives which should support and which shouldn't support splitted out Translation-en files in the same run.
2010-03-26ftparchive/apt-ftparchive.cc: Include apt-pkg/init.h.Julian Andres Klode
2010-03-26* ftparchive/apt-ftparchive.cc:Julian Andres Klode
- Read default configuration (Closes: #383257)
2010-03-22* ftparchive/writer.cc:David Kalnischkies
- write LongDescriptions if they shouldn't be included in Packages file into i18n/Translation-en by default. It is ensured that each package+description is listed only ones in the Translation file even if we generate multiple Packages file in one run. The file is only generated in "generate" - the simple file commands can't create it by now. Also, the LongDescription is currently a global setting, so generating archives with and without LongDescriptions in the Packages file in the same run are currently not possible.
2010-02-18 - add --arch option for apt-ftparchive packages and contents commandsDavid Kalnischkies
- if an arch is given accept only *_all.deb and *_arch.deb instead of *.deb. Thanks Stephan Bosch for the patch! (Closes: #319710)
2010-02-13merge with debian-sidDavid Kalnischkies
2010-01-31* cmdline/acqprogress.cc:Michael Vogt
- Set Mode to Medium so that the correct prefix is used. Thanks Stefan Haller for the patch! (Closes: #567304 LP: #275243) * ftparchive/writer.cc: - generate sha1 and sha256 checksums for dsc (Closes: #567343) * cmdline/apt-get.cc: - don't mark as manually if in download only (Closes: #468180)
2010-01-30* ftparchive/writer.cc:David Kalnischkies
- generate sha1 and sha256 checksums for dsc (Closes: #567343)
2010-01-25* ftparchive/writer.{cc,h}:Michael Vogt
- merge crash fix for apt-ftparchive on hurd, thanks to Samuel Thibault for the patch (closes: #566664)
2009-12-11fix a few typos in strings, comments and manpage of apt-ftparchiveDavid Kalnischkies
thanks Karl Goetz! (Closes: #558757)
2009-12-10merged -r 1920..1922 from lp:~donkult/apt/sidMichael Vogt
2009-12-10merged -r1875..1886 from lp:~donkult/apt/sidMichael Vogt
2009-12-01fix a few typos in strings, comments and manpage of apt-ftparchiveDavid Kalnischkies
thanks Karl Goetz! (Closes: #558757)
2009-11-28tell every method in ftparchive/ that const& is sexyDavid Kalnischkies
2009-11-28add APT::FTPArchive::AlwaysStat to disable the too aggressiveDavid Kalnischkies
caching if versions are build multiply times (not recommend) Patch by Christoph Goehre, thanks! (Closes: #463260)
2009-11-27merge with lp:~mvo/apt/debian-sid and update all pot's and po'sDavid Kalnischkies
2009-11-26Add APT::FTPArchive::LongDescription to disable the inclusion of theDavid Kalnischkies
LongDescriptions in the generated Packages file.
2009-11-24* ftparchive/apt-ftparchive.cc:Julian Andres Klode
- Call setlocale() so translations are actually used.
2009-10-14fix compiler warning: suggest parentheses around && within || in cachedbDavid Kalnischkies
2009-08-12Add a Acquire::CompressionTypes config variable from there theDavid Kalnischkies
acquire-items choose which compression file they should (try first to) download to easily add new or change the order of the compression types. And because it is easy now we directly add builtin lzma support. The compression ratio is better than bzip2 but we prefer the later for now as no (official) mirror uses lzma, so this would only generate useless hits on the servers. Maybe sometime in the future lzma will be the default... [apt-pkg/acquire-item.cc] - use configsettings for dynamic compression type use and order. Based on a patch by Jyrki Muukkonen, thanks! (LP: #71746) [apt-pkg/init.cc] - add default configuration for compression types and add lzma support. Order is now bzip2, lzma, gzip, none (Closes: #510526) [ftparchive/writer.cc] - add lzma support also here, patch for this (and inspiration for the one above) by Robert Millan, thanks!
2009-03-24ftparchive/cachedb.cc: compact() the database after c_del()Michael Vogt
2008-10-28* apt-ftparchive might write corrupt Release files (LP: #46439)Michael Vogt
* Apply --important option to apt-cache depends (LP: #16947) * apt-pkg/acquire-item.cc: - Added fallback to uncompressed 'Packages' if neither 'bz2' nor 'gz' available. (Closes: #409284) * apt-pkg/algorithm.cc: - Strip username and password from source URL in error message. (Closes: #425150) * Fix typos: - apt-pkg/depcache.cc * Fix compilation warnings: - apt-pkg/acquire.cc - apt-pkg/versionmatch.cc * Compilation fixes and portability improvement for compiling APT against non-GNU libc (thanks to Martin Koeppe, closes: #392063): - buildlib/apti18n.h.in: + textdomain() and bindtextdomain() must not be visible when --disable-nls - buildlib/inttypes.h.in: undefine standard int*_t types - Append INTLLIBS to SLIBS: + cmdline/makefile + ftparchive/makefile + methods/makefile * doc/apt.conf.5.xml: - clarify whether configuration items of apt.conf are case-sensitive (thanks to Vincent McIntyre, closes: #345901) * doc/apt-cache.8.xml: - search command uses POSIX regex, and searches for virtual packages too (closes: #277536) * doc/offline.sgml: clarify remote and target hosts (thanks to Nikolaus Schulz, closes: #175940) * Fix several typos in docs, translations and debian/changelog (thanks to timeless, Nicolas Bonifas and Josh Triplett, closes: #368665, #298821, #411532, #431636, #461458) * Document apt-key finger and adv commands (thanks to Stefan Schmidt, closes: #350575) * Better documentation for apt-get --option (thanks to Tomas Pospisek, closes: #386579) * Retitle the apt-mark.8 manpage (thanks to Justin Pryzby, closes: #471276) * Better documentation on using both APT::Default-Release and /etc/apt/preferences (thanks to Ingo Saitz, closes: #145575) * doc/apt-cache.8.xml: - add missing citerefentry * Upload to unstable * apt-pkg/deb/dpkgpm.cc: - Store the trigger state descriptions in a way that does not break the ABI. The approach taken makes the search for a string O(n) rather than O(lg(n)), but since n == 4, I do not consider this a major concern. If it becomes a concern, we can sort the static array and use std::equal_range(). (Closes: #499322) * apt-pkg/pkgcachegen.cc: - do not add multiple identical descriptions for the same language (closes: #400768) * Catalan updated. Closes: #499462 * Fix typo in cron.daily script. Closes: #486179 * Traditional Chinese updated. Closes: #488526 * German corrected and completed. Closes: #490532, #480002, #498018 * French completed * Bulgarian updated. Closes: #492473 * Slovak updated. Closes: #492475 * Galician updated. Closes: #492794 * Japanese updated. Closes: #492975 * Fix missing space in Greek translation. Closes: #493922 * Greek updated. * Brazilian Portuguese updated. * Basque updated. Closes: #496754 * Romanian updated. Closes: #492773, #488361 * Portuguese updated. Closes: #491790 * Simplified Chinese updated. Closes: #489344 * Norwegian Bokmål updated. Closes: #480022 * Czech updated. Closes: #479628, #497277 * Korean updated. Closes: #464515 * Spanish updated. Closes: #457706 * Lithuanian added. Closes: #493328 * Swedish updated. Closes: #497496 * Vietnamese updated. Closes: #497893 * Portuguese updated. Closes: #498411 * Greek updated. Closes: #498687 * Polish updated. * merge patch that enforces stricter https server certificate checking (thanks to Arnaud Ebalard, closes: #485960) * allow per-mirror specific https settings (thanks to Arnaud Ebalard, closes: #485965) * add doc/examples/apt-https-method-example.cof (thanks to Arnaud Ebalard, closes: #485964) * apt-pkg/depcache.cc: - when checking for new important deps, skip critical ones (closes: #485943) * improve apt progress reporting, display trigger actions * add DPkg::NoTriggers option so that applications that call apt/aptitude (like the installer) defer trigger processing (thanks to Joey Hess) * doc/makefile: - add examples/apt-https-method-example.conf * Russian updated. Closes: #479777, #499029 * fix FTBFS by changing build-depends to * ABI library name change because it's built against * Package that contains all the new features * Branch that contains all the new features:
2008-10-11* Compilation fixes and portability improvement for compiling APT against ↵Luca Bruno
non-GNU libc
2008-07-31* apt-ftparchive might write corrupt Release files (LP: #46439)Michael Vogt
2007-11-30* ftparchive/contents.cc:Michael Vogt
- fix error output * ftparchive/contents.cc: - support lzma data members * ftparchive/multicompress.cc: - support lzma output
2007-09-10* make apt build with g++ 4.3Michael Vogt
2007-08-01* Applied patch from Aurelien Jarno <aurel32@debian.org> to fix wrongOtavio Salvador
directory downloading on non-linux architectures (closes: #435597)
2007-06-08* Removed the more leftover #pragma interface/implementationMichael Vogt
closes: #306937 (thanks to Andreas Henriksson for the patch)
2007-06-08* remove all the remaining #pragma implementationMichael Vogt
2007-06-08* add "purge" commandline argument, closes: #133421)Michael Vogt
(thanks to Julien Danjou for the patch) * fix FTBFS with gcc 4.3, closes: #417090 (thanks to Martin Michlmayr for the patch) * add --dsc-only option, thanks to K. Richard Pixley
2007-06-08* fix FTBFS with gcc 4.3, closes: #417090Michael Vogt
(thanks to Martin Michlmayr for the patch)
2006-10-02* remove the remaining #ifdef __GNUG__ bitsMichael Vogt
2006-10-02* removed the pragma messMichael Vogt
2006-07-24* ftparchive/cachedb.cc:Michael Vogt
- applied patch from ajt (#379576)
2006-04-26* give a useful error message for the database changeMichael Vogt
2006-03-08* added ajs patchMichael Vogt
2005-10-19* fix a crash in apt-ftparchiveMichael Vogt
2005-08-09* merged apt--bts225947--0Michael Vogt
Patches applied: * michael.vogt@ubuntu.com--2005/apt--bts225947--0--base-0 tag of apt@packages.debian.org/apt--main--0--patch-79 * michael.vogt@ubuntu.com--2005/apt--bts225947--0--patch-1 * merged with mainline and apt--fixes--0 * michael.vogt@ubuntu.com--2005/apt--bts225947--0--patch-2 * patch from aj (slighly modified to use auto_ptr<>) applied * michael.vogt@ubuntu.com--2005/apt--bts225947--0--patch-3 * changelog updated * michael.vogt@ubuntu.com--2005/apt--bts225947--0--patch-4 * work for arch=all packages too now * michael.vogt@ubuntu.com--2005/apt--bts225947--0--patch-5 * merged with apt--main--0 * michael.vogt@ubuntu.com--2005/apt--bts225947--0--patch-6 * fixed a incorrect po/he.po merge
2005-05-23* merged with my apt--fixes--0 branchMichael Vogt
Patches applied: * apt@packages.debian.org/apt--misc-abi-changes--0--patch-4 Merge from mainline * apt@packages.debian.org/apt--misc-abi-changes--0--patch-5 Merge from mainline * apt@packages.debian.org/apt--misc-abi-changes--0--patch-6 Collapse both pkgAcquire::Run() methods into one, with a default value * michael.vogt@ubuntu.com--2005/apt--fixes--0--base-0 tag of apt@packages.debian.org/apt--main--0--patch-79 * michael.vogt@ubuntu.com--2005/apt--fixes--0--patch-1 * merged obvious fixes into the tree to make it easy for matt to merge * michael.vogt@ubuntu.com--2005/apt--fixes--0--patch-2 * more merges from otavio that looks good/uncritical * michael.vogt@ubuntu.com--2005/apt--fixes--0--patch-3 * merged Matts misc-abi-changes tree * michael.vogt@ubuntu.com--2005/apt--fixes--0--patch-4 * finalized the changelog for a ubuntu build * otavio@debian.org--2005/apt--fixes--0--base-0 tag of apt@packages.debian.org/apt--main--0--patch-71 * otavio@debian.org--2005/apt--fixes--0--patch-1 Fix comments about the need of xmlto * otavio@debian.org--2005/apt--fixes--0--patch-2 Fix a compile warning * otavio@debian.org--2005/apt--fixes--0--patch-3 Sync with apt--main--0--patch-76 * otavio@debian.org--2005/apt--fixes--0--patch-4 Sync with apt--main--0--patch-78 * otavio@debian.org--2005/apt--fixes--0--patch-5 Add fixes that was wrongly included on DDTP changes. * otavio@debian.org--2005/apt--fixes--0--patch-8 Add information about the other fixes include on this branch now. * otavio@debian.org--2005/apt--fixes--0--patch-9 Merge last changes from apt--main--0. * otavio@debian.org--2005/apt--fixes--0--patch-10 Fix warnings about min/max change in gcc-4.0 * otavio@debian.org--2005/apt--fixes--0--patch-11 Fix remaning warnings while compiling gcc-4.0 * otavio@debian.org--2005/apt--fixes--0--patch-12 Add changelog entry about the fixes for warnings while compiling using GCC 4.0 compiler.
2005-03-10Correct the "arbitary" typo in apt-ftparchiveChristian Perrier
2005-03-06Bring consistency to the use of capitals in programs messagesChristian Perrier