software.cfg 8.8 KB
Newer Older
1
[buildout]
2 3 4
extensions =
  buildout-versions
  
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 13 14
  ../../component/libuuid/buildout.cfg
  ../../component/noVNC/buildout.cfg
  ../../component/openssl/buildout.cfg
15
  ../../component/dash/buildout.cfg
16
  ../../component/lxml-python/buildout.cfg
17
  ../../stack/nodejs.cfg
18

19 20 21
develop =
  ${:parts-directory}/websockify

Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
22 23
parts =
  template
24
  dash
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
25 26
  kvm
  eggs
27
  check-local-eggs
28 29 30 31 32 33
  nodejs
  http-proxy
  proxy-by-url
  npm-modules
  dcron
  logrotate
34

35 36
versions = versions

37 38 39 40 41 42 43 44 45 46 47
#XXX-Cedric : Currently, one can only access to KVM using noVNC.
#             Ideally one should be able to access KVM by using either NoVNC or VNC.
#             Problem is : no native crypto support in web browsers. So we have to disable ssl
#             In qemu builtin vnc server, and make it available only for localhost 
#             so that only novnc can listen to it.

#XXX-Cedric: Check status of https://github.com/kanaka/noVNC/issues/13 to see
#            When qemu has builtin support for websockets in vnc server to get rid of 
#            Websockify (socket <-> websocket proxy server) when it is ready.
#            May solve previous XXX depending on the implementation.

48 49 50 51
#XXX-Cedric : add list of keyboard layouts (azerty/us querty/...) parameter to qemu

[kvm]
recipe = hexagonit.recipe.cmmi
52 53 54 55 56
url = http://downloads.sourceforge.net/project/kvm/qemu-kvm/0.15.1/qemu-kvm-0.15.1.tar.gz
# XXX-Cedric : Upgrade to 1.0
# url = http://downloads.sourceforge.net/project/kvm/qemu-kvm/1.0/qemu-kvm-1.0.tar.gz
# md5sum = 00a825db46a70ba8ef9fc95da9cc7c1e
md5sum = 8800a7d6b3aa4a168ea7f78dc66c0320
57 58 59 60 61 62 63 64 65 66 67 68
configure-options =
  --disable-sdl
  --disable-xen
  --enable-vnc-tls
  --disable-vnc-sasl
  --disable-curses
  --disable-curl
  --enable-kvm
  --disable-docs
  --enable-vnc-png
  --disable-vnc-jpeg
  --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 71 72 73
  --disable-werror
environment =
  PATH=${pkgconfig:location}/bin:%(PATH)s
  PKG_CONFIG_PATH=${gnutls:location}/lib/pkgconfig:${glib:location}/lib/pkgconfig
74 75

[websockify]
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
76
# XXX-Cedric : use official egg from pypi when it is released
77 78
recipe = plone.recipe.command
stop-on-error = true
79 80
commit = 301f3ae580557da47fa5ea2050aa671ce9c5a1a0
repository = https://github.com/SlapOS/websockify.git
81
location = ${buildout:parts-directory}/${:_buildout_section_name_}
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
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)
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
84
update-command =
85 86 87 88 89 90 91 92

[check-local-eggs]
recipe = plone.recipe.command
stop-on-error = true
update-command = ${:command}
command = grep parts ${buildout:develop-eggs-directory}/websockify.egg-link
depends = ${eggs:dummy}

93 94 95 96 97
[eggs]
recipe = z3c.recipe.scripts
dummy =
  ${websockify:location}
eggs =
98
  ${lxml-python:egg}
99
  websockify
100 101 102 103 104 105 106 107 108 109 110 111 112 113 114
  slapos.cookbook
  slapos.toolbox

[http-proxy]
# https://github.com/nodejitsu/node-http-proxy
recipe = slapos.recipe.build:download-unpacked
#XXX-Cedric : use upstream when merged
url = https://nodeload.github.com/desaintmartin/node-http-proxy/zipball/master
md5sum = 20204d0b29c2cef26e1c91e99eedca6b

[proxy-by-url]
# https://github.com/dominictarr/proxy-by-url
recipe = slapos.recipe.build:download-unpacked
#XXX-Cedric : use upstream when merged
url = https://nodeload.github.com/desaintmartin/proxy-by-url/zipball/master
115
md5sum = c2609948aa708581f93b981b23880314
116 117 118 119 120 121 122 123 124

[npm-modules]
recipe = plone.recipe.command
destination = ${buildout:parts-directory}/${:_buildout_section_name_}
location = ${buildout:parts-directory}/${:_buildout_section_name_}
command =
  rm -fr ${:destination} &&
  mkdir -p ${:destination} &&
  cd ${:destination} &&
125 126 127 128 129
  ${nodejs:location}/bin/node ${nodejs:location}/bin/npm install colors@0.6.0-1 &&
  ${nodejs:location}/bin/node ${nodejs:location}/bin/npm install socket.io@0.8.7 &&
  ${nodejs:location}/bin/node ${nodejs:location}/bin/npm install socket.io-client@0.8.7 &&
  ${nodejs:location}/bin/node ${nodejs:location}/bin/npm install optimist@0.3.1 &&
  ${nodejs:location}/bin/node ${nodejs:location}/bin/npm install pkginfo@0.2.3
130 131 132 133 134


[template-kvm]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-kvm.cfg
135
md5sum = 8d67a6cabe4fbce2bd44aa006a0d0cf8
136 137 138
output = ${buildout:directory}/template-kvm.cfg
mode = 0644

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 145
mode = 0644

146 147 148
[template-nbd]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-nbd.cfg
149
md5sum = 7691fadfc8d4392c58ac1bf0ebd5aaf2
150 151 152 153 154 155
output = ${buildout:directory}/template-nbd.cfg
mode = 0644

[template-frontend]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-frontend.cfg
156
md5sum = 123bf4e5bea9e86c03b62e9afb8ca04b
157 158 159
output = ${buildout:directory}/template-frontend.cfg
mode = 0644

160 161 162
[template]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance.cfg
163
md5sum = 68788763d23f70f24b9e575871c903a8
164 165
output = ${buildout:directory}/template.cfg
mode = 0644
Łukasz Nowak's avatar
Łukasz Nowak committed
166

167 168 169
[networkcache]
# signature certificates of the following uploaders.
#   Romain Courteaud
170
#   Cedric de Saint Martin
171 172
signature-certificate-list =
  -----BEGIN CERTIFICATE-----
173 174 175 176 177 178 179 180 181 182 183
  MIIB4DCCAUkCADANBgkqhkiG9w0BAQsFADA5MQswCQYDVQQGEwJGUjEZMBcGA1UE
  CBMQRGVmYXVsdCBQcm92aW5jZTEPMA0GA1UEChMGTmV4ZWRpMB4XDTExMDkxNTA5
  MDAwMloXDTEyMDkxNTA5MDAwMlowOTELMAkGA1UEBhMCRlIxGTAXBgNVBAgTEERl
  ZmF1bHQgUHJvdmluY2UxDzANBgNVBAoTBk5leGVkaTCBnzANBgkqhkiG9w0BAQEF
  AAOBjQAwgYkCgYEApYZv6OstoqNzxG1KI6iE5U4Ts2Xx9lgLeUGAMyfJLyMmRLhw
  boKOyJ9Xke4dncoBAyNPokUR6iWOcnPHtMvNOsBFZ2f7VA28em3+E1JRYdeNUEtX
  Z0s3HjcouaNAnPfjFTXHYj4um1wOw2cURSPuU5dpzKBbV+/QCb5DLheynisCAwEA
  ATANBgkqhkiG9w0BAQsFAAOBgQBCZLbTVdrw3RZlVVMFezSHrhBYKAukTwZrNmJX
  mHqi2tN8tNo6FX+wmxUUAf3e8R2Ymbdbn2bfbPpcKQ2fG7PuKGvhwMG3BlF9paEC
  q7jdfWO18Zp/BG7tagz0jmmC4y/8akzHsVlruo2+2du2freE8dK746uoMlXlP93g
  QUUGLQ==
184
  -----END CERTIFICATE-----
185 186 187 188 189 190 191 192 193 194 195 196
  -----BEGIN CERTIFICATE-----
  MIIB9jCCAV+gAwIBAgIJAO4V/jiMoICoMA0GCSqGSIb3DQEBBQUAMBMxETAPBgNV
  BAMMCENPTVAtMjMyMCAXDTEyMDIxNjExMTAyM1oYDzIxMTIwMTIzMTExMDIzWjAT
  MREwDwYDVQQDDAhDT01QLTIzMjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
  wi/3Z8W9pUiegUXIk/AiFDQ0UJ4JFAwjqr+HSRUirlUsHHT+8DzH/hfcTDX1I5BB
  D1ADk+ydXjMm3OZrQcXjn29OUfM5C+g+oqeMnYQImN0DDQIOcUyr7AJc4xhvuXQ1
  P2pJ5NOd3tbd0kexETa1LVhR6EgBC25LyRBRae76qosCAwEAAaNQME4wHQYDVR0O
  BBYEFMDmW9aFy1sKTfCpcRkYnP6zUd1cMB8GA1UdIwQYMBaAFMDmW9aFy1sKTfCp
  cRkYnP6zUd1cMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEFBQADgYEAskbFizHr
  b6d3iIyN+wffxz/V9epbKIZVEGJd/6LrTdLiUfJPec7FaxVCWNyKBlCpINBM7cEV
  Gn9t8mdVQflNqOlAMkOlUv1ZugCt9rXYQOV7rrEYJBWirn43BOMn9Flp2nibblby
  If1a2ZoqHRxoNo2yTmm7TSYRORWVS+vvfjY=
197
  -----END CERTIFICATE-----
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
198 199 200 201

[versions]
Jinja2 = 2.6
Werkzeug = 0.8.3
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
202
apache-libcloud = 0.9.1
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
203 204 205 206
async = 0.6.1
buildout-versions = 1.7
gitdb = 0.5.4
hexagonit.recipe.cmmi = 1.5.0
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
207
lxml = 2.3.4
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
208 209 210
meld3 = 0.6.8
plone.recipe.command = 1.1
pycrypto = 2.5
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
211
slapos.cookbook = 0.48
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
212
slapos.recipe.build = 0.7
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
213 214
slapos.recipe.template = 2.3
slapos.toolbox = 0.24
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
215 216 217 218
smmap = 0.8.2
z3c.recipe.scripts = 1.0.1

# Required by:
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
219 220
# slapos.core==0.24
# slapos.toolbox==0.24
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
221 222 223
Flask = 0.8

# Required by:
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
224
# slapos.toolbox==0.24
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
225 226 227
GitPython = 0.3.2.RC1

# Required by:
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
228
# slapos.cookbook==0.48
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
229 230 231
PyXML = 0.8.4

# Required by:
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
232
# slapos.toolbox==0.24
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
233 234 235
atomize = 0.1.1

# Required by:
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
236
# slapos.toolbox==0.24
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
237 238 239
feedparser = 5.1.1

# Required by:
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
240
# slapos.cookbook==0.48
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
241 242 243
inotifyx = 0.2.0

# Required by:
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
244
# slapos.cookbook==0.48
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
245 246 247
netaddr = 0.7.6

# Required by:
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
248
# slapos.core==0.24
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
249 250 251 252 253 254 255
netifaces = 0.8

# Required by:
# websockify==0.1-dev
numpy = 1.6.1

# Required by:
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
256
# slapos.toolbox==0.24
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
257 258 259
paramiko = 1.7.7.1

# Required by:
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
260
# slapos.toolbox==0.24
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
261 262 263
psutil = 0.4.1

# Required by:
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
264 265 266
# slapos.cookbook==0.48
# slapos.core==0.24
# slapos.toolbox==0.24
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
267 268 269
setuptools = 0.6c12dev-r88846

# Required by:
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
270 271 272
# slapos.cookbook==0.48
# slapos.toolbox==0.24
slapos.core = 0.24
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
273 274

# Required by:
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
275
# slapos.core==0.24
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
276 277 278
supervisor = 3.0a12

# Required by:
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
279 280
# slapos.cookbook==0.48
# slapos.toolbox==0.24
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
281 282 283
xml-marshaller = 0.9.7

# Required by:
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
284
# slapos.cookbook==0.48
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
285 286 287
zc.recipe.egg = 1.3.2

# Required by:
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
288
# slapos.core==0.24
289
zope.interface = 3.8.0