Browse Source

fixed postfix shared files

git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@1909 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
rocklinux
Rene Rebe 21 years ago
parent
commit
4d39dd90b6
1 changed files with 13 additions and 5 deletions
  1. +13
    -5
      package/alessandro/postfix/postfix.conf

+ 13
- 5
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=""

Loading…
Cancel
Save