Release slapos.cookbook-0.81.
[slapos.git] / software / mantis / 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   ../../stack/shacache-client.cfg
15
16 [application]
17 recipe = hexagonit.recipe.download
18 url = http://downloads.sourceforge.net/project/mantisbt/mantis-stable/1.2.10/mantisbt-1.2.10.zip?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fmantisbt%2F&ts=1334735181&use_mirror=freefr
19 md5sum = f653408a24f76723929567cba606861c
20 #If provided tarball does not contain top directory, option shall be changed to false
21 strip-top-level-dir = true
22
23   
24 [instance-recipe]
25 egg = slapos.cookbook
26 module = lamp.simple
27
28 [template]
29 # Default template for the instance.
30 recipe = slapos.recipe.template
31 url = ${:_profile_base_location_}/instance.cfg
32 #md5sum = Student shall put md5 of instance.cfg here
33 output = ${buildout:directory}/template.cfg
34 mode = 0644
35
36 [instance-recipe-egg]
37 recipe = zc.recipe.egg
38 eggs =
39     ${mysql-python:egg}
40     ${instance-recipe:egg}
41     slapos.toolbox[lampconfigure]
42
43 [versions]
44 # Use SlapOS patched zc.buildout
45 zc.buildout = 1.5.3-dev-SlapOS-010
46
47 [downloadcache-workaround]
48 # workaround irritating problem of hexagonit.recipe.cmmi which automatically
49 # creates download cache, which in turn switches builout to "semi-offline" mode
50 recipe = plone.recipe.command
51 # in hexagonit.recipe.cmmi if there is no ${buildout:download-cache} set it resolves
52 # to ${buildout:directory}/downloads but this variable is available late, that's
53 # why it is hardcoded only for required case
54 download-cache = ${buildout:directory}/downloads
55 command = [ -d ${:download-cache} ] && rm -fr ${:download-cache}/* || exit 0
56 update-command = ${:command}
57 stop-on-error = True