From 44ac54edbb964baff0d4f556046a241022088059 Mon Sep 17 00:00:00 2001 From: Greg Larkin Date: Tue, 17 May 2011 16:07:49 +0000 Subject: - Switched order of install targets to prevent incorrect ownership on a pipe, resulting in daemon startup failure - Bumped PORTREVISION Reported by: Jason Helfman (via email) --- mail/nullmailer/Makefile | 4 ++-- mail/nullmailer/files/nullmailer.in | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'mail/nullmailer') diff --git a/mail/nullmailer/Makefile b/mail/nullmailer/Makefile index ad587fe0d5c2..22a7530c3e57 100644 --- a/mail/nullmailer/Makefile +++ b/mail/nullmailer/Makefile @@ -7,7 +7,7 @@ PORTNAME= nullmailer PORTVERSION= 1.05 -PORTREVISION= 3 +PORTREVISION= 4 PORTEPOCH= 1 CATEGORIES= mail MASTER_SITES= http://untroubled.org/nullmailer/ \ @@ -48,7 +48,7 @@ MAN7= nullmailer.7 MAN8= nullmailer-queue.8 nullmailer-send.8 post-install: - @cd ${WRKSRC} && make install-root install-data + @cd ${WRKSRC} && make install-data install-root # Append commands that reference the nullmailer user to the plist, because # we need to ensure that the account has been created by bsd.port.mk by diff --git a/mail/nullmailer/files/nullmailer.in b/mail/nullmailer/files/nullmailer.in index db704f3816f4..197c4b38d2d8 100644 --- a/mail/nullmailer/files/nullmailer.in +++ b/mail/nullmailer/files/nullmailer.in @@ -20,8 +20,8 @@ command=/usr/sbin/daemon procname=%%PREFIX%%/sbin/nullmailer-send command_args=" -cf -u %%NULLMAIL_USER%% /bin/sh -c '$procname | /usr/bin/logger -i -p mail.info -t $name'" -load_rc_config $name +load_rc_config "$name" -: nullmailer_enable=${nullmailer_enable:=NO} +: ${nullmailer_enable="NO"} run_rc_command "$1" -- cgit v1.2.3