$NetBSD: patch-ad,v 1.4 2009/12/15 13:30:54 fhajny Exp $ --- src/ejabberd.cfg.example.orig 2009-11-06 19:53:19.000000000 +0000 +++ src/ejabberd.cfg.example @@ -109,7 +109,6 @@ [ {5222, ejabberd_c2s, [ - %% %% If TLS is compiled and you installed a SSL %% certificate, put the correct path to the @@ -125,12 +124,12 @@ %% %% To enable the old SSL connection method in port 5223: %% - %%{5223, ejabberd_c2s, [ - %% {access, c2s}, - %% {shaper, c2s_shaper}, - %% {certfile, "/path/to/ssl.pem"}, tls, - %% {max_stanza_size, 65536} - %% ]}, + {5223, ejabberd_c2s, [ + {access, c2s}, + {shaper, c2s_shaper}, + {certfile, "/path/to/ssl.pem"}, tls, + {max_stanza_size, 65536} + ]}, {5269, ejabberd_s2s_in, [ {shaper, s2s_shaper}, @@ -140,10 +139,10 @@ %% %% ejabberd_service: Interact with external components (transports...) %% - %%{8888, ejabberd_service, [ + %%{{8888, "127.0.0.1"}, + %% ejabberd_service, [ %% {access, all}, %% {shaper_rule, fast}, - %% {ip, {127, 0, 0, 1}}, %% {hosts, ["icq.example.org", "sms.example.org"], %% [{password, "secret"}] %% } @@ -465,7 +464,7 @@ %% %% Full path to a script that generates the image. %% -%%{captcha_cmd, "/lib/ejabberd/priv/bin/captcha.sh"}. +%%{captcha_cmd, "@PREFIX@/lib/erlang/lib/@DISTNAME@/priv/bin/captcha.sh"}. %% %% Host part of the URL sent to the user.