summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib
Commit message (Collapse)AuthorAgeFilesLines
* * apt-pkg/contrib/fileutl.{h,cc}:martin@piware.de2010-06-092-9/+47
| | | | - Add support for transparent reading of gzipped files. - Link against zlib (in apt-pkg/makefile) and add zlib build dependency.
* merge from the lp:~donkult/apt/sid branchMichael Vogt2010-02-182-0/+19
|\
| * dd support for the LANGUAGE environment variableDavid Kalnischkies2010-02-182-0/+19
| |
* | * [BREAK] merged lp:~mvo/apt/historyMichael Vogt2010-02-182-0/+13
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | - this writes a /var/log/apt/history tagfile that contains details from the transaction (complements term.log) * methods/http.cc: - add cache-control headers even if no cache is given to allow adding options for intercepting proxies - add Acquire::http::ProxyAutoDetect configuration that can be used to call a external helper to figure out the proxy configuration and return it to apt via stdout (this is a step towards WPAD and zeroconf/avahi support) * abicheck/ - add new abitest tester using the ABI Compliance Checker from http://ispras.linuxfoundation.org/index.php/ABI_compliance_checker * Change the package index Info methods to allow apt-cache policy to be useful when using several different archives on the same host. (Closes: #329814, LP: #22354)
| * Change the package index Info methods to allow apt-cache policy to beMichael Vogt2010-02-182-0/+13
| | | | | | | | useful when using several different archives on the same host. (Closes: #329814, LP: #22354)
* | merge with debian-sidDavid Kalnischkies2010-02-131-21/+30
|\|
| * merge r1966..1967 from lp:~donkult/apt/sidMichael Vogt2010-01-314-9/+7
| |
| * * cmdline/acqprogress.cc:Michael Vogt2010-01-312-23/+16
| | | | | | | | | | | | | | | | | | - 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)
| * * apt-pkg/contrib/fileutl.cc:Michael Vogt2010-01-236-26/+146
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Fix the newly introduced method GetListOfFilesInDir to not accept every file if no extension is enforced (= restore old behaviour). (Closes: #565213) * apt-pkg/policy.cc: - accept also partfiles with "pref" file extension as valid * apt-pkg/contrib/configuration.cc: - accept also partfiles with "conf" file extension as valid * doc/apt.conf.5.xml: - reorder description and split out syntax - add partfile name convention (Closes: #558348) * doc/apt_preferences.conf.5.xml: - describe partfile name convention also here * apt-pkg/deb/dpkgpm.cc: - don't segfault if term.log file can't be opened. Thanks Sam Brightman for the patch! (Closes: #475770) * doc/*: - replace the per language addendum with a global addendum - add a explanation why translations include (maybe) english parts to the new global addendum (Closes: #561636) * apt-pkg/contrib/strutl.cc: - fix malloc asseration fail with ja_JP.eucJP locale in apt-cache search. Thanks Kusanagi Kouichi! (Closes: #548884)
| * * apt-pkg/contrib/cdromutl.cc:Michael Vogt2010-01-221-21/+30
| | | | | | | | - fix UnmountCdrom() fails, give it a bit more time and try the umount again
* | cleanup the error header a bit by moving the printf-macros outDavid Kalnischkies2010-01-302-23/+16
| | | | | | | | and remove the using std::string
* | * apt-pkg/contrib/macros.h:David Kalnischkies2010-01-305-10/+8
| | | | | | | | | | - move the header system.h with a new name to the public domain, to be able to use it in other headers (Closes: #567662)
* | mark the Error methods as __coldDavid Kalnischkies2010-01-221-4/+6
| |
* | add a few gcc helpers, including [un]likely() and __deprecatedDavid Kalnischkies2010-01-221-0/+22
| |
* | * apt-pkg/contrib/strutl.cc:David Kalnischkies2010-01-201-16/+33
| | | | | | | | | | - fix malloc asseration fail with ja_JP.eucJP locale in apt-cache search. Thanks Kusanagi Kouichi! (Closes: #548884)
* | Fix the newly introduced method GetListOfFilesInDir to not accept everyDavid Kalnischkies2010-01-163-6/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | file if no extension is enforced (= restore old behaviour). (Closes: #565213) This commit includes also: * apt-pkg/policy.cc: - accept also partfiles with "pref" file extension as valid * apt-pkg/contrib/configuration.cc: - accept also partfiles with "conf" file extension as valid * doc/apt.conf.5.xml: - reorder description and split out syntax - add partfile name convention (Closes: #558348) * doc/apt_preferences.conf.5.xml: - describe partfile name convention also here And a lovely test application of course.
* | merge with lp:~mvo/apt/debian-sid to get 0.7.25.1 and my changes backDavid Kalnischkies2010-01-133-34/+37
|\|
| * fix merge errorMichael Vogt2010-01-081-0/+2
| |
| * * French manpage translation updateMichael Vogt2010-01-083-39/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * spot & fix various typos in all manpages * German manpage translation update * cmdline/apt-cache.cc: - remove translatable marker from the "%4i %s\n" string * buildlib/po4a_manpage.mak: - instruct debiandoc to build files with utf-8 encoding * buildlib/tools.m4: - fix some warning from the buildtools * apt-pkg/acquire-item.cc: - add configuration PDiffs::Limit-options to not download too many or too big patches (Closes: #554349) * debian/control: - let all packages depend on ${misc:Depends} * share/*-archive.gpg: - remove the horrible outdated files. We already depend on the keyring so we don't need to ship our own version * cmdline/apt-key: - errors out if wget is not installed (Closes: #545754) - add --keyring option as we have now possibly many * methods/gpgv.cc: - pass all keyrings (TrustedParts) to gpgv instead of using only one trusted.gpg keyring (Closes: #304846) * methods/https.cc: - finally merge the rest of the patchset from Arnaud Ebalard with the CRL and Issuers options, thanks! (Closes: #485963)
* | Add a GetListOfFilesInDir() helper method which replaces the oldDavid Kalnischkies2010-01-033-37/+52
| | | | | | | | code copies used to load the various parts-files
* | merge with lp:~mvo/apt/debian-sid : move all my ABI break changesDavid Kalnischkies2009-12-102-0/+240
|\| | | | | | | to the "new" 0.7.26 version
| * merged -r1887..1901 from lp:~donkult/apt/sidMichael Vogt2009-12-101-6/+6
| |\
| * \ * merge lp:~mvo/apt/netrc branch, this adds support for aMichael Vogt2009-12-102-0/+240
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | /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. * apt-pkg/deb/dpkgpm.cc: - add "purge" to list of known actions
| | * | if "/" is found in the machine, do a uri.startswith(host) substring match to ↵Michael Vogt2009-12-071-4/+8
| | | | | | | | | | | | | | | | support multiple user/passwds on the same host
| | * | * apt-pkg/contrib/netrc.cc:Michael Vogt2009-12-041-7/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - check for hostname and then host+path - better debug output * methods/https.cc: - fix bug in netrc integration
| | * | add ftp support, basic debuggingMichael Vogt2009-10-161-1/+4
| | | |
| | * | port netrc support from maemonMichael Vogt2009-10-162-0/+213
| | | |
* | | | another round of method hardening with const& in ConfigurationDavid Kalnischkies2009-11-252-30/+31
| | | |
* | | | merge my rred-rewrite branch & add it's changes to the changelogDavid Kalnischkies2009-11-252-45/+92
|\ \ \ \ | |_|_|/ |/| | |
| * | | extent the mmap to be able to handle currently not implementedDavid Kalnischkies2009-11-092-45/+92
| |/ / | | | | | | | | | (but planed) growable mmaps
* / / Avoid extra inner copy in APT_MKSTRCMP and APT_MKSTRCMP2David Kalnischkies2009-10-241-6/+6
|/ / | | | | | | | | Backported from lp:~mvo/apt/debian-experimental Patch by Eugene V. Lyubimkin
* | replace unknown multibytes with ? in UTF8ToCharset (Closes: #545208)David Kalnischkies2009-09-081-2/+13
| | | | | | | | instead of ignoring the returncode and truncating the string on error
* | reintroduce #clear and #include in the config files,David Kalnischkies2009-09-071-3/+5
| | | | | | | | they there broken since 0.7.21 with the introduction of #-comments
* | add a helper to easily get a vector of strings from the configurationDavid Kalnischkies2009-09-042-0/+22
| |
* | merge with apt-sidDavid Kalnischkies2009-08-081-1/+1
|\| | | | | | | * backout my fix for the sources.list issue, there is already one in
| * * apt-pkg/contrib/mmap.cc:Julian Andres Klode2009-08-021-1/+1
| | | | | | | | - Fix FTBFS on GNU/kFreeBSD by disabling DynamicMMap::Grow() on non-Linux architectures (as it uses mremap).
* | [apt-pkg/contrib/fileutl.cc] In function ExecWait(): fix compile warning:David Kalnischkies2009-08-031-0/+2
| | | | | | | | warning: suggest explicit braces to avoid ambiguous ‘else’
* | [apt-pkg/contrib/strutl.cc] enable thousand separator according toDavid Kalnischkies2009-07-311-2/+2
|/ | | | the current locale. Patch from Luca Bruno (Closes: #223712)
* merged from donkultMichael Vogt2009-07-271-1/+1
|\
| * merge with lp:apt/debian-sidDavid Kalnischkies2009-07-261-1/+1
| | | | | | | | | | Remove a bug (= an evil amok running if) introduced by the merge in 1817 which cause a segfault in the destructor for the dynamic mmap.
* | Apply patch from Sami Liedes <sliedes@cc.hut.fi> to avoid unecessaryOtavio Salvador2009-07-251-0/+1
|/ | | temporary allocations.
* merge from the donkult branchMichael Vogt2009-07-241-4/+11
|\
| * [apt-pkg] yet another bit of mmap and pkgcachegen housekeepingDavid Kalnischkies2009-07-231-6/+14
| | | | | | | | | | | | | | | | | | * add mmap error message also to the dynamic mmap * remove some more {Ver,Desc} == 0 checks in for loops * try to respect the given flags to the dynamic mmap * open cached caches not as ReadOnly and not as Shared, so we always have a copy of the cache in the memory we can modify (e.g. set the hold state on-the-fly)
* | [ABI] merged the libudev-dlopen branch, this allows to passMichael Vogt2009-07-232-4/+12
|\ \ | | | | | | | | | "apt-udev-auto" to Acquire::Cdrom::mount and the cdrom method will dynamically find/mount the cdrom device (if libhal is available)
| * | * methods/cdrom.cc:Michael Vogt2009-07-222-4/+12
| | | | | | | | | | | | | | | | | | | | | - add Acquire::Cdrom::mount "apt-udev-auto" magic to allow dynamically finding the cdrom device * apt-pkg/contrib/cdromutl.{h,cc}: - support additional (optional) DeviceName parameter for MountCdrom()
* | | The 'not dead yet' releaseMichael Vogt2009-07-215-66/+105
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | * add hook for MarkInstall and MarkDelete (closes: #470035) * add the various foldmarkers in apt-pkg & cmdline (no code change) * versions with a pin of -1 shouldn't be a candidate (Closes: #355237) * prefer mmap as memory allocator in MMap instead of a static char array which can (at least in theory) grow dynamic * eliminate (hopefully all) segfaults in pkgcachegen.cc and mmap.cc which can arise if cache doesn't fit into the mmap (Closes: #535218) * display warnings instead of errors if the parts dirs doesn't exist * honor the dpkg hold state in new Marker hooks (closes: #64141)
| * | eliminate (hopefully all) segfaults in pkgcachegen.cc and mmap.ccDavid Kalnischkies2009-07-211-45/+23
| | | | | | | | | | | | | | | | | | | | | which can arise if cache doesn't fit into the mmap (Closes: #535218) This removes also the previously introduced SegfaultSignalHandler: The handler works, but is ugly by design...
| * | [contrib/error.cc] place a colon between errno and error text in outputDavid Kalnischkies2009-07-151-6/+7
| | | | | | | | | | | | | | | of GlobalError::Errno and WarningE (as it described in the comments of these methods)
| * | add a segfault handler to MMap to show the Cache-Limit message, whichDavid Kalnischkies2009-07-081-0/+24
| | | | | | | | | | | | can be deactivated with MMap::SegfaultHandler=false (Closes: 535218)
| * | [contrib/mmap] implements a theoretical dynamic growing mmapDavid Kalnischkies2009-07-082-21/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | based on Michael Vogts patch in #195018 this commit implements the use of mmap (as preferred) instead of a static char array. In theory this made it possible to grow the mmap as needed, but as it is currently impossible to move the mmap around in the memory the grow is likely to fail but it improve the memory usage a bit, so it is not totally useless for now - and maybe we can adjust the pointers in the future...