summaryrefslogtreecommitdiff
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
...
* Revert "mention mirror method in sources.list"Julian Andres Klode2018-04-152-17/+0
| | | | This reverts commit 57a00c50b14a49ed91816e3f4467e0f2e57ee772.
* Merge branch 'pu/zstd' into 'master'Julian Andres Klode2018-04-151-0/+1
|\ | | | | | | | | pu/zstd See merge request apt-team/apt!8
| * apt-pkg: Add support for zstdJulian Andres Klode2018-03-121-0/+1
| | | | | | | | | | | | | | zstd is a compression algorithm developed by facebook. At level 19, it is about 6% worse in size than xz -6, but decompression is multiple times faster, saving about 40% install time, especially with eatmydata on cloud instances.
* | document Acquire::AllowReleaseInfoChange without extra sDavid Kalnischkies2018-04-0711-13/+13
| | | | | | | | Reported-By: Mattia Rizzolo on IRC
* | mention mirror method in sources.listDavid Kalnischkies2018-04-072-0/+17
| | | | | | | | Closes: 679580
* | fix communication typo in https manpageDavid Kalnischkies2018-04-0711-11/+11
| | | | | | | | Reported-By: lintian spelling-error-in-manpage
* | Use https for Ubuntu changelogsJulian Andres Klode2018-03-153-4/+4
|/ | | | We just enabled https on changelogs.ubuntu.com, let's use it.
* Release 1.6~beta11.6_beta1Julian Andres Klode2018-02-2614-54/+597
|
* Merge branch 'pu/not-valid-before' into 'master'Julian Andres Klode2018-02-193-0/+41
|\ | | | | | | | | Check that Date of Release file is not in the future See merge request apt-team/apt!3
| * Check that Date of Release file is not in the futureJulian Andres Klode2018-02-193-0/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | By restricting the Date field to be in the past, an attacker cannot just create a repository from the future that would be accepted as a valid update for a repository. This check can be disabled by Acquire::Check-Date set to false. This will also disable Check-Valid-Until and any future date related checking, if any - the option means: "my computers date cannot be trusted." Modify the tests to allow repositories to be up to 10 hours in the future, so we can keep using hours there to simulate time changes.
* | German manpage translation updateChris Leick2018-02-191-535/+694
| |
* | ensure correct file permissions for auxfilesDavid Kalnischkies2018-02-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The interesting takeaway here is perhaps that 'chmod +w' is effected by the umask – obvious in hindsight of course. The usual setup helps with hiding that applying that recursively on all directories (and files) isn't correct. Ensuring files will not be stored with the wrong permissions even if in strange umask contexts is trivial in comparison. Fixing the test also highlighted that it wasn't bulletproof as apt will automatically fix the permissions of the directories it works with, so for this test we actually need to introduce a shortcut in the code. Reported-By: Ubuntu autopkgtest CI
* | add apt-helper drop-privs command…David Kalnischkies2018-02-191-6/+19
|/
* Release 1.6~alpha71.6_alpha7Julian Andres Klode2018-01-1813-14/+144
|
* review and fix the three new apt-transport- manpagesJustin B Rye2018-01-1813-1072/+1126
| | | | References: https://lists.debian.org/debian-l10n-english/2018/01/msg00002.html
* Introduce inrelease-path option for sources.listJulian Andres Klode2018-01-171-0/+9
| | | | | | | | | | | | | | Allow specifying an alternative path to the InRelease file, so you can have multiple versions of a repository, for example. Enabling this option disables fallback to Release and Release.gpg, so setting it to InRelease can be used to ensure that only that will be tried. We add two test cases: One for checking that it works, and another for checking that the fallback does not happen. Closes: #886745
* simplify translating "lists directory missing" msgDavid Kalnischkies2018-01-041-1/+1
| | | | | | | | The appended "partial" should not be translated, but some translations got this wrong and now that there is also "auxfiles" we can just fix that problem by hiding these untranslatables from the translators. Gbp-Dch: Ignore
* Release 1.6~alpha61.6_alpha6Julian Andres Klode2018-01-0313-1913/+9704
|
* add apt-transport-mirror manpageDavid Kalnischkies2018-01-033-0/+152
| | | | | The mirror method is undocumented since 0.7.24, now with the reimplementation it is high time to get something written about it.
* allow a method to request auxiliary filesDavid Kalnischkies2018-01-031-2/+21
| | | | | | | | | | | | | | | | | | | | If a method needs a file to operate like e.g. mirror needs to get a list of mirrors before it can redirect the the actual requests to them. That could easily be solved by moving the logic into libapt directly, but by allowing a method to request other methods to do something we can keep this logic contained in the method and allow e.g. also methods which perform binary patching or similar things. Previously they would need to implement their own acquire system inside the existing one which in all likelyhood will not support the same features and methods nor operate with similar security compared to what we have already running 'above' the requesting method. That said, to avoid methods producing conflicts with "proper" files we are downloading a new directory is introduced to keep the auxiliary files in. [The message magic number 351 is a tribute to the german Grundgesetz article 35 paragraph 1 which defines that all authorities of the state(s) help each other on request.]
* document https options in new apt-transport-https manpageDavid Kalnischkies2018-01-039-219/+148
| | | | | | Same reasoning as with the previous commit for http with the added benefit of moving the hard to discover and untranslated example config into a manpage which could be translated.
* document http options in new apt-transport-http manpageDavid Kalnischkies2018-01-036-73/+158
| | | | | | We had documentation for the http transport in our "catch-all" apt.conf manpage, but it seems benefitial to document transports in their own manpage instead of pushing them all into one.
* Add rapid "happy eyeballs" connection fallback (RFC 8305)Julian Andres Klode2018-01-031-0/+3
| | | | | | | | | | | | | | | | | | | | | | Try establishing connections in alternating address families in rapid intervals of 250 ms, adding more connections to the wait list until one succeeds (RFC 8305, happy eyeballs 2). It is important that WaitAndCheckErrors() waits until it has a successful connection, a time out, or all connections failed - otherwise the timing between tries might be wrong, and the final long wait might exit early because one connection failed without trying the others. Timing wise, this only works correctly on Linux, as select() counts down there. But we rely on that in some other places too, so this is not the time to fix that. Timeouts are only reported in the final long wait - the short inner waits are expected to time out more often, and multiple times, we do not want to report them. Closes: #668948 LP: #1308200 Gbp-Dch: paragraph
* Translate shared documentation parts againJulian Andres Klode2017-11-201-1/+7
| | | | | | | We accidentally did not translate the entity file, but should have. This makes apt.ent translatable again. This generates the target multiple times, but surprisingly, that works just fine, so let's just keep it that way, as it's clean code otherwise.
* allow apt_auth.conf(5) to be translatedDavid Kalnischkies2017-11-201-0/+1
| | | | | | | | Adding manpages is really hard it seems. References: ea408c560ed85bb4ef7cf8f72f8463653501332c, ea7581c9aaaaebf844d00935a1cdf8c8fee7f7f3, 90bfc5b057d3f9136ffe34089b6e56d59593797c
* allow multivalue fields in deb822 sources to be foldedDavid Kalnischkies2017-11-191-3/+5
| | | | | | | | | | | | | | | The documentation said "spaces", but there is no real reason to be so strict and only allow spaces to separate values as that only leads to very long lines if e.g. multiple URIs are specified which are again hard to deal with from a user PoV which the deb822 format is supposed to avoid. It also deals with multiple consecutive spaces and strange things like tabs users will surely end up using in the real world. The old behviour on encountering folded lines is the generation of URIs which end up containing all these whitespace characters which tends to mess really bad with output and further processing. Closes: 881875
* Release 1.6~alpha51.6_alpha5Julian Andres Klode2017-11-122-3/+3
|
* Dutch manpage translation updateFrans Spiesschaert2017-11-121-72/+50
| | | | Closes: #881402
* Release 1.6~alpha4Julian Andres Klode2017-11-052-3/+3
|
* Release 1.6~alpha31.6_alpha3Julian Andres Klode2017-10-282-3/+3
|
* Release 1.6~alpha21.6_alpha2Julian Andres Klode2017-10-262-3/+3
|
* Print syscall number and arch to stderr when trapped by seccompJulian Andres Klode2017-10-261-0/+1
| | | | | | This should help debugging crashes. The signal handler is a C++11 lambda, yay! Special care has been taken to only use signal handler -safe functions inside there.
* Release 1.6~alpha11.6_alpha1Julian Andres Klode2017-10-232-3/+3
|
* Sandbox methods with seccomp-BPF; except cdrom, gpgv, rshJulian Andres Klode2017-10-221-0/+3
| | | | | | | | | | | | This reduces the number of syscalls to about 140 from about 350 or so, significantly reducing security risks. Also change prepare-release to ignore the architecture lists in the build dependencies when generating the build-depends package for travis. We might want to clean up things a bit more and/or move it somewhere else.
* Release 1.51.5Julian Andres Klode2017-09-242-3/+3
|
* Release 1.5~rc41.5_rc4Julian Andres Klode2017-09-132-3/+3
|
* Release 1.5~rc31.5_rc3Julian Andres Klode2017-09-104-5/+5
|
* Release 1.5~rc21.5_rc2Julian Andres Klode2017-09-094-921/+920
|
* Dutch manpage translation updateFrans Spiesschaert2017-09-041-24/+61
| | | | Closes: #874293
* doc: correct '--allow-releaseinfo-change-*' typosChristos Trochalakis2017-09-0111-12/+12
| | | | Closes: #873914
* Release 1.5~rc11.5_rc1Julian Andres Klode2017-08-2413-14/+14
|
* Release 1.5~beta21.5_beta2Julian Andres Klode2017-08-1714-225/+889
|
* doc: Fix validity error in apt_auth.conf.5.xmlJulian Andres Klode2017-08-171-1/+2
| | | | | | It contained raw text inside a refsect1 Gbp-Dch: ignore
* doc: Add '--allow-unauthenticated' to '--force-yes'Dominik2017-07-271-1/+5
|
* show a warning for Debian shutting down FTP servicesDavid Kalnischkies2017-07-261-1/+5
| | | | | | | | | | | | We detect the effected sources by matching Release info – that has potential by-catch of repositories which have incorrect field values, but those are better fixed now anyhow. The bigger incorrectness is that this message will not only be printed for the Debian services itself but also for all mirrors not under Debian control but serving Debian like more local/private mirrors which will not (directly) shutdown. It is likely through that many of them will follow suite with less visible announcements or break downright if their upstream source disappears, so having false-positives here seems benefitial for the user in the end.
* update URI scheme descriptions in sources.list(5)David Kalnischkies2017-07-262-18/+49
|
* reimplement and document auth.confDavid Kalnischkies2017-07-262-0/+133
| | | | | | | | | | | | | | | | | | We have support for an netrc-like auth.conf file since 0.7.25 (closing 518473), but it was never documented in apt that it even exists and netrc seems to have fallen out of usage as a manpage for it no longer exists making the feature even more arcane. On top of that the code was a bit of a mess (as it is written in c-style) and as a result the matching of machine tokens to URIs also a bit strange by checking for less specific matches (= without path) first. We now do a single pass over the stanzas. In practice early adopters of the undocumented implementation will not really notice the differences and the 'new' behaviour is simpler to document and more usual for an apt user. Closes: #811181
* Switch from /org to /srv in example apt-ftparchive configurationPaul Wise2017-07-121-4/+4
| | | | /org has been obsoleted by /srv for many years on debian.org hosts.
* fix various typos reported by codespell & spellintianDavid Kalnischkies2017-07-0812-12/+12
| | | | | Reported-By: codespell & spellintian Gbp-Dch: Ignore
* Italian manpage translation updateBeatrice Torracca2017-07-081-238/+213
| | | | Closes: 858877