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

2012-02-16 Thread Paul Wise
On Thu, 2012-02-16 at 18:28 +0100, Florian Weimer wrote:

> Do you have an example of a working Gentoo cross-reference?

https://bugs.gentoo.org/show_bug.cgi?id=CVE-2011-2183

-- 
bye,
pabs

http://wiki.debian.org/PaulWise


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


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

2012-02-16 Thread Florian Weimer
* Paul Wise:

> 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.

Do you have an example of a working Gentoo cross-reference?



-- 
To UNSUBSCRIBE, email to debian-security-tracker-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/877gzmlmbx@mid.deneb.enyo.de



Processed: Re: Bug#659843: security-tracker: add links to Ubuntu, Gentoo CVE trackers and to the openwall vendors page

2012-02-15 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> tags 659843 + pending
Bug #659843 [security-tracker] security-tracker: add links to Ubuntu, Gentoo 
CVE trackers and to the openwall vendors page
Added tag(s) pending.
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
659843: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=659843
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


-- 
To UNSUBSCRIBE, email to debian-security-tracker-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/handler.s.c.132936178231092.transcr...@bugs.debian.org



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

2012-02-15 Thread 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.

> You'll need to sync the tracker code on soler before it goes live.

I don't have access to soler.d.o since it is restricted.
Hopefully someone will read this, update the code and close this bug.

-- 
bye,
pabs

http://wiki.debian.org/PaulWise


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


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

2012-02-15 Thread Michael Gilbert
On Mon, Feb 13, 2012 at 11:46 PM, Paul Wise wrote:
> 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.

I just reviewed this.  I say go ahead and apply it since its a
straightforward duplication of the redhat url parsing.  You'll need to
sync the tracker code on soler before it goes live.

Mike



-- 
To UNSUBSCRIBE, email to debian-security-tracker-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CANTw=MNMDt1=Qn5SXEdu8uNB-4Q2BkpkV4R2XvU=ey2rmaq...@mail.gmail.com



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

2012-02-13 Thread Paul Wise
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


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