Commit ff6feaf2 authored by Joanne Hugé's avatar Joanne Hugé

WIP: dovecot use slapos libs

parent b5ccfb2e
...@@ -4,6 +4,8 @@ ...@@ -4,6 +4,8 @@
[buildout] [buildout]
extends = extends =
../lua/buildout.cfg ../lua/buildout.cfg
../openssl/buildout.cfg
../zlib/buildout.cfg
[dovecot] [dovecot]
recipe = slapos.recipe.cmmi recipe = slapos.recipe.cmmi
...@@ -15,10 +17,12 @@ configure-options = ...@@ -15,10 +17,12 @@ configure-options =
--exec-prefix=${:location} --exec-prefix=${:location}
--with-systemd=no --with-systemd=no
--with-lua=yes --with-lua=yes
--with-libcrypto=${openssl:location}
environment = environment =
PATH=${pkgconfig:location}/bin:%(PATH)s PATH=${pkgconfig:location}/bin:%(PATH)s
PKG_CONFIG_PATH=${lua:location}/lib/pkgconfig PKG_CONFIG_PATH=${lua:location}/lib/pkgconfig
LUA_LIBS=-L${lua:location}/lib -Wl,-rpath=${lua:location}/lib -llua -lm LUA_LIBS=-L${lua:location}/lib -Wl,-rpath=${lua:location}/lib -llua -lm
LUA_CFLAGS=-I${lua:location}/include LUA_CFLAGS=-I${lua:location}/include
LDFLAGS=-L${openssl:location}/lib -Wl,-rpath=${openssl:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib
make-targets = install make-targets = install
post-install = cp -r ${:location}/share/doc/dovecot/example-config/* ${:location}/etc/dovecot/ post-install = cp -r ${:location}/share/doc/dovecot/example-config/* ${:location}/etc/dovecot/
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