svn commit: r356418 - in head/mail/opensmtpd: . files
Ashish SHUKLA
ashish at FreeBSD.org
Wed Jun 4 00:30:50 UTC 2014
Author: ashish
Date: Wed Jun 4 00:30:49 2014
New Revision: 356418
URL: http://svnweb.freebsd.org/changeset/ports/356418
QAT: https://qat.redports.org/buildarchive/r356418/
Log:
- Make rc.d script send signals only to the parent daemon process to
fix a race condition.
Submitted by: naddy (via private email)
Modified:
head/mail/opensmtpd/Makefile
head/mail/opensmtpd/files/smtpd.in
Modified: head/mail/opensmtpd/Makefile
==============================================================================
--- head/mail/opensmtpd/Makefile Tue Jun 3 22:48:40 2014 (r356417)
+++ head/mail/opensmtpd/Makefile Wed Jun 4 00:30:49 2014 (r356418)
@@ -3,6 +3,7 @@
PORTNAME= opensmtpd
PORTVERSION= 5.4.2
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= mail
MASTER_SITES= http://www.opensmtpd.org/archives/ \
Modified: head/mail/opensmtpd/files/smtpd.in
==============================================================================
--- head/mail/opensmtpd/files/smtpd.in Tue Jun 3 22:48:40 2014 (r356417)
+++ head/mail/opensmtpd/files/smtpd.in Wed Jun 4 00:30:49 2014 (r356418)
@@ -18,6 +18,11 @@
. /etc/rc.subr
+check_process()
+{
+ /bin/pgrep -f 'smtpd: \[priv\]'
+}
+
name="smtpd"
rcvar=smtpd_enable
More information about the svn-ports-all
mailing list