-
6d92d35...
by
Dave Jones
on 2019-12-10
-
Don't duplicate disabled sources during add()
When calling SourcesList.add don't duplicate disabled sources. Continue
to permit enabling disabled sources during addition, but not disabling
enabled sources.
Tests are included for both duplicate suppression and the enabling
functionality (which didn't seem to be covered by the existing tests),
as well as tests for pos.
LP: #1311056
-
bfd1696...
by
Marc Deslauriers
on 2020-01-22
-
Import patches-unapplied version 1.9.0ubuntu1.3 to ubuntu/eoan-security
Imported using git-ubuntu import.
Changelog parent: 94200879083287895605adf856d0ce2e15a33fd3
New changelog entries:
* SECURITY REGRESSION: crash with ubuntu-release-upgrader (LP: #1860606)
- apt/cache.py: make allow_unauthenticated argument to
fetch_archives() optional.
-
9420087...
by
Julian Andres Klode
on 2020-01-15
-
Import patches-unapplied version 1.9.0ubuntu1.2 to ubuntu/eoan-security
Imported using git-ubuntu import.
Changelog parent: 36a86336135b5f8f167370dd5a7af3e76ad970b5
New changelog entries:
* SECURITY UPDATE: Check that repository is trusted before downloading
files from it (LP: #1858973)
- apt/cache.py: Add checks to fetch_archives() and commit()
- apt/package.py: Add checks to fetch_binary() and fetch_source()
- CVE-2019-15796
* SECURITY UPDATE: Do not use MD5 for verifying downloadeds
(Closes: #944696) (#LP: #1858972)
- apt/package.py: Use all hashes when fetching packages, and
check that we have trusted hashes when downloading
- CVE-2019-15795
* To work around the new checks, the parameter allow_unauthenticated=True
can be passed to the functions. It defaults to the value of the
APT::Get::AllowUnauthenticated option.
- Bump Breaks aptdaemon (<< 1.1.1+bzr982-0ubuntu28.1), as it will have
to set that parameter after having done validation.
* Automatic changes and fixes for external regressions:
- Adjustments to test suite and CI to fix CI regressions
- Automatic mirror list update
-
36a8633...
by
Julian Andres Klode
on 2019-08-06
-
Import patches-unapplied version 1.9.0ubuntu1 to ubuntu/eoan-proposed
Imported using git-ubuntu import.
Changelog parent: 13d6bfbc9da402a9f74de2bf69a818ee3f7427c6
New changelog entries:
* apt/package.py: Use SHA256 instead of MD5 for fetching checks.
This should unbreak snapd, but should really be cleaned up more
and use the entire HashStringList (LP: #1837926)
-
13d6bfb...
by
Julian Andres Klode
on 2019-06-24
-
Import patches-unapplied version 1.9.0 to ubuntu/eoan-proposed
Imported using git-ubuntu import.
Changelog parent: 8810b9d08bfd9cf0eb74efa9e751193e91af36c0
New changelog entries:
* python/pkgsrcrecords.cc: Improve readability of ...BuildDepends
* Port to APT 1.9.0; incompatible changes:
- Remove install_protect() methods
- Remove Package.section attributes
- Remove apt_pkg.rewrite_section()
- Remove unneccessary sptr includes
- apt_pkg.Hashes: remove md5, sha1, sha256 members
- Port install progress to APT::Progress::PackageManagerProgressFd
- apt_pkg.SourceRecords: Set md5 to None in tuple compat
- Remove apt_pkg.Policy(: Package) variant
- Remove Policy.get_match() method
- Add apt_pkg.TagSection.write() method
- apt_pkg.Hashes:
+ Make comparable
+ add hashvalue attribute
- debian/control: Bump libapt-pkg-dev b-d to 1.9.0~
* data/templates/Ubuntu.info.in: Add Eoan Ermine
* Bug fixes:
- apt_pkg.TagRemove: Terminate keyword list array in constructor
- apt_pkg.HashStringList: Avoid nullptr dereference on no result
-
8810b9d...
by
Julian Andres Klode
on 2019-03-11
-
Import patches-unapplied version 1.8.4 to debian/sid
Imported using git-ubuntu import.
Changelog parent: 5d12d1b9cf7e54945de01c55d4ed549780716eeb
New changelog entries:
* apt.Cache: Fix (un)locking in various places
- Fix (un)locking of archives (Closes: #922416)
- Use explicit, more safe locking in update()
* Update mirror lists
-
5d12d1b...
by
Julian Andres Klode
on 2019-02-04
-
Import patches-unapplied version 1.8.3 to debian/sid
Imported using git-ubuntu import.
Changelog parent: b6f1011ed36b39c29e03b14f5d33f8f2fe453e22
New changelog entries:
* test_aptsources: Fix test if current distribution does not exist
-
b6f1011...
by
Julian Andres Klode
on 2019-02-01
-
Import patches-unapplied version 1.8.2 to debian/sid
Imported using git-ubuntu import.
Changelog parent: a35a183296ca3c028eb029d3fbdfacb2acae56ec
New changelog entries:
* Add a init_defaults() method to apt_pkg.Policy
* Document what's new in 1.8
-
a35a183...
by
Julian Andres Klode
on 2019-01-25
-
Import patches-unapplied version 1.8.1 to debian/sid
Imported using git-ubuntu import.
Changelog parent: c8636aee3a3f054a35b4c9a377a8ab08776b5da1
New changelog entries:
* python/arfile.cc: Fix FTBFS due to copying of FileFd
* Revert "debian/rules: Build with pybuild"
* Adjust typing for mypy 0.660
-
c8636ae...
by
Julian Andres Klode
on 2019-01-18
-
Import patches-unapplied version 1.8.0 to debian/sid
Imported using git-ubuntu import.
Changelog parent: 056eb9af03bb477359d462e6043ea40d111c6740
New changelog entries:
[ Julian Andres Klode ]
* templates: Add Ubuntu 19.04 'Disco Dingo'
* travis: Disable CI on debian:stretch and ubuntu:bionic
* Switch to python3-distutils-extra from python2 one
* Drop unnecessary python3-distutils build-depend workaround
* debian/rules: Build with pybuild
* travis: Test on disco
[ Jeremy Bicha ]
* data/templates/Debian.info.in: Add Buster and Bullseye
(Closes: #919613, #919615)