[%- USE HTML -%]
[% SET advisory = advdb.advisories.$adv -%]
-
[% adv %] - [% HTML.escape(advisory.subject) %]
[% config.site_url %]/[% basename.ID(adv) %].html
[% adv %]
[% date.format(advisory.status.published, format => '%a, %d %b %Y %H:%M:%S', gmt => 1) %] GMT
[% advisory.type %]
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="https://cve.mitre.org/cgi-bin/cvename.cgi?name=[% cve %]">https://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 -%]