pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/postfix /var/spool/postfix is stored in the Makef...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/786efd8d77c4
branches:  trunk
changeset: 478168:786efd8d77c4
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Sun Jul 18 23:42:48 2004 +0000

description:
/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:

 mail/postfix/Makefile         |  3 ++-
 mail/postfix/files/postfix.sh |  4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diffs (37 lines):

diff -r ad2421c2dbf9 -r 786efd8d77c4 mail/postfix/Makefile
--- a/mail/postfix/Makefile     Sun Jul 18 23:40:36 2004 +0000
+++ b/mail/postfix/Makefile     Sun Jul 18 23:42:48 2004 +0000
@@ -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 @@
 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 -r ad2421c2dbf9 -r 786efd8d77c4 mail/postfix/files/postfix.sh
--- a/mail/postfix/files/postfix.sh     Sun Jul 18 23:40:36 2004 +0000
+++ b/mail/postfix/files/postfix.sh     Sun Jul 18 23:42:48 2004 +0000
@@ -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 @@
 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()



Home | Main Index | Thread Index | Old Index