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