Date: Sat, 12 Jul 2014 08:05:26 +0000 (UTC) From: John Marino <marino@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r361602 - head/sysutils/moosefs-master Message-ID: <201407120805.s6C85QeQ031334@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407120805.s6C85QeQ031334>