Commit 7744dbda authored by Jérome Perrin's avatar Jérome Perrin

component

parent c30d1082
......@@ -4,6 +4,9 @@ extends =
../openssl/buildout.cfg
../perl/buildout.cfg
../zlib/buildout.cfg
../curl/buildout.cfg
../libtool/buildout.cfg
../git/buildout.cfg
[proftpd-environment]
recipe = collective.recipe.environment
......@@ -20,6 +23,7 @@ configure-options =
--enable-openssl
--enable-nls
--enable-ctrls
--enable-dso
--with-modules=mod_sftp:mod_ban
--prefix=${buildout:parts-directory}/${:_buildout_section_name_}
environment =
......@@ -29,6 +33,21 @@ environment =
install_group=${proftpd-grp:GROUP}
[proftpd-mod_auth_web-repository]
recipe = slapos.recipe.build:gitclone
#repository = https://github.com/proftpd/mod_auth_web
# XXX until https://github.com/proftpd/mod_auth_web/pull/1 gets merged, we use
# the source repository of this PR directly
repository = https://github.com/jwm/mod_auth_web
revision = dec090bd0e287544a34be156ee17f715bd4286f9
git-executable = ${git:location}/bin/git
[proftpd-mod_auth_web]
recipe = plone.recipe.command
stop-on-error = true
command = LIBTOOL=${libtool:location}/bin/libtool LDFLAGS=-Wl,-rpath=${curl:location}/lib ${proftpd-output:prxs} -c -i -I ${curl:location}/include -L ${curl:location}/lib/ -l curl -d ${proftpd-mod_auth_web-repository:location}/mod_auth_web.c
[ftpasswd]
recipe = slapos.recipe.build:download
url = https://raw.githubusercontent.com/proftpd/proftpd/v1.3.6/contrib/ftpasswd
......@@ -43,6 +62,8 @@ recipe = plone.recipe.command
stop-on-error = true
update-command = ${:command}
command = ${coreutils-output:test} -x ${:proftpd} -a -x ${:ftpasswd}
modules-deps =
${proftpd-mod_auth_web:recipe}
perl = ${perl:location}/bin/perl
ftpasswd = ${ftpasswd:target}
......
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