Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Jun 2014 00:32:32 +0000 (UTC)
From:      Ashish SHUKLA <ashish@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r356419 - in head/mail/opensmtpd-devel: . files
Message-ID:  <201406040032.s540WWHO004121@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ashish
Date: Wed Jun  4 00:32:31 2014
New Revision: 356419
URL: http://svnweb.freebsd.org/changeset/ports/356419
QAT: https://qat.redports.org/buildarchive/r356419/

Log:
  - Make rc.d script sends signals only to the parent daemon process to
    fix a race condition.
  
  Submitted by:	naddy (via private email)

Modified:
  head/mail/opensmtpd-devel/Makefile
  head/mail/opensmtpd-devel/files/smtpd.in

Modified: head/mail/opensmtpd-devel/Makefile
==============================================================================
--- head/mail/opensmtpd-devel/Makefile	Wed Jun  4 00:30:49 2014	(r356418)
+++ head/mail/opensmtpd-devel/Makefile	Wed Jun  4 00:32:31 2014	(r356419)
@@ -3,6 +3,7 @@
 
 PORTNAME=	opensmtpd
 PORTVERSION=	201405202105
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	mail
 MASTER_SITES=	http://www.opensmtpd.org/archives/ \

Modified: head/mail/opensmtpd-devel/files/smtpd.in
==============================================================================
--- head/mail/opensmtpd-devel/files/smtpd.in	Wed Jun  4 00:30:49 2014	(r356418)
+++ head/mail/opensmtpd-devel/files/smtpd.in	Wed Jun  4 00:32:31 2014	(r356419)
@@ -18,6 +18,11 @@
 
 . /etc/rc.subr
 
+check_process()
+{
+	/bin/pgrep -f 'smtpd: \[priv\]'
+}
+
 name="smtpd"
 rcvar=smtpd_enable
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406040032.s540WWHO004121>