software.cfg 4.25 KB
[buildout]
slaposcookbook_recipe_location = ${:parts-directory}/slaposcookbook
develop =
  ${:slaposcookbook_recipe_location}

extensions =
  slapos.zcbworkarounds
  slapos.rebootstrap

find-links +=
    http://www.nexedi.org/static/packages/source/slapos.buildout/

extends =
  ../../component/git/buildout.cfg
  ../../component/openssl/buildout.cfg
  ../../component/openldap/buildout.cfg
  ../../component/mysql-5.1/buildout.cfg
  ../../component/dcron/buildout.cfg
  ../../component/stunnel/buildout.cfg
  ../../component/rdiff-backup/buildout.cfg
  ../../component/lxml-python/buildout.cfg
  ../../component/apache-php/buildout.cfg
  ../../component/python-2.7/buildout.cfg
  ../../component/python-ldap-python/buildout.cfg
  ../../component/mysql-python/buildout.cfg
  ../../component/xtrabackup/buildout.cfg
  
#TODO add twisted

# Use only quite well working sites.
allow-hosts =
  *.nexedi.org
  *.python.org
  *.sourceforge.net
  dist.repoze.org
  effbot.org
  github.com
  peak.telecommunity.com
  psutil.googlecode.com
  www.dabeaz.com

versions = versions

parts =
# Create instance template
#TODO : list here all parts.
  template
  libxslt
  eggs
  instance-recipe-egg
  mmc_core
  pulse2

# XXX: Workaround of SlapOS limitation
# Unzippig of eggs is required, as SlapOS do not yet provide nicely working
# development / fast switching environment for whole software
unzip = true

[rebootstrap]
# Default first version of rebootstrapped python
version = 2
section = python2.7

[instance-recipe]
# Just so buildout executes [slaposcookbook] before [eggs], as
# - [eggs] references [slaposcookbook]
# - [instance-recipe] needs [slaposcookbook] to be finished
# - we cannot rely on anything else being executed before [instance-recipe]
slaposcookbook_dummy = ${slaposcookbook:location}
egg = slapos.cookbook
module = pulse2

[mmc_core]
recipe = hexagonit.recipe.cmmi
url = http://jean.parpaillon.free.fr/pulse2/mmc-3.0.2.tar.gz
#md5sum = 832f96a6ec4b8fc7cf49b9efd4e89060
#configure-options = 
#environment =
#  PATH=${pkgconfig:location}/bin:%(PATH)s
#  PKG_CONFIG_PATH=${openssl:location}/lib/pkgconfig
#  CPPFLAGS =-I${libuuid:location}/include
#  LDFLAGS =-Wl,-rpath=${zlib:location}/lib -Wl,-rpath=${openssl:location}/lib -L${libuuid:location}/lib -Wl,-rpath=${libuuid:location}/lib -Wl,-rpath=${libexpat:location}/lib -Wl,-rpath=${pcre:location}/lib -Wl,-rpath=${sqlite3:location}/lib -Wl,-rpath=${gdbm:location}/lib

[pulse2]
recipe = hexagonit.recipe.cmmi
url = http://jean.parpaillon.free.fr/pulse2/pulse2-1.3.1-78-gde4801e.tar.gz
#md5sum = 832f96a6ec4b8fc7cf49b9efd4e89060
#configure-options = --with-ldap-confdir
#environment = 
#  PATH=${pkgconfig:location}/bin:%(PATH)s
#  PKG_CONFIG_PATH=${openssl:location}/lib/pkgconfig
#  CPPFLAGS =-I${libuuid:location}/include
#  LDFLAGS =-Wl,-rpath=${zlib:location}/lib -Wl,-rpath=${openssl:location}/lib -L${libuuid:location}/lib -Wl,-rpath=${libuuid:location}/lib -Wl,-rpath=${libexpat:location}/lib -Wl,-rpath=${pcre:location}/lib -Wl,-rpath=${sqlite3:location}/lib -Wl,-rpath=${gdbm:location}/lib

[slaposcookbook]
recipe = plone.recipe.command
git_param =--quiet -b pulse
git = ${git:location}/bin/git
location = ${buildout:parts-directory}/${:_buildout_section_name_}
stop-on-error = true
command = "${:git}" clone ${:git_param} https://lab.nexedi.com/nexedi/slapos.git "${:location}" || exit 1;
update-command = cd "${:location}" && "${:git}" fetch --quiet && "${:git}" reset --hard @{upstream}

[instance-recipe-egg]
recipe = zc.recipe.egg
python = python2.7
eggs = ${instance-recipe:egg}

[eggs]
recipe = zc.recipe.egg
python = python2.7
eggs =
  ${lxml-python:egg}
  ${mysql-python:egg}
  ${python-ldap-python:egg}
  Twisted
  SQLAlchemy
  pyOpenSSL

[template]
# Default template for the instance.
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance.cfg
#md5sum = 837caf9897332a5f70c72438f1dc5bae
output = ${buildout:directory}/template.cfg
mode = 0644

[versions]
# Required by Pulse2
SQLAlchemy = 0.6.0
#slapos.cookbook = 0.4

# Required by slapos.cookbook==0.4
#slapos.core = 0.2
collective.recipe.template = 1.8
netaddr = 0.7.5
xml-marshaller = 0.9.7
setuptools = 0.6c12dev-r88795

hexagonit.recipe.cmmi = 1.5.0
hexagonit.recipe.download = 1.6nxd002
plone.recipe.command = 1.1

# Use SlapOS patched zc.buildout
zc.buildout = 1.5.3-dev-SlapOS-001