From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Dec 10 10:10:06 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC0ED1065670 for ; Thu, 10 Dec 2009 10:10:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9AA638FC15 for ; Thu, 10 Dec 2009 10:10:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nBAAA68h067529 for ; Thu, 10 Dec 2009 10:10:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nBAAA6JG067528; Thu, 10 Dec 2009 10:10:06 GMT (envelope-from gnats) Resent-Date: Thu, 10 Dec 2009 10:10:06 GMT Resent-Message-Id: <200912101010.nBAAA6JG067528@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, kevin Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D047106568B for ; Thu, 10 Dec 2009 10:08:30 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 1C5C58FC1A for ; Thu, 10 Dec 2009 10:08:30 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id nBAA8TvF081792 for ; Thu, 10 Dec 2009 10:08:29 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id nBAA8T8H081791; Thu, 10 Dec 2009 10:08:29 GMT (envelope-from nobody) Message-Id: <200912101008.nBAA8T8H081791@www.freebsd.org> Date: Thu, 10 Dec 2009 10:08:29 GMT From: kevin To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/141338: py-xmpppy need updated X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Dec 2009 10:10:06 -0000 >Number: 141338 >Category: ports >Synopsis: py-xmpppy need updated >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Dec 10 10:10:06 UTC 2009 >Closed-Date: >Last-Modified: >Originator: kevin >Release: 9.0current >Organization: 163.org >Environment: FreeBSD laptop.163.org 9.0-CURRENT FreeBSD 9.0-CURRENT #4 r200091: Fri Dec 4 14:03:47 CST 2009 root@laptop.163.org:/usr/obj/usr/home/datastream/freebsd/sys/G9laptop amd64 >Description: /usr/local/lib/python2.6/site-packages/xmpp/auth.py:24: DeprecationWarning: the sha module is deprecated; use the hashlib module instead import sha,base64,random,dispatcher,re /usr/local/lib/python2.6/site-packages/xmpp/auth.py:26: DeprecationWarning: the md5 module is deprecated; use hashlib instead import md5 >How-To-Repeat: import xmpp in python2.6 then use it >Fix: --- auth.py 2009-12-10 18:07:41.424877838 +0800 +++ /usr/local/lib/python2.6/site-packages/xmpp/auth.py 2009-12-10 18:06:49.983623652 +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) >Release-Note: >Audit-Trail: >Unformatted: