ZC Buildout recipe to build and install ejabberd.
Project description
The ejabberd http://www.process-one.net/en/ejabberd/ is a distributed, fault-tolerant technology that allows the creation of large-scale instant messaging applications. This buildout recipe downloads and installs ejabberd into an isolated development environment.
A brief documentation
This recipe takes a number of options:
- erlang-path
The path where to find the erlc command (default = /usr/local/bin).
- url
The URL to download the ejabberd source distribution.
- prefix
Prefix path (default = <buildout directory>).
Tests
We will define a buildout template used by the recipe:
>>> buildout_cfg = """ ... [buildout] ... parts = ejabberd ... offline = true ... ... [ejabberd] ... recipe = rod.recipe.ejabberd ... url = http://www.process-one.net/downloads/ejabberd/2.1.0-rc1/sources/ejabberd-2.1.0_rc1.tar.gz ... """
We’ll start by creating a buildout:
>>> import os.path >>> write('buildout.cfg', buildout_cfg)
Running the buildout gives us:
>>> output = system(buildout) >>> if '/sample-buildout/parts/ejabberd' in output: True ... else: print output True
Changes
1.1.3 2010-05-09
Fixed issue where ejabberd scripts used an incorrect default Erlang path when no erlang-path option was specified.
1.1.2 2009-10-13
Modified ejabberd startup command to run server in foreground.
1.1.1 2009-10-13
Fixes an issue where ejabberd crashes on startup due to a missing directory.
1.1.0 2009-10-13
Creates custom ejabberd and ejabberdctl scripts.
1.0.0 2009-10-10
Initial release.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for rod.recipe.ejabberd-1.1.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e48107b06cf416c2dd8c58623a215bfa8be0999a4d09b14e307dccb9fcd6eda9 |
|
MD5 | caa924713a31f882d82a5f9466d53c32 |
|
BLAKE2b-256 | bb6d1ee173e5259a34a2feea3bab384b53eef359e3b58ca86f6ca01f1e14186e |