Commit 2ce94fa1 authored by Vincent Pelletier's avatar Vincent Pelletier

libuserhosts: Bump and rename to follow upstream renaming.

Update users.
parent 3974b084
......@@ -2,17 +2,17 @@
extends =
../git/buildout.cfg
[libuserhosts]
[userhosts]
recipe = plone.recipe.command
stop-on-error = true
update-command = ${:command}
command = cd ${libuserhosts-get:location} && make
command = cd ${userhosts-get:location} && make
# For convenience (one section to build & know result path)
location = ${libuserhosts-get:location}/libuserhosts.so
location = ${userhosts-get:location}/userhosts.so
[libuserhosts-get]
[userhosts-get]
recipe = slapos.recipe.build:gitclone
repository = http://git.erp5.org/repos/userhosts.git
revision = 1daeace39bbccc1b002f92d41e9dfbae5bf6b868
revision = 74b2ee92230ab142b99ab32d6b3265ba6aac7db4
git-executable = ${git:location}/bin/git
location = ${buildout:parts-directory}/libuserhosts
location = ${buildout:parts-directory}/userhosts
......@@ -66,7 +66,7 @@ extends =
../../component/jsl/buildout.cfg
../../component/6tunnel/buildout.cfg
../../component/findutils/buildout.cfg
../../component/libuserhosts/buildout.cfg
../../component/userhosts/buildout.cfg
parts =
rdiff-backup
......@@ -102,7 +102,7 @@ parts =
dcron
dash
wget
libuserhosts
userhosts
# Buildoutish
patched-eggs
......@@ -210,7 +210,7 @@ md5sum = 8fe36c41ab784f547b968dc6edd0ca29
[template-runzope-userhosts-preloaded]
< = download-base
filename = runzope_userhosts_preloaded.in
md5sum = 479fc3a107ff965dfb6e7e1222d81f28
md5sum = 8801c37c04522a0f276bfe07c2709179
[template-my-cnf]
< = download-base
......@@ -237,7 +237,7 @@ md5sum = e106cdd73c0a86a9b2c806062573ca8f
# XXX: "template.cfg" is hardcoded in instanciation recipe
filename = template.cfg
template = ${:_profile_base_location_}/instance.cfg.in
md5sum = 3900ab427f44e41668d9b36411e46149
md5sum = 8ccd836753a44aa26d68f5fff00c2eff
extra-context =
key mariadb_link_binary template-mariadb:link-binary
key zope_link_binary template-zope:link-binary
......@@ -273,7 +273,6 @@ extra-context =
key libpng12_location libpng12:location
key libreoffice_bin_location libreoffice-bin:location
key librsvg_location librsvg:location
key libuserhosts_location libuserhosts:location
key libxcb_location libxcb:location
key local_bt5_repository local-bt5-repository:list
key logrotate_location logrotate:location
......@@ -298,6 +297,7 @@ extra-context =
key template_zeo template-zeo:target
key template_zope template-zope:target
key template_zope_conf template-zope-conf:target
key userhosts_location userhosts:location
key wget_location wget:location
key zlib_location zlib:location
......@@ -319,7 +319,7 @@ md5sum = 7bbb690cb2ea38cd2aa84c8a79c50399
[template-zope]
< = download-base
filename = instance-zope.cfg.in
md5sum = 0db31172368f14eeeb2ae8e22af30d9e
md5sum = e67bf593eb980761c61f126417c67b0c
link-binary =
${aspell:location}/bin/aspell
${coreutils:location}/bin/basename
......
......@@ -200,7 +200,7 @@ context = key host_dict hosts-parameter:host-dict
[preload-userhosts-runzope-parameter]
runzope-binary = {{ bin_directory }}/runzope
libuserhosts = {{ parameter_dict['libuserhosts'] }}
userhosts = {{ parameter_dict['userhosts'] }}
shell-path = {{ parameter_dict['dash'] }}/bin/dash
hosts = ${hosts:rendered}
......
......@@ -141,7 +141,7 @@ buildout-bin-directory = {{ buildout_bin_directory }}
dash = {{ dash_location }}
jsl = {{ jsl_location }}
link-binary = {{ dumps(zope_link_binary) }}
libuserhosts = {{ libuserhosts_location }}
userhosts = {{ userhosts_location }}
runzope-userhosts-preloaded-template = {{ template_runzope_userhosts_preloaded }}
[dynamic-template-zope]
......
#!{{ parameter_dict['shell-path'] }}
export HOSTS='{{ parameter_dict['hosts'] }}' LD_PRELOAD='{{ parameter_dict['libuserhosts'] }}'
export HOSTS='{{ parameter_dict['hosts'] }}' LD_PRELOAD='{{ parameter_dict['userhosts'] }}'
exec {{ 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