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 = b6572c018e44d4676e76805116bcade0
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 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289

[versions]
Jinja2 = 2.6
Werkzeug = 0.8.3
apache-libcloud = 0.8.0
async = 0.6.1
buildout-versions = 1.7
gitdb = 0.5.4
hexagonit.recipe.cmmi = 1.5.0
lxml = 2.3.3
meld3 = 0.6.8
plone.recipe.command = 1.1
pycrypto = 2.5
slapos.cookbook = 0.41
slapos.recipe.build = 0.7
slapos.recipe.template = 2.2
slapos.toolbox = 0.18
smmap = 0.8.2
z3c.recipe.scripts = 1.0.1

# Required by:
# slapos.core==0.23
# slapos.toolbox==0.18
Flask = 0.8

# Required by:
# slapos.toolbox==0.18
GitPython = 0.3.2.RC1

# Required by:
# slapos.cookbook==0.41
PyXML = 0.8.4

# Required by:
# slapos.toolbox==0.18
atomize = 0.1.1

# Required by:
# slapos.toolbox==0.18
feedparser = 5.1.1

# Required by:
# slapos.cookbook==0.41
inotifyx = 0.2.0

# Required by:
# slapos.cookbook==0.41
netaddr = 0.7.6

# Required by:
# slapos.core==0.23
netifaces = 0.8

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

# Required by:
# slapos.toolbox==0.18
paramiko = 1.7.7.1

# Required by:
# slapos.toolbox==0.18
psutil = 0.4.1

# Required by:
# slapos.cookbook==0.41
# slapos.core==0.23
# slapos.toolbox==0.18
setuptools = 0.6c12dev-r88846

# Required by:
# slapos.cookbook==0.41
# slapos.toolbox==0.18
slapos.core = 0.23

# Required by:
# slapos.core==0.23
supervisor = 3.0a12

# Required by:
# slapos.cookbook==0.41
# slapos.toolbox==0.18
xml-marshaller = 0.9.7

# Required by:
# slapos.cookbook==0.41
zc.recipe.egg = 1.3.2

# Required by:
# slapos.core==0.23
zope.interface = 3.8.0