jabberd/jabberd.patch

changeset 225
a01e65d97743
parent 224
29b273d63835
child 303
2bd9bf3f6f03
     1.1 --- a/jabberd/jabberd.patch	Sat Oct 31 19:00:00 2009 +0100
     1.2 +++ b/jabberd/jabberd.patch	Sat Oct 31 19:03:03 2009 +0100
     1.3 @@ -32,15 +32,6 @@
     1.4   
     1.5       <!-- Port to bind to, or 0 to disable unencrypted access to the
     1.6            server (default: 5222) -->
     1.7 -@@ -331,7 +329,7 @@
     1.8 -     <path>@pkglibdir@</path>
     1.9 - 
    1.10 -     <!-- Backend module to use -->
    1.11 --    <module>sqlite</module>
    1.12 -+    <module>db</module>
    1.13 - 
    1.14 -     <!-- Available authentication mechanisms -->
    1.15 -     <mechanisms>
    1.16  Index: etc/router.xml.dist.in
    1.17  --- etc/router.xml.dist.in.orig	2009-06-30 11:38:16 +0200
    1.18  +++ etc/router.xml.dist.in	2009-06-30 20:45:06 +0200
    1.19 @@ -126,15 +117,6 @@
    1.20   
    1.21       <!-- If logging to file, this is the filename of the logfile -->
    1.22       <!--
    1.23 -@@ -85,7 +85,7 @@
    1.24 -     <path>@pkglibdir@</path>
    1.25 - 
    1.26 -     <!-- By default, we use the SQLite driver for all storage -->
    1.27 --    <driver>sqlite</driver>
    1.28 -+    <driver>db</driver>
    1.29 - 
    1.30 -     <!-- Its also possible to explicitly list alternate drivers for
    1.31 -          specific data types. -->
    1.32  Index: sm/mod_iq_time.c
    1.33  --- sm/mod_iq_time.c.orig	2009-06-30 11:38:15 +0200
    1.34  +++ sm/mod_iq_time.c	2009-06-30 20:45:06 +0200
    1.35 @@ -181,3 +163,33 @@
    1.36   
    1.37   #include <expat.h>
    1.38   
    1.39 +Index: tools/jabberd.in
    1.40 +--- tools/jabberd.in.orig	2009-10-31 17:51:42.857115000 +0100
    1.41 ++++ tools/jabberd.in	2009-10-31 18:07:52.095812899 +0100
    1.42 +@@ -63,7 +63,7 @@
    1.43 + 
    1.44 + 
    1.45 + #-----------------------------------------------------------------------------
    1.46 +-# Setup the jobs: router, sm, c2s, s2s
    1.47 ++# Setup the jobs: router, sm, c2s, s2s, mu-conference
    1.48 + #-----------------------------------------------------------------------------
    1.49 + $jobs{jabberd}->{prefix}  = "JBRD";
    1.50 + 
    1.51 +@@ -83,12 +83,17 @@
    1.52 + $jobs{s2s}->{config} = "$config_dir/s2s.xml";
    1.53 + $jobs{s2s}->{prefix} = "S2S";
    1.54 + 
    1.55 ++$jobs{muc}->{cmd} = "$Bin/mu-conference";
    1.56 ++$jobs{muc}->{config} = "$config_dir/muc.xml";
    1.57 ++$jobs{muc}->{prefix} = "MUC";
    1.58 ++
    1.59 + if ($config eq "internal")
    1.60 + {
    1.61 +     $programs[0] = ["router"];
    1.62 +     $programs[1] = ["sm"];
    1.63 +     $programs[2] = ["c2s"];
    1.64 +     $programs[3] = ["s2s"];
    1.65 ++    $programs[4] = ["muc"];
    1.66 + }
    1.67 + else
    1.68 + {

mercurial