ejabberdctl-extra patch fails with SVN version.

I'm working on setting up ejabberd with the native Mysql backend. I checked out the current development copy from Subversion today (4/03/06).

I wanted to run the ejabberdctl-extra patch from contributions but unfortunately the patch fails:

[root@dns1 src]# patch < /usr/local/download/ejabberd/ejabberdctl-extra.diff
patching file `ejabberd_ctl.erl'
Hunk #1 FAILED at 6.
Hunk #2 FAILED at 192.
Hunk #3 FAILED at 261.
Hunk #4 FAILED at 499.
Hunk #5 FAILED at 516.
Hunk #6 succeeded at 607 (offset 23 lines).
5 out of 6 hunks FAILED -- saving rejects to ejabberd_ctl.erl.rej

ejabberdctl-extra is deprecated, try mod_ctlextra

ejabberd SVN includes improved ejabberd_ctl support. I've moved the code from the ejabberdctl-extra patch to an independent module: mod_ctlextra.

Try it and tell me if everything works.

Syndicate content