aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2016-04-08 09:39:46 +0300
committerThomas Backlund <tmb@mageia.org>2016-04-08 09:39:46 +0300
commitdff1f028304471b63bc0b27efe23d100a38aa0ba (patch)
treea95c13bc14742e631190be5c48d4bc1f2ee3f84d
parent32e3d077eda428089e8eff72d9bba8cf4add61d8 (diff)
downloadmgaadvisories-dff1f028304471b63bc0b27efe23d100a38aa0ba.tar
mgaadvisories-dff1f028304471b63bc0b27efe23d100a38aa0ba.tar.gz
mgaadvisories-dff1f028304471b63bc0b27efe23d100a38aa0ba.tar.bz2
mgaadvisories-dff1f028304471b63bc0b27efe23d100a38aa0ba.tar.xz
mgaadvisories-dff1f028304471b63bc0b27efe23d100a38aa0ba.zip
use https in links to advisories
-rw-r--r--config_default4
-rw-r--r--lib/MGA/Advisories.pm2
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";