Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 May 2013 14:18:07 GMT
From:      Chifeng Qu <chifeng@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/178398: [MAINTAINER-UPDATE] sysutils/moosefs-chunkserver update to 1.6.27
Message-ID:  <201305071418.r47EI7sU018798@oldred.FreeBSD.org>
Resent-Message-ID: <201305071420.r47EK3jS051105@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         178398
>Category:       ports
>Synopsis:       [MAINTAINER-UPDATE] sysutils/moosefs-chunkserver update to 1.6.27
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 07 14:20:03 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Chifeng Qu
>Release:        FreeBSD 8.2-RELEASE
>Organization:
zynga.com
>Environment:
FreeBSD fb.chifeng.name 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:
Since I just sent a PR of the port sysutils/moosefs-master, we also need to update sysutils/moosefs-chunkserver and sysutils/moosefs-client.

Thanks,
>How-To-Repeat:
NONE
>Fix:
Apply this patch.

Patch attached with submission follows:

diff -ruN moosefs-chunkserver.bak/Makefile moosefs-chunkserver/Makefile
--- moosefs-chunkserver.bak/Makefile	2012-11-17 14:01:38.000000000 +0800
+++ moosefs-chunkserver/Makefile	2013-05-07 21:55:08.000000000 +0800
@@ -42,7 +42,7 @@
 post-install:
 .for FILE in mfschunkserver mfshdd
 	@if [ ! -f ${PREFIX}/etc/${i}.cfg ]; then \
-		${CP} ${PREFIX}/etc/${FILE}.cfg.dist ${PREFIX}/etc/${FILE}.cfg ; \
+		${CP} ${PREFIX}/etc/mfs/${FILE}.cfg.dist ${PREFIX}/etc/${FILE}.cfg ; \
 	fi
 .endfor
 	@${CAT} ${PKGMESSAGE}
diff -ruN moosefs-chunkserver.bak/pkg-plist moosefs-chunkserver/pkg-plist
--- moosefs-chunkserver.bak/pkg-plist	2011-01-21 17:26:29.000000000 +0800
+++ moosefs-chunkserver/pkg-plist	2013-05-07 22:01:00.000000000 +0800
@@ -1,7 +1,8 @@
 @exec  if [ ! -f %D/etc/mfshdd.cfg ]; then /bin/cp %D/%F %D/etc/mfshdd.cfg; fi
 @exec  if [ ! -f %D/etc/mfschunkserver.cfg ]; then /bin/cp %D/%F %D/etc/mfschunkserver.cfg; fi
-@unexec if cmp -s %D/etc/mfshdd.cfg.dist %D/etc/mfshdd.cfg; then rm -f %D/etc/mfshdd.cfg; fi
-@unexec if cmp -s %D/etc/mfschunkserver.cfg.dist %D/etc/mfschunkserver.cfg; then rm -f %D/etc/mfschunkserver.cfg; fi
-etc/mfschunkserver.cfg.dist
-etc/mfshdd.cfg.dist
+@unexec if cmp -s %D/etc/mfs/mfshdd.cfg.dist %D/etc/mfshdd.cfg; then rm -f %D/etc/mfshdd.cfg; fi
+@unexec if cmp -s %D/etc/mfs/mfschunkserver.cfg.dist %D/etc/mfschunkserver.cfg; then rm -f %D/etc/mfschunkserver.cfg; fi
+etc/mfs/mfschunkserver.cfg.dist
+etc/mfs/mfshdd.cfg.dist
 sbin/mfschunkserver
+@dirrm etc/mfs


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305071418.r47EI7sU018798>