[JDEV] libjabber 'port' and licensing

Jeremie jeremie at jabber.org
Mon Jul 22 01:22:30 CDT 2002


> More precisely, 'porting' means that I dump all the pool, xmlnode
> etc. stuff (AFAIK, this is the old libxode) in favour of apr_pool_t,
> apr_xml_elem etc. (reason is: I will use apr anyway as a portability
> layer for threads, file IO etc and want to avoid two different memory
> pool mechanisms etc.).  AFAICT, four files will be 'ported: jid.c,
> jpacket.c, jutil.c and perhaps xstream.c.

Ahh, interesting, shouldn't be too difficult, seeing as those peices of
code are very small and relatively self-contained.

> My only concern is the licensing.  By the use of apr I already have
> the apache license there.  The four libjabber files are JOSL or GPL,

There shouldn't be a problem leaving them under the JOSL, but to be
honest, the code in those files isn't the best and I've always felt
they're in need of a rewrite anyway.  The jid one needs to be brought up
to spec to JEP 29, and the jpacket/jutil ones are dependent on the old
xmlnode dom and will have to be rewritten reguardless.

> building block for a new attempt to mod_jabber (which I won't do,
> right now; the 'old' mod_jabber by Jeremie Miller seems to be
> stalled).  

Yes, stalled but not forgotten.  It reached a point where it was actually
acting like a server, and I've been sidetracked since then.  Fortunately,
it's still high on my list, and with the code I started writing for the
jabberd 1.5 stuff earlier this summer it's done in such a way that much of
it will drop into the mod_jabber framework.  

> While we are at it, are the apr patches within mod_jabber already
> submitted to the apr list?  If not, would you, the relevant people,
> mostly Jeremie Miller I think, mind, if I submitted them?  And am I
> allowed to submit those xml utilities like get_attr, set_attr (in a
> suitable form) from mod_jabber:jpacket.c to apr likewise, if they
> want them?

I don't think they are probably ready yet, and I'm not sure if any of that
has changed since then inside the apr.  If your interested in helping
flesh them out, just catch me online someday (jid:jer at jabber.org) and I'll
probably set up cvs and we can go from there.

Jer





More information about the JDev mailing list