From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Oct 14 16:50:10 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E161B106566B for ; Thu, 14 Oct 2010 16:50:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9FCA18FC20 for ; Thu, 14 Oct 2010 16:50:10 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o9EGoAaG083821 for ; Thu, 14 Oct 2010 16:50:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o9EGoAWM083820; Thu, 14 Oct 2010 16:50:10 GMT (envelope-from gnats) Resent-Date: Thu, 14 Oct 2010 16:50:10 GMT Resent-Message-Id: <201010141650.o9EGoAWM083820@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Alexander Milanov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ECA62106566C for ; Thu, 14 Oct 2010 16:47:41 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id DBA4F8FC1F for ; Thu, 14 Oct 2010 16:47:41 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o9EGlfNa092245 for ; Thu, 14 Oct 2010 16:47:41 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o9EGlfe3092244; Thu, 14 Oct 2010 16:47:41 GMT (envelope-from nobody) Message-Id: <201010141647.o9EGlfe3092244@www.freebsd.org> Date: Thu, 14 Oct 2010 16:47:41 GMT From: Alexander Milanov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/151457: Reload command for port mail/dovecot X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Oct 2010 16:50:11 -0000 >Number: 151457 >Category: ports >Synopsis: Reload command for port mail/dovecot >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Oct 14 16:50:10 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Alexander Milanov >Release: >Organization: >Environment: >Description: Dovecot's rc.d script from ports doesn't have a reload command, although it supports configuration reloading on SIGHUP (http://wiki1.dovecot.org/RunningDovecot#Reloading_Configuration). >How-To-Repeat: >Fix: Patch attached with submission follows: Index: files/dovecot.sh.in =================================================================== RCS file: /home/ncvs/ports/mail/dovecot/files/dovecot.sh.in,v retrieving revision 1.13 diff -u -r1.13 dovecot.sh.in --- files/dovecot.sh.in 27 Mar 2010 00:13:14 -0000 1.13 +++ files/dovecot.sh.in 27 Jul 2010 21:02:16 -0000 @@ -26,6 +26,7 @@ start_precmd="start_precmd" stop_postcmd="stop_postcmd" restart_cmd="restart_cmd" +extra_commands="reload" start_precmd() { # Ensure runtime directories exist with correct permissions >Release-Note: >Audit-Trail: >Unformatted: