summaryrefslogtreecommitdiff
path: root/apt-pkg/makefile
Commit message (Collapse)AuthorAgeFilesLines
* use wildcard to get files in our library makefilesDavid Kalnischkies2014-04-111-45/+3
| | | | | | | | The explicit listing is a pain every time you want to add a file to the list and serves no propose as we list all files there anyway, so this is not only easier but also documents this fact. Git-Dch: Ignore
* use liblzma-dev to provide xz/lzma supportDavid Kalnischkies2014-03-131-0/+3
| | | | | | | | | | | | We have xz/lzma support for a while, but only via an external binary provided by xz-utils. Now that the Debian archive provides xz by default and dpkg pre-depends on the library provided by liblzma-dev we can switch now to use this library as well to avoid requiring an external binary. For now the binary is in a prio:required package, but this might change in the future. API wise it is quiet similar to bz2 code expect that it doesn't provide file I/O methods, so we piece this together on our own.
* Merge remote-tracking branch 'upstream/debian/sid' into ↵Michael Vogt2013-10-221-2/+3
|\ | | | | | | | | | | | | | | feature/install-progress-refactor Conflicts: apt-pkg/deb/dpkgpm.cc apt-pkg/makefile
| * Move ListUpdate/AquireUpdate into update.{cc,h}Michael Vogt2013-10-051-2/+2
| | | | | | | | | | This moves the ListUpdate/AquireUpdate out of the "catch-all" algorithm.{cc,h} file into its own update.{cc,h}
| * * move upgrade releated code into upgrade.{cc,h}Michael Vogt2013-10-051-2/+3
| | | | | | | | | | | | The upgrade releated code is moved into upgrade.{cc,h} and all pkg*Upgrade* prototypes are included in algorihms.h to avoid breaking API (unless build with APT_9_CLEANER_HEADERS).
* | move install-progress.{cc,h} to apt-pkgMichael Vogt2013-10-221-2/+3
| |
* | move iprogress.{cc,h} to private-progress.{cc,h} until its fully stableMichael Vogt2013-10-211-2/+2
| |
* | first iteration of install progress refactorMichael Vogt2013-10-111-2/+2
|/
* * apt-pkg/indexcopy.cc:David Kalnischkies2013-03-151-8/+6
| | | - rename RunGPGV to ExecGPGV and move it to apt-pkg/contrib/gpgv.cc
* - add libbz2-dev as new build-dependencyDavid Kalnischkies2012-04-051-1/+7
| | | | | | | | - remove the libz-dev alternative from zlib1g-dev build-dependency - do the same for bz2 builtin if available * apt-pkg/contrib/fileutl.cc: - use libz2 library for (de)compression instead of the bzip2 binary as the first is a dependency of dpkg and the later just priority:optional so we gain 'easier' access to bz2-compressed Translation files this way
* * apt-pkg/makefile:Michael Vogt2011-07-291-1/+1
| | | - install sha256.h compat header
* move implementation of checksums around by abstracting even moreDavid Kalnischkies2011-07-131-1/+1
|
* merge lp:~mvo/apt/sha512-template to add support for sha512Michael Vogt2011-06-081-2/+6
|\
| * template based hashsum implementationMichael Vogt2011-02-251-1/+1
| |
| * move sha512,256 into apt-pkg/sha2.{cc,h}, move gifford implementation to ↵Michael Vogt2011-02-251-4/+4
| | | | | | | | sha2_internal.{cc,h}
| * add sha512 interface based on sha2 by aaron giffordMichael Vogt2011-02-221-2/+6
| |
* | rename edspwriter to straight edsp in toplevel as it does more thanDavid Kalnischkies2011-03-311-5/+4
| | | | | | | | | | | | just writing stuff… it also reads and can work for both: - APT talking to an external solver - an external solver (understanding EDSP) talking to APT
* | add a first round of stuff needed for talking between APT and solversDavid Kalnischkies2011-03-301-1/+6
|/ | | | | | based on a very early draft for EDSP by Stefano APT can now write a scenario as well as load most stuff from it.
* * apt-pkg/cacheset.cc:David Kalnischkies2010-07-171-2/+2
| | | - move them back to the library as they look stable now
* factor regex package name matches into newly created cachefilter classesDavid Kalnischkies2010-07-171-2/+3
|
* [ Martin Pitt ]David Kalnischkies2010-07-111-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
| * * apt-pkg/contrib/fileutl.{h,cc}:martin@piware.de2010-06-091-1/+1
| | | | | | | | - Add support for transparent reading of gzipped files. - Link against zlib (in apt-pkg/makefile) and add zlib build dependency.
* | * cmdline/cacheset.cc:David Kalnischkies2010-06-151-3/+2
| | | | | | - doesn't include it in the library for now as it is too volatile
* | rename packageset into cacheset while it is not too lateDavid Kalnischkies2010-05-311-2/+2
| |
* | move regex magic from apt-get to new FromRegEx methodDavid Kalnischkies2010-05-301-1/+1
| |
* | * apt-pkg/packageset.h:David Kalnischkies2010-05-301-1/+2
| | | | | | - add a simple wrapper around std::set for packages with it
* | * apt-pkg/contrib/weakptr.h:Julian Andres Klode2010-05-041-1/+1
|/ | | | | | - add a class WeakPointable which allows one to register weak pointers to an object which will be set to NULL when the object is deallocated. * [ABI break] apt-pkg/acquire{-worker,-item,}.h: - subclass pkgAcquire::{Worker,Item,ItemDesc} from WeakPointable.
* merge r1966..1967 from lp:~donkult/apt/sidMichael Vogt2010-01-311-4/+2
|
* merged -r1887..1901 from lp:~donkult/apt/sidMichael Vogt2009-12-101-6/+5
|\
| * refactor the buildsystem to extract library versions from one file,David Kalnischkies2009-10-281-5/+5
| | | | | | | | | | | | so it is not needed to change x-files to just increase a version number (because this is far to easy to forget one of the files, which will not result in failures or is bad in general, but is inconsitent.)
| * Bumped libapt version and excluded eglibc from SONAME. (Closes: #448249)David Kalnischkies2009-10-241-3/+2
| | | | | | | | | | Backported from lp:~mvo/apt/debian-experimental Based on patch by Eugene V. Lyubimkin
* | * merge lp:~mvo/apt/netrc branch, this adds support for aMichael Vogt2009-12-101-3/+3
|\ \ | |/ |/| | | | | | | | | /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
| * port netrc support from maemonMichael Vogt2009-10-161-3/+3
| |
* | releasing version 0.7.23Michael Vogt2009-08-271-1/+1
| |
* | "backport" the APT::Configuration class to apt-sidDavid Kalnischkies2009-08-251-2/+3
|/ | | | | | We can use it to simplify the internal code to operate with Acquire::CompressionTypes group. This also made it possible to set this setting with the -o flag.
* [ABI] merged the libudev-dlopen branch, this allows to passMichael Vogt2009-07-231-1/+1
|\ | | | | | | "apt-udev-auto" to Acquire::Cdrom::mount and the cdrom method will dynamically find/mount the cdrom device (if libhal is available)
| * move libudev based code into libapt cdrom.cc classMichael Vogt2009-07-091-1/+1
| |
| * [ABI break] merge support for http redirects, thanks toMichael Vogt2009-01-301-1/+1
| | | | | | Jeff Licquia and Anthony Towns
* | [ABI break] support '#' in apt.conf and /etc/apt/preferencesMichael Vogt2009-06-091-1/+1
| | | | | | (closes: #189866)
* | * apt-pkg/contrib/strutl.cc:Michael Vogt2009-04-091-1/+1
|/ | | | | | | | | | | | | | | | | | | - fix TimeToStr i18n (LP: #289807) * [ABI break] merge support for http redirects, thanks to Jeff Licquia and Anthony Towns * [ABI break] use int for the package IDs (thanks to Steve Cotton) * apt-pkg/pkgcache.cc: - do not run "dpkg --configure pkg" if pkg is in trigger-awaited state (LP: #322955) * methods/https.cc: - add Acquire::https::AllowRedirect support * Clarify the --help for 'purge' (LP: #243948) * cmdline/apt-get.cc - fix "apt-get source pkg" if there is a binary package and a source package of the same name but from different packages (LP: #330103) * cmdline/acqprogress.cc: - Call pkgAcquireStatus::Pulse even if quiet, so that we still get dlstatus messages on the status-fd (LP: #290234).
* Changed ABIOtavio Salvador2007-10-251-1/+1
|
* * apt-pkg/deb/dpkgpm.{cc,h}:Michael Vogt2007-08-031-2/+2
|\ | | | | | | | | - merged dpkg-log branch, this lets you specify a Dir::Log::Terminal file to log dpkg output to ABI break
| * * first (raw and ineffient) implementationMichael Vogt2007-07-031-1/+1
|/
* * merged with the apt--mvo branchMichael Vogt2007-05-021-1/+1
|\
| * * [ABI] apt-pkg/acquire.{cc,h}:Michael Vogt2007-04-171-1/+1
| | | | | | | | - deal better with duplicated sources.list entries (avoid double queuing of URLs) - this fixes hangs in bzip/gzip
* | * merged the no-pragma branchMichael Vogt2006-12-141-1/+1
|\|
* | * merged the install-recommends branchMichael Vogt2006-08-151-1/+1
|\|
* | * merged the auto-remove branchMichael Vogt2006-06-261-1/+1
|\ \
| * | * apt-pkg/init.h:Michael Vogt2006-06-261-1/+1
| | | | | | | | | | | | - increased lib-version to 3.13
| * | * updated to apt--mvoMichael Vogt2005-12-081-1/+1
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * bubulle@debian.org--2005/apt--main--0--patch-132 Completed Simplified Chinese translation * bubulle@debian.org--2005/apt--main--0--patch-133 Merge with Michael AND update PO files * michael.vogt@ubuntu.com--2005/apt--mvo--0--patch-94 * pkgDirStream has (slightly) better extract support now * michael.vogt@ubuntu.com--2005/apt--mvo--0--patch-95 * merge fix for #339533 * michael.vogt@ubuntu.com--2005/apt--mvo--0--patch-96 * merged with bubulle * michael.vogt@ubuntu.com--2005/apt--mvo--0--patch-97 * some more debug output * michael.vogt@ubuntu.com--2005/apt--mvo--0--patch-98 * ABI change: merged more flexible pkgAcquireFile code * michael.vogt@ubuntu.com--2005/apt--mvo--0--patch-99 * merged http download limit for apt (#146877) * michael.vogt@ubuntu.com--2005/apt--mvo--0--patch-100 * applied parts of the string speedup patch from debian #319377 (ABI change) * michael.vogt@ubuntu.com--2005/apt--mvo--0--patch-101 * fix for #340448 * michael.vogt@ubuntu.com--2005/apt--mvo--0--patch-102 * finalized this release * michael.vogt@ubuntu.com--2005/apt--mvo--0--patch-103 * changelog updates * michael.vogt@ubuntu.com--2005/apt--mvo--0--patch-104 * build-depend on libdb4.3 now, fix for kFreeBSD (#317718) * michael.vogt@ubuntu.com--2005/apt--mvo--0--patch-105 * fix mailaddress * michael.vogt@ubuntu.com--2005/apt--mvo--0--patch-106 * fix a string (thanks to bubulle) * michael.vogt@ubuntu.com--2005/apt--mvo--0--patch-107 * merged with bubulle