/[smecontribs]/rpms/smeserver-ejabberd/contribs7/smeserver-ejabberd-2.0.1-mod_admin_extra.patch
ViewVC logotype

Contents of /rpms/smeserver-ejabberd/contribs7/smeserver-ejabberd-2.0.1-mod_admin_extra.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Mon Jan 3 01:08:30 2011 UTC (13 years, 11 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-ejabberd-2_0_1-18_el4_sme, HEAD
* Sun Jan 2 2011 Jean-Paul Leclere <jean-paul@leclere.org> 2.0.1-18.sme
- add mod_admin_extra support (see Bug 6462)

1 diff -up smeserver-ejabberd-2.0.1/root/etc/e-smith/templates/etc/ejabberd/ejabberd.cfg/85Modules.mod_admin_extra smeserver-ejabberd-2.0.1/root/etc/e-smith/templates/etc/ejabberd/ejabberd.cfg/85Modules
2 --- smeserver-ejabberd-2.0.1/root/etc/e-smith/templates/etc/ejabberd/ejabberd.cfg/85Modules.mod_admin_extra 2011-01-02 18:07:40.000000000 -0700
3 +++ smeserver-ejabberd-2.0.1/root/etc/e-smith/templates/etc/ejabberd/ejabberd.cfg/85Modules 2011-01-02 18:07:43.000000000 -0700
4 @@ -30,8 +30,12 @@
5 {mod_last, []},
6 % {mod_xmlrpc,[{port, 4560},{timeout, 5000}]},
7 {mod_version, []},
8 - {mod_ctlextra, []},
9 HERE
10 + if (-e '/usr/lib/ejabberd/ebin/mod_admin_extra.beam' || -e '/usr/lib64/ejabberd/ebin/mod_admin_extra.beam')
11 + { $OUT .= ' {mod_admin_extra, []},'; }
12 + else
13 + { $OUT .= ' {mod_ctlextra, []},'; }
14 + $OUT .= "\n";
15 $OUT .= ' {mod_echo, [{host, "echo.';
16 $OUT .= ${DomainName};
17 $OUT .= '"}]}';

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed