summaryrefslogtreecommitdiff
path: root/apt-pkg
AgeCommit message (Collapse)Author
2010-01-30* apt-pkg/contrib/macros.h:David Kalnischkies
- move the header system.h with a new name to the public domain, to be able to use it in other headers (Closes: #567662)
2010-01-27merge 1695..1701 from the lp:~mvo/apt/mvo 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-26cmdline/apt-cdrom.cc: add --auto-detectMichael Vogt
2010-01-23* apt-pkg/contrib/fileutl.cc:Michael Vogt
- 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)
2010-01-22* apt-pkg/contrib/cdromutl.cc:Michael Vogt
- fix UnmountCdrom() fails, give it a bit more time and try the umount again
2010-01-22* apt-pkg/contrib/cdromutl.cc:Michael Vogt
- fix UnmountCdrom() fails, give it a bit more time and try the umount again
2010-01-22mark the Error methods as __coldDavid Kalnischkies
2010-01-22add a few gcc helpers, including [un]likely() and __deprecatedDavid Kalnischkies
2010-01-20* apt-pkg/contrib/strutl.cc:David Kalnischkies
- fix malloc asseration fail with ja_JP.eucJP locale in apt-cache search. Thanks Kusanagi Kouichi! (Closes: #548884)
2010-01-19* apt-pkg/deb/dpkgpm.cc:David Kalnischkies
- don't segfault if term.log file can't be opened. Thanks Sam Brightman for the patch! (Closes: #475770)
2010-01-16Fix the newly introduced method GetListOfFilesInDir to not accept everyDavid Kalnischkies
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.
2010-01-13merge with lp:~mvo/apt/debian-sid to get 0.7.25.1 and my changes backDavid Kalnischkies
2010-01-09* apt-pkg/deb/debindexfile.cc, apt-pkg/pkgcachegen.cc:Michael Vogt
- add debug option Debug::pkgCacheGen - merge fix for apt-get source pkg=version regression (closes: #561971)
2010-01-08fix merge errorMichael Vogt
2010-01-08* French manpage translation updateMichael Vogt
* 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)
2010-01-03Add a GetListOfFilesInDir() helper method which replaces the oldDavid Kalnischkies
code copies used to load the various parts-files
2010-01-02fix another mistake spotted by lintian:David Kalnischkies
I: apt: spelling-error-in-binary ./usr/lib/libapt-pkg-libc6.9-6.so.4.8.0 Alot A lot
2010-01-02Fix the following gcc-4.5 buildfailure in pkgcache.cc by following the ↵David Kalnischkies
suggestion: pkgcache.cc: In member function ‘const char* pkgCache::PkgIterator::CandVersion() const’: pkgcache.cc:301:51: error: cannot call constructor ‘pkgPolicy::pkgPolicy’ directly pkgcache.cc:301:51: note: for a function-style cast, remove the redundant ‘::pkgPolicy’
2010-01-02add configuration PDiffs::Limit-options (FileLimit and SizeLimit) toDavid Kalnischkies
not download too many or too big patches (Closes: #554349)
2009-12-27Split ListParser::NewDepends into two methods to use these new methodDavid Kalnischkies
for creating the dependencies needed for our groups: For now for all groups only one package can be installed at the same time which conflicts with each other packages in the group. The exceptions are architecture all package. Also, the Multi-Arch field is now parsed, but not used for now.
2009-12-23merge Goswin Brederlow "support download of index files for different archs"David Kalnischkies
patch which includes the following big changes: - Declare the unused [vendor] field in sources.list as option field, e.g. deb [arch=amd64,i386 lang=en_GB have=fun] http://example.org - When fetching index files download them for all APT::Architectures (overrideable with the options field above) - Allow all architectures of APT::Architectures to be in the Cache - Add the architecture to status and progress informations - Add b= (Binary architecture) to policy This commit doesn't incude the "pin-hack" as the Group structure will take care of this (and does it already to some extend).
2009-12-22merge with lp:~mvo/apt/sid to get the finale 0.7.25 stateDavid Kalnischkies
2009-12-19Implement the first step toward Multi-Arch by setting up a GroupDavid Kalnischkies
infrastructor for packages. APT is now aware of the fact that a package A in architecture X can't satisfy a dependency on package A in architecture Y - to handle these packages are now identified by name and architecture, so different architectures of the same package are handled internally as completly different packages. This is great for pinning, dependency checking and in many other situations, but sometimes we need to know which archs are available for a given package: Here Groups come to our rescue!
2009-12-19mark the Error/Warning method as __coldDavid Kalnischkies
2009-12-19add optional gcc features as deprecated, unused and (un)likelyDavid Kalnischkies
2009-12-18* merged lp:~mvo/apt/historyMichael Vogt
- this writes a /var/log/apt/history tagfile that contains details from the transaction (complements term.log)
2009-12-18apt-pkg/deb/dpkgpm.{cc,h}: refactor writing of the history tag, add ","Michael Vogt
2009-12-18apt-pkg/deb/dpkgpm.cc: fflush earlyMichael Vogt
2009-12-18fix order of upgrade, install check because for a upgrade "Install()" ↵Michael Vogt
returns True as well
2009-12-18add /var/log/apt/history.log fileMichael Vogt
2009-12-14merge segfault fix from Mario Sanchez Prada, many thanksMichael Vogt
(closes: #561109)
2009-12-14merged patches from david (many thanks)Michael Vogt
2009-12-12revert this commit as fast as possible (aka next ABI break)David Kalnischkies
This commit sets up our faked library extension to trick the build system into building the packages with libc6.9-6 while we are actually already at libc6.10-6. Oh dear...
2009-12-10* apt-pkg/init.h:Michael Vogt
- add compatibilty with old ABI name until the next ABI break
2009-12-10merge Michaels wonderful "fix" for the currently unwanted ABI BreakDavid Kalnischkies
2009-12-10* apt-pkg/init.h:Michael Vogt
- add compatibilty with old ABI name until the next ABI break
2009-12-10merge with lp:~mvo/apt/debian-sid : move all my ABI break changesDavid Kalnischkies
to the "new" 0.7.26 version
2009-12-10merged from the mvo branch (and contains all non-abi break changes from donkult)Michael Vogt
2009-12-10merged -r 1923..1926 from lp:~donkult/apt/sidMichael Vogt
2009-12-10merged -r1887..1901 from lp:~donkult/apt/sidMichael Vogt
2009-12-10merged -r1875..1886 from lp:~donkult/apt/sidMichael Vogt
2009-12-10* merge lp:~mvo/apt/netrc branch, this adds support for aMichael Vogt
/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
2009-12-09Refactor the cache iterators by using a common base classDavid Kalnischkies
This should not change the public interface, but it removes the friend connection between the iterators and pkgcache as it is unused.
2009-12-09* apt-pkg/deb/dpkgpm.cc:Michael Vogt
- add "purge" to list of known actions
2009-12-07merge lp:~mvo/apt/netrc branch, this adds support for aMichael Vogt
/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.
2009-12-07if "/" is found in the machine, do a uri.startswith(host) substring match to ↵Michael Vogt
support multiple user/passwds on the same host
2009-12-04* apt-pkg/contrib/netrc.cc:Michael Vogt
- check for hostname and then host+path - better debug output * methods/https.cc: - fix bug in netrc integration
2009-12-02* apt-pkg/packagemanager.cc:Michael Vogt
- add output about pre-depends configuring when debug::pkgPackageManager is used * methods/https.cc: - fix incorrect use of CURLOPT_TIMEOUT, closes: #497983, LP: #354972 thanks to Brian Thomason for the patch * apt-pkg/depcache.cc, apt-pkg/indexcopy.cc: - typo fix (LP: #462328) * cmdline/apt-key: - Emit a warning if removed keys keyring is missing and skip associated checks (LP: #218971)