[Secure-testing-commits] r18451 - bin
Paul Wise
pabs at alioth.debian.org
Thu Feb 16 03:07:13 UTC 2012
Author: pabs
Date: 2012-02-16 03:07:12 +0000 (Thu, 16 Feb 2012)
New Revision: 18451
Modified:
bin/tracker_service.py
Log:
Add links to Ubuntu, Gentoo CVE trackers and to the openwall vendors page
Modified: bin/tracker_service.py
===================================================================
--- bin/tracker_service.py 2012-02-16 01:33:56 UTC (rev 18450)
+++ bin/tracker_service.py 2012-02-16 03:07:12 UTC (rev 18451)
@@ -313,6 +313,9 @@
"; ",
self.make_rhbug_ref(url, bug.name,
'RH'),
+ self.make_ubuntu_bug_ref(url, bug.name, 'Ubuntu'),
+ self.make_gentoo_bug_ref(url, bug.name, 'Gentoo'),
+ A(url.absolute('http://oss-security.openwall.org/wiki/vendors'), 'more')
")")
elif source == 'DSA':
source_xref = self.make_dsa_ref(url, bug.name, 'Debian')
@@ -1194,6 +1197,10 @@
def url_rhbug(self, url, name):
return url.absolute("https://bugzilla.redhat.com/show_bug.cgi",
id=name)
+ def url_ubuntu_bug(self, url, name):
+ return url.absolute("http://people.canonical.com/~ubuntu-security/cve/%s" % name)
+ def url_gentoo_bug(self, url, name):
+ return url.absolute("http://bugs.gentoo.org/show_bug.cgi", id=name)
def url_dsa(self, url, dsa, re_dsa=re.compile(r'^DSA-(\d+)(?:-\d+)?$')):
match = re_dsa.match(dsa)
@@ -1251,6 +1258,16 @@
name = cve
return A(self.url_rhbug(url, cve), name)
+ def make_ubuntu_bug_ref(self, url, cve, name=None):
+ if name is None:
+ name = cve
+ return A(self.url_ubuntu_bug(url, cve), name)
+
+ def make_gentoo_bug_ref(self, url, cve, name=None):
+ if name is None:
+ name = cve
+ return A(self.url_gentoo_bug(url, cve), name)
+
def make_dsa_ref(self, url, dsa, name=None):
if name is None:
name = dsa
More information about the Secure-testing-commits
mailing list