Typo
[slapos.git] / software / kvm / software.cfg
1 [buildout]
2 extensions =
3   buildout-versions
4   
5 extends =
6   ../../component/gzip/buildout.cfg
7   ../../component/dcron/buildout.cfg
8   ../../component/logrotate/buildout.cfg
9   ../../component/git/buildout.cfg
10   ../../component/gnutls/buildout.cfg
11   ../../component/libpng/buildout.cfg
12   ../../component/libuuid/buildout.cfg
13   ../../component/noVNC/buildout.cfg
14   ../../component/openssl/buildout.cfg
15   ../../component/dash/buildout.cfg
16   ../../component/lxml-python/buildout.cfg
17   ../../stack/nodejs.cfg
18
19 develop =
20   ${:parts-directory}/websockify
21
22 parts =
23   template
24   dash
25   kvm
26   eggs
27   check-local-eggs
28   nodejs
29   http-proxy
30   proxy-by-url
31   npm-modules
32   dcron
33   logrotate
34
35 versions = versions
36
37 #XXX-Cedric : Currently, one can only access to KVM using noVNC.
38 #             Ideally one should be able to access KVM by using either NoVNC or VNC.
39 #             Problem is : no native crypto support in web browsers. So we have to disable ssl
40 #             In qemu builtin vnc server, and make it available only for localhost 
41 #             so that only novnc can listen to it.
42
43 #XXX-Cedric: Check status of https://github.com/kanaka/noVNC/issues/13 to see
44 #            When qemu has builtin support for websockets in vnc server to get rid of 
45 #            Websockify (socket <-> websocket proxy server) when it is ready.
46 #            May solve previous XXX depending on the implementation.
47
48 #XXX-Cedric : add list of keyboard layouts (azerty/us querty/...) parameter to qemu
49
50 [kvm]
51 recipe = hexagonit.recipe.cmmi
52 url = http://downloads.sourceforge.net/project/kvm/qemu-kvm/0.15.1/qemu-kvm-0.15.1.tar.gz
53 # XXX-Cedric : Upgrade to 1.0
54 # url = http://downloads.sourceforge.net/project/kvm/qemu-kvm/1.0/qemu-kvm-1.0.tar.gz
55 # md5sum = 00a825db46a70ba8ef9fc95da9cc7c1e
56 md5sum = 8800a7d6b3aa4a168ea7f78dc66c0320
57 configure-options =
58   --disable-sdl
59   --disable-xen
60   --enable-vnc-tls
61   --disable-vnc-sasl
62   --disable-curses
63   --disable-curl
64   --enable-kvm
65   --disable-docs
66   --enable-vnc-png
67   --disable-vnc-jpeg
68   --extra-cflags="-I${gnutls:location}/include -I${libuuid:location}/include -I${zlib:location}/include -I${libpng:location}/include"
69   --extra-ldflags="-Wl,-rpath -Wl,${glib:location}/lib -L${glib:location}/lib -Wl,-rpath -Wl,${gnutls:location}/lib -L${gnutls:location}/lib -Wl,-rpath -Wl,${gpg-error:location}/lib -L${gpg-error:location}/lib -L${gettext:location}/lib -Wl,-rpath -Wl,${gettext:location}/lib -Wl,-rpath -Wl,${libpng:location}/lib -L${libpng:location}/lib -L${libuuid:location}/lib -Wl,-rpath -Wl,${libuuid:location}/lib -L${zlib:location}/lib -Wl,-rpath -Wl,${zlib:location}/lib -lpng -lz -lgnutls"
70   --disable-werror
71 environment =
72   PATH=${pkgconfig:location}/bin:%(PATH)s
73   PKG_CONFIG_PATH=${gnutls:location}/lib/pkgconfig:${glib:location}/lib/pkgconfig
74
75 [websockify]
76 # XXX-Cedric : use official egg from pypi when it is released
77 recipe = plone.recipe.command
78 stop-on-error = true
79 commit = 301f3ae580557da47fa5ea2050aa671ce9c5a1a0
80 repository = https://github.com/SlapOS/websockify.git
81 location = ${buildout:parts-directory}/${:_buildout_section_name_}
82 git-binary = ${git:location}/bin/git
83 command = export GIT_SSL_NO_VERIFY=true; (${:git-binary} clone --quiet ${:repository} ${:location} && cd ${:location} && ${:git-binary} reset --hard ${:commit}) || (rm -fr ${:location}; exit 1)
84 update-command =
85
86 [check-local-eggs]
87 recipe = plone.recipe.command
88 stop-on-error = true
89 update-command = ${:command}
90 command = grep parts ${buildout:develop-eggs-directory}/websockify.egg-link
91 depends = ${eggs:dummy}
92
93 [eggs]
94 recipe = z3c.recipe.scripts
95 dummy =
96   ${websockify:location}
97 eggs =
98   ${lxml-python:egg}
99   websockify
100   slapos.cookbook
101   slapos.toolbox
102
103 [http-proxy]
104 # https://github.com/nodejitsu/node-http-proxy
105 recipe = slapos.recipe.build:download-unpacked
106 #XXX-Cedric : use upstream when merged
107 url = https://nodeload.github.com/desaintmartin/node-http-proxy/zipball/master
108 md5sum = 20204d0b29c2cef26e1c91e99eedca6b
109
110 [proxy-by-url]
111 # https://github.com/dominictarr/proxy-by-url
112 recipe = slapos.recipe.build:download-unpacked
113 #XXX-Cedric : use upstream when merged
114 url = https://nodeload.github.com/desaintmartin/proxy-by-url/zipball/master
115 md5sum = c2609948aa708581f93b981b23880314
116
117 [npm-modules]
118 recipe = plone.recipe.command
119 destination = ${buildout:parts-directory}/${:_buildout_section_name_}
120 location = ${buildout:parts-directory}/${:_buildout_section_name_}
121 command =
122   rm -fr ${:destination} &&
123   mkdir -p ${:destination} &&
124   cd ${:destination} &&
125   ${nodejs:location}/bin/node ${nodejs:location}/bin/npm install colors@0.6.0-1 &&
126   ${nodejs:location}/bin/node ${nodejs:location}/bin/npm install socket.io@0.8.7 &&
127   ${nodejs:location}/bin/node ${nodejs:location}/bin/npm install socket.io-client@0.8.7 &&
128   ${nodejs:location}/bin/node ${nodejs:location}/bin/npm install optimist@0.3.1 &&
129   ${nodejs:location}/bin/node ${nodejs:location}/bin/npm install pkginfo@0.2.3
130
131
132 [template-kvm]
133 recipe = slapos.recipe.template
134 url = ${:_profile_base_location_}/instance-kvm.cfg
135 md5sum = 334d26da3808e127a9751ebcc21d83bb
136 output = ${buildout:directory}/template-kvm.cfg
137 mode = 0644
138
139 [template-kvmplus]
140 recipe = slapos.recipe.template
141 url = ${:_profile_base_location_}/instance-kvmplus.cfg
142 md5sum = 2e35c5b2ac9ee51d8f98fb1199f011c4
143 output = ${buildout:directory}/template-kvmplus.cfg
144 mode = 0644
145
146 [template-nbd]
147 recipe = slapos.recipe.template
148 url = ${:_profile_base_location_}/instance-nbd.cfg
149 md5sum = 692b3da84473fbc962bea9b371b5355b
150 output = ${buildout:directory}/template-nbd.cfg
151 mode = 0644
152
153 [template-frontend]
154 recipe = slapos.recipe.template
155 url = ${:_profile_base_location_}/instance-frontend.cfg
156 md5sum = 73359b52013b1b65f75005e8698ed180
157 output = ${buildout:directory}/template-frontend.cfg
158 mode = 0644
159
160 [template]
161 recipe = slapos.recipe.template
162 url = ${:_profile_base_location_}/instance.cfg
163 md5sum = 68788763d23f70f24b9e575871c903a8
164 output = ${buildout:directory}/template.cfg
165 mode = 0644
166
167 [networkcache]
168 # signature certificates of the following uploaders.
169 #   Romain Courteaud
170 #   Cedric de Saint Martin
171 signature-certificate-list =
172   -----BEGIN CERTIFICATE-----
173   MIIB4DCCAUkCADANBgkqhkiG9w0BAQsFADA5MQswCQYDVQQGEwJGUjEZMBcGA1UE
174   CBMQRGVmYXVsdCBQcm92aW5jZTEPMA0GA1UEChMGTmV4ZWRpMB4XDTExMDkxNTA5
175   MDAwMloXDTEyMDkxNTA5MDAwMlowOTELMAkGA1UEBhMCRlIxGTAXBgNVBAgTEERl
176   ZmF1bHQgUHJvdmluY2UxDzANBgNVBAoTBk5leGVkaTCBnzANBgkqhkiG9w0BAQEF
177   AAOBjQAwgYkCgYEApYZv6OstoqNzxG1KI6iE5U4Ts2Xx9lgLeUGAMyfJLyMmRLhw
178   boKOyJ9Xke4dncoBAyNPokUR6iWOcnPHtMvNOsBFZ2f7VA28em3+E1JRYdeNUEtX
179   Z0s3HjcouaNAnPfjFTXHYj4um1wOw2cURSPuU5dpzKBbV+/QCb5DLheynisCAwEA
180   ATANBgkqhkiG9w0BAQsFAAOBgQBCZLbTVdrw3RZlVVMFezSHrhBYKAukTwZrNmJX
181   mHqi2tN8tNo6FX+wmxUUAf3e8R2Ymbdbn2bfbPpcKQ2fG7PuKGvhwMG3BlF9paEC
182   q7jdfWO18Zp/BG7tagz0jmmC4y/8akzHsVlruo2+2du2freE8dK746uoMlXlP93g
183   QUUGLQ==
184   -----END CERTIFICATE-----
185   -----BEGIN CERTIFICATE-----
186   MIIB9jCCAV+gAwIBAgIJAO4V/jiMoICoMA0GCSqGSIb3DQEBBQUAMBMxETAPBgNV
187   BAMMCENPTVAtMjMyMCAXDTEyMDIxNjExMTAyM1oYDzIxMTIwMTIzMTExMDIzWjAT
188   MREwDwYDVQQDDAhDT01QLTIzMjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
189   wi/3Z8W9pUiegUXIk/AiFDQ0UJ4JFAwjqr+HSRUirlUsHHT+8DzH/hfcTDX1I5BB
190   D1ADk+ydXjMm3OZrQcXjn29OUfM5C+g+oqeMnYQImN0DDQIOcUyr7AJc4xhvuXQ1
191   P2pJ5NOd3tbd0kexETa1LVhR6EgBC25LyRBRae76qosCAwEAAaNQME4wHQYDVR0O
192   BBYEFMDmW9aFy1sKTfCpcRkYnP6zUd1cMB8GA1UdIwQYMBaAFMDmW9aFy1sKTfCp
193   cRkYnP6zUd1cMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEFBQADgYEAskbFizHr
194   b6d3iIyN+wffxz/V9epbKIZVEGJd/6LrTdLiUfJPec7FaxVCWNyKBlCpINBM7cEV
195   Gn9t8mdVQflNqOlAMkOlUv1ZugCt9rXYQOV7rrEYJBWirn43BOMn9Flp2nibblby
196   If1a2ZoqHRxoNo2yTmm7TSYRORWVS+vvfjY=
197   -----END CERTIFICATE-----
198
199 [versions]
200 Jinja2 = 2.6
201 Werkzeug = 0.8.3
202 apache-libcloud = 0.9.1
203 async = 0.6.1
204 buildout-versions = 1.7
205 gitdb = 0.5.4
206 hexagonit.recipe.cmmi = 1.5.0
207 lxml = 2.3.4
208 meld3 = 0.6.8
209 plone.recipe.command = 1.1
210 pycrypto = 2.5
211 slapos.cookbook = 0.48
212 slapos.recipe.build = 0.7
213 slapos.recipe.template = 2.3
214 slapos.toolbox = 0.24
215 smmap = 0.8.2
216 z3c.recipe.scripts = 1.0.1
217
218 # Required by:
219 # slapos.core==0.24
220 # slapos.toolbox==0.24
221 Flask = 0.8
222
223 # Required by:
224 # slapos.toolbox==0.24
225 GitPython = 0.3.2.RC1
226
227 # Required by:
228 # slapos.cookbook==0.48
229 PyXML = 0.8.4
230
231 # Required by:
232 # slapos.toolbox==0.24
233 atomize = 0.1.1
234
235 # Required by:
236 # slapos.toolbox==0.24
237 feedparser = 5.1.1
238
239 # Required by:
240 # slapos.cookbook==0.48
241 inotifyx = 0.2.0
242
243 # Required by:
244 # slapos.cookbook==0.48
245 netaddr = 0.7.6
246
247 # Required by:
248 # slapos.core==0.24
249 netifaces = 0.8
250
251 # Required by:
252 # websockify==0.1-dev
253 numpy = 1.6.1
254
255 # Required by:
256 # slapos.toolbox==0.24
257 paramiko = 1.7.7.1
258
259 # Required by:
260 # slapos.toolbox==0.24
261 psutil = 0.4.1
262
263 # Required by:
264 # slapos.cookbook==0.48
265 # slapos.core==0.24
266 # slapos.toolbox==0.24
267 setuptools = 0.6c12dev-r88846
268
269 # Required by:
270 # slapos.cookbook==0.48
271 # slapos.toolbox==0.24
272 slapos.core = 0.24
273
274 # Required by:
275 # slapos.core==0.24
276 supervisor = 3.0a12
277
278 # Required by:
279 # slapos.cookbook==0.48
280 # slapos.toolbox==0.24
281 xml-marshaller = 0.9.7
282
283 # Required by:
284 # slapos.cookbook==0.48
285 zc.recipe.egg = 1.3.2
286
287 # Required by:
288 # slapos.core==0.24
289 zope.interface = 3.8.0