summaryrefslogtreecommitdiff
path: root/chat/ejabberd/patches/patch-ad
blob: c825dfc0e2678748af5ff945c3ce825fec90e383 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
$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.