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

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

>Number:         178399
>Category:       ports
>Synopsis:       [MAINTAINER-UPDATE] sysutils/moosefs-master 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
>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:
The port sysutils/moosefs-master update to latest version 1.6.27. 
thank you.
>How-To-Repeat:
NONE
>Fix:
Apply this patch.

Patch attached with submission follows:

diff -ruN moosefs-master.bak/Makefile moosefs-master/Makefile
--- moosefs-master.bak/Makefile	2012-11-17 14:01:38.000000000 +0800
+++ moosefs-master/Makefile	2013-05-07 21:45:57.000000000 +0800
@@ -42,7 +42,7 @@
 post-install:
 .for FILE in mfsmaster mfsexports mfsmetalogger mfstopology
 	@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
 
diff -ruN moosefs-master.bak/bsd.port.moosefs.mk moosefs-master/bsd.port.moosefs.mk
--- moosefs-master.bak/bsd.port.moosefs.mk	2012-09-18 10:12:12.000000000 +0800
+++ moosefs-master/bsd.port.moosefs.mk	2013-05-07 21:37:24.000000000 +0800
@@ -1,9 +1,10 @@
-PORTVERSION=	1.6.26
-PORTREVISION?=	0
+PORTVERSION=	1.6.27
+PORTREVISION?=	1
 MASTER_SITES=	http://www.moosefs.org/tl_files/mfscode/ \
 		http://ports.quxingwen.com/dist/mfs/
 
-DISTNAME=	mfs-${PORTVERSION}
+DISTNAME=	mfs-${PORTVERSION}-${PORTREVISION}
+WRKSRC=		work/mfs-${PORTVERSION}
 
 LICENSE=	GPLv3
 
diff -ruN moosefs-master.bak/distinfo moosefs-master/distinfo
--- moosefs-master.bak/distinfo	2012-09-18 10:12:12.000000000 +0800
+++ moosefs-master/distinfo	2013-05-07 20:56:55.000000000 +0800
@@ -1,2 +1,2 @@
-SHA256 (mfs-1.6.26.tar.gz) = f250f97c6f2a229277fdbf9fe96036873fd6c95a38f484f06e6b87a404c01885
-SIZE (mfs-1.6.26.tar.gz) = 754573
+SHA256 (mfs-1.6.27-1.tar.gz) = dfe682f0b184ed13e602274825148cd9a7ddfe4f0894e1ab9c1823f66208cb28
+SIZE (mfs-1.6.27-1.tar.gz) = 771983
diff -ruN moosefs-master.bak/pkg-plist moosefs-master/pkg-plist
--- moosefs-master.bak/pkg-plist	2012-04-30 15:45:24.000000000 +0800
+++ moosefs-master/pkg-plist	2013-05-07 21:50:49.000000000 +0800
@@ -2,14 +2,14 @@
 @exec  if [ ! -f %D/etc/mfsexports.cfg ]; then /bin/cp %D/%F %D/etc/mfsexports.cfg; fi
 @exec  if [ ! -f %D/etc/mfsmetalogger.cfg ]; then /bin/cp %D/%F %D/etc/mfsmetalogger.cfg; fi
 @exec  if [ ! -f %D/etc/mfstopology.cfg ]; then /bin/cp %D/%F %D/etc/mfstopology.cfg; fi
-@unexec if cmp -s %D/etc/mfsmaster.cfg.dist %D/etc/mfsmaster.cfg; then rm -f %D/etc/mfsmaster.cfg; fi
-@unexec if cmp -s %D/etc/mfsexports.cfg.dist %D/etc/mfsexports.cfg; then rm -f %D/etc/mfsexports.cfg; fi
-@unexec if cmp -s %D/etc/mfsmetalogger.cfg.dist %D/etc/mfsmetalogger.cfg; then rm -f %D/etc/mfsmetalogger.cfg; fi
-@unexec if cmp -s %D/etc/mfstopology.cfg.dist %D/etc/mfstopology.cfg; then rm -f %D/etc/mfstopology.cfg; fi
-etc/mfsmaster.cfg.dist
-etc/mfsexports.cfg.dist
-etc/mfsmetalogger.cfg.dist
-etc/mfstopology.cfg.dist
+@unexec if cmp -s %D/etc/mfs/mfsmaster.cfg.dist %D/etc/mfsmaster.cfg; then rm -f %D/etc/mfsmaster.cfg; fi
+@unexec if cmp -s %D/etc/mfs/mfsexports.cfg.dist %D/etc/mfsexports.cfg; then rm -f %D/etc/mfsexports.cfg; fi
+@unexec if cmp -s %D/etc/mfs/mfsmetalogger.cfg.dist %D/etc/mfsmetalogger.cfg; then rm -f %D/etc/mfsmetalogger.cfg; fi
+@unexec if cmp -s %D/etc/mfs/mfstopology.cfg.dist %D/etc/mfstopology.cfg; then rm -f %D/etc/mfstopology.cfg; fi
+etc/mfs/mfsmaster.cfg.dist
+etc/mfs/mfsexports.cfg.dist
+etc/mfs/mfsmetalogger.cfg.dist
+etc/mfs/mfstopology.cfg.dist
 sbin/mfscgiserv
 sbin/mfsmaster
 sbin/mfsmetarestore
@@ -22,4 +22,5 @@
 share/mfscgi/err.gif
 share/mfscgi/chart.cgi
 share/mfscgi/favicon.ico
+@dirrm etc/mfs
 @dirrm share/mfscgi


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



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