summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Release 1.9.0 to experimental1.9.0Julian Andres Klode2019-06-1765-7941/+7679
|
* policy: Get rid of Pins arrayJulian Andres Klode2019-06-142-20/+13
| | | | Gbp-Dch: ignore
* policy: Remove GetMatch and GetPriority(pkgIterator)Julian Andres Klode2019-06-142-22/+1
| | | | | These functions do not produce any useful results anymore, so it's pointless to keep them around.
* Remove deprecated cacheset methodsJulian Andres Klode2019-06-144-46/+85
| | | | | This mostly turns them private and then overrides the public version with the switch, as recommended.
* Bump cache MajorVersion to 16Julian Andres Klode2019-06-121-1/+1
| | | | | 1.6 was 13, so 1.7 has 14 reserved, and 1.8 has 15 reserved, so let's use 16 for 1.9 for now.
* Merge branch 'pu/cleaner-headers'Julian Andres Klode2019-06-1254-276/+12
|\
| * Adjust code for missing includes/using std::stringJulian Andres Klode2019-06-125-6/+12
| |
| * Run unifdef -DAPT_{8,9,10,15}_CLEANER_HEADERSJulian Andres Klode2019-06-1249-270/+0
|/
* doc/apt-get.8.xml: Fix typo in satisfy command descriptionJulian Andres Klode2019-06-121-1/+1
| | | | Gbp-Dch: ignore
* Merge branch 'depend-solutions' into 'master'Julian Andres Klode2019-06-111-16/+16
|\ | | | | | | | | apt-cache: only show solutions if displayed See merge request apt-team/apt!65
| * apt-cache: only show solutions if displayedStephen Kitt2019-05-131-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, apt-cache [r]depends always shows all solutions for a package, if appropriate, even if the package itself wasn’t displayed (e.g. “--installed” was specified). Thus, currently, with haskell-platform uninstalled and amd64 and i386 enabled, “apt-cache rdepends alex” shows alex Reverse Depends: haskell-platform alex:i386 haskell-platform alex:i386 and “apt-cache rdepends alex --installed” shows alex Reverse Depends: alex:i386 alex:i386 which is rather confusing. This patch changes the behaviour so that solutions are only displayed for packages which were themselves displayed; “apt-cache rdepends alex --installed” then shows alex Reverse Depends: Signed-off-by: Stephen Kitt <skitt@debian.org>
* | http: Fix Host header in proxied https connectionsSimon Körner2019-06-112-3/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently CONNECT requests use the name of the proxy as Host value, instead of the origin server's name. According to RFC 2616 "The Host field value MUST represent the naming authority of the origin server or gateway given by the original URL." The current implementation causes problems with some proxy vendors. This commit fixes this. [jak: Adding a test case] See merge request apt-team/apt!66
* | Introduce apt satisfy and apt-get satisfyJulian Andres Klode2019-06-118-7/+178
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow to satisfy dependency strings supplied on the command line, optionally prefixed with "Conflicts:" to satisfy them like Conflicts. Build profiles and architecture restriction lists, as used in build dependencies, are supported as well. Compared to build-dep, build-essential is not installed automatically, and installing of recommended packages follows the global default, which defaults to yes. Closes: #275379 See merge request apt-team/apt!63
* | Do not include squashfs file systems in df output.Brian Murray2019-06-111-1/+1
| | | | | | | | | | LP: #1756595 Fixes Debian/apt#94
* | Update symbols and hide some pkgTagSection ABIJulian Andres Klode2019-06-112-24/+22
| | | | | | | | Gbp-Dch: ignore
* | Merge the ParseDepends functionsJulian Andres Klode2019-06-113-68/+18
| |
* | Allow comparing string to StringViewJulian Andres Klode2019-06-111-0/+2
| |
* | Make APT::StringView publicJulian Andres Klode2019-06-1114-242/+31
| |
* | Merge tag '1.8.2'Julian Andres Klode2019-06-119-71/+103
|\ \ | | | | | | | | | apt Debian release 1.8.2
| * | Release 1.8.21.8.2Julian Andres Klode2019-05-285-6/+28
| | |
| * | Unlock dpkg locks in reverse locking orderJulian Andres Klode2019-05-211-1/+1
| | | | | | | | | | | | | | | | | | | | | We need to unlock in the reverse order of locking in order to get useful behavior. LP: #1829860
| * | methods: https: handle requests for TLS re-handshakeMichael Zhivich2019-05-211-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
| * | French manpages translation updateJean-Pierre Giraud2019-05-211-34/+21
| | | | | | | | | | | | Closes: #929290
| * | Portuguese manpages translation updateAmérico Monteiro2019-05-211-895/+1333
| | | | | | | | | | | | Closes: #926614
| * | Fix typo in German manpage translationTilmanK2019-05-211-1/+1
| | | | | | | | | | | | | | | Github-Fixes: #89 (cherry picked from commit 46ef1a3e8c8895c53ff1e4787dc96d4f6c5dba27)
| * | Flip /: in documented default value of DPkg::PathAlwin Henseler2019-05-211-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)
* | | WIP: README.md: Minor editing to make it read easierJulian Andres Klode2019-05-101-22/+22
| | | | | | | | | | | | | | | Went as far as "A test case here is a shell script", this paragraph is _hard_.
* | | More minor wording improvements in documentationJulian Andres Klode2019-05-1012-21/+21
| | |
* | | apt-mark: Add hidden showheld alias for showholdJulian Andres Klode2019-05-102-3/+3
| | | | | | | | | | | | For Unit193 and those who value grammar, I suppose.
* | | README.md: Quote -j <count> as code with backticksJulian Andres Klode2019-05-091-1/+1
| | | | | | | | | | | | | | | | | | | | | The <count> did not appear in the html, render it as code instead so things work correctly. Fixes Debian/apt#91
* | | debmetaindex: Use isspace_ascii() variant to normalize Signed-ByJulian Andres Klode2019-05-071-1/+1
| | | | | | | | | | | | | | | Using the locale-dependent isspace() function here opens us up to strange locale-dependent behavior.
* | | CMake: Enforce "override" use on overriden methodsJulian Andres Klode2019-05-063-2/+5
| | | | | | | | | | | | | | | This ensures that we do not accidentally stop overriding a method because it's signature changed in an API break.
* | | symbols: Remove invalid APTPKG@APTINST symbolJulian Andres Klode2019-05-061-2/+0
| | |
* | | Change soname to libapt-pkg.so.5.90Julian Andres Klode2019-05-064-1485/+1485
| | | | | | | | | | | | | | | This is a bit experimental, and we'll go through a few stages before reaching libapt-pkg.so.6.0.
* | | prepare-release: Add bump-abi commandJulian Andres Klode2019-05-061-0/+8
| | | | | | | | | | | | | | | This changes the ABI in the packaging based on the one in the header.
* | | cacheset: Remove simple cases of deprecated codeJulian Andres Klode2019-05-063-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.
* | | Merge branch 'pu/merge-libraries'Julian Andres Klode2019-05-0630-1644/+71
|\ \ \
| * | | Use debDebFile to get control file instead of dpkg-debJulian Andres Klode2019-05-062-30/+19
| | | |
| * | | Merge libapt-inst into libapt-pkgJulian Andres Klode2019-05-0624-153/+52
| | | |
| * | | Get rid of pkgExtract and pkgFLCacheJulian Andres Klode2019-05-064-1461/+0
|/ / / | | | | | | | | | | | | These classes are not actually being used, they were part of the dpkg replacement that never happened.
* | | Merge tag '1.8.1'Julian Andres Klode2019-05-065-4/+13
|\| | | | | | | | | | | apt Debian release 1.8.1
| * | Release 1.8.11.8.1Julian Andres Klode2019-05-065-4/+13
| | |
| * | Add linux-{buildinfo,image-unsigned,source} versioned kernel pkgsJulian Andres Klode2019-05-061-0/+5
| | | | | | | | | | | | | | | LP: #1821640 (cherry picked from commit 507124fd81066536c7c01a2039fcc6ee9f02a234)
| * | Prevent shutdown while running dpkgJulian Andres Klode2019-05-039-0/+103
| | | | | | | | | | | | | | | | | | | | | As long as we are running dpkg, keep an inhibitor that blocks us from shutting down. LP: #1820886
| * | Add test case for local-only packages pinned to neverJulian Andres Klode2019-04-021-1/+14
| | | | | | | | | | | | Test from the fix for the regression in trusty for LP #1821308.
* | | Add linux-{buildinfo,image-unsigned,source} versioned kernel pkgsJulian Andres Klode2019-05-061-0/+5
| |/ |/| | | | | LP: #1821640
* | Merge branch 'pu/systemd-inhibitor' into 'master'Julian Andres Klode2019-05-039-0/+103
|\ \ | | | | | | | | | | | | Prevent shutdown while running dpkg See merge request apt-team/apt!60
| * | Prevent shutdown while running dpkgJulian Andres Klode2019-05-039-0/+103
|/ / | | | | | | | | | | | | As long as we are running dpkg, keep an inhibitor that blocks us from shutting down. LP: #1820886
* | Merge branch 'pu/explicit-constructors' into 'master'Julian Andres Klode2019-04-3032-58/+60
|\ \ | | | | | | | | | | | | Use explicit constructors See merge request apt-team/apt!61
| * | apt-pkg: URI: Add 'explicit' to single argument constructorJulian Andres Klode2019-04-3012-21/+21
| | | | | | | | | | | | | | | This needs a fair amount of changes elsewhere in the code, hence this is separate from the previous commits.