version up : zc.buildout 1.6.0-dev-SlapOS-013.
[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 eggs = ${instance-recipe:egg}
52
53 [versions]
54 # Use SlapOS patched zc.buildout
55
56 Jinja2 = 2.6
57 MySQL-python = 1.2.3
58 Werkzeug = 0.8.1
59 apache-libcloud = 0.5.2
60 buildout-versions = 1.7
61 hexagonit.recipe.cmmi = 1.5.0
62 meld3 = 0.6.7
63 plone.recipe.command = 1.1
64 slapos.cookbook = 0.34
65 slapos.recipe.build = 0.7
66 slapos.recipe.download = 1.0.dev-r4053
67 slapos.recipe.template = 2.2
68 slapos.toolbox = 0.10
69
70 # Required by:
71 # slapos.core==0.18
72 # slapos.toolbox==0.10
73 Flask = 0.8
74
75 # Required by:
76 # slapos.cookbook==0.34
77 PyXML = 0.8.4
78
79 # Required by:
80 # hexagonit.recipe.cmmi==1.5.0
81 hexagonit.recipe.download = 1.6nxd002
82
83 # Required by:
84 # slapos.cookbook==0.34
85 # slapos.core==0.18
86 # slapos.toolbox==0.10
87 # xml-marshaller==0.9.7
88 lxml = 2.3.1
89
90 # Required by:
91 # slapos.cookbook==0.34
92 netaddr = 0.7.6
93
94 # Required by:
95 # slapos.core==0.18
96 netifaces = 0.5
97
98 # Required by:
99 # slapos.toolbox==0.10
100 paramiko = 1.7.7.1
101
102 # Required by:
103 # slapos.toolbox==0.10
104 psutil = 0.3.0
105
106 # Required by:
107 # slapos.cookbook==0.34
108 # slapos.core==0.18
109 # slapos.toolbox==0.10
110 setuptools = 0.6c12dev-r88846
111
112 # Required by:
113 # slapos.cookbook==0.34
114 # slapos.toolbox==0.10
115 slapos.core = 0.18
116
117 # Required by:
118 # slapos.core==0.18
119 supervisor = 3.0a10
120
121 # Required by:
122 # slapos.cookbook==0.34
123 # slapos.toolbox==0.10
124 xml-marshaller = 0.9.7
125
126 # Required by:
127 # slapos.cookbook==0.34
128 zc.recipe.egg = 1.3.2
129
130 # Required by:
131 # slapos.core==0.18
132 zope.interface = 3.8.0
133
134 [downloadcache-workaround]
135 # workaround irritating problem of hexagonit.recipe.cmmi which automatically
136 # creates download cache, which in turn switches builout to "semi-offline" mode
137 recipe = plone.recipe.command
138 # in hexagonit.recipe.cmmi if there is no ${buildout:download-cache} set it resolves
139 # to ${buildout:directory}/downloads but this variable is available late, that's
140 # why it is hardcoded only for required case
141 download-cache = ${buildout:directory}/downloads
142 command = [ -d ${:download-cache} ] && rm -fr ${:download-cache}/* || exit 0
143 update-command = ${:command}
144 stop-on-error = True
145