svn commit: r361602 - head/sysutils/moosefs-master
John Marino
marino at FreeBSD.org
Sat Jul 12 08:05:27 UTC 2014
Author: marino
Date: Sat Jul 12 08:05:26 2014
New Revision: 361602
URL: http://svnweb.freebsd.org/changeset/ports/361602
QAT: https://qat.redports.org/buildarchive/r361602/
Log:
sysutils/moosefs-master: Fix default conf path for master port
The default path was PREFIX/etc but should be PREFIX/etc/mfs .
This PR is getting submitted before the stage support PR.
PR: 186404
Submitted by: loic (findspire.com)
Approved by: maintainer (chifeng)
Approved by: portmgr (implicit, NOT_STAGED)
Modified:
head/sysutils/moosefs-master/Makefile
head/sysutils/moosefs-master/bsd.port.moosefs.mk
Modified: head/sysutils/moosefs-master/Makefile
==============================================================================
--- head/sysutils/moosefs-master/Makefile Sat Jul 12 06:57:47 2014 (r361601)
+++ head/sysutils/moosefs-master/Makefile Sat Jul 12 08:05:26 2014 (r361602)
@@ -38,11 +38,13 @@ pre-install:
post-install:
.for FILE in mfsmaster mfsexports mfsmetalogger mfstopology
- @if [ ! -f ${PREFIX}/etc/${FILE}.cfg ]; then \
- ${CP} ${PREFIX}/etc/mfs/${FILE}.cfg.dist ${PREFIX}/etc/${FILE}.cfg ; \
+ @if [ ! -f ${PREFIX}/etc/mfs/${FILE}.cfg ]; then \
+ ${CP} ${PREFIX}/etc/mfs/${FILE}.cfg.dist ${PREFIX}/etc/mfs/${FILE}.cfg ; \
fi
.endfor
-
+ @if [ ! -f ${MFS_WORDIR}/mfs/metadata.mfs ]; then \
+ ${CP} ${MFS_WORKDIR}/mfs/metadata.mfs.empty ${MFS_WORKDIR}/mfs/metadata.mfs ; \
+ fi
PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
@${CAT} ${PKGMESSAGE}
Modified: head/sysutils/moosefs-master/bsd.port.moosefs.mk
==============================================================================
--- head/sysutils/moosefs-master/bsd.port.moosefs.mk Sat Jul 12 06:57:47 2014 (r361601)
+++ head/sysutils/moosefs-master/bsd.port.moosefs.mk Sat Jul 12 08:05:26 2014 (r361602)
@@ -1,5 +1,5 @@
PORTVERSION= 1.6.27
-PORTREVISION?= 0
+PORTREVISION?= 1
MASTER_SITES= http://www.moosefs.org/tl_files/mfscode/ \
http://ports.quxingwen.com/dist/mfs/
More information about the svn-ports-all
mailing list