aboutsummaryrefslogtreecommitdiffstats
path: root/tmpl/advisory.txt
blob: 1bd2c9da491f12e1ce8ec0725ceeced5fabeb37b (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
[% USE date -%]
[%- SET adv = advdb.advisories.$advisory -%]
[% advisory %] - [% adv.subject %]

Publication date: [% date.format(adv.status.published, format => '%d %b %Y', gmt => 1) %]
URL: [% config.site_url %]/[% basename.ID(advisory) %].html
Type: [% adv.type %]
Affected Mageia releases: [% adv.src.keys.sort.join(', ') %]
[% IF adv.CVE && adv.CVE.list.size != 0 -%]
CVE: [% adv.CVE.join(",\n     ") %]
[% END -%]

Description:
[% adv.description -%]

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 -%]
[% FOREACH media IN adv.src.$rel.keys -%]
[% FOREACH srpm IN adv.src.$rel.$media -%]
- [% rel %]/[% media %]/[% srpm %]
[% END -%]
[% END -%]
[% END -%]