summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2019-06-11Update symbols and hide some pkgTagSection ABIJulian Andres Klode2-24/+22
Gbp-Dch: ignore
2019-06-11Merge the ParseDepends functionsJulian Andres Klode3-68/+18
2019-06-11Allow comparing string to StringViewJulian Andres Klode1-0/+2
2019-06-11Make APT::StringView publicJulian Andres Klode14-242/+31
2019-06-11Merge tag '1.8.2'Julian Andres Klode9-71/+103
apt Debian release 1.8.2
2019-05-28Release 1.8.21.8.2Julian Andres Klode5-6/+28
2019-05-21Unlock dpkg locks in reverse locking orderJulian Andres Klode1-1/+1
We need to unlock in the reverse order of locking in order to get useful behavior. LP: #1829860
2019-05-21methods: https: handle requests for TLS re-handshakeMichael Zhivich1-28/+51
When accessing repository protected by TLS mutual auth, apt may receive a "re-handshake" request from the server, which must be handled in order for download to proceed. This situation arises when the server requests a client certificate based on the resource path provided in the GET request, after the inital handshake in UnwrapTLS() has already occurred, and a secure connection has been established. This issue has been observed with Artifactory-backed Debian repository. To address the issue, split TLS handshake code out into its own method in TlsFd, and call it when GNUTLS_E_REHANDSHAKE error is received. Signed-off-by: Michael Zhivich <mzhivich@akamai.com> (merged from Debian/apt#93) LP: #1829861
2019-05-21French manpages translation updateJean-Pierre Giraud1-34/+21
Closes: #929290
2019-05-21Portuguese manpages translation updateAmérico Monteiro1-895/+1333
Closes: #926614
2019-05-21Fix typo in German manpage translationTilmanK1-1/+1
Github-Fixes: #89 (cherry picked from commit 46ef1a3e8c8895c53ff1e4787dc96d4f6c5dba27)
2019-05-21Flip /: in documented default value of DPkg::PathAlwin Henseler1-1/+1
The value as shown in the NEWS file (not in the code) has a typo in which just a "/" and ":" are swapped. Closes: #917986 (cherry picked from commit 4c27ca80e2de06ab0fd058349f9813b60824cf04)
2019-05-10WIP: README.md: Minor editing to make it read easierJulian Andres Klode1-22/+22
Went as far as "A test case here is a shell script", this paragraph is _hard_.
2019-05-10More minor wording improvements in documentationJulian Andres Klode12-21/+21
2019-05-10apt-mark: Add hidden showheld alias for showholdJulian Andres Klode2-3/+3
For Unit193 and those who value grammar, I suppose.
2019-05-09README.md: Quote -j <count> as code with backticksJulian Andres Klode1-1/+1
The <count> did not appear in the html, render it as code instead so things work correctly. Fixes Debian/apt#91
2019-05-07debmetaindex: Use isspace_ascii() variant to normalize Signed-ByJulian Andres Klode1-1/+1
Using the locale-dependent isspace() function here opens us up to strange locale-dependent behavior.
2019-05-06CMake: Enforce "override" use on overriden methodsJulian Andres Klode3-2/+5
This ensures that we do not accidentally stop overriding a method because it's signature changed in an API break.
2019-05-06symbols: Remove invalid APTPKG@APTINST symbolJulian Andres Klode1-2/+0
2019-05-06Change soname to libapt-pkg.so.5.90Julian Andres Klode4-1485/+1485
This is a bit experimental, and we'll go through a few stages before reaching libapt-pkg.so.6.0.
2019-05-06prepare-release: Add bump-abi commandJulian Andres Klode1-0/+8
This changes the ABI in the packaging based on the one in the header.
2019-05-06cacheset: Remove simple cases of deprecated codeJulian Andres Klode3-185/+6
This is missing the ones that are still actively used in cacheset.cc, we need to clean those up too, but they are obviously more tricky.
2019-05-06Merge branch 'pu/merge-libraries'Julian Andres Klode30-1644/+71
2019-05-06Use debDebFile to get control file instead of dpkg-debJulian Andres Klode2-30/+19
2019-05-06Merge libapt-inst into libapt-pkgJulian Andres Klode24-153/+52
2019-05-06Get rid of pkgExtract and pkgFLCacheJulian Andres Klode4-1461/+0
These classes are not actually being used, they were part of the dpkg replacement that never happened.
2019-05-06Merge tag '1.8.1'Julian Andres Klode5-4/+13
apt Debian release 1.8.1
2019-05-06Add linux-{buildinfo,image-unsigned,source} versioned kernel pkgsJulian Andres Klode1-0/+5
LP: #1821640
2019-05-06Release 1.8.11.8.1Julian Andres Klode5-4/+13
2019-05-06Add linux-{buildinfo,image-unsigned,source} versioned kernel pkgsJulian Andres Klode1-0/+5
LP: #1821640 (cherry picked from commit 507124fd81066536c7c01a2039fcc6ee9f02a234)
2019-05-03Merge branch 'pu/systemd-inhibitor' into 'master'Julian Andres Klode9-0/+103
Prevent shutdown while running dpkg See merge request apt-team/apt!60
2019-05-03Prevent shutdown while running dpkgJulian Andres Klode9-0/+103
As long as we are running dpkg, keep an inhibitor that blocks us from shutting down. LP: #1820886
2019-05-03Prevent shutdown while running dpkgJulian Andres Klode9-0/+103
As long as we are running dpkg, keep an inhibitor that blocks us from shutting down. LP: #1820886
2019-04-30Merge branch 'pu/explicit-constructors' into 'master'Julian Andres Klode32-58/+60
Use explicit constructors See merge request apt-team/apt!61
2019-04-30apt-pkg: URI: Add 'explicit' to single argument constructorJulian Andres Klode12-21/+21
This needs a fair amount of changes elsewhere in the code, hence this is separate from the previous commits.
2019-04-30apt-pkg: hashes: Add 'explicit' to single argument constructorsJulian Andres Klode1-5/+5
This avoids funny code where strings get implicitly converted to HashString or HashStringList.
2019-04-30Add 'explicit' to most single argument constructorsJulian Andres Klode19-32/+34
This prevents implicit conversions that we do not want, such as having a FileFd* being converted to a debListParser. Two cases are not yet handled because they require changes in code using them: 1. The classes in hashes.h 2. The URI class - this one is used quite a lot
2019-04-30apt-helper: Support multiple hashes for a fileJulian Andres Klode1-6/+28
This just peels supported hashes of the command-line until we reach a non-hash. For legacy compatability support, the first hash may be an empty string.
2019-04-30acq: worker: Move CurrentSize, TotalSize, ResumePoint to CurrentItemJulian Andres Klode5-34/+32
These status fields belong to the current item, move them there. This prepares us for eventually having multiple current items.
2019-04-19Fix typo in German manpage translationTilmanK1-1/+1
Github-Fixes: #89
2019-04-16Don't limit cpu-limited queues to at most 10David Kalnischkies1-5/+7
Queues for processes like rred are not created by hostname but we spawn at most CPU*2 queues to place items in. The problem is that we then proceeded to limit it to at most 10 queues (via QueueHost::Limit) again at the end of the method so that all items (after the first 10 queues are busy) are forcibly placed into a generic catch-all instance which is bad because we don't keep all CPUs we have available busy and worse we end up sheduling the most work to a single one while random distribution was intended.
2019-04-16Follow gcc-9 -Wnoexcept suggestion for FileChunk constructorDavid Kalnischkies1-1/+1
warning: but ‘pkgTagFilePrivate::FileChunk::FileChunk(bool, size_t)’ does not throw; perhaps it should be declared ‘noexcept’ [-Wnoexcept] Reported-By: gcc-9 Gbp-Dch: Ignore
2019-04-16Fix new gcc-9 warning -Wpessimizing-moveDavid Kalnischkies1-1/+1
warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] Reported-By: gcc-9 Gbp-Dch: Ignore
2019-04-15Add test case for local-only packages pinned to neverJulian Andres Klode1-1/+14
Test from the fix for the regression in trusty for LP #1821308.
2019-04-08Portuguese manpages translation updateAmérico Monteiro1-899/+1338
Closes: #926614
2019-04-08Apply minor copy-editing to translations, tooDavid Kalnischkies10-94/+94
Prevent the translations to become fuzzy due to the simple copy-editing done recently on the english "translation". References: 30e6fad9ad892a21d271fa93319f7a3ee23da134 Gbp-Dch: Ignore
2019-04-05Flip /: in documented default value of DPkg::PathAlwin Henseler1-1/+1
The value as shown in the NEWS file (not in the code) has a typo in which just a "/" and ":" are swapped. Closes: #917986
2019-04-05Mark apt-transport-https as M-A:foreignIvan Krylov1-0/+1
The package is an empty dummy by now, but even before it could have made sense as described in the bugreport and due to external requirements it might stick around a while still. References: afe3cd6ef1b157a07d05bbf70283e4f175813438 Closes: #905141
2019-04-04Merge branch 'docs' into 'master'Julian Andres Klode10-22/+22
Perform minor copy-editing on the docs See merge request apt-team/apt!58
2019-04-04Merge branch 'pkgconfig' into 'master'Julian Andres Klode8-2/+50
Add PkgConfig on the apt-pkg and apt-inst libraries See merge request apt-team/apt!20