slaprunner: fixed revisions for repos
[slapos.git] / software / phpfin / software.cfg
1 [buildout]
2 versions = versions
3
4 parts =
5   template
6   apache-php
7   mariadb
8   eggs
9   instance-recipe-egg
10   configure-script
11
12 extends =
13   ../../stack/lamp.cfg
14
15 [application]
16 recipe = slapos.recipe.build:download-unpacked
17 url = http://garr.dl.sourceforge.net/project/phpfin/phpfin/phpfinV1.00%20Free/phpfinfree1_0.zip
18 md5sum = 06f5ef5205c492e38ecbb6159f5417e4
19
20 [configure-script]
21 recipe = hexagonit.recipe.download
22 location = ${buildout:parts-directory}/${:_buildout_section_name_}
23 url = ${:_profile_base_location_}/configure-phpfin.py
24 filename = configure-phpfin.py
25 download-only = True
26
27 [application-template]
28 recipe = slapos.recipe.download
29 url = ${:_profile_base_location_}/template/connection.inc.in
30 #md5sum = Student may put here md5sum of this file, this is good idea
31 download-only = True
32 filename = template.in
33 mode = 0644
34 location = ${buildout:parts-directory}/${:_buildout_section_name_}
35
36 [application-configuration]
37 location = connection.inc
38
39
40 [instance-recipe]
41 egg = slapos.cookbook
42 module = lamp.simple
43
44 [template]
45 # Default template for the instance.
46 recipe = slapos.recipe.template
47 url = ${:_profile_base_location_}/instance.cfg
48 #md5sum = Student shall put md5 of instance.cfg here
49 output = ${buildout:directory}/template.cfg
50 mode = 0644
51
52 [instance-recipe-egg]
53 recipe = zc.recipe.egg
54 eggs =
55     ${mysql-python:egg}
56     ${instance-recipe:egg}
57     slapos.toolbox[lampconfigure]