10 downloadcache-workaround
14 ../../stack/shacache-client.cfg
17 recipe = slapos.recipe.build:download-unpacked
18 url = http://phpnuke.org/modules/Release/files/phpnuke-release-8.2.4.tar.gz
19 md5sum = d448586c651c811a137280b435c4e05c
20 extract-directory = html
22 [application-template]
23 recipe = slapos.recipe.download
24 url = ${:_profile_base_location_}/template/phpnuke.inc.php.in
25 #md5sum = Student may put here md5sum of this file, this is good idea
26 filename = template.in
28 location = ${buildout:parts-directory}/${:_buildout_section_name_}
30 [application-configuration]
31 location = config.inc.php
38 # Default template for the instance.
39 recipe = slapos.recipe.template
40 url = ${:_profile_base_location_}/instance.cfg
41 #md5sum = Student shall put md5 of instance.cfg here
42 output = ${buildout:directory}/template.cfg
46 recipe = zc.recipe.egg
47 eggs = ${instance-recipe:egg}
50 # Use SlapOS patched zc.buildout
51 zc.buildout = 1.5.3-dev-SlapOS-010
56 apache-libcloud = 0.5.2
57 buildout-versions = 1.7
58 hexagonit.recipe.cmmi = 1.5.0
60 plone.recipe.command = 1.1
61 slapos.cookbook = 0.34
62 slapos.recipe.build = 0.7
63 slapos.recipe.download = 1.0.dev-r4053
64 slapos.recipe.template = 2.2
69 # slapos.toolbox==0.10
73 # slapos.cookbook==0.34
77 # hexagonit.recipe.cmmi==1.5.0
78 hexagonit.recipe.download = 1.6nxd002
81 # slapos.cookbook==0.34
83 # slapos.toolbox==0.10
84 # xml-marshaller==0.9.7
88 # slapos.cookbook==0.34
96 # slapos.toolbox==0.10
100 # slapos.toolbox==0.10
104 # slapos.cookbook==0.34
106 # slapos.toolbox==0.10
107 setuptools = 0.6c12dev-r88846
110 # slapos.cookbook==0.34
111 # slapos.toolbox==0.10
119 # slapos.cookbook==0.34
120 # slapos.toolbox==0.10
121 xml-marshaller = 0.9.7
124 # slapos.cookbook==0.34
125 zc.recipe.egg = 1.3.2
129 zope.interface = 3.8.0
131 [downloadcache-workaround]
132 # workaround irritating problem of hexagonit.recipe.cmmi which automatically
133 # creates download cache, which in turn switches builout to "semi-offline" mode
134 recipe = plone.recipe.command
135 # in hexagonit.recipe.cmmi if there is no ${buildout:download-cache} set it resolves
136 # to ${buildout:directory}/downloads but this variable is available late, that's
137 # why it is hardcoded only for required case
138 download-cache = ${buildout:directory}/downloads
139 command = [ -d ${:download-cache} ] && rm -fr ${:download-cache}/* || exit 0
140 update-command = ${:command}