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

Contents of /rpms/smeserver-ejabberd/contribs8/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)
Tue Feb 26 02:58:22 2013 UTC (11 years, 9 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-ejabberd-2_0_1-21_el5_sme, smeserver-ejabberd-2_0_1-19_el5_sme, smeserver-ejabberd-2_0_1-22_el5_sme, smeserver-ejabberd-2_0_1-20_el5_sme, HEAD
Initial import

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