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