summaryrefslogtreecommitdiff
path: root/ftparchive
AgeCommit message (Collapse)AuthorFilesLines
2012-07-04* ftparchive/writer.cc:David Kalnischkies1-1/+1
- handle the APT::FTPArchive::Packages::SHA512 option correctly instead of overriding SHA256, thanks Christian Marillat! (Closes: #680252)
2012-06-09* ftparchive/apt-ftparchive.cc:David Kalnischkies1-1/+1
- default to putting the Contents-* files below $(SECTION) as apt-file expects them there - thanks Martin-Éric Racine! (Closes: #675827)
2012-05-21* ftparchive/writer.cc:David Kalnischkies1-0/+1
- include Contents-* files in Release files (Closes: #673647)
2012-05-05ensure that apti18n.h is included last as advertised (Closes: #671623)David Kalnischkies3-4/+8
2012-04-05db2 isn't used for ages now, so complain about missing libdb insteadDavid Kalnischkies1-1/+1
2012-03-22* debian/apt-utils.install:David Kalnischkies1-0/+1
- ship the ftparchive, apt-extractemplates and apt-sortpkgs locales in the apt-utils package instead of the apt package
2012-03-22the previously used VERSION didn't work everywhere so we are switchingDavid Kalnischkies1-1/+1
to the more standard PACKAGE_VERSION and make it work in every file
2012-03-04fix a bunch of cppcheck "(warning) Member variable '<#>' is notDavid Kalnischkies1-2/+3
initialized in the constructor." messages (no functional change)
2012-02-18* apt-pkg/acquire-item.cc:David Kalnischkies1-0/+1
- 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.
2011-12-17try to avoid direct usage of .Fd() if possible and do read()s and coDavid Kalnischkies2-5/+5
on the FileFd instead
2011-12-14remove the second usage instance of ExecCompressor in ftparchiveDavid Kalnischkies3-50/+18
by again using the FileFd directly
2011-12-14use FileFd instead of forking the compression childs by handDavid Kalnischkies2-28/+3
2011-12-13Allow the FileFd to use an external Compressor to uncompress a given fileDavid Kalnischkies2-72/+4
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-10-05merge with current debian apt/experimentalDavid Kalnischkies1-5/+9
2011-10-05* apt-pkg/contrib/configuration.cc:Michael Vogt1-5/+9
- 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-22ftparchive/cachedb.cc: rewrite to fix the fixed length fieldMichael Vogt1-5/+9
2011-09-22* ftparchive/cachedb.cc:Michael Vogt1-1/+1
- fix buffersize in bytes2hex
2011-09-19use forward declaration in headers if possible instead of includesDavid Kalnischkies5-10/+12
2011-09-19do not pollute namespace in the headers with using (Closes: #500198)David Kalnischkies5-22/+22
2011-09-13merge with debian/experimentalDavid Kalnischkies4-17/+17
2011-09-13Support large files in the complete toolset. Indexes of thisDavid Kalnischkies9-36/+36
size are pretty unlikely for now, but we need it for deb packages which could become bigger than 4GB now (LP: #815895)
2011-09-13reorder includes: add <config.h> if needed and include it at firstDavid Kalnischkies6-21/+30
2011-08-15merged from the debian-sid branchMichael Vogt4-17/+17
2011-08-11cppcheck complains about some possible speed improvements which could beDavid Kalnischkies4-17/+17
done on the mirco-optimazation level, so lets fix them: (performance) Possible inefficient checking for emptiness. (performance) Prefer prefix ++/-- operators for non-primitive types.
2011-07-13* ftparchive/writer.cc:David Kalnischkies1-26/+8
- generate all checksums in one run over the file for Release
2011-06-29merge lp:~mvo/apt/abi-breakMichael Vogt4-9/+90
2011-06-08merge lp:~mvo/apt/sha512-template to add support for sha512Michael Vogt4-9/+86
2011-02-27 - load the supported compressors from configurationDavid Kalnischkies3-47/+34
- support adding new compressors by configuration
2011-02-25move sha512,256 into apt-pkg/sha2.{cc,h}, move gifford implementation to ↵Michael Vogt2-4/+2
sha2_internal.{cc,h}
2011-02-24* ftparchive/contents.cc:David Kalnischkies1-28/+3
- remove ExtractArchive codecopy from apt-inst/deb/debfile.cc
2011-02-22add sha512 support to apt-ftparchiveMichael Vogt4-7/+84
2011-02-22* ftparchive/multicompress.cc, apt-inst/deb/debfile.cc:David Kalnischkies3-1/+8
- support xz compressor to create xz-compressed Indexes and be able to open data.tar.xz files * ftparchive/writer.cc: - include xz-compressed Packages and Sources files in Release file
2011-02-22* ftparchive/writer.cc:David Kalnischkies1-0/+2
- include xz-compressed Packages and Sources files in Release file
2011-02-22add options to disable specific checksums for IndexesDavid Kalnischkies3-59/+92
2011-02-22* ftparchive/writer.cc:David Kalnischkies1-0/+5
- ensure that Date and Valid-Until time strings are not localised
2011-02-22* ftparchive/multicompress.cc, apt-inst/deb/debfile.cc:David Kalnischkies2-1/+6
- support xz compressor to create xz-compressed Indexes and be able to open data.tar.xz files
2011-01-25merge with debian-sidDavid Kalnischkies1-1/+1
[ Christian Perrier ] * Fix encoding for Slovenian translation. PO file switched to UTF-8. Closes: #609957 [ David Kalnischkies ] * ftparchive/apt-ftparchive.cc: - fix endless loop for multiple TranslationsWriters [ Julian Andres Klode ] * cmdline/apt-cache.cc: Create an error for apt-cache depends if packages could not found (LP: #647045) [ Manpages translations ] * Correct a typo and an error in French manpages translation. Closes: # 607170 [ Programs translations ] * po/es.po: Updated, plus fixes encoding issues and fixes two fuzzy strings, thanks to Javier Fernandez-Sanguino (closes: #610692) * Spanish update by Javier Fernández-Sanguino Peña. Closes: #607145
2011-01-25releasing version 0.8.10.20.8.10.2Michael Vogt1-1/+1
2011-01-24include Index files by default in the Release fileDavid Kalnischkies1-0/+1
2011-01-20* ftparchive/writer.cc:David Kalnischkies2-11/+17
- add config option to search for more patterns in release command
2010-09-09* ftparchive/writer.cc:Michael Vogt1-2/+2
- null the valid string instead of the date if Valid-Until is not set * apt-pkg/acquire-item.cc: - use also unsigned Release files again (Closes: #596189)
2010-09-09* ftparchive/writer.cc:Michael Vogt1-6/+9
- write out {Files,Checksum-Sha1,Checksum-Sha256} only if available LP: #633967. Thanks to Colin Watson
2010-09-09* ftparchive/writer.cc:David Kalnischkies1-2/+2
- null the valid string instead of the date if Valid-Until is not set
2010-09-07* ftparchive/apt-ftparchive.cc:David Kalnischkies1-1/+6
- ensure that BinDirectory as well as Tree settings get the correct default FileMode setting (Closes: #595922)
2010-08-19* ftparchive/writer.cc:David Kalnischkies1-1/+1
- init valid-until correctly to prevent garbage entering Release file
2010-06-09 - backport forgotten Valid-Until patch from the obsolete experimentalDavid Kalnischkies1-0/+10
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 Kalnischkies1-0/+10
- 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 Kalnischkies1-1/+1
yesterday. Strange… anyway only small fixes.
2010-05-29* ftparchive/writer.h:David Kalnischkies1-0/+1
- add a virtual destructor to FTWScanner class (for cppcheck)
2010-04-23* ftparchive/writer.cc:David Kalnischkies1-21/+19
- remove 999 chars Files and Checksums rewrite limit (Closes: #577759)