From nobody@FreeBSD.org  Wed May 28 14:05:26 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id D4E67106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 28 May 2008 14:05:26 +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 AF1488FC0C
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 28 May 2008 14:05:26 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m4SE3mTd043433
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 28 May 2008 14:03:48 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m4SE3maa043432;
	Wed, 28 May 2008 14:03:48 GMT
	(envelope-from nobody)
Message-Id: <200805281403.m4SE3maa043432@www.freebsd.org>
Date: Wed, 28 May 2008 14:03:48 GMT
From: falz <me@falz.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [patch] net-mgmt/hobbit-client ability pass flags to startup script
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         124066
>Category:       ports
>Synopsis:       [patch] net-mgmt/hobbit-client ability pass flags to startup script
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    dinoex
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 28 14:10:01 UTC 2008
>Closed-Date:    Thu May 29 18:28:20 CEST 2008
>Last-Modified:  Thu May 29 18:28:20 CEST 2008
>Originator:     falz
>Release:        6.2
>Organization:
>Environment:
>Description:

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN hobbit-client.old/files/hobbit-client.sh.in hobbit-client/files/hobbit-client.sh.in
--- hobbit-client.old/files/hobbit-client.sh.in	Mon Jan 28 05:56:56 2008
+++ hobbit-client/files/hobbit-client.sh.in	Wed May 28 08:51:14 2008
@@ -13,9 +13,10 @@
 
 load_rc_config "$name"
 : ${hobbit_client_enable:="NO"}
+: ${hobbit_client_flags:=""}
 
 command="%%PREFIX%%/www/hobbit/client/runclient.sh"
-start_cmd="%%PREFIX%%/www/hobbit/client/runclient.sh start"
+start_cmd="%%PREFIX%%/www/hobbit/client/runclient.sh ${hobbit_client_flags} start"
 stop_cmd="%%PREFIX%%/www/hobbit/client/runclient.sh stop"
 status_cmd="%%PREFIX%%/www/hobbit/client/runclient.sh status"
 reload_cmd="%%PREFIX%%/www/hobbit/client/runclient.sh restart"


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->dinoex 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Wed May 28 15:36:15 UTC 2008 
Responsible-Changed-Why:  
Make this a ports PR and assign. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=124066 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/124066: commit references a PR
Date: Thu, 29 May 2008 14:23:20 +0000 (UTC)

 dinoex      2008-05-29 14:23:11 UTC
 
   FreeBSD ports repository
 
   Modified files:
     net-mgmt/hobbit-client Makefile 
     net-mgmt/hobbit-client/files hobbit-client.sh.in 
   Log:
   - pass flags to startup script
   PR:             124066
   Submitted by:   falz <me@falz.net>
   
   Revision  Changes    Path
   1.4       +1 -1      ports/net-mgmt/hobbit-client/Makefile
   1.2       +6 -5      ports/net-mgmt/hobbit-client/files/hobbit-client.sh.in
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: dinoex 
State-Changed-When: Thu May 29 18:26:21 CEST 2008 
State-Changed-Why:  
committed, thanks. 

If you change the hostname, stop and restart did not find pid file, 
so I passed the flags to all targets. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=124066 
>Unformatted:
