From dff1f028304471b63bc0b27efe23d100a38aa0ba Mon Sep 17 00:00:00 2001 From: Thomas Backlund Date: Fri, 8 Apr 2016 09:39:46 +0300 Subject: use https in links to advisories --- config_default | 4 ++-- lib/MGA/Advisories.pm | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config_default b/config_default index 9e2ef03..e850aa5 100644 --- a/config_default +++ b/config_default @@ -2,7 +2,7 @@ mode: dump send_adv_mail: no send_report_mail: no move_pkg_cmd: -dump_url: http://advisories.mageia.org/advisories.yaml +dump_url: https://advisories.mageia.org/advisories.yaml advisories_dir: /var/lib/mga-advisories/advisories status_dir: /var/lib/mga-advisories/status tmpl_dir: /usr/share/mga-advisories/tmpl @@ -13,7 +13,7 @@ output_format: - html - rss out_dir: /var/lib/mga-advisories/out -site_url: http://advisories.mageia.org +site_url: https://advisories.mageia.org advisories_repo_url: svn+ssh://svn.mageia.org/svn/advisories advisory_types: bugfix: diff --git a/lib/MGA/Advisories.pm b/lib/MGA/Advisories.pm index 5b88578..a3e02ff 100644 --- a/lib/MGA/Advisories.pm +++ b/lib/MGA/Advisories.pm @@ -519,7 +519,7 @@ sub move_packages { sub generate_description { my ($adv, $rpm) = @_; my $desc = "%package $rpm\n"; - $desc .= "URL: http://advisories.mageia.org/" . %$adv{ID} . ".html\n"; + $desc .= "URL: https://advisories.mageia.org/" . %$adv{ID} . ".html\n"; $desc .= "Importance: " . %$adv{type} ."\n"; $desc .= "ID: " . %$adv{ID} . "\n"; $desc .= "%pre\n"; -- cgit v1.2.1