From 4d39dd90b6f551efe0932e7101d562ae2f922d3e Mon Sep 17 00:00:00 2001 From: Rene Rebe Date: Thu, 4 Dec 2003 22:02:47 +0000 Subject: [PATCH] fixed postfix shared files git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@1909 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/alessandro/postfix/postfix.conf | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/package/alessandro/postfix/postfix.conf b/package/alessandro/postfix/postfix.conf index fa13627c6..d835f4aae 100644 --- a/package/alessandro/postfix/postfix.conf +++ b/package/alessandro/postfix/postfix.conf @@ -22,6 +22,19 @@ pkg_postfix_inmake() { chmod +x postfix-install + + # Due to the compare and remove operation in the install file we really + # need to really modify the config and the filenames - the + # INSTALL_WRAPPER can not be used. + + sed -e "s,man1/mailq.1,man1/mailq_postfix.1," \ + -e "s,man1/newaliases.1,man1/newaliases_postfix.1," \ + -e "s,man5/aliases.5,man5/aliases_postfix.5," \ + conf/postfix-files > conf/postfix-files.orig + mv conf/postfix-files{.orig,} + mv man/man5/aliases{,_postfix}.5 + mv man/man1/newaliases{,_postfix}.1 + mv man/man1/mailq{,_postfix}.1 } pkg_postfix_postmake() { @@ -36,11 +49,6 @@ pkg_postfix_postmake() { install_setmailer postfix } -var_append INSTALL_WRAPPER_FILTER "|" \ - 'sed -e "s,man1/mailq.1,man1/mailq_postfix.1," \ - -e "s,man1/newaliases.1,man1/newaliases_postfix.1," \ - -e "s,man1/aliases.1,man1/aliases_postfix.1,"' - runconf=0 inmake=pkg_postfix_inmake makeinstopt=""