add resource (sub)variable to PORTAGE_ELOG_JABBERFROM like "jid@server:password:resource". --- /tmp/mod_jabber.py 2008-01-02 23:19:37.000000000 +0300 +++ /usr/lib/portage/pym/elog_modules/mod_jabber.py 2008-01-02 23:21:21.667493297 +0300 @@ -13,8 +13,8 @@ # where jid: one or more jabber id separated by a whitespace if mysettings["PORTAGE_ELOG_JABBERFROM"]: if not ":" in mysettings["PORTAGE_ELOG_JABBERFROM"]: - raise portage_exception.PortageException("!!! Invalid syntax for PORTAGE_ELOG_JABBERFROM. Use user@host:password") - myfrom, mypass = mysettings["PORTAGE_ELOG_JABBERFROM"].split(":") + raise portage_exception.PortageException("!!! Invalid syntax for PORTAGE_ELOG_JABBERFROM. Use user@host:password:resource") + myfrom, mypass, myres = mysettings["PORTAGE_ELOG_JABBERFROM"].split(":") mysubject = mysettings["PORTAGE_ELOG_JABBERSUBJECT"] if not mysubject: mysubject = mysettings["PORTAGE_ELOG_MAILSUBJECT"] @@ -32,7 +32,7 @@ if connected <> 'tls': raise portage_exception.PortageException("!!! Warning: unable to estabilish secure connection - TLS failed!") - auth = client.auth(myuser,mypass) + auth = client.auth(myuser,mypass,myres) if not auth: raise portage_exception.PortageException("!!! Could not authentificate to %s" %myserver) if auth <> 'sasl':
Feature is now included. See http://usrportage.de/archives/865-Jabber-for-portage-0.0.3.html for details. Please do not use Gentoo's bugzilla for requests like that, just drop me a mail.
*** Bug 204126 has been marked as a duplicate of this bug. ***