summaryrefslogtreecommitdiff
path: root/methods
AgeCommit message (Collapse)Author
2011-01-12* methods/https.cc:David Kalnischkies
- fix CURLOPT_SSL_VERIFYHOST by really passing 2 to it if enabled
2010-10-21* apt-pkg/contrib/fileutl.cc:David Kalnischkies
- Add a FileFd::FileSize() method to get the size of the underlying file and not the size of the content in the file as FileFd::Size() does - the sizes can differ since the direct gzip integration * methods/{gzip,bzip2}.cc: - use FileSize() to determine if the file is invalid (Closes: #600852)
2010-09-06* methods/{gzip,bzip2}.cc:David Kalnischkies
- empty files can never be valid archives (Closes: #595691)
2010-08-21* methods/http.cc:David Kalnischkies
- some http servers violate HTTP1.1 by not issuing a Reason-Phrase (or at least a space after the code) especially for 200, but lets be nice and ignore it as we don't need the reason in general
2010-08-19* apt-pkg/init.cc:David Kalnischkies
- set the default values for dir::etc::trusted options correctly
2010-08-16* methods/bzip2.cc:David Kalnischkies
- fix error checking for read in case of failing bzip2/lzma/whatever Spotted by -Wextra: bzip2.cc: In member function ‘virtual bool Bzip2Method::Fetch(pkgAcqMethod::FetchItem*)’: bzip2.cc:108:19: warning: comparison of unsigned expression < 0 is always false bzip2.cc:111:19: warning: comparison of unsigned expression < 0 is always false
2010-08-10apt-pkg, methods: Convert users of WriteEmpty to WriteAtomic.Julian Andres Klode
2010-07-11* methods/bzip2.cc:David Kalnischkies
- add a copycat of the old gzip.cc as we need it for bzip2 and lzma
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-06methods/gzip.cc: With FileFd now being able to read gzipped files, theremartin@piware.de
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-06-24methods/ftp.h: Handle different logins are on the same server (Closes: #586904).Julian Andres Klode
2010-06-09enhance the split out of the gpgv commandline mangling by splitting outDavid Kalnischkies
the call completely
2010-06-09* apt-pkg/indexcopy.cc:David Kalnischkies
- move the gpg codecopy to a new method and use it also in methods/gpgv.cc
2010-06-09fix compiler warning in the new mirror codeDavid Kalnischkies
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-09move the users away from the deprecated StrToTime() methodDavid Kalnischkies
2010-06-02methods/mirror.cc: debug improvementsMichael Vogt
2010-06-02implement Fail-Ignore bool in FetchItem that tells the method that a failure ↵Michael Vogt
of this item is ok and does not need to be tried on all mirrors
2010-06-02methods/mirror.cc: simplify uri.startswith()Michael Vogt
2010-06-02methods/mirrors.cc: make cycle through the mirrors work properlyMichael Vogt
2010-06-02methods/mirror.cc: remove Acquire::Mirror::RefreshInterval (not really useful)Michael Vogt
2010-06-02improve error message if mirror method failsMichael Vogt
2010-06-02methods/mirror.cc: on fail try the next mirrorMichael Vogt
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-25methods/http.cc: shorten comment on return values of DealWithHeaders ↵Michael Vogt
(because we use a enum now)
2010-05-25* methods/http.{cc,h}:Michael Vogt
- code cleanup, use enums instead of magic ints
2010-05-12* methods/gpgv.cc:David Kalnischkies
- remove the keyrings count limit by using vector magic
2010-05-07* methods/http.cc: Michael Vogt
- code cleanup, add (some) doxygen strings
2010-05-04* methods/rred.cc:David Kalnischkies
- use the patchfile modification time instead of the one from the "old" file - thanks to Philipp Weis for noticing! (Closes: #571541)
2010-04-14merged from lp:~mvo/apt/mvoMichael Vogt
2010-04-14Remember hosts with general failures forMichael Vogt
https://wiki.ubuntu.com/NetworklessInstallationFixes (LP: #556831).
2010-02-17merged from the mvo branchMichael Vogt
2010-02-17merged from debian-sidMichael Vogt
2010-02-05add Acquire::http::ProxyAutoDetect configuration that Michael Vogt
can be used to call a external helper to figure out the proxy configuration and return it to apt via stdout
2010-02-03merged from lp:~mvo/apt/mvoMichael Vogt
2010-02-03* methods/http.cc:Michael Vogt
- add cache-control headers even if no cache is given to allow adding options for intercepting proxies
2010-01-27merge 1695..1701 from the lp:~mvo/apt/mvo branchMichael Vogt
2010-01-26merged from the lp:~mvo/apt/libudev-dlopen branchMichael Vogt
2010-01-26add Dir::Media::MountPath config optionMichael Vogt
2010-01-26* cmdline/apt-cdrom.cc:Michael Vogt
- fixed signed/unsigned warning - create /media mount point if needed - fix initialization for res in DoAdd() * methods/cdrom.cc: - make AptMountPoint a variable
2010-01-26merged from the lp:~mvo/apt/mvo branchMichael Vogt
2010-01-26methods/cdrom.cc: fix compilication errorMichael Vogt
2010-01-26* cmdline/apt-get.cc:Michael Vogt
- fix apt-get source pkg=version regression (closes: #561971) * apt-pkg/contrib/cdromutl.cc: - fix UnmountCdrom() fails, give it a bit more time and try the umount again * methods/cdrom.cc: - fixes in multi cdrom setup code - add new "Acquire::cdrom::AutoDetect" variable that enables/disables the dlopen of libudev for automatic cdrom detection
2010-01-26add new "Acquire::cdrom::AutoDetect" config that enables/disablesMichael Vogt
the dlopen of libudev for automatic cdrom detection. Off by default currently, feedback/testing welcome
2010-01-26add new "Acquire::cdrom::AutoDetect" variable that enables/disablesMichael Vogt
the dlopen of libudev for automatic cdrom detection
2010-01-25methods/cdrom.cc: fix compile errorMichael Vogt
2010-01-22* methods/cdrom.cc:Michael Vogt
- fixes in multi cdrom setup code
2010-01-22* methods/cdrom.cc:Michael Vogt
- fixes in multi cdrom setup code