Portage-notification for Gentoo via Jabber 3

Getting notified via mail about recent warnings, information messages and error on your Gentoo system is good thing but getting notified via Jabber could be also helpful in some cases. The new notification framework of portage in the current 2.1-serie previews makes it easy and possible to implement somthing like this. To show how easy it is, I did it. You can see the result in the Gentoo Bugzilla. I am utilizing XMPPPY, a friendly Python-library to do so.

How to use?
1.) Install an ebuild of the 2.1-serie of sys-apps/portage
2.) Install dev-python/xmpppy
3.) Copy this file to /usr/lib/portage/pym/elog_modules/mod_jabber.py
4.) Edit /etc/make.conf and set the following options:
PORTAGE_ELOG_SYSTEM="jabber" PORTAGE_ELOG_JABBERFROM="sender@host.com:password" PORTAGE_ELOG_JABBERTO="jid1@host.com jid2@host.com admin@foo.com"

As of a request by solar and Jacub Moc I did a proper release which is availiable there and wrote an ebuild. All you have to do now is to install the ebuild and edit you configuration.

Filed on 21-05-2006, 15:03 under , , , , , , , & three comments & no trackbacks


Trackback specific URI for this entry

No Trackbacks


  1. Cristian states:
    published on January 6th 2010, 03:34:03 pm *

    Wow man, this is so nice…

    But, I can’t find official documentation of elog notification framework…. could you give me a link or something?

    Thank you so much.


  2. Lars Strojny replys:
    published on January 7th 2010, 07:07:36 pm *

    Glad you like it.

    I don’t know if there is any documentation available nowadays. If I remember correctly, at the time of writing there wasn’t any documentation, don’t know how the situation is today.


  3. Cristian means:
    published on January 7th 2010, 07:59:44 pm *

    Thanks for your answer…

    Unfortunately it seems there’s no documentation yet. Anyway, I wanted to thank you for your work… I learned too much of your code. I did my personal notification system for Portage:




Add a Comment & let me know what you think