From efcf8e68cd9faa0d252c38dc287f6a9e8bbc9741 Mon Sep 17 00:00:00 2001 From: okan Date: Wed, 29 Oct 2008 14:36:12 +0000 Subject: [PATCH] swap pid for socket (-p) in sample rc script and bump ok sthen --- mail/mimedefang/Makefile | 3 ++- mail/mimedefang/files/rc.mimedefang | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/mail/mimedefang/Makefile b/mail/mimedefang/Makefile index 8b0c20236c9..aa588f42401 100644 --- a/mail/mimedefang/Makefile +++ b/mail/mimedefang/Makefile @@ -1,8 +1,9 @@ -# $OpenBSD: Makefile,v 1.9 2008/10/21 23:28:14 okan Exp $ +# $OpenBSD: Makefile,v 1.10 2008/10/29 14:36:12 okan Exp $ COMMENT= mailfilter to identify and mark spam DISTNAME= mimedefang-2.65 +PKGNAME= ${DISTNAME}p0 CATEGORIES= mail HOMEPAGE= http://www.mimedefang.org/ diff --git a/mail/mimedefang/files/rc.mimedefang b/mail/mimedefang/files/rc.mimedefang index bf00740b2bb..7bf91410c95 100644 --- a/mail/mimedefang/files/rc.mimedefang +++ b/mail/mimedefang/files/rc.mimedefang @@ -1,4 +1,4 @@ -# $OpenBSD: rc.mimedefang,v 1.3 2008/10/21 23:28:14 okan Exp $ +# $OpenBSD: rc.mimedefang,v 1.4 2008/10/29 14:36:12 okan Exp $ mimedefang=${LOCALBASE}/bin/mimedefang multiplexor=${LOCALBASE}/bin/mimedefang-multiplexor @@ -24,7 +24,7 @@ if [ -x $mimedefang -a -x $multiplexor ]; then echo -n " mimedefang" $mimedefang -U _mdefang -r -s -t \ - -p /var/run/mdefang/mimedefang.pid \ + -p /var/run/mdefang/mimedefang.socket \ -m /var/run/mdefang/multiplexor.socket sleep 3 # for socket creation