software.cfg 4.21 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
[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
15
  ../../component/openssl/buildout.cfg
16 17 18 19 20 21
  ../../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
22
  ../../component/apache-php/buildout.cfg
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
23
  ../../component/python-2.7/buildout.cfg
24 25 26 27
  ../../component/python-ldap-python/buildout.cfg
  ../../component/mysql-python/buildout.cfg
  ../../component/xtrabackup/buildout.cfg
  
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
#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
51 52
  mmc_core
  pulse2
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72

# 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

Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
73 74 75 76 77
[mmc_core]
recipe = hexagonit.recipe.cmmi
url = http://jean.parpaillon.free.fr/pulse2/mmc-3.0.2.tar.gz
#md5sum = 832f96a6ec4b8fc7cf49b9efd4e89060
#configure-options = 
78 79 80 81 82
#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
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
83 84 85 86 87 88 89

[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 = 
90 91 92 93
#  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
94

95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113
[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} http://git.erp5.org/repos/slapos.git ${:location} || exit 1;
update-command = cd ${:location} && ${git:location}/bin/git pull --quiet

[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}
114 115
  ${mysql-python:egg}
  ${python-ldap-python:egg}
116 117
  Twisted
  SQLAlchemy
118
  pyOpenSSL
119 120 121 122 123

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

[versions]
# Required by Pulse2
130
SQLAlchemy = 0.6.0
131 132 133 134 135 136 137 138 139 140 141 142 143 144 145
#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.5.0
plone.recipe.command = 1.1

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