aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--tmpl/advisory.html5
-rw-r--r--tmpl/advisory.txt5
-rw-r--r--tmpl/advisory_item.rss5
4 files changed, 16 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index eec129e..4902a98 100644
--- a/NEWS
+++ b/NEWS
@@ -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 -%]
&lt;li&gt;&lt;a href="[% ref %]"&gt;[% ref %]&lt;/a&gt;&lt;/li&gt;
[% END %]
+ [%- IF advisory.CVE -%]
+ [%- FOREACH cve IN advisory.CVE.list -%]
+ &lt;li&gt;&lt;a href="http://cve.mitre.org/cgi-bin/cvename.cgi?name=[% cve %]"&gt;http://cve.mitre.org/cgi-bin/cvename.cgi?name=[% cve %]&lt;/a&gt;&lt;/li&gt;
+ [%- END -%]
+ [%- END -%]
&lt;/ul&gt;
&lt;h2&gt;SRPMS&lt;/h2&gt;