diff options
-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> |