diff -u hellanzb-0.13/debian/changelog hellanzb-0.13/debian/changelog --- hellanzb-0.13/debian/changelog +++ hellanzb-0.13/debian/changelog @@ -1,3 +1,12 @@ +hellanzb (0.13-3ubuntu2) jaunty; urgency=low + + * debian/patches/004-Fix_group_recording: It should record as the valid + group the group it asked, not that sent back from the server (LP: #233900). + Patch taken from http://www.hellanzb.com/trac/hellanzb/ticket/393 + (upstream r1089). + + -- Alessio Treglia Mon, 15 Dec 2008 09:22:30 +0100 + hellanzb (0.13-3ubuntu1) intrepid; urgency=low * debian/control: diff -u hellanzb-0.13/debian/patches/00list hellanzb-0.13/debian/patches/00list --- hellanzb-0.13/debian/patches/00list +++ hellanzb-0.13/debian/patches/00list @@ -4,0 +5 @@ +004-Fix_group_recording only in patch2: unchanged: --- hellanzb-0.13.orig/debian/patches/004-Fix_group_recording +++ hellanzb-0.13/debian/patches/004-Fix_group_recording @@ -0,0 +1,24 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 004-Fix_group_recording.dpatch by Alessio Treglia +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: The correct group isn't recorded. It should record as valid group +## DP: the group it asked. +## Ubuntu: https://bugs.launchpad.net/ubuntu/+source/hellanzb/+bug/233900 +## Upstream: http://www.hellanzb.com/trac/hellanzb/ticket/393 + + + +@DPATCH@ +diff -urNad hellanzb-0.13~/Hellanzb/NZBLeecher/Protocol.py hellanzb-0.13/Hellanzb/NZBLeecher/Protocol.py +--- hellanzb-0.13~/Hellanzb/NZBLeecher/Protocol.py 2007-03-27 06:20:43.000000000 +0200 ++++ hellanzb-0.13/Hellanzb/NZBLeecher/Protocol.py 2008-12-15 09:19:02.000000000 +0100 +@@ -655,7 +655,7 @@ + reactor.callInThread(decode, segment) + + def gotGroup(self, group): +- group = group[3] ++ group = self.gettingGroup + self.activeGroups.append(group) + self.gettingGroup = None + debug(str(self) + ' got GROUP: ' + group)