From owner-svn-ports-all@FreeBSD.ORG Wed Jun 4 00:30:50 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 49E8DA2B; Wed, 4 Jun 2014 00:30:50 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 36DF72BD1; Wed, 4 Jun 2014 00:30:50 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s540UnLC000923; Wed, 4 Jun 2014 00:30:50 GMT (envelope-from ashish@svn.freebsd.org) Received: (from ashish@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s540UnSF000921; Wed, 4 Jun 2014 00:30:49 GMT (envelope-from ashish@svn.freebsd.org) Message-Id: <201406040030.s540UnSF000921@svn.freebsd.org> From: Ashish SHUKLA Date: Wed, 4 Jun 2014 00:30:49 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r356418 - in head/mail/opensmtpd: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jun 2014 00:30:50 -0000 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