buildout.cfg 1.35 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

10 11 12 13 14
[noroot.patch]
recipe = hexagonit.recipe.download
url =${:_profile_base_location_}/${:filename}
filename = ${:_buildout_section_name_}
download-only = true
Marco Mariani's avatar
Marco Mariani committed
15
md5sum = fbc07aeab024b86adf3b073fc7e00888
16 17 18 19 20 21

[skip-libdb-check.patch]
recipe = hexagonit.recipe.download
url =${:_profile_base_location_}/${:filename}
filename = ${:_buildout_section_name_}
download-only = true
Marco Mariani's avatar
Marco Mariani committed
22
md5sum = f7fdbd8787874b535fee548b0139c0d8
23

24
[postfix]
25
recipe = slapos.recipe.cmmi
Marco Mariani's avatar
Marco Mariani committed
26 27
url = ftp://ftp.porcupine.org/mirrors/postfix-release/official/postfix-2.11.1.tar.gz
md5sum = 56ac1f1a79737c4ac1e24535a122a4a6
28
location = ${buildout:parts-directory}/${:_buildout_section_name_}
29 30 31 32
patch-options = -p1
patches =
  ${noroot.patch:location}/${noroot.patch:filename}
  ${skip-libdb-check.patch:location}/${skip-libdb-check.patch:filename}
33
configure-command = make
34
configure-options = makefiles CCARGS='-DUSE_TLS -DHAS_PCRE -DHAS_DB -I${libdb:location}/include -I${pcre:location}/include -I${openssl:location}/include' AUXLIBS='-L${openssl:location}/lib -L${pcre:location}/lib -L${libdb:location}/lib -lssl -lpcre -ldb -lcrypto -Wl,-rpath=${openssl:location}/lib -Wl,-rpath=${pcre:location}/lib -Wl,-rpath=${libdb:location}/lib'
35
make-targets = non-interactive-package install_root=${:location}