varnish.cfg 1.36 KB
Newer Older
1 2 3
# varnish - a web accelerator written with performance and flexibility in mind.
# http://www.varnish-cache.org/

4
[buildout]
5 6 7
parts =
  varnish
  varnish-2.1
8

9
extends =
10
  ../software-profiles/ncurses.cfg
11
  ../software-profiles/patch.cfg
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
12 13
  ../software-profiles/pcre.cfg
  ../software-profiles/pkgconfig.cfg
14

Łukasz Nowak's avatar
Łukasz Nowak committed
15
[varnish]
16
<= varnish-2.0
17

18
[varnish-2.0]
19
recipe = hexagonit.recipe.cmmi
20 21
url = http://sourceforge.net/projects/varnish/files/varnish/2.0.6/varnish-2.0.6.tar.gz/download
md5sum = d91dc21c636db61c69b5e8f061c5bb95
22 23 24
environment =
  CPPFLAGS =-I${ncurses:location}/include
  LDFLAGS =-Wl,-rpath -Wl,${ncurses:location}/lib
25

26 27 28 29 30 31 32 33
# http://www.varnish-cache.org/trac/ticket/801
[varnish-2.1.4-r5467-patch]
recipe = hexagonit.recipe.download
url = http://www.varnish-cache.org/trac/changeset/5467?format=diff&new=5467
md5sum = 04a0696239658c87d6acac32f356608e
filename = changeset_r5467.diff
download-only = true

34
[varnish-2.1]
35
recipe = hexagonit.recipe.cmmi
36 37 38 39 40
url = http://www.varnish-software.com/sites/default/files/varnish-2.1.4.tar.gz
md5sum = e794a37b6fbb786a083c0946103ae103
patch-options = -p4
patches =
  ${varnish-2.1.4-r5467-patch:location}/${varnish-2.1.4-r5467-patch:filename}
41
environment =
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
42
  PATH=${patch:location}/bin:${pkgconfig:location}/bin:%(PATH)s
43
  PKG_CONFIG_PATH=${pcre:location}/lib/pkgconfig
44 45
  CPPFLAGS =-I${ncurses:location}/include
  LDFLAGS =-Wl,-rpath -Wl,${ncurses:location}/lib