Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 327323 - net-im/ejabberd: please add an optional support of module "mod_archive" via use-flag
Summary: net-im/ejabberd: please add an optional support of module "mod_archive" via u...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Net-im project
URL: http://www.ejabberd.im/mod_archive
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-07 14:33 UTC by tot-to
Modified: 2011-12-17 02:27 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tot-to 2010-07-07 14:33:58 UTC
mod_archive_odbc permits ejabberd to store conversation history on servir-side in MySQL/SQlite database. It is the greate avantage of jabber as compared to most other IMs. I think it is good idea to add this feature to ejabberd on gentoo.

Reproducible: Always
Comment 1 Peter Volkov (RETIRED) gentoo-dev 2010-07-22 15:02:11 UTC
Could you create tested patch for ejabberd, ebuild, for metadata.xml, please?
Comment 2 tot-to 2010-07-22 15:30:23 UTC
(In reply to comment #1)
I can only write how to add mod_archive support manually:

svn co https://svn.process-one.net/ejabberd-modules
cd ejabberd-modules/mod_archive/trunk
./build.sh
cp ebin/mod_archive.beam /usr/lib/erlang/lib/ejabberd-2.1.4/ebin/
# and if USE=web:
cp ebin/mod_archive_webview.beam /usr/lib/erlang/lib/ejabberd-2.1.4/ebin/

mod_archive.beam and mod_archive_sql.beam is "old" accordng to http://www.ejabberd.im/mod_archive and mod_archive works for me without them.
Comment 3 tot-to 2010-07-22 15:43:19 UTC
sorry, after "./build.sh" must be coping mod_archive_odbc.beam instead of mod_archive.beam
Comment 4 Peter Volkov (RETIRED) gentoo-dev 2011-06-07 13:41:23 UTC
As I read homepage: 
here are three different versions of this module. The main difference between them is the storage method:

    mod_archive uses Mnesia (old)
    mod_archive_sql uses PostgreSQL (old)
    mod_archive_odbc uses MySQL or SQLite3, and includes other improvements 

so we should use mod_archive_odbc. At the same time mod_archive_odb homepage (mentioned at http://www.ejabberd.im/mod_archive) tells us (http://www.ndl.kiev.ua/content/modarchive2-status):

Update: development of this module has stopped, all further development is done in mod_archive2 project.

It has sources at https://github.com/ndl/mod_archive2 and looks like last commit was done on 2009. I'm not sure we need old mod_archive and I'd like to hear if mod_archive2 works for you... Thoughts? Do we really need mod_archive?
Comment 5 Peter Volkov (RETIRED) gentoo-dev 2011-12-17 02:27:22 UTC
Please, comment what module you use? Have you tried newer one? I'd like to avoid adding obsolete version...