Date: Mon, 03 Feb 2014 15:54:40 +0100 From: l_fs <loic@findspire.com> To: FreeBSD-gnats-submit@freebsd.org Cc: loic@findspire.com Subject: ports/186411: Fix default conf path for MooseFS-ChunkServer Message-ID: <52efbbc3.320db40a.357c.ffffca20@mx.google.com> Resent-Message-ID: <201402031610.s13GA0Or096722@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 186411 >Category: ports >Synopsis: 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: >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: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52efbbc3.320db40a.357c.ffffca20>