Fix versions
[slapos.git] / software / lamp-template / software.cfg
1 [buildout]
2 versions = versions
3
4 parts =
5   template
6   apache-php
7   mariadb
8   eggs
9   instance-recipe-egg
10   downloadcache-workaround
11   
12 extends =
13   ../../stack/lamp.cfg
14
15 [application]
16 recipe = slapos.recipe.build:download-unpacked
17 url = Student shall put here url of zipped or tarballed web page or application
18 md5sum = Student may put here md5sum of this file, this is good idea
19 #If provided tarball does not contain top directory, option shall be changed to false
20 strip-top-level-dir = true
21 #extract-directory = 
22
23 [application-template]
24 recipe = slapos.recipe.download
25 url = Student shall put here url to template file for application
26 #md5sum = Student may put here md5sum of this file, this is good idea
27 filename = template.in
28 mode = 0644
29 location = ${buildout:parts-directory}/${:_buildout_section_name_}
30
31 [application-configuration]
32 location = Student shall put here relative path to application top level directory where configuration shall be created
33
34 [instance-recipe]
35 egg = slapos.cookbook
36 module = lamp.simple
37
38 [template]
39 # Default template for the instance.
40 recipe = slapos.recipe.template
41 url = ${:_profile_base_location_}/instance.cfg
42 #md5sum = Student shall put md5 of instance.cfg here
43 output = ${buildout:directory}/template.cfg
44 mode = 0644
45
46 [mariadb]
47 keep-compile-dir = false
48
49 [instance-recipe-egg]
50 recipe = zc.recipe.egg
51 eggs = 
52   ${instance-recipe:egg}
53
54 [versions]
55 # Use SlapOS patched zc.buildout
56 zc.buildout = 1.6.0-dev-SlapOS-003
57 # Generated by buildout-versions
58 Jinja2 = 2.6
59 Werkzeug = 0.8.2
60 buildout-versions = 1.7
61 hexagonit.recipe.cmmi = 1.5.0
62 meld3 = 0.6.8
63 plone.recipe.command = 1.1
64 slapos.cookbook = 0.38
65 slapos.recipe.build = 0.7
66 slapos.recipe.download = 1.0.dev-r4053
67 slapos.recipe.template = 2.2
68
69 # Required by:
70 # slapos.core==0.21
71 Flask = 0.8
72
73 # Required by:
74 # slapos.cookbook==0.38
75 PyXML = 0.8.4
76
77 # Required by:
78 # hexagonit.recipe.cmmi==1.5.0
79 hexagonit.recipe.download = 1.5.0
80
81 # Required by:
82 # slapos.cookbook==0.38
83 # slapos.core==0.21
84 # xml-marshaller==0.9.7
85 lxml = 2.3.3
86
87 # Required by:
88 # slapos.cookbook==0.38
89 netaddr = 0.7.6
90
91 # Required by:
92 # slapos.core==0.21
93 netifaces = 0.6
94
95 # Required by:
96 # slapos.cookbook==0.38
97 # slapos.core==0.21
98 # zc.buildout==1.6.0-dev-SlapOS-003
99 # zc.recipe.egg==1.3.2
100 setuptools = 0.6c12dev-r88846
101
102 # Required by:
103 # slapos.cookbook==0.38
104 slapos.core = 0.21
105
106 # Required by:
107 # slapos.core==0.21
108 supervisor = 3.0a12
109
110 # Required by:
111 # slapos.cookbook==0.38
112 xml-marshaller = 0.9.7
113
114 # Required by:
115 # slapos.cookbook==0.38
116 zc.recipe.egg = 1.3.2
117
118 # Required by:
119 # slapos.core==0.21
120 zope.interface = 3.8.0
121
122 [downloadcache-workaround]
123 # workaround irritating problem of hexagonit.recipe.cmmi which automatically
124 # creates download cache, which in turn switches builout to "semi-offline" mode
125 recipe = plone.recipe.command
126 # in hexagonit.recipe.cmmi if there is no ${buildout:download-cache} set it resolves
127 # to ${buildout:directory}/downloads but this variable is available late, that's
128 # why it is hardcoded only for required case
129 download-cache = ${buildout:directory}/downloads
130 command = [ -d ${:download-cache} ] && rm -fr ${:download-cache}/* || exit 0
131 update-command = ${:command}
132 stop-on-error = True
133