From owner-svn-ports-head@FreeBSD.ORG Wed Jun 4 00:32:32 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 87868B58; Wed, 4 Jun 2014 00:32:32 +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 7465D2BEC; Wed, 4 Jun 2014 00:32:32 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s540WWNa004124; Wed, 4 Jun 2014 00:32:32 GMT (envelope-from ashish@svn.freebsd.org) Received: (from ashish@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s540WWHO004121; Wed, 4 Jun 2014 00:32:32 GMT (envelope-from ashish@svn.freebsd.org) Message-Id: <201406040032.s540WWHO004121@svn.freebsd.org> From: Ashish SHUKLA Date: Wed, 4 Jun 2014 00:32:32 +0000 (UTC) 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 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jun 2014 00:32:32 -0000 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