diff options
Diffstat (limited to 'net-im/py-xmpppy')
-rw-r--r-- | net-im/py-xmpppy/Makefile | 3 | ||||
-rw-r--r-- | net-im/py-xmpppy/files/patch-xmpp-auth.py | 14 |
2 files changed, 17 insertions, 0 deletions
diff --git a/net-im/py-xmpppy/Makefile b/net-im/py-xmpppy/Makefile index 816f8ac44245..f3712ad483e2 100644 --- a/net-im/py-xmpppy/Makefile +++ b/net-im/py-xmpppy/Makefile @@ -7,6 +7,7 @@ PORTNAME= xmpppy PORTVERSION= 0.4.1 +PORTREVISION= 1 CATEGORIES= net-im python MASTER_SITES= SF PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -14,6 +15,8 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= wenheping@gmail.com COMMENT= A Python library that provides easy scripting with Jabber +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dnspython>=1.7.1:${PORTSDIR}/dns/py-dnspython + USE_PYTHON= 2.3+ USE_PYDISTUTILS= yes diff --git a/net-im/py-xmpppy/files/patch-xmpp-auth.py b/net-im/py-xmpppy/files/patch-xmpp-auth.py new file mode 100644 index 000000000000..db7c46813ff1 --- /dev/null +++ b/net-im/py-xmpppy/files/patch-xmpp-auth.py @@ -0,0 +1,14 @@ +--- xmpp/auth.py.orig 2009-12-10 20:43:19.000000000 +0800 ++++ xmpp/auth.py 2009-12-10 20:44:17.000000000 +0800 +@@ -21,9 +21,9 @@ + + from protocol import * + from client import PlugIn +-import sha,base64,random,dispatcher,re ++import base64,random,dispatcher,re + +-import md5 ++import hashlib + def HH(some): return md5.new(some).hexdigest() + def H(some): return md5.new(some).digest() + def C(some): return ':'.join(some) |