1 --- cvsweb-3.0.6/cvsweb.cgi 2011-03-02 11:04:52.956814108 +0200
2 --- cvsweb-3.0.6/cvsweb.cgi 2011-03-02 11:04:47.426931825 +0200
4 %alltags %fileinfo %tags @branchnames %nameprinted
5 %symrev %revsym @allrevisions %date %author @revdisplayorder
6 @revisions %state %difflines %log %branchpoint @revorder $keywordsubstitution
7 - $prcgi @prcategories $re_prcategories $prkeyword $re_prkeyword $mancgi
8 + $prcgi @prcategories $re_prcategories $prkeyword $re_prkeyword $mancgi $cveurl
9 $doCheckout $scriptname $scriptwhere
10 $where $Browser $nofilelinks $maycompress @stickyvars %funcline_regexp
11 $is_links $is_lynx $is_w3m $is_msie $is_mozilla3 $is_textbased
12 @@ -1569,6 +1584,17 @@
18 + if (defined($cveurl)) {
21 + (\bCVE-\d{4}-\d{4}\b)
23 + &link($1, sprintf($cveurl, $1))
30 --- cvsweb-3.0.6/cvsweb.conf~ 2011-03-02 11:06:29.000000000 +0200
31 +++ cvsweb-3.0.6/cvsweb.conf 2011-03-02 11:08:14.986810727 +0200
33 # 'Yet another one' => 'http://192.168.0.2/cgi-bin/cvsweb.cgi/',
37 +#$cveurl = "https://cve.mitre.org/cgi-bin/cvename.cgi?name=%s";
39 # Bug tracking system linking options ("PR" means Problem Report, as in GNATS)
40 # This will be done only for views for which $allow_*_extra below is true.