Add update versions and application parts of software.cfg
[slapos.git] / software / MediaWiki / 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   mediawiki-patch
12   patch
13
14
15 extends =
16   ../../stack/lamp.cfg
17   ../../stack/shacache-client.cfg
18
19 [mediawiki-patch]
20 recipe = slapos.recipe.download
21 url = ${:_profile_base_location_}/patch/mediawiki-1.17.0.config.patch
22 md5sum = fd606666ac9fc54cb84cda8cf08edef4
23 location = ${buildout:parts-directory}/${:_buildout_section_name_}
24 filename = mediawiki-1.17.0.config.patch
25
26 [application]
27 recipe = slapos.recipe.build:download-unpacked
28 url = http://download.wikimedia.org/mediawiki/1.17/mediawiki-1.17.0.tar.gz
29 md5sum = 871a00a8eb6dcae1b7b654ae635af7cd
30
31 [patch]
32 recipe = iw.recipe.cmd
33 on_install = true
34 on_update = true
35 cmds= patch -d ${application:location} -p1 < ${mediawiki-patch:location}/${mediawiki-patch:filename}
36   
37 [instance-recipe]
38 egg = slapos.cookbook
39 module = lamp.simple
40
41 [template]
42 # Default template for the instance.
43 recipe = slapos.recipe.template
44 url = ${:_profile_base_location_}/instance.cfg
45 #md5sum = Student shall put md5 of instance.cfg here
46 output = ${buildout:directory}/template.cfg
47 mode = 0644
48
49 [instance-recipe-egg]
50 recipe = zc.recipe.egg
51 python = python2.7
52 eggs = ${instance-recipe:egg}
53
54 [versions]
55 # Use SlapOS patched zc.buildout
56 zc.buildout = 1.5.3-dev-SlapOS-010
57
58 Jinja2 = 2.6
59 MySQL-python = 1.2.3
60 Werkzeug = 0.8.1
61 apache-libcloud = 0.5.2
62 buildout-versions = 1.7
63 hexagonit.recipe.cmmi = 1.5.0
64 meld3 = 0.6.7
65 plone.recipe.command = 1.1
66 slapos.cookbook = 0.34
67 slapos.recipe.build = 0.7
68 slapos.recipe.download = 1.0.dev-r4053
69 slapos.recipe.template = 2.2
70 slapos.toolbox = 0.10
71
72 # Required by:
73 # slapos.core==0.18
74 # slapos.toolbox==0.10
75 Flask = 0.8
76
77 # Required by:
78 # slapos.cookbook==0.34
79 PyXML = 0.8.4
80
81 # Required by:
82 # hexagonit.recipe.cmmi==1.5.0
83 hexagonit.recipe.download = 1.5.0
84
85 # Required by:
86 # slapos.cookbook==0.34
87 # slapos.core==0.18
88 # slapos.toolbox==0.10
89 # xml-marshaller==0.9.7
90 lxml = 2.3.1
91
92 # Required by:
93 # slapos.cookbook==0.34
94 netaddr = 0.7.6
95
96 # Required by:
97 # slapos.core==0.18
98 netifaces = 0.5
99
100 # Required by:
101 # slapos.toolbox==0.10
102 paramiko = 1.7.7.1
103
104 # Required by:
105 # slapos.toolbox==0.10
106 psutil = 0.3.0
107
108 # Required by:
109 # slapos.cookbook==0.34
110 # slapos.core==0.18
111 # slapos.toolbox==0.10
112 setuptools = 0.6c12dev-r88846
113
114 # Required by:
115 # slapos.cookbook==0.34
116 # slapos.toolbox==0.10
117 slapos.core = 0.18
118
119 # Required by:
120 # slapos.core==0.18
121 supervisor = 3.0a10
122
123 # Required by:
124 # slapos.cookbook==0.34
125 # slapos.toolbox==0.10
126 xml-marshaller = 0.9.7
127
128 # Required by:
129 # slapos.cookbook==0.34
130 zc.recipe.egg = 1.3.2
131
132 # Required by:
133 # slapos.core==0.18
134 zope.interface = 3.8.0
135
136 [downloadcache-workaround]
137 # workaround irritating problem of hexagonit.recipe.cmmi which automatically
138 # creates download cache, which in turn switches builout to "semi-offline" mode
139 recipe = plone.recipe.command
140 # in hexagonit.recipe.cmmi if there is no ${buildout:download-cache} set it resolves
141 # to ${buildout:directory}/downloads but this variable is available late, that's
142 # why it is hardcoded only for required case
143 download-cache = ${buildout:directory}/downloads
144 command = [ -d ${:download-cache} ] && rm -fr ${:download-cache}/* || exit 0
145 update-command = ${:command}
146 stop-on-error = True
147