From f66fef8cc8e08b4980fb7907b1ced90c1c2611cb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com>
Date: Wed, 9 Feb 2011 09:48:16 +0000
Subject: [PATCH]  - add a hook to workaround python's tarfile bug

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43223 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 buildout/software-profiles/postfix.cfg | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/buildout/software-profiles/postfix.cfg b/buildout/software-profiles/postfix.cfg
index f6aa9273c8..00f25d482f 100644
--- a/buildout/software-profiles/postfix.cfg
+++ b/buildout/software-profiles/postfix.cfg
@@ -2,11 +2,19 @@
 extends = openssl.cfg
 parts = postfix
 
+[postfix-hooks-download]
+recipe = hexagonit.recipe.download
+url = http://www.nexedi.org/static/buildout-hooks/postfix-hooks.py-r43221
+filename = postfix-hooks.py
+md5sum = 87cb2347c2ba81093544885a5342cb09
+download-only = true
+
 [postfix]
 recipe = hexagonit.recipe.cmmi
 url = ftp://postfix.eu.org/pub/postfix/official/postfix-2.6.5.tar.gz
 md5sum = 6b954cfb3eb6141dac1e773281211717
 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-options = makefiles CCARGS='-DUSE_TLS -I${openssl:location}/include' AUXLIBS='-L${openssl:location}/lib -lssl -lcrypto'
 make-targets = ; /bin/sh postfix-install -non-interactive -package install_root=${:location}
-- 
2.30.9