official.cfg 2.33 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
  ../software-profiles/memcached.cfg
  ../software-profiles/mysql-tritonn-5.0.cfg
22
  ../software-profiles/mysql-5.1.cfg
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
23
  ../software-profiles/sphinx.cfg
24 25 26 27
  ../software-profiles/ocropus.cfg
  ../software-profiles/oood.cfg
  ../software-profiles/openoffice-bin.cfg
  ../software-profiles/python-2.4.cfg
28
  ../software-profiles/rdiff-backup.cfg
Łukasz Nowak's avatar
Łukasz Nowak committed
29
  ../software-profiles/w3m.cfg
30
  ../software-profiles/varnish.cfg
Łukasz Nowak's avatar
Łukasz Nowak committed
31
  ../software-profiles/xpdf.cfg
32
  ../software-profiles/zope-2.8.cfg
33
  ../profiles/common.cfg
34

35
python = python2.4
36 37
versions = versions

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

67 68 69 70 71 72 73
[show-requirements]
recipe = plone.recipe.command
command =
  echo "Required binary files: ${requirements:binary}"
  echo "Required header files: ${requirements:development}"
update-command = ${:command}

74
[software_definition]
75
software_home = ${buildout:software_home}
76 77 78 79 80 81
# 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}
82 83
executable = ${python2.4:executable}

84 85 86 87 88 89

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