From loic@findspire.com  Mon Feb  3 16:01:04 2014
Return-Path: <loic@findspire.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id 31FF6D0C
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  3 Feb 2014 16:01:04 +0000 (UTC)
Received: from mail-wg0-f42.google.com (mail-wg0-f42.google.com [74.125.82.42])
	(using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id BBE6D165D
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  3 Feb 2014 16:01:02 +0000 (UTC)
Received: by mail-wg0-f42.google.com with SMTP id l18so3693784wgh.1
        for <FreeBSD-gnats-submit@freebsd.org>; Mon, 03 Feb 2014 08:00:54 -0800 (PST)
Received: from smtp.gmail.com:587 (85-170-116-133.rev.numericable.fr. [85.170.116.133])
        by mx.google.com with ESMTPSA id e18sm27004946wic.4.2014.02.03.07.54.41
        for <multiple recipients>
        (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Mon, 03 Feb 2014 07:54:43 -0800 (PST)
Received: by smtp.gmail.com:587 (sSMTP sendmail emulation); Mon, 03 Feb 2014 15:54:40 +0100
Message-Id: <52efbbc3.320db40a.357c.ffffca20@mx.google.com>
Date: Mon, 03 Feb 2014 15:54:40 +0100
From: l_fs <loic@findspire.com>
Reply-To: l_fs <loic@findspire.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc: loic@findspire.com
Subject: Fix default conf path for MooseFS-ChunkServer
X-Send-Pr-Version: 3.114
X-GNATS-Notify: chifeng@gmail.com

>Number:         186411
>Category:       ports
>Synopsis:       sysutils/moosefs-chunkserver: Fix default conf path for MooseFS-ChunkServer
>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:   Mon Feb 03 16:10:00 UTC 2014
>Closed-Date:    
>Last-Modified:  Fri Feb 07 06:02:44 UTC 2014
>Originator:     L. Tosser
>Release:        FreeBSD 10.0-RELEASE amd64
>Organization:
Findspire
>Environment:
System: FreeBSD poudriere.findspire.com 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64


	
>Description:
The default path and init script have bad conf path : /usr/local/et/mfs/mfschunkserver.cfg

>How-To-Repeat:
cd /usr/ports/sysutils/moosefs-chunkserver && make install && mfschunkserver
>Fix:

	

--- port.diff begins here ---
--- Makefile.old	2014-02-03 10:32:52.000000000 +0100
+++ Makefile	2014-02-03 10:33:45.000000000 +0100
@@ -38,8 +38,8 @@
 
 post-install:
 .for FILE in mfschunkserver mfshdd
-	@if [ ! -f ${PREFIX}/etc/${i}.cfg ]; then \
-		${CP} ${PREFIX}/etc/mfs/${FILE}.cfg.dist ${PREFIX}/etc/${FILE}.cfg ; \
+	@if [ ! -f ${PREFIX}/etc/mfs/${i}.cfg ]; then \
+		${CP} ${PREFIX}/etc/mfs/${FILE}.cfg.dist ${PREFIX}/etc/mfs/${FILE}.cfg ; \
 	fi
 .endfor
 	@${CAT} ${PKGMESSAGE}
--- files/mfschunkserver.in.old	2014-01-24 01:14:07.000000000 +0100
+++ files/mfschunkserver.in	2014-02-03 10:46:14.000000000 +0100
@@ -29,7 +29,7 @@
 
 # set defaults
 mfschunkserver_enable=${mfschunkserver_enable:-"NO"}
-mfschunkserver_flags=${mfschunkserver_flags:-"-c %%PREFIX%%/etc/mfschunkserver.cfg"}
+mfschunkserver_flags=${mfschunkserver_flags:-"-c %%PREFIX%%/etc/mfs/mfschunkserver.cfg"}
 
 load_rc_config $name
 run_rc_command "$1"
--- port.diff ends here ---


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Thu Feb 6 04:36:08 UTC 2014 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

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

From: Edwin Groothuis <edwin@FreeBSD.org>
To: chifeng@gmail.com
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/186411: sysutils/moosefs-chunkserver: Fix default conf path for MooseFS-ChunkServer
Date: Thu, 6 Feb 2014 04:36:07 UT

 Maintainer of sysutils/moosefs-chunkserver,
 
 Please note that PR ports/186411 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/186411
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org

From: chifeng <chifeng@gmail.com>
To: bug-followup@freebsd.org
Cc:  
Subject: Re: ports/186411: sysutils/moosefs-chunkserver: Fix default conf path
 for MooseFS-ChunkServer
Date: Fri, 7 Feb 2014 10:11:58 +0800

 --001a11c2c67cc3192504f1c78353
 Content-Type: text/plain; charset=ISO-8859-1
 
 Please commit, thanks for fixing it.
 
 -- 
 *Regards.*
 - Chifeng
 
 --001a11c2c67cc3192504f1c78353--
State-Changed-From-To: feedback->open 
State-Changed-By: linimon 
State-Changed-When: Fri Feb 7 06:02:18 UTC 2014 
State-Changed-Why:  
Maintainer approved. 

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