1
0
mirror of synced 2026-01-29 21:00:56 +00:00

Support cases like Squeeze being EoL, but its key still being in the default keyring

This commit is contained in:
Axel Beckert
2017-01-16 19:38:07 +01:00
parent 9647ab082c
commit 0f1daa0b27
4 changed files with 16 additions and 3 deletions

View File

@@ -1,6 +1,14 @@
xen-tools 4.6.3 (released NOT YET)
==================================
New Features
------------
* Support situations where distributions (e.g. Squeeze) might be end
of life, but its archive signing key is still not removed from the
default keyring. (As of this writing, that's the case for Debian 6
Squeeze on Debian 8 Jessie.)
Bug Fixes
---------

View File

@@ -1292,7 +1292,9 @@ sub setupDefaultOptions
$CONFIG{ 'mirror_'.$debdist } = $MIRROR{$dist.'_archive'} or
die $dist.'_archive not defined in /etc/xen-tools/mirrors.conf';
my $removed_keys = "/usr/share/keyrings/$dist-archive-removed-keys.gpg";
$CONFIG{ 'keyring_'.$debdist } = $removed_keys if -s $removed_keys;
if ($debdistinfo !~ /default-keyring/ and -s $removed_keys) {
$CONFIG{ 'keyring_'.$debdist } = $removed_keys;
}
} else {
$CONFIG{ 'mirror_'.$debdist } = $MIRROR{$dist} or
die $dist.' not defined in /etc/xen-tools/mirrors.conf';

3
debian/changelog vendored
View File

@@ -18,6 +18,9 @@ xen-tools (4.6.3~dev-1) UNRELEASED; urgency=medium
(Closes: #842609)
+ Fixes possible missing gateway in generated
/etc/network/interfaces. (Closes: #764625)
+ Support situations where distributions (e.g. Squeeze) might be EoL,
but its archive signing key is still not removed from the default
keyring.
* Declare compliance with Debian Policy 3.9.8. (No changes needed.)
* Use NEWS.markdown as upstream changelog, don't install it as docs.
* Switch many URLs (upstream and in packaging) to https:// and update

View File

@@ -5,12 +5,12 @@
# codename = distribution and further keywords
#
# Known distributions: debian, ubuntu
# Known keywords: eol, pygrub
# Known keywords: eol, pygrub, default-keyring
#
sarge = debian eol
etch = debian eol
lenny = debian eol
squeeze = debian eol
squeeze = debian eol default-keyring
wheezy = debian
jessie = debian
stretch = debian