Commit f4afeb14 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

version up : Postfix 2.8.3.

we no longer need postfix-hooks.py because our buildout uses Python 2.7 that does not have this tarfile bug.
parent 2dba7ace
import os
def pre_make_hook(options, buildout):
# workaround python's tarfile bug with links
if not os.path.lexists(os.path.join('conf', 'LICENSE')):
os.symlink('../LICENSE', os.path.join('conf', 'LICENSE'))
if not os.path.lexists(os.path.join('conf', 'TLS_LICENSE')):
os.symlink('../TLS_LICENSE', os.path.join('conf', 'TLS_LICENSE'))
...@@ -9,19 +9,11 @@ extends = ...@@ -9,19 +9,11 @@ extends =
parts = postfix parts = postfix
[postfix-hooks-download]
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/../hook/${:filename}
filename = postfix-hooks.py
md5sum = 54821f5194c48515f930144601809d29
download-only = true
[postfix] [postfix]
recipe = hexagonit.recipe.cmmi recipe = hexagonit.recipe.cmmi
url = ftp://ftp.porcupine.org/mirrors/postfix-release/official/postfix-2.6.9.tar.gz url = ftp://ftp.porcupine.org/mirrors/postfix-release/official/postfix-2.8.3.tar.gz
md5sum = 28af9b4ea2673fadf24ffc0e2151a4fe md5sum = b3922ededd3fd6051f759e58a4ada3ae
location = ${buildout:parts-directory}/${:_buildout_section_name_} location = ${buildout:parts-directory}/${:_buildout_section_name_}
pre-make-hook = ${postfix-hooks-download:location}/${postfix-hooks-download:filename}:pre_make_hook
configure-command = make configure-command = make
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 -Wl,${openssl:location}/lib -Wl,-rpath -Wl,${pcre:location}/lib -Wl,-rpath -Wl,${libdb:location}/lib' 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 -Wl,${openssl:location}/lib -Wl,-rpath -Wl,${pcre:location}/lib -Wl,-rpath -Wl,${libdb:location}/lib'
make-targets = non-interactive-package install_root=${:location} make-targets = non-interactive-package install_root=${:location}
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