From e5d24089d22d5d91b40052a1f80d9f6d868d7d44 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Thu, 25 Jun 2015 21:08:56 +0200 Subject: [PATCH] Rename mod_mam to mod_mam_mnesia Rename mod_mam so that users can continue to run it until we provide an upgrade path to the mod_mam version shipped with ejabberd 15.06. --- {mod_mam => mod_mam_mnesia}/COPYING | 0 {mod_mam => mod_mam_mnesia}/Emakefile | 2 +- {mod_mam => mod_mam_mnesia}/README.txt | 4 ++-- {mod_mam => mod_mam_mnesia}/TODO.txt | 2 +- {mod_mam => mod_mam_mnesia}/build.bat | 0 {mod_mam => mod_mam_mnesia}/build.sh | 0 {mod_mam => mod_mam_mnesia}/ebin/.keepme | 0 .../src/mod_mam.erl => mod_mam_mnesia/src/mod_mam_mnesia.erl | 4 ++-- 8 files changed, 6 insertions(+), 6 deletions(-) rename {mod_mam => mod_mam_mnesia}/COPYING (100%) rename {mod_mam => mod_mam_mnesia}/Emakefile (77%) rename {mod_mam => mod_mam_mnesia}/README.txt (96%) rename {mod_mam => mod_mam_mnesia}/TODO.txt (78%) rename {mod_mam => mod_mam_mnesia}/build.bat (100%) rename {mod_mam => mod_mam_mnesia}/build.sh (100%) rename {mod_mam => mod_mam_mnesia}/ebin/.keepme (100%) rename mod_mam/src/mod_mam.erl => mod_mam_mnesia/src/mod_mam_mnesia.erl (99%) diff --git a/mod_mam/COPYING b/mod_mam_mnesia/COPYING similarity index 100% rename from mod_mam/COPYING rename to mod_mam_mnesia/COPYING diff --git a/mod_mam/Emakefile b/mod_mam_mnesia/Emakefile similarity index 77% rename from mod_mam/Emakefile rename to mod_mam_mnesia/Emakefile index fe1263d..fd34e00 100644 --- a/mod_mam/Emakefile +++ b/mod_mam_mnesia/Emakefile @@ -1,4 +1,4 @@ {'../ejabberd-dev/src/gen_mod', [{outdir, "../ejabberd-dev/ebin"}, {i, "../ejabberd-dev/include"}]}. {'../ejabberd-dev/src/lager_transform', [{outdir, "../ejabberd-dev/ebin"}, {i, "../ejabberd-dev/include"}]}. {'../ejabberd-dev/src/lager_util', [{outdir, "../ejabberd-dev/ebin"}, {i, "../ejabberd-dev/include"}]}. -{'src/mod_mam', [{outdir, "ebin"}, {i, "../ejabberd-dev/include"}, {d, 'LAGER'}]}. +{'src/mod_mam_mnesia', [{outdir, "ebin"}, {i, "../ejabberd-dev/include"}, {d, 'LAGER'}]}. diff --git a/mod_mam/README.txt b/mod_mam_mnesia/README.txt similarity index 96% rename from mod_mam/README.txt rename to mod_mam_mnesia/README.txt index 63116d4..8734f89 100644 --- a/mod_mam/README.txt +++ b/mod_mam_mnesia/README.txt @@ -1,5 +1,5 @@ - mod_mam - Message Archive Management (XEP-0313) + mod_mam_mnesia - Message Archive Management (XEP-0313) Author: Holger Weiss Requirements: ejabberd 14.12 or newer @@ -19,7 +19,7 @@ synchronization of multiple clients. In order to use this module with the default settings, add the following line to the 'modules' section of your ejabberd.yml file: - mod_mam: {} + mod_mam_mnesia: {} The configurable options are: diff --git a/mod_mam/TODO.txt b/mod_mam_mnesia/TODO.txt similarity index 78% rename from mod_mam/TODO.txt rename to mod_mam_mnesia/TODO.txt index c08c01f..ee99c40 100644 --- a/mod_mam/TODO.txt +++ b/mod_mam_mnesia/TODO.txt @@ -1,5 +1,5 @@ - Feature requests for mod_mam + Feature requests for mod_mam_mnesia - Add ODBC support. - Support archiving preferences (XEP-0313, section 6). diff --git a/mod_mam/build.bat b/mod_mam_mnesia/build.bat similarity index 100% rename from mod_mam/build.bat rename to mod_mam_mnesia/build.bat diff --git a/mod_mam/build.sh b/mod_mam_mnesia/build.sh similarity index 100% rename from mod_mam/build.sh rename to mod_mam_mnesia/build.sh diff --git a/mod_mam/ebin/.keepme b/mod_mam_mnesia/ebin/.keepme similarity index 100% rename from mod_mam/ebin/.keepme rename to mod_mam_mnesia/ebin/.keepme diff --git a/mod_mam/src/mod_mam.erl b/mod_mam_mnesia/src/mod_mam_mnesia.erl similarity index 99% rename from mod_mam/src/mod_mam.erl rename to mod_mam_mnesia/src/mod_mam_mnesia.erl index 0ab0dd7..78a1683 100644 --- a/mod_mam/src/mod_mam.erl +++ b/mod_mam_mnesia/src/mod_mam_mnesia.erl @@ -1,5 +1,5 @@ %%%---------------------------------------------------------------------- -%%% File : mod_mam.erl +%%% File : mod_mam_mnesia.erl %%% Author : Holger Weiss %%% Purpose : Message Archive Management (XEP-0313) %%% Created : 25 Jan 2015 by Holger Weiss @@ -23,7 +23,7 @@ %%% %%%---------------------------------------------------------------------- --module(mod_mam). +-module(mod_mam_mnesia). -author('holger@zedat.fu-berlin.de'). -define(NS_MAM, <<"urn:xmpp:mam:0">>).