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>).
- make
Alternate make command (e.g. gmake).
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.6/ejabberd-2.1.6.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.4 2011-04-13
Added ‘make’ buildout option to specify an alternate make command (e.g. gmake).
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
File details
Details for the file rod.recipe.ejabberd-1.1.4.tar.gz
.
File metadata
- Download URL: rod.recipe.ejabberd-1.1.4.tar.gz
- Upload date:
- Size: 8.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f89f4d2aa50daa1065dc25eda3f8fa28b2b57e789998611111148e03a40c2dfe |
|
MD5 | 7baee00d2ba15ad64444b3afeeeb3691 |
|
BLAKE2b-256 | 5b54ddecb0342ab51532a6ed0ddb02b1abdc123352392c0c16ab1e37ef75106c |