[41192] trunk/dports/mail/postfix/Portfile
markd at macports.org
markd at macports.org
Mon Oct 27 10:43:49 PDT 2008
Revision: 41192
http://trac.macports.org/changeset/41192
Author: markd at macports.org
Date: 2008-10-27 10:43:48 -0700 (Mon, 27 Oct 2008)
Log Message:
-----------
Closes #10644. Fix a problem where the ls command was not found by the postfix-script command.
Modified Paths:
--------------
trunk/dports/mail/postfix/Portfile
Modified: trunk/dports/mail/postfix/Portfile
===================================================================
--- trunk/dports/mail/postfix/Portfile 2008-10-27 15:28:37 UTC (rev 41191)
+++ trunk/dports/mail/postfix/Portfile 2008-10-27 17:43:48 UTC (rev 41192)
@@ -32,6 +32,9 @@
reinplace "s|__PREFIX|${prefix}|g" ${worksrcpath}/src/util/sys_defs.h
reinplace "s|__PREFIX|${prefix}|g" ${worksrcpath}/src/global/mail_params.h
+ reinplace "s|ls |/bin/ls |g" \
+ ${worksrcpath}/conf/postfix-script
+
# Set main.cf default values
reinplace "s|#default_privs|default_privs|g" \
${worksrcpath}/conf/main.cf
@@ -103,6 +106,10 @@
${destroot}${prefix}/etc/postfix/aliases.sample
}
+pre-install {
+ system "chown ${pf_mail_owner} ${destroot}${prefix}/var/spool/postfix/public/.turd_postfix"
+}
+
post-install {
# Tell the user about renaming the sample configuration files.
ui_msg "\n
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081027/76497988/attachment.html>
More information about the macports-changes
mailing list