memcached.cfg 1.48 KB
Newer Older
Łukasz Nowak's avatar
Łukasz Nowak committed
1
[buildout]
2
parts = memcached
3
extends = libevent.cfg
4

5 6 7 8 9
[memcached-strict-aliasing-patch]
# on some platforms original memcached refuses to build:
#  * http://code.google.com/p/memcached/issues/detail?id=60
#  * http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=565033
recipe = hexagonit.recipe.download
10
url = http://www.nexedi.org/static/patches/memcached-fix-strict-aliasing.patch
Łukasz Nowak's avatar
Łukasz Nowak committed
11
md5sum = c03b3bfc237b77667b0e90442b0980e8
12
download-only = true
13
filename = fix-strict-aliasing.patch
14

15
[memcached-fix-array-subscript-is-above-array-bounds]
16 17 18 19 20 21
recipe = hexagonit.recipe.download
url = http://www.nexedi.org/static/patches/${:filename}
filename = memcached-1.4-fix-array-subscript-is-above-array-bounds.patch
download-only = true
md5sum = 472508b9a4b6c0b9f5d6f2abce3444e3

22
[memcached]
23
<= memcached-1.4.5
24

25 26 27 28 29
[memcached-1.4.5]
<= memcached-common
url = http://memcached.googlecode.com/files/memcached-1.4.5.tar.gz
md5sum = 583441a25f937360624024f2881e5ea8

30
[memcached-1.4.4]
31
<= memcached-common
32
url = http://memcached.googlecode.com/files/memcached-1.4.4.tar.gz
Łukasz Nowak's avatar
Łukasz Nowak committed
33
md5sum = 5ca5b24de347e97ac1f48f3785b4178a
34 35 36

[memcached-common]
recipe = hexagonit.recipe.cmmi
37
configure-options =
Łukasz Nowak's avatar
Łukasz Nowak committed
38
  --with-libevent=${libevent:location}
Łukasz Nowak's avatar
Łukasz Nowak committed
39 40
patches =
  ${memcached-strict-aliasing-patch:location}/${memcached-strict-aliasing-patch:filename}
41
  ${memcached-fix-array-subscript-is-above-array-bounds:location}/${memcached-fix-array-subscript-is-above-array-bounds:filename}
42
patch-options = -p1
Rafael Monnerat's avatar
Rafael Monnerat committed
43
environment =
44
    LDFLAGS =-Wl,-rpath ${libevent:location}/lib
45