From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Mar 29 13:10:11 2012 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 A9F89106564A for ; Thu, 29 Mar 2012 13:10:11 +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 660BC8FC24 for ; Thu, 29 Mar 2012 13:10:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q2TDABkr067403 for ; Thu, 29 Mar 2012 13:10:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q2TDABIS067402; Thu, 29 Mar 2012 13:10:11 GMT (envelope-from gnats) Resent-Date: Thu, 29 Mar 2012 13:10:11 GMT Resent-Message-Id: <201203291310.q2TDABIS067402@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, Sevan Janiyan Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 76E931065670 for ; Thu, 29 Mar 2012 13:05:32 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 624318FC14 for ; Thu, 29 Mar 2012 13:05:32 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q2TD5Wef018888 for ; Thu, 29 Mar 2012 13:05:32 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q2TD5Wxr018887; Thu, 29 Mar 2012 13:05:32 GMT (envelope-from nobody) Message-Id: <201203291305.q2TD5Wxr018887@red.freebsd.org> Date: Thu, 29 Mar 2012 13:05:32 GMT From: Sevan Janiyan To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/166491: Add support for specifying flags to the rc script 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, 29 Mar 2012 13:10:11 -0000 >Number: 166491 >Category: ports >Synopsis: Add support for specifying flags to the rc script >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 Mar 29 13:10:11 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Sevan Janiyan >Release: >Organization: >Environment: >Description: Attached patch adds support for specifying flags which the current script lacks >How-To-Repeat: >Fix: Patch attached with submission follows: --- ../openntpd.orig/files/openntpd.in 2012-03-29 12:50:46.170179089 +0100 +++ ./files/openntpd.in 2012-03-29 13:40:07.887209117 +0100 @@ -12,6 +12,8 @@ # # openntpd_enable (bool): Set to NO by default. # Set it to YES to enable openntpd. +# +# openntpd_flags Command line arguments . /etc/rc.subr @@ -24,5 +26,6 @@ load_rc_config $name : ${openntpd_enable="NO"} +: ${openntpd_flags=""} run_rc_command "$1" >Release-Note: >Audit-Trail: >Unformatted: