aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2004-03-06 22:30:51 +0800
committerache <ache@FreeBSD.org>2004-03-06 22:30:51 +0800
commitbd6ef6ce29aa3dd644bf342538f226e8f2bb0f6c (patch)
treeecc5d13976d214392c7063302cd000bf9481b4e7 /mail
parentedc93fc4c2ce1fdc909d06f31b88cd84667161c8 (diff)
downloadfreebsd-ports-gnome-bd6ef6ce29aa3dd644bf342538f226e8f2bb0f6c.tar.gz
freebsd-ports-gnome-bd6ef6ce29aa3dd644bf342538f226e8f2bb0f6c.tar.zst
freebsd-ports-gnome-bd6ef6ce29aa3dd644bf342538f226e8f2bb0f6c.zip
Use /usr/sbin/daemon -f to detach milter from controlling terminal
(usually, console)
Diffstat (limited to 'mail')
-rw-r--r--mail/milter-sender/Makefile1
-rw-r--r--mail/milter-sender/files/patch-ac2
2 files changed, 2 insertions, 1 deletions
diff --git a/mail/milter-sender/Makefile b/mail/milter-sender/Makefile
index c9da7f8ce201..21dafa814ced 100644
--- a/mail/milter-sender/Makefile
+++ b/mail/milter-sender/Makefile
@@ -7,6 +7,7 @@
PORTNAME= milter-sender
PORTVERSION= 0.51
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://www.snert.com/Software/download/
DISTFILES= libsnert-1.32.tgz milter-sender-${PORTVERSION}.tgz
diff --git a/mail/milter-sender/files/patch-ac b/mail/milter-sender/files/patch-ac
index ee4a923ede72..2e820da424fb 100644
--- a/mail/milter-sender/files/patch-ac
+++ b/mail/milter-sender/files/patch-ac
@@ -19,7 +19,7 @@
- # Start the program in the background from a sub-shell
- # so that process will appear in the ps output immediately.
- sh -c "$PROGRAM $OPTIONS &"
-+ $PROGRAM $OPTIONS &
++ /usr/sbin/daemon -f $PROGRAM $OPTIONS &
- pid=`getpid "$PROGRAM"`
- if [ X"$pid" = X ]; then