kvm.cfg 3 KB
Newer Older
1 2
[buildout]
extends =
Łukasz Nowak's avatar
Łukasz Nowak committed
3
  shacache-client.cfg
Łukasz Nowak's avatar
Łukasz Nowak committed
4
  ../component/python-2.7/buildout.cfg
5 6 7 8 9 10
  ../component/lxml-python/buildout.cfg
  ../component/git/buildout.cfg
  ../component/zlib/buildout.cfg
  ../component/readline/buildout.cfg
  ../component/ncurses/buildout.cfg
  ../component/libuuid/buildout.cfg
Vivien Alger's avatar
Vivien Alger committed
11
  ../component/noVNC/buildout.cfg
Vivien Alger's avatar
Vivien Alger committed
12 13
  ../component/openssl/buildout.cfg
  ../component/rdiff-backup/buildout.cfg
14
  ../component/dcron/buildout.cfg
15 16

parts =
17
  template
18 19 20 21 22 23 24 25 26 27 28
  gnutls
  kvm
  eggs

find-links +=
  http://www.nexedi.org/static/packages/source/slapos.buildout/

versions = versions

[gpg-error]
recipe = hexagonit.recipe.cmmi
29
url = ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.10.tar.gz
Łukasz Nowak's avatar
Łukasz Nowak committed
30
md5sum = 7c2710ef439f82ac429b88fec88e9a4c
31 32 33 34 35

[gcrypt]
recipe = hexagonit.recipe.cmmi
url = ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-1.4.6.tar.gz
md5sum = bfd45922eefb8a24d598af77366220d4
Łukasz Nowak's avatar
Łukasz Nowak committed
36
configure-options =
37 38 39
  --with-gpg-error-prefix=${gpg-error:location}
environment =
  CPPFLAGS=-I${gpg-error:location}/include
40
  LDFLAGS=-Wl,-rpath -Wl,${gpg-error:location}/lib -Wl,${gpg-error:location}/lib/libgpg-error.so.0
Łukasz Nowak's avatar
Łukasz Nowak committed
41

42 43 44 45
[gnutls]
recipe = hexagonit.recipe.cmmi
url = ftp://ftp.gnupg.org/gcrypt/gnutls/gnutls-2.8.6.tar.bz2
md5sum = eb0a6d7d3cb9ac684d971c14f9f6d3ba
Łukasz Nowak's avatar
Łukasz Nowak committed
46
configure-options =
47 48 49
  --with-libgcrypt-prefix=${gcrypt:location}
environment =
  CPPFLAGS=-I${zlib:location}/include -I${readline:location}/include -I${ncurses:location}/include -I${ncurses:location}/include/ncursesw -I${gcrypt:location}/include -I${gpg-error:location}/include
50
  LDFLAGS=-L${readline:location}/lib -L${ncurses:location}/lib -L${gcrypt:location}/lib -Wl,-rpath -Wl,${zlib:location}/lib -Wl,-rpath -Wl,${readline:location}/lib -Wl,-rpath -Wl,${ncurses:location}/lib -Wl,-rpath -Wl,${gcrypt:location}/lib -Wl,-rpath -Wl,${gpg-error:location}/lib -Wl,${gcrypt:location}/lib/libgcrypt.so.11
51 52 53 54 55
  PKG_CONFIG=${zlib:location}/lib/pkgconfig

[kvm]
recipe = hexagonit.recipe.cmmi
path = ${kvmsource:location}/
Łukasz Nowak's avatar
Łukasz Nowak committed
56 57 58 59 60
configure-options =
  --disable-sdl
  --disable-xen
  --enable-vnc-tls
  --disable-vnc-sasl
61
  --disable-curses
Łukasz Nowak's avatar
Łukasz Nowak committed
62 63 64
  --disable-curl
  --enable-kvm
  --disable-docs
65
  --enable-vnc-png
66 67 68 69 70 71 72 73 74
  --disable-vnc-jpeg
  --extra-cflags="-I${gnutls:location}/include -I${libuuid:location}/include -I${zlib:location}/include"
  --extra-ldflags="-Wl,-rpath -Wl,${gnutls:location}/lib -L${libuuid:location}/lib -Wl,-rpath -Wl,${libuuid:location}/lib -L${zlib:location}/lib -Wl,-rpath -Wl,${zlib:location}/lib"
  --disable-werror
environment =
  PKG_CONFIG_PATH=${gnutls:location}/lib/pkgconfig

[kvmsource]
recipe=plone.recipe.command
Łukasz Nowak's avatar
Łukasz Nowak committed
75
location = ${buildout:parts-directory}/${:_buildout_section_name_}
76
stop-on-error = true
77
#tag = slapos-v0.1
78
command =
79
  (${git:location}/bin/git clone --quiet http://git.erp5.org/repos/slapos.kvm.git ${:location} ) || (rm -fr ${:location} ; exit 1)
80 81
update-command =
 cd ${:location} && ${git:location}/bin/git pull --quiet origin master
82 83

[eggs]
Łukasz Nowak's avatar
Łukasz Nowak committed
84
python = python2.7
85
recipe = z3c.recipe.scripts
86 87
eggs =
  ${lxml-python:egg}
Łukasz Nowak's avatar
Łukasz Nowak committed
88
  slapos.cookbook
89 90

[versions]
91
zc.buildout = 1.5.3-dev-SlapOS-005