software.cfg 2.12 KB
Newer Older
1 2 3
[buildout]

extends =
4
  ../../component/git/buildout.cfg
5 6
  ../../stack/lapp/buildout.cfg

7

8 9
# += since we need rdiff-backup and friends
parts +=
10
  apache-php-postgres
Marco Mariani's avatar
Marco Mariani committed
11
  pear-modules
12
  eggs
13 14
  instance
  instance-apache-php
15
  slapos-recipe-maarch-egg
16 17
  slapos.cookbook-repository
  check-recipe
18

19

20 21 22 23 24 25 26 27 28 29
develop =
  ${:parts-directory}/slapos.cookbook-repository


extensions = buildout-versions


[slapos.cookbook-repository]
recipe = slapos.recipe.build:gitclone
repository = http://git.erp5.org/repos/slapos.git
Marco Mariani's avatar
Marco Mariani committed
30
revision = 7285bc913e6ea46a36ad2a887af6e9fab010ca74
31 32 33 34 35 36 37 38 39 40
git-executable = ${git:location}/bin/git


[check-recipe]
recipe = plone.recipe.command
stop-on-error = true
update-command = ${:command}
command =
  grep parts ${buildout:develop-eggs-directory}/slapos.cookbook.egg-link

41 42 43 44 45 46 47 48 49 50

#----------------
#--
#-- Explicitly provide the configuration egg,
#-- otherwise instance.cfg won't be able to use it.
#--
[slapos-recipe-maarch-egg]
recipe = zc.recipe.egg
eggs =
    slapos.recipe.maarch
51

52

53 54 55
#----------------
#--
#-- Main application part
56
#--
57

58
[application]
Marco Mariani's avatar
Marco Mariani committed
59
url = http://downloads.sourceforge.net/project/maarch/Maarch%20Entreprise/MaarchEntreprise-1.3.zip
60
md5sum = 5c2c859dee9d0dde3ba959474fd5fc86
61 62


63 64 65 66 67 68 69 70 71 72 73 74 75
#----------------
#--
#-- Define parts that will be executed later, in the instance.
#--

[custom-application-deployment]
path = ${custom-application-deployment-template:output}
part-list = maarch-configuration

[custom-application-deployment-template]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-custom.cfg.in
output = ${buildout:directory}/instance-custom.cfg
76
md5sum = f86b311d443156e327a1b5f5acfb22b1
77 78 79 80 81 82 83 84
mode = 0644


#----------------
#--
#-- Install PHP channels and modules (only if they are not already installed).
#--

Marco Mariani's avatar
Marco Mariani committed
85 86
[pear-modules]
recipe = cp.recipe.cmd
Marco Mariani's avatar
Marco Mariani committed
87
pear = ${apache-php-postgres:location}/bin/pear
Marco Mariani's avatar
Marco Mariani committed
88
install_cmd =
Marco Mariani's avatar
Marco Mariani committed
89
    ${:pear} channel-info pear.maarch.org >/dev/null || ${:pear} channel-discover pear.maarch.org
Marco Mariani's avatar
Marco Mariani committed
90 91
    ${:pear} info maarch/CLITools-0.3.1 >/dev/null || ${:pear} install maarch/CLITools-0.3.1
    ${:pear} info MIME_Type >/dev/null || ${:pear} install MIME_Type
92

Marco Mariani's avatar
Marco Mariani committed
93

94 95
#----------------

96 97 98
[versions]
slapos.recipe.maarch = 0.4