]> git.pld-linux.org Git - packages/ejabberd.git/commitdiff
- rel 5; small fix in mod_logdb auto/th/ejabberd-13.12-5
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 7 May 2014 06:49:33 +0000 (08:49 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 7 May 2014 06:49:33 +0000 (08:49 +0200)
ejabberd-mod_logdb.patch
ejabberd.spec

index b8b0c659ea860139269d0f9debd0e3c9a4fbabef..da1eec84fe9983af584fcb57353cfd48e7474f8f 100644 (file)
@@ -318,7 +318,7 @@ index 0000000..06a894b
 +   undefined.
 diff --git a/src/mod_logdb.erl b/src/mod_logdb.erl
 new file mode 100644
-index 0000000..516f92b
+index 0000000..72f1982
 --- /dev/null
 +++ b/src/mod_logdb.erl
 @@ -0,0 +1,2152 @@
@@ -430,7 +430,7 @@ index 0000000..516f92b
 +    DBsRaw = gen_mod:get_opt(dbs, Opts, fun(A) -> A end, [{mnesia, []}]),
 +    DBs = case lists:keysearch(mnesia, 1, DBsRaw) of
 +               false -> lists:append(DBsRaw, [{mnesia,[]}]);
-+               DBsResult -> DBsResult
++               {value, _} -> DBsRaw
 +          end,
 +    VHostDB = gen_mod:get_opt(vhosts, Opts, fun(A) -> A end, [{VHost, mnesia}]),
 +    % 10 is default becouse of using in clustered environment
@@ -451,7 +451,7 @@ index 0000000..516f92b
 +                 end
 +         end,
 +
-+    ?MYDEBUG("Starting mod_logdb for ~s with ~s backend", [VHost, DBName]),
++    ?MYDEBUG("Starting mod_logdb for '~s' with '~s' backend", [VHost, DBName]),
 +
 +    DBMod = list_to_atom(atom_to_list(?MODULE) ++ "_" ++ atom_to_list(DBName)),
 +
index b8ae3dbc6527c5453b36ee3f45a670f587be5ff2..6fa95f0171fab2bd775ff8340c71d7a3ac412e9b 100644 (file)
@@ -8,7 +8,7 @@ Summary:        Fault-tolerant distributed Jabber/XMPP server
 Summary(pl.UTF-8):     Odporny na awarie rozproszony serwer Jabbera/XMPP
 Name:          ejabberd
 Version:       13.12
-Release:       4
+Release:       5
 License:       GPL
 Group:         Applications/Communications
 Source0:       http://www.process-one.net/downloads/ejabberd/%{version}/%{name}-%{version}.tgz
@@ -54,7 +54,7 @@ Patch0:               %{name}-paths.patch
 Patch1:                %{name}-config.patch
 # not available for 13.10
 #Patch2:               %{name}-vcard-access-get.patch
-# http://www.dp.uz.gov.ua/o.palij/mod_logdb/patch-mod_logdb-13.10.diff
+# http://www.dp.uz.gov.ua/o.palij/mod_logdb/patch-mod_logdb-13.12.diff
 Patch3:                %{name}-mod_logdb.patch
 Patch4:                %{name}-no_sslv3_or_3des.patch
 URL:           http://www.ejabberd.im/
This page took 0.033564 seconds and 4 git commands to generate.