From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Mar 4 23:40:10 2011 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 33586106566C for ; Fri, 4 Mar 2011 23:40: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 E97148FC18 for ; Fri, 4 Mar 2011 23:40:09 +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 p24Ne9A2096722 for ; Fri, 4 Mar 2011 23:40:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p24Ne9lq096721; Fri, 4 Mar 2011 23:40:09 GMT (envelope-from gnats) Resent-Date: Fri, 4 Mar 2011 23:40:09 GMT Resent-Message-Id: <201103042340.p24Ne9lq096721@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, Dimitri Aivaliotis Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 64424106564A for ; Fri, 4 Mar 2011 23:32:03 +0000 (UTC) (envelope-from aglarond@home.aivaliotis.org) Received: from home.aivaliotis.org (home.aivaliotis.org [212.71.115.145]) by mx1.freebsd.org (Postfix) with ESMTP id 20C6F8FC08 for ; Fri, 4 Mar 2011 23:32:03 +0000 (UTC) Received: by home.aivaliotis.org (Postfix, from userid 1001) id BE48D5C48; Sat, 5 Mar 2011 00:14:01 +0100 (CET) Message-Id: <20110304231401.BE48D5C48@home.aivaliotis.org> Date: Sat, 5 Mar 2011 00:14:01 +0100 (CET) From: Dimitri Aivaliotis To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/155279: [patch] sysutils/rubygem-chef: %%RC_SUBR%% not getting replaced X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dimitri Aivaliotis List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2011 23:40:10 -0000 >Number: 155279 >Category: ports >Synopsis: [patch] sysutils/rubygem-chef: %%RC_SUBR%% not getting replaced >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Mar 04 23:40:09 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Dimitri Aivaliotis >Release: FreeBSD 8.2-RELEASE i386 >Organization: >Environment: System: FreeBSD freebsd-build-82 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Fri Feb 18 02:24:46 UTC 2011 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: The %%RC_SUBR%% variable in the rc script source files/chef_client.in isn't getting replaced by default. Rather than adding this variable to SUB_LIST, it makes more sense to explicitly replace it in the source file itself. This is done in numerous other rc script source files as well as in the example in the Porter's Handbook. >How-To-Repeat: >Fix: --- chef_client.in.diff begins here --- --- chef_client.in.orig 2011-01-18 13:00:11.000000000 +0100 +++ chef_client.in 2011-03-04 23:48:22.000000000 +0100 @@ -12,7 +12,7 @@ # # chef_client_enable="YES" -. %%RC_SUBR%% +. /etc/rc.subr name="chef_client" rcvar=`set_rcvar` --- chef_client.in.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: