Commit d65c2b96 authored by Łukasz Nowak's avatar Łukasz Nowak

- some reasonable defaults for mysql installation

 - fix non existing buildout:directory-bin


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32432 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent bff58a5d
...@@ -22,7 +22,15 @@ recipe = hexagonit.recipe.cmmi ...@@ -22,7 +22,15 @@ recipe = hexagonit.recipe.cmmi
url = http://downloads.mysql.com/archives/mysql-5.0/mysql-5.0.87.tar.gz url = http://downloads.mysql.com/archives/mysql-5.0/mysql-5.0.87.tar.gz
pre-configure-hook = ${buildout:directory}/mysql-tritonn-5.0/src/mysql_hooks.py:pre_configure_hook pre-configure-hook = ${buildout:directory}/mysql-tritonn-5.0/src/mysql_hooks.py:pre_configure_hook
post-make-hook = ${buildout:directory}/mysql-tritonn-5.0/src/mysql_hooks.py:post_make_hook post-make-hook = ${buildout:directory}/mysql-tritonn-5.0/src/mysql_hooks.py:post_make_hook
configure-options = --with-senna --without-mecab --enable-thread-safe-client # configure: how to avoid searching for my.cnf?
configure-options =
--with-senna
--without-mecab
--enable-thread-safe-client
--with-charset=utf8
--with-collation=utf8_unicode_ci
--with-server-suffix=mysql-tritonn-5.0
patch-options = -p1 patch-options = -p1
patches = ${tritonn-patch:location}/${tritonn-patch:patch} patches = ${tritonn-patch:location}/${tritonn-patch:patch}
environment = environment =
...@@ -35,9 +43,9 @@ environment = ...@@ -35,9 +43,9 @@ environment =
# another approach - software buildout provides easily accessible binaries # another approach - software buildout provides easily accessible binaries
recipe = plone.recipe.command recipe = plone.recipe.command
command = command =
ln -sf ${software_definition:mysql_software}/bin/mysql ${buildout:directory-bin}/mysql ln -sf ${software_definition:mysql_software}/bin/mysql ${buildout:directory}/bin/mysql
ln -sf ${software_definition:mysql_software}/bin/mysqladmin ${buildout:directory-bin}/mysqladmin ln -sf ${software_definition:mysql_software}/bin/mysqladmin ${buildout:directory}/bin/mysqladmin
ln -sf ${software_definition:mysql_software}/bin/mysqld_safe ${buildout:directory-bin}/mysqld_safe ln -sf ${software_definition:mysql_software}/bin/mysqld_safe ${buildout:directory}/bin/mysqld_safe
[requirements] [requirements]
binary = flex bison patch gcc g++ binary = flex bison patch gcc g++
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment