Re: broken hellanzb in current

2010-08-14 Thread Didier Wiroth
Thanks!!!
Yes, it fixed the problem!!
Kind regards,
Didier

On 13 August 2010 17:25, Giovanni Bechis giova...@openbsd.org wrote:
 On 08/13/10 13:30, Didier Wiroth wrote:
 Hello,
 I'm not a developer ... so sorry for simply informing rather than submitting 
 a patch ;-(.

 /usr/ports/news/hellanzb is not working anymore in CURRENT since a few weeks 
 now.

 Hellanzb gets compiled and can be installed but it doesn't run.
 This patch (from Debian) should fix the problem.
  Cheers
  Giovanni




-- 
Didier Wiroth



Re: broken hellanzb in current

2010-08-13 Thread Giovanni Bechis
On 08/13/10 13:30, Didier Wiroth wrote:
 Hello,
 I'm not a developer ... so sorry for simply informing rather than submitting 
 a patch ;-(.
 
 /usr/ports/news/hellanzb is not working anymore in CURRENT since a few weeks 
 now.
 
 Hellanzb gets compiled and can be installed but it doesn't run.
This patch (from Debian) should fix the problem.
 Cheers
  Giovanni
Index: Makefile
===
RCS file: /cvs/ports/news/hellanzb/Makefile,v
retrieving revision 1.5
diff -u -p -r1.5 Makefile
--- Makefile24 Jul 2010 17:43:17 -  1.5
+++ Makefile13 Aug 2010 15:23:40 -
@@ -3,7 +3,7 @@
 COMMENT=   retrieve and process nzb-files
 
 DISTNAME=  hellanzb-0.13
-REVISION=  2
+REVISION=  3
 CATEGORIES=news
 
 HOMEPAGE=  http://www.hellanzb.com/trac/
Index: patches/patch-Hellanzb_HellaReactor_py
===
RCS file: patches/patch-Hellanzb_HellaReactor_py
diff -N patches/patch-Hellanzb_HellaReactor_py
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-Hellanzb_HellaReactor_py  13 Aug 2010 15:23:40 -
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- Hellanzb/HellaReactor.py.orig  Fri Aug 13 17:17:25 2010
 Hellanzb/HellaReactor.py   Fri Aug 13 17:17:38 2010
+@@ -9,7 +9,7 @@ reactor system so it can catch signals, and shutdown h
+ import Hellanzb, sys, time
+ 
+ import twisted.copyright
+-if twisted.copyright.version = '2.0.0':
++if twisted.copyright.version = '2.0.0' or twisted.copyright.version = 
'10.0.0':
+ from twisted.internet.selectreactor import SelectReactor
+ from twisted.internet.selectreactor import _NO_FILENO
+ from twisted.internet.selectreactor import _NO_FILEDESC
Index: patches/patch-Hellanzb_HellaXMLRPC_HtPasswdAuth_py
===
RCS file: patches/patch-Hellanzb_HellaXMLRPC_HtPasswdAuth_py
diff -N patches/patch-Hellanzb_HellaXMLRPC_HtPasswdAuth_py
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-Hellanzb_HellaXMLRPC_HtPasswdAuth_py  13 Aug 2010 15:23:40 
-
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- Hellanzb/HellaXMLRPC/HtPasswdAuth.py.orig  Fri Aug 13 17:16:54 2010
 Hellanzb/HellaXMLRPC/HtPasswdAuth.py   Fri Aug 13 17:17:06 2010
+@@ -13,7 +13,7 @@ from twisted.web import static
+ from twisted.web.resource import Resource
+ 
+ import twisted.copyright
+-if twisted.copyright.version = '2.0.0':
++if twisted.copyright.version = '2.0.0' or twisted.copyright.version = 
'10.0.0':
+ from twisted.web import http
+ else:
+ from twisted.protocols import http
Index: patches/patch-Hellanzb_HellaXMLRPC_xmlrpc_py
===
RCS file: patches/patch-Hellanzb_HellaXMLRPC_xmlrpc_py
diff -N patches/patch-Hellanzb_HellaXMLRPC_xmlrpc_py
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-Hellanzb_HellaXMLRPC_xmlrpc_py13 Aug 2010 15:23:40 
-
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- Hellanzb/HellaXMLRPC/xmlrpc.py.origFri Aug 13 17:15:52 2010
 Hellanzb/HellaXMLRPC/xmlrpc.py Fri Aug 13 17:16:49 2010
+@@ -31,7 +31,7 @@ from twisted.internet import defer, protocol, reactor
+ from twisted.python import log, reflect
+ 
+ import twisted.copyright
+-if twisted.copyright.version = '2.0.0':
++if twisted.copyright.version = '2.0.0' or twisted.copyright.version = 
'10.0.0':
+ from twisted.web import http
+ else:
+ from twisted.protocols import http