1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
[buildout]
parts =
mysql-5.1
[mysql-5.1-sphinx-patch]
recipe = hexagonit.recipe.download
url = http://www.nexedi.org/static/patches/${:filename}
md5sum = 6580393ca93ecf564cad0552b91a563e
filename = mysql-5.1.49-sphinx-1.10.diff
download-only = true
[mysql-hooks-download]
recipe = hexagonit.recipe.download
url = http://www.nexedi.org/static/buildout-hooks/${:filename}
filename = mysql-tritonn-hooks.py
md5sum = 484abb02375e354ef7be0438dc369f85
download-only = true
[mysql-5.1]
recipe = hexagonit.recipe.cmmi
version = 5.1.52
url = http://ftp.jaist.ac.jp/pub/mysql/Downloads/MySQL-5.1/mysql-${:version}.tar.gz
md5sum = 43c11ad3dded693393c4815d24e2b0a5
pre-configure-hook = ${mysql-hooks-download:location}/${mysql-hooks-download:filename}:pre_configure_hook
post-make-hook = ${mysql-hooks-download:location}/${mysql-hooks-download:filename}:post_make_hook
# compile directory is required to build mysql plugins.
keep-compile-dir = true
# configure: how to avoid searching for my.cnf?
# - like in mysql part in http://svn.zope.org/zodbshootout/trunk/buildout.cfg?view=markup
configure-options =
--enable-thread-safe-client
--enable-local-infile
--enable-assembler
--with-pic
--with-fast-mutexes
--with-charset=utf8
--with-collation=utf8_unicode_ci
--with-server-suffix=mysql-5.1
--with-readline
--with-ssl
patch-options = -p1
patches =
${mysql-5.1-sphinx-patch:location}/${mysql-5.1-sphinx-patch:filename}