diff options
author | jlam <jlam@pkgsrc.org> | 2004-07-18 23:42:48 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-07-18 23:42:48 +0000 |
commit | 08d7c58041ffde4b9cd427cfdc4ff0d98dc3d1cf (patch) | |
tree | 53f0758178f7f0635d3fdd9e3b272ae7d2adbad5 /mail/postfix | |
parent | 3b9e9f43d650883cb3d2576da738864439338919 (diff) | |
download | pkgsrc-08d7c58041ffde4b9cd427cfdc4ff0d98dc3d1cf.tar.gz |
/var/spool/postfix is stored in the Makefile variable POSTFIX_SPOOL. Be
pedantic and substitute for it so that if we ever have a way to change it,
postfix.sh will still be correct.
Diffstat (limited to 'mail/postfix')
-rw-r--r-- | mail/postfix/Makefile | 3 | ||||
-rw-r--r-- | mail/postfix/files/postfix.sh | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/mail/postfix/Makefile b/mail/postfix/Makefile index 7250e18b05e..6f39a10c67c 100644 --- a/mail/postfix/Makefile +++ b/mail/postfix/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.134 2004/07/18 19:16:31 jlam Exp $ +# $NetBSD: Makefile,v 1.135 2004/07/18 23:42:48 jlam Exp $ DISTNAME= postfix-2.1.3 CATEGORIES= mail @@ -149,6 +149,7 @@ POSTFIX_CONF_FILES+= src/global/mail_params.h FILES_SUBST+= SHAREDIR=${SHAREDIR} MESSAGE_SUBST+= SHAREDIR=${SHAREDIR} PLIST_SUBST+= POSTFIX_SPOOL=${POSTFIX_SPOOL} +FILES_SUBST+= POSTFIX_SPOOL=${POSTFIX_SPOOL} PKG_GROUPS?= postfix maildrop PKG_USERS?= postfix:postfix::Postfix\\ User:${POSTFIX_SPOOL} diff --git a/mail/postfix/files/postfix.sh b/mail/postfix/files/postfix.sh index a91f7104503..312a00a1d2c 100644 --- a/mail/postfix/files/postfix.sh +++ b/mail/postfix/files/postfix.sh @@ -1,6 +1,6 @@ #!@RCD_SCRIPTS_SHELL@ # -# $NetBSD: postfix.sh,v 1.1 2004/03/07 10:13:46 grant Exp $ +# $NetBSD: postfix.sh,v 1.2 2004/07/18 23:42:48 jlam Exp $ # # PROVIDE: mail @@ -18,7 +18,7 @@ start_cmd="${name} "'${rc_arg}' stop_cmd=$start_cmd reload_cmd=$start_cmd extra_commands="reload" -spooletcdir="/var/spool/${name}/etc" +spooletcdir="@POSTFIX_SPOOL@/etc" required_dirs=$spooletcdir postfix_precmd() |