Bug 152413 - [PATCH] net-im/py-xmpppy fix patch fix
Summary: [PATCH] net-im/py-xmpppy fix patch fix
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Philip M. Gollucci
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-19 21:30 UTC by hizel
Modified: 2010-12-10 23:10 UTC (History)
0 users

See Also:


Attachments
file.diff (196 bytes, patch)
2010-11-19 21:30 UTC, hizel
no flags Details | Diff
file.diff (544 bytes, patch)
2010-11-19 21:30 UTC, hizel
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description hizel 2010-11-19 21:30:09 UTC
Fix previous patch

Fix: PORTNAME=      xmpppy
 PORTVERSION=   0.5.0
-PORTREVISION=  1
+PORTREVISION=  2
 CATEGORIES=    net-im python
 MASTER_SITES=  SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}-rc1/
 PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
How-To-Repeat: I use py-jabberbot:

#!/usr/bin/env python

from jabberbot import JabberBot, botcmd

class ZeroJabberBot(JabberBot):
    @botcmd
    def whoami( self, mess, args):
        """Tells you your username"""
        return mess.getFrom()

username = 'user@domain.com'
password = 'securepass'

bot = ZeroJabberBot(username,password)
bot.serve_forever()

after ran:

Traceback (most recent call last):
  File "tstbot.py", line 15, in <module>
    bot.serve_forever()
  File "/usr/local/lib/python2.6/site-packages/jabberbot.py", line 411, in serve_forever
    conn = self.connect()
  File "/usr/local/lib/python2.6/site-packages/jabberbot.py", line 126, in connect
    authres = conn.auth(self.jid.getNode(), self.__password, self.res)
  File "/usr/local/lib/python2.6/site-packages/xmpp/client.py", line 225, in auth
    while self.SASL.startsasl=='in-process' and self.Process(1): pass
  File "/usr/local/lib/python2.6/site-packages/xmpp/dispatcher.py", line 303, in dispatch
    handler['func'](session,stanza)
  File "/usr/local/lib/python2.6/site-packages/xmpp/auth.py", line 204, in SASLHandler
    A1=C([H(C([resp['username'],resp['realm'],self.password])),resp['nonce'],resp['cnonce']])
NameError: global name 'H' is not defined
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2010-11-19 21:30:15 UTC
Maintainer of net-im/py-xmpppy,

Please note that PR ports/152413 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/152413

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2010-11-19 21:30:18 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 Philip M. Gollucci freebsd_committer freebsd_triage 2010-12-09 01:37:27 UTC
State Changed
From-To: feedback->open

maintainer timeout (g.veniamin@googlemail.com ; 20 days)
Comment 4 hizel 2010-12-09 08:17:49 UTC
unlucky port :(
Comment 5 Philip M. Gollucci freebsd_committer freebsd_triage 2010-12-10 03:02:48 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pgollucci

I will take it.
Comment 6 Philip M. Gollucci freebsd_committer freebsd_triage 2010-12-10 23:06:07 UTC
State Changed
From-To: open->closed

Committed, Thanks!
Comment 7 dfilter service freebsd_committer freebsd_triage 2010-12-10 23:06:07 UTC
pgollucci    2010-12-10 23:05:58 UTC

  FreeBSD ports repository

  Modified files:
    net-im/py-xmpppy     Makefile 
    net-im/py-xmpppy/files patch-xmpp-auth.py 
  Log:
  - Fix typo in patch
  - Bump PORTREVISION
  
  PR:             ports/152413
  Submitted by:   Ildar Hizbulin <hizel@vyborg.ru>
  Approved by:    maintainer timeout (g.veniamin@googlemail.com ; 20 days)
  
  Revision  Changes    Path
  1.14      +1 -1      ports/net-im/py-xmpppy/Makefile
  1.4       +1 -1      ports/net-im/py-xmpppy/files/patch-xmpp-auth.py
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"