[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#659843: marked as done (security-tracker: add links to Ubuntu, Gentoo CVE trackers and to the openwall vendors page)



Your message dated Thu, 16 Feb 2012 18:23:51 +0100
with message-id <87ehtulmjc.fsf@mid.deneb.enyo.de>
and subject line Re: Bug#659843: security-tracker: add links to Ubuntu, Gentoo CVE trackers and to the openwall vendors page
has caused the Debian Bug report #659843,
regarding security-tracker: add links to Ubuntu, Gentoo CVE trackers and to the openwall vendors page
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
659843: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=659843
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: security-tracker
Severity: wishlist
Tags: patch

I would like to add the attached patch to the security tracker to add
links to the Ubuntu and Gentoo CVE trackers and add a link to the
openwall vendors page, which links to more trackers for more distros.
I have access to the security-tracker repository but I would like some
review of the patch and for someone to update the tracker website.

-- 
bye,
pabs

http://wiki.debian.org/PaulWise
Index: bin/tracker_service.py
===================================================================
--- bin/tracker_service.py	(revision 18427)
+++ bin/tracker_service.py	(working copy)
@@ -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

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---
--- Begin Message ---
* Paul Wise:

> tags 659843 + pending
> thanks
>
> On Wed, 2012-02-15 at 21:54 -0500, Michael Gilbert wrote:
>
>> I just reviewed this.  I say go ahead and apply it since its a
>> straightforward duplication of the redhat url parsing.
>
> Applied.

I've fixed the syntax error and restarted the service on soler.

(You can test changes locally using "make serve".)


--- End Message ---

Reply to: