buildout.cfg 1.16 KB
Newer Older
1 2 3 4 5
# Postfix
# http://www.postfix.org/

[buildout]
extends =
Łukasz Nowak's avatar
Łukasz Nowak committed
6 7 8
  ../libdb/buildout.cfg
  ../openssl/buildout.cfg
  ../pcre/buildout.cfg
9
  ../cyrus-sasl/buildout.cfg
10 11

[postfix]
12
recipe = slapos.recipe.cmmi
13 14
url = ftp://ftp.porcupine.org/mirrors/postfix-release/official/postfix-2.11.6.tar.gz
md5sum = c3277d05b78eaaf5955406bc7b6d2b9f
15
location = ${buildout:parts-directory}/${:_buildout_section_name_}
16 17
patch-options = -p1
patches =
18 19
  ${:_profile_base_location_}/noroot.patch#738bcc97b8044c45b58708bdf3a84b8e
  ${:_profile_base_location_}/skip-libdb-check.patch#f7fdbd8787874b535fee548b0139c0d8
20
configure-command = make
21
configure-options = makefiles CCARGS='-DUSE_SASL_AUTH -DUSE_CYRUS_SASL -DUSE_TLS -DHAS_PCRE -DHAS_DB -I${libdb:location}/include -I${pcre:location}/include -I${openssl:location}/include -I${cyrus-sasl:location}/include/sasl' AUXLIBS='-L${openssl:location}/lib -L${pcre:location}/lib -L${libdb:location}/lib -L${cyrus-sasl:location}/lib -lssl -lpcre -ldb -lcrypto -lsasl2 -Wl,-rpath=${openssl:location}/lib -Wl,-rpath=${pcre:location}/lib -Wl,-rpath=${libdb:location}/lib -Wl,-rpath=${cyrus-sasl:location}/lib'
22
make-targets = non-interactive-package install_root=${:location}