Skip to main content

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

rod.recipe.ejabberd-1.1.4.tar.gz (8.7 kB view details)

Uploaded Source

File details

Details for the file rod.recipe.ejabberd-1.1.4.tar.gz.

File metadata

File hashes

Hashes for rod.recipe.ejabberd-1.1.4.tar.gz
Algorithm Hash digest
SHA256 f89f4d2aa50daa1065dc25eda3f8fa28b2b57e789998611111148e03a40c2dfe
MD5 7baee00d2ba15ad64444b3afeeeb3691
BLAKE2b-256 5b54ddecb0342ab51532a6ed0ddb02b1abdc123352392c0c16ab1e37ef75106c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page