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