blob: 99c73d88c26181c043b80e82ee59845d319cbe3d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
[%- USE HTML -%]
[% SET advisory = advdb.advisories.$adv -%]
<item>
<title>[% adv %] - [% HTML.escape(advisory.subject) %]</title>
<link>[% config.site_url %]/[% basename.ID(adv) %].html</link>
<guid isPermaLink="false">[% adv %]</guid>
<pubDate>[% date.format(advisory.status.published, format => '%a, %d %b %Y %H:%M:%S', gmt => 1) %] GMT</pubDate>
<category>[% advisory.type %]</category>
<description>
Publication date: [% date.format(advisory.status.published, format => '%d %b %Y', gmt => 1) %]<br />
Type: [% advisory.type %]<br />
Affected Mageia releases :
[% SET sep = '' %]
[% FOREACH rel IN advisory.src.keys.sort %]
[% sep %]
[% SET sep = ', ' %]
<a href="[% basename.rel(rel) %].html">[% rel %]</a>
[% END %]
<br />
[% SET sep = '' %]
[% IF advisory.CVE && advisory.CVE.list.size != 0 %]
CVE:
[% FOREACH cve IN advisory.CVE %]
[% sep %]
[% SET sep = ', ' %]
<a href="[% basename.CVE(cve) %].html">[% cve %]</a>
[% END %]
[% END %]
<h2>Description</h2>
<pre>
[%- HTML.escape(advisory.description) -%]
</pre>
<h2>References</h2>
<ul>
[% FOREACH ref IN advisory.references -%]
<li><a href="[% HTML.escape(ref) %]">[% HTML.escape(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>
[% FOREACH rel IN advisory.src.keys -%]
[% FOREACH media IN advisory.src.$rel.keys -%]
<h3>[% rel %]/[% media %]</h3>
<ul>
[% FOREACH srpm IN advisory.src.$rel.$media -%]
<li>[% srpm %]</li>
[% END -%]
</ul>
[% END -%]
[% END -%]
</description>
</item>
|