Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 290920 - [EBUILD] net-im/sendxmpp-1.18 version bump
Summary: [EBUILD] net-im/sendxmpp-1.18 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Net-im project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-28 19:02 UTC by Timo Eissler
Modified: 2010-08-26 11:30 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Timo Eissler 2009-10-28 19:02:36 UTC
Please provide a new ebuild for sendxmpp. The current ebuild for sendxmpp 0.0.8 does not work correctly with openfire jabber servers.

There is a known problem with AuthSASL which is fixed in version 1.18

Reproducible: Always

Steps to Reproduce:
1. echo "hello" | sendxmpp -s "topic" -u "username@jabber.org" -p "password" otherjabberuser@jabber.org
2.
3.

Actual Results:  
[...]
XML::Stream: Process: block(0)
XMPP::Conn: AuthSASL: Authentication failed.
Error 'AuthSend': error: not-authorized[?]
XML::Stream: Send: (</stream:stream>)
XML::Stream: SetCallBacks: tag(node) func(CODE(0x8353c78))
XMPP::Conn: Disconnect: bye bye
sendxmpp: Disconnect


Expected Results:  
sendxmpp should end with return code 0

The following patch fixes the problem for version 0.0.8, but i dont like to edit files this way.

*** /usr/lib/perl5/vendor_perl/5.8.8/Net/XMPP/Protocol.pm       2009-10-28 19:57:58.000000000 +0100
--- fixed_Protocol.pm   2009-10-28 19:58:28.000000000 +0100
***************
*** 1806,1812 ****

      if($self->{STREAM}->GetStreamFeature($self->GetStreamID(),"xmpp-sasl"))
      {
!        return $self->AuthSASL(%args);
      }

      return $self->AuthIQAuth(%args);
--- 1806,1812 ----

      if($self->{STREAM}->GetStreamFeature($self->GetStreamID(),"xmpp-sasl"))
      {
!        #return $self->AuthSASL(%args);
      }

      return $self->AuthIQAuth(%args);
Comment 1 Torsten Veller (RETIRED) gentoo-dev 2010-08-26 11:30:17 UTC
1.20 is in the tree. Thanks.