official.cfg 2.24 KB
Newer Older
1 2 3
# Official configuration
# Generates full ERP5 software with all needed dependencies (including python,
# mysql, frontend, load balancer, etc.)
4
[buildout]
5 6
software_home = ${:directory}

7
extends =
8
  ../profiles/versions.cfg
9
  ../profiles/software-definition.cfg
10
  ../software-profiles/apache.cfg
11
  ../software-profiles/automake-1.9.cfg
12
  ../software-profiles/erp5.cfg
13
  ../software-profiles/garbage-collector.cfg
14
  ../software-profiles/tokyocabinet.cfg
15 16 17 18
  ../software-profiles/flare.cfg
  ../software-profiles/haproxy.cfg
  ../software-profiles/imagemagick.cfg
  ../software-profiles/libevent.cfg
19
  ../software-profiles/libtool.cfg
20 21 22 23 24 25
  ../software-profiles/memcached.cfg
  ../software-profiles/mysql-tritonn-5.0.cfg
  ../software-profiles/ocropus.cfg
  ../software-profiles/oood.cfg
  ../software-profiles/openoffice-bin.cfg
  ../software-profiles/python-2.4.cfg
26
  ../software-profiles/rdiff-backup.cfg
Łukasz Nowak's avatar
Łukasz Nowak committed
27
  ../software-profiles/w3m.cfg
28
  ../software-profiles/varnish.cfg
Łukasz Nowak's avatar
Łukasz Nowak committed
29
  ../software-profiles/xpdf.cfg
30
  ../software-profiles/zope-2.8.cfg
31
  ../profiles/common.cfg
32

33
python = python2.4
34 35
versions = versions

36
parts =
37
  eggs
38
  rdiff-backup
Łukasz Nowak's avatar
Łukasz Nowak committed
39
  apache
40
  memcached
41
  ocropus
Łukasz Nowak's avatar
Łukasz Nowak committed
42
  haproxy
43
  varnish
44
  flare
Łukasz Nowak's avatar
Łukasz Nowak committed
45
  w3m
46
  xpdf
47
  mysql-tritonn-5.0
48
  imagemagick
49
  zope-2.8
50 51
  cmf15
  itools
Rafael Monnerat's avatar
Rafael Monnerat committed
52
  pythonbin2.4
53
  bootstrap2.4
54
  mysql-python
55 56
  products-deps
  products-erp5
57 58
  products-erp5-development
  products-other
Łukasz Nowak's avatar
Łukasz Nowak committed
59
  openoffice-bin
Łukasz Nowak's avatar
Łukasz Nowak committed
60
  oood
61
  software_home
62

63 64 65 66 67 68 69
[show-requirements]
recipe = plone.recipe.command
command =
  echo "Required binary files: ${requirements:binary}"
  echo "Required header files: ${requirements:development}"
update-command = ${:command}

70
[software_definition]
71
software_home = ${buildout:software_home}
72 73 74 75 76 77
# as mysql-python part, which uses mysql-python-env is not depending directly
# on mysql-tritonn-5.0 part, but official buildout shall provide whole software
# set dependency here
# Thanks to this it is possible to build mysql-python part in own environment
# with local mysql, but by default buildout mysql will be used.
mysql_software = ${mysql-tritonn-5.0:location}
78 79
executable = ${python2.4:executable}

80 81 82 83 84 85

[software_home]
recipe = collective.recipe.template
input = ${buildout:software_home}/templates/software-home.inc.in
output = ${buildout:software_home}/instance-profiles/software-home.inc