Commit e00f035e authored by Dietmar Maurer's avatar Dietmar Maurer

try to guess changelog url fro security updates

Work for some packages, but not for all security updates. Seems
Debian security team does not upload changelogs.
parent 2a634cd6
......@@ -92,6 +92,7 @@ my $get_changelog_url =sub {
$pkgver =~ s/^\d+://; # strip epoch
my $srcpkg = $info->{SourcePkg} || $pkgname;
if ($origin eq 'Debian') {
$base =~ s!pool/updates/!pool/!; # for security channel
$changelog_url = "http://packages.debian.org/changelogs/$base/" .
"${srcpkg}_${pkgver}/changelog";
} elsif ($origin eq 'Proxmox') {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment