set permissions on the fifo when we make the fifo rather than using
SPECIAL_PERMS because ordering seems to be an issue
This commit is contained in:
parent
f9c3120f43
commit
7f623d9f33
2 changed files with 8 additions and 5 deletions
|
@ -1,10 +1,15 @@
|
|||
# $NetBSD: INSTALL,v 1.1 2005/08/20 02:20:45 schmonz Exp $
|
||||
# $NetBSD: INSTALL,v 1.2 2007/11/26 08:27:24 plunky Exp $
|
||||
|
||||
VARBASE=@VARBASE@
|
||||
NULLMAILER_USER=@NULLMAILER_USER@
|
||||
NULLMAILER_GROUP=@NULLMAILER_GROUP@
|
||||
|
||||
TRIGGER=${VARBASE}/spool/nullmailer/trigger
|
||||
|
||||
case "${STAGE}" in
|
||||
|
||||
POST-INSTALL)
|
||||
mkfifo ${VARBASE}/spool/nullmailer/trigger
|
||||
mkfifo -m 0600 ${TRIGGER} && \
|
||||
chown ${NULLMAILER_USER}:${NULLMAILER_GROUP} ${TRIGGER}
|
||||
;;
|
||||
esac
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.28 2007/07/04 20:54:45 jlam Exp $
|
||||
# $NetBSD: Makefile,v 1.29 2007/11/26 08:27:24 plunky Exp $
|
||||
|
||||
DISTNAME= nullmailer-1.03
|
||||
CATEGORIES= mail
|
||||
|
@ -44,8 +44,6 @@ SPECIAL_PERMS+= libexec/nullmailer/mailq \
|
|||
${NULLMAILER_USER} ${NULLMAILER_GROUP} 4555
|
||||
SPECIAL_PERMS+= libexec/nullmailer/nullmailer-queue \
|
||||
${NULLMAILER_USER} ${NULLMAILER_GROUP} 4555
|
||||
SPECIAL_PERMS+= ${VARBASE}/spool/nullmailer/trigger \
|
||||
${NULLMAILER_USER} ${NULLMAILER_GROUP} 0600
|
||||
|
||||
SUBST_CLASSES+= paths
|
||||
SUBST_FILES.paths= ${WRKDIR}/mailer.conf
|
||||
|
|
Loading…
Reference in a new issue