Commit 3e2f2bfd authored by Vincent Pelletier's avatar Vincent Pelletier

userhosts: Bump version.

Update user to use the command form, as it properly handles an existing
LD_PRELOAD variable internally.
parent 2ce94fa1
......@@ -8,11 +8,11 @@ stop-on-error = true
update-command = ${:command}
command = cd ${userhosts-get:location} && make
# For convenience (one section to build & know result path)
location = ${userhosts-get:location}/userhosts.so
location = ${userhosts-get:location}/userhosts
[userhosts-get]
recipe = slapos.recipe.build:gitclone
repository = http://git.erp5.org/repos/userhosts.git
revision = 74b2ee92230ab142b99ab32d6b3265ba6aac7db4
revision = 6e230f016d774d10616aebcb5ec73ac86c704e95
git-executable = ${git:location}/bin/git
location = ${buildout:parts-directory}/userhosts
......@@ -210,7 +210,7 @@ md5sum = 8fe36c41ab784f547b968dc6edd0ca29
[template-runzope-userhosts-preloaded]
< = download-base
filename = runzope_userhosts_preloaded.in
md5sum = 8801c37c04522a0f276bfe07c2709179
md5sum = 19fc529e34e764c73fcf5f56aee0db56
[template-my-cnf]
< = download-base
......
#!{{ parameter_dict['shell-path'] }}
export HOSTS='{{ parameter_dict['hosts'] }}' LD_PRELOAD='{{ parameter_dict['userhosts'] }}'
exec {{ parameter_dict['runzope-binary'] }} "$@"
HOSTS='{{ parameter_dict['hosts'] }}' exec '{{ parameter_dict['userhosts'] }}' '{{ parameter_dict['runzope-binary'] }}' "$@"
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