kvm.cfg 3.32 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
  ../component/libpng/buildout.cfg
16 17

parts =
18
  template
19 20 21 22 23 24 25 26
  kvm
  eggs

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

versions = versions

27 28 29 30 31 32 33 34 35 36 37 38 39 40
# Use only quite well working sites.
allow-hosts =
  *.nexedi.org
  *.python.org
  *.sourceforge.net
  alastairs-place.net
  dist.repoze.org
  effbot.org
  github.com
  peak.telecommunity.com
  psutil.googlecode.com
  www.dabeaz.com
  www.owlfish.com

41 42
[gpg-error]
recipe = hexagonit.recipe.cmmi
43
url = ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.10.tar.gz
Łukasz Nowak's avatar
Łukasz Nowak committed
44
md5sum = 7c2710ef439f82ac429b88fec88e9a4c
45 46 47 48 49

[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
50
configure-options =
51 52 53
  --with-gpg-error-prefix=${gpg-error:location}
environment =
  CPPFLAGS=-I${gpg-error:location}/include
54
  LDFLAGS=-Wl,-rpath -Wl,${gpg-error:location}/lib -Wl,${gpg-error:location}/lib/libgpg-error.so.0
Łukasz Nowak's avatar
Łukasz Nowak committed
55

56
[gnutls]
57
# XXX-Cedric : update to latest gnutls
58 59 60
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
61
configure-options =
62 63 64
  --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
65
  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
66 67 68 69
  PKG_CONFIG=${zlib:location}/lib/pkgconfig

[kvm]
recipe = hexagonit.recipe.cmmi
70
url = http://downloads.sourceforge.net/project/kvm/qemu-kvm/0.15.1/qemu-kvm-0.15.1.tar.gz
Cédric de Saint Martin's avatar
Typo  
Cédric de Saint Martin committed
71
md5sum = 8800a7d6b3aa4a168ea7f78dc66c0320
Łukasz Nowak's avatar
Łukasz Nowak committed
72 73 74 75 76
configure-options =
  --disable-sdl
  --disable-xen
  --enable-vnc-tls
  --disable-vnc-sasl
77
  --disable-curses
Łukasz Nowak's avatar
Łukasz Nowak committed
78 79 80
  --disable-curl
  --enable-kvm
  --disable-docs
81
  --enable-vnc-png
82
  --disable-vnc-jpeg
83
  --extra-cflags="-I${gnutls:location}/include -I${libuuid:location}/include -I${zlib:location}/include -I${libpng:location}/include"
84
  --extra-ldflags="-Wl,-rpath -Wl,${glib:location}/lib -L${glib:location}/lib -Wl,-rpath -Wl,${gnutls:location}/lib -L${gnutls: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"
85 86
  --disable-werror
environment =
87
  PATH=${pkgconfig:location}/bin:%(PATH)s
88
  PKG_CONFIG_PATH=${gnutls:location}/lib/pkgconfig:${glib:location}/lib/pkgconfig
89 90

[eggs]
Łukasz Nowak's avatar
Łukasz Nowak committed
91
python = python2.7
92
recipe = z3c.recipe.scripts
93 94
eggs =
  ${lxml-python:egg}
Łukasz Nowak's avatar
Łukasz Nowak committed
95
  slapos.cookbook