Merge master branch to get tar component.
[slapos.git] / software / piwigo / 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 = slapos.recipe.build:download-unpacked
18 url = http://piwigo.org/download/dlcounter.php?code=latest
19 md5sum = 13870130dcdda90bf2d2e3c20a49b04f
20
21 [application-template]
22 recipe = slapos.recipe.download
23 url = ${:_profile_base_location_}/template/piwigo.inc.php.in
24 md5sum = 8ca6d1408b468c6836cd0edaf02688e5
25 download-only = True
26 filename = template.in
27 mode = 0644
28 location = ${buildout:parts-directory}/${:_buildout_section_name_}
29
30 [application-configuration]
31 location = database.inc.php
32   
33 [instance-recipe]
34 egg = slapos.cookbook
35 module = lamp.simple
36
37 [template]
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
43 mode = 0644
44
45 [instance-recipe-egg]
46 recipe = zc.recipe.egg
47 eggs = ${instance-recipe:egg}
48
49 [versions]
50 # Use SlapOS patched zc.buildout
51 zc.buildout = 1.5.3-dev-SlapOS-010
52
53 Jinja2 = 2.6
54 MySQL-python = 1.2.3
55 Werkzeug = 0.8.1
56 apache-libcloud = 0.5.2
57 buildout-versions = 1.7
58 hexagonit.recipe.cmmi = 1.5.0
59 meld3 = 0.6.7
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
65 slapos.toolbox = 0.10
66
67 # Required by:
68 # slapos.core==0.18
69 # slapos.toolbox==0.10
70 Flask = 0.8
71
72 # Required by:
73 # slapos.cookbook==0.34
74 PyXML = 0.8.4
75
76 # Required by:
77 # hexagonit.recipe.cmmi==1.5.0
78 hexagonit.recipe.download = 1.5.1
79
80 # Required by:
81 # slapos.cookbook==0.34
82 # slapos.core==0.18
83 # slapos.toolbox==0.10
84 # xml-marshaller==0.9.7
85 lxml = 2.3.1
86
87 # Required by:
88 # slapos.cookbook==0.34
89 netaddr = 0.7.6
90
91 # Required by:
92 # slapos.core==0.18
93 netifaces = 0.5
94
95 # Required by:
96 # slapos.toolbox==0.10
97 paramiko = 1.7.7.1
98
99 # Required by:
100 # slapos.toolbox==0.10
101 psutil = 0.3.0
102
103 # Required by:
104 # slapos.cookbook==0.34
105 # slapos.core==0.18
106 # slapos.toolbox==0.10
107 setuptools = 0.6c12dev-r88846
108
109 # Required by:
110 # slapos.cookbook==0.34
111 # slapos.toolbox==0.10
112 slapos.core = 0.18
113
114 # Required by:
115 # slapos.core==0.18
116 supervisor = 3.0a10
117
118 # Required by:
119 # slapos.cookbook==0.34
120 # slapos.toolbox==0.10
121 xml-marshaller = 0.9.7
122
123 # Required by:
124 # slapos.cookbook==0.34
125 zc.recipe.egg = 1.3.2
126
127 # Required by:
128 # slapos.core==0.18
129 zope.interface = 3.8.0
130
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}
141 stop-on-error = True
142