diff --git a/component/nginx/buildout.cfg b/component/nginx/buildout.cfg index 6903e4d7e5777f437c5f828d2031f4f418efa559..fac104bc55bf81d931a904b0183bbe2cd84301a4 100644 --- a/component/nginx/buildout.cfg +++ b/component/nginx/buildout.cfg @@ -19,6 +19,27 @@ configure-options= --with-ld-opt="-L ${zlib:location}/lib -L ${openssl:location}/lib -L ${pcre:location}/lib -Wl,-rpath=${pcre:location}/lib -Wl,-rpath=${zlib:location}/lib -Wl,-rpath=${openssl:location}/lib" --with-cc-opt="-I ${pcre:location}/include -I ${openssl:location}/include -I ${zlib:location}/include" +[webdav-module] +recipe = hexagonit.recipe.download +url = https://github.com/arut/nginx-dav-ext-module/archive/master.zip +strip-top-level-dir = true +#md5sum = +mode = 0644 + +[nginx-webdav] +recipe = slapos.recipe.cmmi +url = http://nginx.org/download/nginx-1.5.3.tar.gz +md5sum = 1e735dd6a6ade2b5c20e924b67c3d355 +configure-options = + --with-ipv6 + --with-http_ssl_module + --with-mail + --with-mail_ssl_module + --with-ld-opt="-L ${zlib:location}/lib -L ${openssl:location}/lib -L ${pcre:location}/lib -Wl,-rpath=${pcre:location}/lib -Wl,-rpath=${zlib:location}/lib -Wl,-rpath=${openssl:location}/lib -L ${libexpat:location}/lib" + --with-cc-opt="-I ${pcre:location}/include -I ${openssl:location}/include -I ${zlib:location}/include -I ${libexpat:location}/include" + --with-http_dav_module + --add-module='${webdav-module:location}' + [nginx-output] # Shared binary location to ease migration recipe = plone.recipe.command