summaryrefslogtreecommitdiff
path: root/debian
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'debian/sid' into debian/experimentalMichael Vogt2015-05-221-0/+10
|\ | | | | | | | | | | | | | | | | Conflicts: apt-pkg/pkgcache.h debian/changelog methods/https.cc methods/server.cc test/integration/test-apt-download-progress
| * releasing package apt version 1.0.9.9Michael Vogt2015-04-281-0/+10
| |
* | sync TFRewrite*Order arrays with dpkg and dakDavid Kalnischkies2015-05-111-0/+1
| | | | | | | | | | | | | | | | | | | | dpkg and dak know various field names and order them in their output, while we have yet another order and have to play catch up with them as we are sitting between chairs here and neither order is ideal for us, too. A little testcase is from now on supposed to help ensureing that we do not derivate to far away from which fields dpkg knows and orders.
* | Merge branch 'debian/jessie' into debian/experimentalDavid Kalnischkies2015-04-191-0/+19
|\| | | | | | | | | | | | | | | | | Conflicts: apt-pkg/acquire-item.cc cmdline/apt-key.in methods/https.cc test/integration/test-apt-key test/integration/test-multiarch-foreign
| * release 1.0.9.8David Kalnischkies2015-04-131-0/+19
| |
* | merge debian/sid into debian/experimentalDavid Kalnischkies2015-03-163-1/+105
|\|
| * releasing package apt version 1.0.9.7Michael Vogt2015-02-231-0/+7
| |
| * prepare 1.0.9.6Michael Vogt2015-01-161-0/+12
| |
| * release 1.0.9.51.0.9.5David Kalnischkies2014-12-231-0/+26
| |
| * tighten filtering of kernel images in apt.auto-removalJames McCoy2014-12-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current filtering matches the names of the image metapackages on the i386 architecture: $ dpkg-query -l | awk '/^ii[ ]+(linux|kfreebsd|gnumach)-image-[0-9]/ && $2 !~ /-dbg$/ { print $2 }' linux-image-3.16.0-4-586 linux-image-586 This results in an extra image package being removed from APT::NeverAutoRemove, losing the intended effect of keeping the {current, previous, latest} set of images installed. Requiring a “.” in the package name tightens the matched package names to those that are installing a specific version of the image, thus eliding the meta-packages. Closes: 772732
| * release 1.0.9.41.0.9.4David Kalnischkies2014-12-031-0/+41
| |
| * use 'best' hash for source authenticationDavid Kalnischkies2014-11-101-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Collect all hashes we can get from the source record and put them into a HashStringList so that 'apt-get source' can use it instead of using always the MD5sum. We therefore also deprecate the MD5 struct member in favor of the list. While at it, the parsing of the Files is enhanced so that records which miss "Files" (aka MD5 checksums) are still searched for other checksums as they include just as much data, just not with a nice and catchy name. This is a cherry-pick of 1262d35 with some dirty tricks to preserve ABI. LP: 1098738
| * add a simple container for HashStringsDavid Kalnischkies2014-11-101-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | APT supports more than just one HashString and even allows to enforce the usage of a specific hash. This class is intended to help with storage and passing around of the HashStrings. The cherry-pick here the un-const-ification of HashType() compared to f4c3850ea335545e297504941dc8c7a8f1c83358. The point of this commit is adding infrastructure for the next one. All by itself, it just adds new symbols. Git-Dch: Ignore
* | streamline display of --help in all toolsDavid Kalnischkies2014-11-091-0/+1
| | | | | | | | | | | | | | By convention, if I run a tool with --help or --version I expect it to exit successfully with the usage, while if I do call it wrong (like without any parameters) I expect the usage message shown with a non-zero exit.
* | restore ABI of pkgTagSectionDavid Kalnischkies2014-11-081-0/+1
| | | | | | | | | | | | | | | | We have a d-pointer available here, so go ahead and use it which also helps in hidding some dirty details here. The "hard" part is keeping the abi for the inlined methods so that they don't break – at least not more than before as much of the point beside a speedup is support for more than 256 fields in a single section.
* | explicit overload methods instead of adding parametersDavid Kalnischkies2014-11-081-2/+4
| | | | | | | | | | | | | | | | Adding a new parameter (with a default) is an ABI break, but you can overload a method, which is "just" an API break for everyone doing references to this method (aka: nobody). Git-Dch: Ignore
* | mark internal interfaces as hiddenDavid Kalnischkies2014-11-081-419/+0
| | | | | | | | | | | | | | We have a bunch of classes which are of no use for the outside world, but were still exported and so needed to preserve ABI/API. Marking them as hidden to not export them any longer is a big API break in theory, but in practice nobody is using them – as if they would its a bug.
* | better non-virtual metaIndex.LocalFileName() implementationDavid Kalnischkies2014-11-081-0/+1
| | | | | | | | | | | | | | | | We can't add a new virtual method without breaking the ABI, but we can freely add new methods, so for older ABIs we just implement this method with a dynamic_cast, so that clients can be more ignorant about the API here and especially don't need to pull a very dirty trick by assuming internal knowledge (like apt-get did here).
* | releasing package apt version 1.1~exp8Michael Vogt2014-11-061-0/+21
| |
* | Update symbols fileMichael Vogt2014-11-061-10/+1
| | | | | | | | Git-Dch: ignore
* | Bump ABI to 4.15Michael Vogt2014-11-053-1/+1
| |
* | Merge branch 'debian/sid' into debian/experimentalMichael Vogt2014-11-051-0/+16
|\| | | | | | | | | Conflicts: debian/changelog
| * releasing package apt version 1.0.9.3Michael Vogt2014-10-151-0/+16
| |
* | Ensure /etc/apt/auth.conf has _apt:root ownerMichael Vogt2014-10-211-5/+0
| | | | | | | | | | Ensure in SetupAPTPartialDirectory() that the /etc/apt/auth.conf file can be read by the priv sep apt methods.
* | debian/apt.postinst: chown _apt:root /etc/apt/auth.confMichael Vogt2014-10-211-0/+5
| | | | | | | | | | If the methods drop privileges we need to ensure that /etc/apt/apt.conf is still readable by the _apt user.
* | releasing package apt version 1.1~exp7Michael Vogt2014-10-151-0/+8
| |
* | releasing package apt version 1.1~exp6Michael Vogt2014-10-151-0/+18
| |
* | Merge branch 'debian/sid' into debian/experimentalMichael Vogt2014-10-141-1/+1
|\|
| * add CVE-2014-7206 to 1.0.9.2Michael Vogt2014-10-081-1/+1
| |
* | releasing package apt version 1.1~exp5Michael Vogt2014-10-131-0/+20
| |
* | update symbols fileDavid Kalnischkies2014-10-131-36/+61
| | | | | | | | Git-Dch: Ignore
* | releasing package apt version 1.1~exp4Michael Vogt2014-10-081-1/+1
| |
* | prepare 1.1~exp4Michael Vogt2014-10-081-0/+80
| |
* | Merge branch 'debian/sid' into debian/experimentalMichael Vogt2014-10-081-0/+28
|\| | | | | | | | | Conflicts: debian/changelog
| * releasing package apt version 1.0.9.2Michael Vogt2014-10-021-0/+28
| |
| * debian/rules: add hardening=+allMichael Vogt2014-10-011-3/+6
| | | | | | | | | | | | | | Because of dpkg-buildflags we already get most of the hardening features, +all adds -fPIE and ld -z now Thanks: Simon Ruderich, Markus Waldeck
* | Merge remote-tracking branch 'upstream/debian/experimental' into ↵Michael Vogt2014-10-075-117/+316
|\ \ | | | | | | | | | | | | | | | | | | feature/acq-trans Conflicts: apt-pkg/acquire-item.cc
| * | Bump library version to libapt-pkg4.14Michael Vogt2014-10-033-2/+2
| | |
| * | ensure world-readability for trusted.gpg in postinstDavid Kalnischkies2014-10-021-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | apt-key creates trusted.gpg if it needs it with 644 nowadays, but before it ensured this, it was gpg creating it, which gives it by default 600. Not a problem as long as our gpgv is run as root, but now that we drop privileges we have to ensure that we can also read trusted.gpg files created by earlier apt-key versions. Closes: 647001
| * | debian/rules: add hardening=+allMichael Vogt2014-10-011-3/+6
| | | | | | | | | | | | | | | | | | | | | Because of dpkg-buildflags we already get most of the hardening features, +all adds -fPIE and ld -z now Thanks: Simon Ruderich, Markus Waldeck
| * | Merge remote-tracking branch 'donkult/debian/experimental' into ↵Michael Vogt2014-09-301-110/+302
| |\ \ | | | | | | | | | | | | debian/experimental
| | * | support parsing of all hashes for pdiffDavid Kalnischkies2014-09-301-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The fileformat of a pdiff index stores currently only SHA1 hashes. With this change, we look for all other hashes we support as well and take what we get, so that we can work after the release of jessie to get right of SHA1 if we want to. Note that the completely patched file is and was checked against the hashes collected from the Release file, so this transition isn't mission critical.
| | * | mark private methods as hiddenDavid Kalnischkies2014-09-301-28/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We are the only possible users of private methods, so we are also the only users who can potentially export them via using them in inline methods. The point is: We don't need these symbols exported if we don't do this, so marking them as hidden removes some methods from the API without breaking anything as nobody could have used them. Git-Dch: Ignore
| | * | fix Configuration::FindVector APIDavid Kalnischkies2014-09-291-1/+0
| | | | | | | | | | | | | | | | Git-Dch: Ignore
| | * | update symbols fileDavid Kalnischkies2014-09-291-81/+298
| | | |
| * | | adjust version numbers for the planed uploadMichael Vogt2014-09-302-2/+2
| |/ /
* / / use _apt:root only for partial directoriesDavid Kalnischkies2014-10-071-6/+9
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using a different user for calling methods is intended to protect us from methods running amok (via remotely exploited bugs) by limiting what can be done by them. By using root:root for the final directories and just have the files in partial writeable by the methods we enhance this in sofar as a method can't modify already verified data in its parent directory anymore. As a side effect, this also clears most of the problems you could have if the final directories are shared without user-sharing or if these directories disappear as they are now again root owned and only the partial directories contain _apt owned files (usually none if apt isn't running) and the directory itself is autocreated with the right permissions.
* | Add missing "adduser" dependency (for the new _apt user)Michael Vogt2014-09-291-1/+1
| | | | | | | | | | Closes: #763004 Thanks: Russ Allbery
* | add gnupg and gnupg2 as test-dependencyDavid Kalnischkies2014-09-271-2/+2
| | | | | | | | | | | | | | apt can work with both, so it has an or-dependency on them, but the tests want to play with both of them. Git-Dch: Ignore
* | remove empty keyrings in trusted.gpg.d on upgradeDavid Kalnischkies2014-09-271-0/+9
| | | | | | | | | | | | Adding and deleting many repositories could cause (empty) keyring files to pill up in older apt-key versions, which in the end might cause gnupg to run into its internal limit of at most 40 keyrings