summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Release 1.8.0~beta11.8.0_beta1Julian Andres Klode2019-01-2358-184/+1123
|
* Merge tag '1.8.0_alpha3.1'Julian Andres Klode2019-01-225-6/+13
|\ | | | | | | apt Debian release 1.8.0~alpha3.1
| * Release 1.8.0~alpha3.11.8.0_alpha3.1Julian Andres Klode2019-01-225-6/+13
| |
| * SECURITY UPDATE: content injection in http method (CVE-2019-3462)Julian Andres Klode2019-01-222-0/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes a security issue that can be exploited to inject arbritrary debs or other files into a signed repository as followed: (1) Server sends a redirect to somewhere%0a<headers for the apt method> (where %0a is \n encoded) (2) apt method decodes the redirect (because the method encodes the URLs before sending them out), writting something like somewhere\n <headers> into its output (3) apt then uses the headers injected for validation purposes. Regression-Of: c34ea12ad509cb34c954ed574a301c3cbede55ec LP: #1812353 (cherry picked from commit 5eb01ec13f3ede4bae5e60eb16bd8cffb7c03e1b)
* | Merge branch 'pu/release-preparations'Julian Andres Klode2019-01-223-8/+8
|\ \
| * | doc/apt-verbatim.ent: Debian buster is stableJulian Andres Klode2019-01-221-4/+4
| | | | | | | | | | | | | | | Move everything up one "old", and change testing to be bullseye.
| * | CI: Use debian:buster as test base imageJulian Andres Klode2019-01-222-3/+3
| | | | | | | | | | | | | | | | | | This prepares us for the upcoming buster release, as buster is the main release series for this series (the other being Ubuntu disco).
| * | doc/apt-verbatim.ent: Point ubuntu-codename to discoJulian Andres Klode2019-01-221-1/+1
| | | | | | | | | | | | LP: #1812696
* | | debian/control: Drop libcurl4-gnutls-dev build dependencyJulian Andres Klode2019-01-221-1/+0
| | | | | | | | | | | | Not needed since quite some time.
* | | Merge branch 'pu/gpgvsignedby' into 'master'Julian Andres Klode2019-01-224-112/+182
|\ \ \ | | | | | | | | | | | | | | | | Report keys used to sign file from gpgv method to acquire system See merge request apt-team/apt!44
| * | | Communicate back which key(s) were used for signingDavid Kalnischkies2019-01-224-43/+119
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Telling the acquire system which keys caused the gpgv method to succeed allows us for now just a casual check if the gpgv method really executed catching bugs like CVE-2018-0501, but we will make use of the information for better features in the following commits.
| * | | Refactor internal Signers information storage in gpgvDavid Kalnischkies2019-01-222-92/+86
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | Having a method take a bunch of string vectors is bad style, so we change this to a wrapping struct and adapt the rest of the code brushing it up slightly in the process, which results even in a slightly "better" debug output, no practical change otherwise. Gbp-Dch: Ignore
* / / SECURITY UPDATE: content injection in http method (CVE-2019-3462)Julian Andres Klode2019-01-222-0/+72
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes a security issue that can be exploited to inject arbritrary debs or other files into a signed repository as followed: (1) Server sends a redirect to somewhere%0a<headers for the apt method> (where %0a is \n encoded) (2) apt method decodes the redirect (because the method encodes the URLs before sending them out), writting something like somewhere\n <headers> into its output (3) apt then uses the headers injected for validation purposes. Regression-Of: c34ea12ad509cb34c954ed574a301c3cbede55ec LP: #1812353
* | bash completion: add keysVasya Novikov2019-01-221-0/+2
| |
* | Merge branch 'patch-1' of github.com:techtonik/aptJulian Andres Klode2019-01-221-9/+10
|\ \
| * | README.md: Document that apt is also includedanatoly techtonik2018-11-211-9/+10
| | |
* | | Merge branch 'patch-2' of github.com:techtonik/aptJulian Andres Klode2019-01-221-0/+1
|\ \ \
| * | | apt.cc: Add "apt info" alias for muscle memoryanatoly techtonik2018-11-211-0/+1
| |/ / | | | | | | | | | Muscle memory is acquired from querying package info with tools like snap, dnf etc.
* | | Remove `register` keywordKhem Raj2019-01-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In C++17 `register` keyword was removed. Current gcc 8.1.0 produces following warning if `-std=c++17` flag is used: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] GCC almost completely ignores `register` keyword, with rare exception of `-O0` when additional copy from/to stack may be generated. For simplicity of the codebase it is better to just remove this problematic keyword where it is not strictly required. See: http://en.cppreference.com/w/cpp/language/storage_duration Signed-off-by: Khem Raj <raj.khem@gmail.com>
* | | Merge branch 'pu/minimize-manual' into 'master'Julian Andres Klode2019-01-2249-89/+243
|\ \ \ | | | | | | | | | | | | | | | | apt-mark minimize-manual See merge request apt-team/apt!39
| * | | apt-mark: Introduce minimize-manualJulian Andres Klode2019-01-103-2/+139
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This visits dependencies of all manually installed metapackages, as determined by APT::Never-MarkAuto-Sections, and marks them as automatically installed. It can be used to clean up autoflags after a d-i install, for example.
| * | | Generalize %s does not take any argumentsJulian Andres Klode2019-01-1045-85/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This used to be "apt-cache stats does not take any arguments", but replace "apt-cache stats" with "%s" so we can reuse it for other commands. Gbp-Dch: ignore
| * | | apt-private: Export some functions for apt-markJulian Andres Klode2019-01-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | We need to show a yes/no prompt in minimize-manual, and pretty package names, so export them here. Gbp-Dch: ignore
* | | | Merge branch 'master' into 'master'Julian Andres Klode2019-01-221-13/+8
|\ \ \ \ | |/ / / |/| | | | | | | | | | | zh_CN.po: Update Simplified Chinese programs translation. See merge request apt-team/apt!43
| * | | zh_CN.po: Update Simplified Chinese programs translation.Mo Zhou2019-01-121-13/+8
|/ / /
* | | hash32: Tighten to multiversion to x86-64 ELF and use uint32_tJulian Andres Klode2019-01-051-3/+3
| | |
* | | Merge branch 'pu/speedups' into 'master'Julian Andres Klode2019-01-044-11/+56
|\ \ \ | | | | | | | | | | | | | | | | Pu/speedups See merge request apt-team/apt!42
| * | | debListParser: Avoid native arch lookup in ParseDependsJulian Andres Klode2018-12-262-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We called low-level ParseDepends without an architecture each time, which means each call looked up the native architecture. Store the native architecture in the class and use that when calling low-level ParseDepends from the high-level ParseDepends(). This improves performance for a cache build from 2.7 to 2.5 seconds for me. Also avoid a call when stripping multiarch, as the native architecture is passed in.
| * | | configuration: Compare size first during lookupJulian Andres Klode2018-12-261-1/+1
| | | |
| * | | cache hash: Use sse4.2 CRC32c on x86-64 where availableJulian Andres Klode2018-12-261-7/+51
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | This is more than twice as fast as adler32, but could be made another 50% faster by calculating crcs for 8 byte blocks in "parallel" (without data dependency) and then combining them. But that's complicated code. Reference measurements for hashing the cache 100 times: adler32=2.46s xxhash64=0.64 xxhash32=1.12 crc32c(this)=1.10 crc32c(opt)=0.44s
* | | Dutch manpages translation updateFrans Spiesschaert2018-12-221-53/+32
| | | | | | | | | | | | Closes: #916358
* | | French manpages translation updateJean-Pierre Giraud2018-12-221-220/+169
|/ / | | | | | | Closes: #915952
* | Release 1.8.0~alpha31.8.0_alpha3Julian Andres Klode2018-12-1860-186/+552
| |
* | Merge branch 'pu/dpkg-path' into 'master'Julian Andres Klode2018-12-108-0/+67
|\ \ | | | | | | | | | | | | Set PATH=/usr/sbin:/usr/bin:/sbin:/bin when running dpkg See merge request apt-team/apt!38
| * | Set PATH=/usr/sbin:/usr/bin:/sbin:/bin when running dpkgJulian Andres Klode2018-12-108-0/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | This avoids a lot of problems from local installations of scripting languages and other stuff in /usr/local for which maintainer scripts are not prepared. [v3: Inherit PATH during tests, check overrides work] [v2: Add testing]
* | | Merge branch 'pu/netrcparts' into 'master'Julian Andres Klode2018-12-045-13/+56
|\ \ \ | |/ / |/| | | | | | | | Add support for /etc/apt/auth.conf.d/*.conf (netrcparts) See merge request apt-team/apt!37
| * | Add support for /etc/apt/auth.conf.d/*.conf (netrcparts)Julian Andres Klode2018-12-045-13/+56
|/ / | | | | | | | | | | | | | | | | This allows us to install matching auth files for sources.list.d files, for example; very useful. This converts aptmethod's authfd from one FileFd to a vector of pointers to FileFd, as FileFd cannot be copied, and move operators are hard.
* | Override FileFd copy constructor to prevent copyingJulian Andres Klode2018-12-041-0/+1
| | | | | | | | | | FileFd could be copied using the default copy constructor, which does not work, and then causes code to crash.
* | Merge branch 'bugfix/spaceinconfig' into 'master'Julian Andres Klode2018-12-044-3/+17
|\ \ | | | | | | | | | | | | Use quoted tagnames in config dumps See merge request apt-team/apt!32
| * | Use quoted tagnames in config dumpsDavid Kalnischkies2018-11-294-3/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tagnames in configuration can include spaces (and other nasties) e.g. in repository-specific configuration options due to Origin/Label potentially containing a space. The configuration file format supports parsing quoted as well as encoded spaces, but the output generated by apt-config and other places which might be feedback into apt via parsing (e.g. before calling apt-key in our gpgv method) do not quote and hence produce invalid configuration files. Changing the default to be an encoded tagname ensures that the output of dump can be used as a config file, but other users might not expect this so that is technically a backward-breaking change.
* | | Merge branch 'remove_old_derivatives' into 'master'Julian Andres Klode2018-12-043-23/+0
|\ \ \ | | | | | | | | | | | | | | | | Remove old derivatives See merge request apt-team/apt!31
| * | | Remove "Tanglu" config for Acquire::Changelogs and as vendorManuel A. Fernandez Montecelo2018-10-263-22/+0
| | | | | | | | | | | | | | | | | | | | This is an inactive derivative according to the census, and all the URLs which are part of tanglu.org are dead.
| * | | Remove "Ultimedia" config for Acquire::ChangelogsManuel A. Fernandez Montecelo2018-10-261-1/+0
| | | | | | | | | | | | | | | | | | | | This is an inactive derivative according to the census, and all the URLs which are part of .ultimediaos.com are dead.
* | | | Merge branch 'l10n-master' into 'master'Julian Andres Klode2018-12-041-51/+18
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | [l10n] Update Italian translation See merge request apt-team/apt!35
| * | | | [l10n] Update Italian translationMilo Casagrande2018-12-041-51/+18
| | |/ / | |/| | | | | | | | | | Signed-off-by: Milo Casagrande <milo@milo.name>
* | | | Merge branch 'u-u-env-utf8' into 'master'Julian Andres Klode2018-12-041-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Set LC_ALL=C.UTF-8 for unattended-upgrades environment when parsing its --help See merge request apt-team/apt!34
| * | | | Set LC_ALL=C.UTF-8 for unattended-upgrades environment when parsing its --helpBalint Reczey2018-11-301-1/+1
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | .UTF-8 sets stdio encoding to UTF-8 which may be ASCII on the system making unattended-upgrades crash. LP: #1806076
* | | | Provide a "autopurge" shortcutJulian Andres Klode2018-12-035-2/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds a new "autopurge" command that will is a shortcut for "autoremove --purge" Thanks: Michael Vogt for the initial work
* | | | test-pdiff-usage: make transaction failure test case more robustJulian Andres Klode2018-12-031-1/+7
|/ / / | | | | | | | | | Try 10 times in a row
* | | Fix typo reported by codespell in code commentsDavid Kalnischkies2018-11-2511-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | No user visible change expect for some years old changelog entries, so we don't really need to add a new one for this… Reported-By: codespell Gbp-Dch: Ignore