diff options
author | Oliver Eikemeier <eik@FreeBSD.org> | 2004-06-28 01:16:35 +0000 |
---|---|---|
committer | Oliver Eikemeier <eik@FreeBSD.org> | 2004-06-28 01:16:35 +0000 |
commit | 8a65d874ab48e5c69b52cb9214e2c607a7858eee (patch) | |
tree | bb1652e09a7bfff414a01c65ee1bb374064b2514 /ports-mgmt | |
parent | 593bd65145921c6917a7e2c7eaf83d4431dd989c (diff) | |
download | ports-8a65d874ab48e5c69b52cb9214e2c607a7858eee.tar.gz ports-8a65d874ab48e5c69b52cb9214e2c607a7858eee.zip |
Notes
Diffstat (limited to 'ports-mgmt')
-rw-r--r-- | ports-mgmt/portaudit-db/database/portaudit2vuxml.pl | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/ports-mgmt/portaudit-db/database/portaudit2vuxml.pl b/ports-mgmt/portaudit-db/database/portaudit2vuxml.pl index 11a04f5e22da..d352bb2f8661 100644 --- a/ports-mgmt/portaudit-db/database/portaudit2vuxml.pl +++ b/ports-mgmt/portaudit-db/database/portaudit2vuxml.pl @@ -117,7 +117,27 @@ if (@pkg) { print " <references>\n"; foreach (split ' ', $url) { - print " <url>$_</url>\n"; + if (m'^http://cve\.mitre\.org/cgi-bin/cvename\.cgi\?name=(.+)$') { + print " <cvename>$1</cvename>\n" + } + elsif (m'^(http://www\.securityfocus\.com/archive/.+)$') { + print " <mlist>$1</mlist>\n" + } + elsif (m'^http://www\.securityfocus\.com/bid/(.+)$') { + print " <bid>$1</bid>\n" + } + elsif (m'^(http://(?:article\.gmane\.org|lists\.netsys\.com|marc\.theaimsgroup\.com)/.+)$') { + print " <mlist>$1</mlist>\n" + } + elsif (m'^http://www\.kb\.cert\.org/vuls/id/(.+)$') { + print " <certvu>$1</certvu>\n" + } + elsif (m'^http://www\.cert\.org/advisories/(.+)\.html$') { + print " <certsa>$1</certsa>\n" + } + else { + print " <url>$_</url>\n"; + } } print " </references>\n"; |