diff options
author | Nicolas Vigier <boklm@mageia.org> | 2013-06-18 15:48:20 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2013-06-18 15:48:20 +0000 |
commit | 181db0967f7937a103314d40db2e688804ad820e (patch) | |
tree | 069f020e34f4fbe9662d2ef2abb668a419faf096 | |
parent | 596d292488107928fa974c2c6f33279d62b2a368 (diff) | |
download | mgaadvisories-181db0967f7937a103314d40db2e688804ad820e.tar mgaadvisories-181db0967f7937a103314d40db2e688804ad820e.tar.gz mgaadvisories-181db0967f7937a103314d40db2e688804ad820e.tar.bz2 mgaadvisories-181db0967f7937a103314d40db2e688804ad820e.tar.xz mgaadvisories-181db0967f7937a103314d40db2e688804ad820e.zip |
Add CVE links in references
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | tmpl/advisory.html | 5 | ||||
-rw-r--r-- | tmpl/advisory.txt | 5 | ||||
-rw-r--r-- | tmpl/advisory_item.rss | 5 |
4 files changed, 16 insertions, 0 deletions
@@ -1,4 +1,5 @@ +- add CVE links in references - set defaults for send_adv_mail and send_report_mail Version 0.9 diff --git a/tmpl/advisory.html b/tmpl/advisory.html index 1e984c8..f0a6a52 100644 --- a/tmpl/advisory.html +++ b/tmpl/advisory.html @@ -39,6 +39,11 @@ [% FOREACH ref IN adv.references -%] <li><a href="[% ref %]">[% ref %]</a></li> [% END %] + [%- IF adv.CVE -%] + [%- FOREACH cve IN adv.CVE.list -%] + <li><a href="http://cve.mitre.org/cgi-bin/cvename.cgi?name=[% cve %]">http://cve.mitre.org/cgi-bin/cvename.cgi?name=[% cve %]</a></li> + [%- END -%] + [%- END -%] </ul> <h2>SRPMS</h2> diff --git a/tmpl/advisory.txt b/tmpl/advisory.txt index 6bfdf0a..1bd2c9d 100644 --- a/tmpl/advisory.txt +++ b/tmpl/advisory.txt @@ -17,6 +17,11 @@ References: [% FOREACH ref IN adv.references -%] - [% ref %] [% END -%] +[% IF adv.CVE -%] +[% FOREACH cve IN adv.CVE.list -%] +- http://cve.mitre.org/cgi-bin/cvename.cgi?name=[% cve %] +[% END -%] +[% END -%] SRPMS: [% FOREACH rel IN adv.src.keys -%] diff --git a/tmpl/advisory_item.rss b/tmpl/advisory_item.rss index 73d9a7b..244db78 100644 --- a/tmpl/advisory_item.rss +++ b/tmpl/advisory_item.rss @@ -38,6 +38,11 @@ [% FOREACH ref IN advisory.references -%] <li><a href="[% ref %]">[% ref %]</a></li> [% END %] + [%- IF advisory.CVE -%] + [%- FOREACH cve IN advisory.CVE.list -%] + <li><a href="http://cve.mitre.org/cgi-bin/cvename.cgi?name=[% cve %]">http://cve.mitre.org/cgi-bin/cvename.cgi?name=[% cve %]</a></li> + [%- END -%] + [%- END -%] </ul> <h2>SRPMS</h2> |