diff options
author | glarkin <glarkin@FreeBSD.org> | 2011-05-18 00:07:49 +0800 |
---|---|---|
committer | glarkin <glarkin@FreeBSD.org> | 2011-05-18 00:07:49 +0800 |
commit | daa59da09cca1080ce9b8b2ac0e04855ba0d7df0 (patch) | |
tree | b54945e8af80eab58a8703155dda4a68d9bade4d | |
parent | d1804254ee7b578345eb8ddb6ae8face9bf1e0d7 (diff) | |
download | freebsd-ports-gnome-daa59da09cca1080ce9b8b2ac0e04855ba0d7df0.tar.gz freebsd-ports-gnome-daa59da09cca1080ce9b8b2ac0e04855ba0d7df0.tar.zst freebsd-ports-gnome-daa59da09cca1080ce9b8b2ac0e04855ba0d7df0.zip |
- Switched order of install targets to prevent incorrect ownership on a
pipe, resulting in daemon startup failure
- Bumped PORTREVISION
Reported by: Jason Helfman <jhelfman@e-e.com> (via email)
-rw-r--r-- | mail/nullmailer/Makefile | 4 | ||||
-rw-r--r-- | mail/nullmailer/files/nullmailer.in | 4 |
2 files changed, 4 insertions, 4 deletions
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" |