FreeBSD Bugzilla – Attachment 159523 Details for
Bug 199342
sysutils/moosefs-master: Update to 2.0.72-1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
MooseFS Master Server Port 2.0.72-1
moosefs-master.diff (text/plain), 7.42 KB, created by
MooseFS FreeBSD Team
on 2015-08-04 10:25:25 UTC
(
hide
)
Description:
MooseFS Master Server Port 2.0.72-1
Filename:
MIME Type:
Creator:
MooseFS FreeBSD Team
Created:
2015-08-04 10:25:25 UTC
Size:
7.42 KB
patch
obsolete
>diff -u moosefs-master.orig/Makefile moosefs-master/Makefile >--- moosefs-master.orig/Makefile 2015-06-10 19:33:58.000000000 +0200 >+++ moosefs-master/Makefile 2015-07-20 00:07:28.112023000 +0200 >@@ -1,43 +1,107 @@ >-# Created by: Chifeng Qu <chifeng@gmail.com> >-# $FreeBSD: head/sysutils/moosefs-master/Makefile 389104 2015-06-10 17:33:58Z amdmi3 $ >+# Created by: Jakub Kruszona-Zawadzki <acid@moosefs.com> ; Based on port created by: Chifeng Qu <chifeng@gmail.com> >+# $FreeBSD$ > >-PORTNAME= moosefs >-DISTVERSION= 1.6.27-5 >-CATEGORIES= sysutils >-MASTER_SITES= http://www.moosefs.org/tl_files/mfscode/ \ >- http://ports.quxingwen.com/dist/mfs/ >-PKGNAMESUFFIX= -master >-DISTNAME= mfs-${DISTVERSION} >- >-MAINTAINER= ports@FreeBSD.org >-COMMENT= Managing the whole filesystem and storing metadata >- >-LICENSE= GPLv3 >-LICENSE_FILE= ${WRKSRC}/COPYING >- >-WRKSRC= ${WRKDIR}/mfs-1.6.27 >-USERS= mfs >-GROUPS= mfs >-GNU_CONFIGURE= yes >-USES= python >- >-USE_RC_SUBR= mfsmaster mfsmetalogger mfscgiserv >-SUB_FILES= pkg-message >-SUB_LIST= PYTHON_CMD=${PYTHON_CMD} >- >-CONFIGURE_ARGS= --localstatedir=/var \ >- --enable-mfsmaster \ >- --enable-mfscgiserv \ >- --enable-mfscgi \ >- --disable-mfschunkserver \ >- --disable-mfsmount \ >- --with-default-user=mfs \ >- --with-default-group=mfs \ >- --with-mfscgiserv-dir=${PREFIX}/sbin \ >- --with-mfscgi-dir=${PREFIX}/share/mfscgi >- >-post-patch: >- ${REINPLACE_CMD} -e 's|#\!/usr/bin/env python|#\!${PYTHON_CMD}|' \ >- ${WRKSRC}/mfscgi/cgiserv.py.in >+PORTNAME= moosefs >+PORTVERSION= 2.0.72 >+CATEGORIES= sysutils >+MASTER_SITES= http://ppa.moosefs.com/src/ >+PKGNAMESUFFIX?= -master >+DISTNAME= ${PORTNAME}-${PORTVERSION}-1 >+ >+MAINTAINER= freebsd@moosefs.com >+COMMENT?= Managing the whole filesystem and storing metadata >+ >+LICENSE= GPLv2 >+ >+USES= python:build >+GNU_CONFIGURE= yes >+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} >+PLIST= ${.CURDIR}/pkg-plist >+DESCR= ${.CURDIR}/pkg-descr >+ >+MFS_COMPONENT?= master >+MFS_USER= mfs >+MFS_GROUP= mfs >+MFS_WORKDIR= /var >+ >+USERS= ${MFS_USER} >+GROUPS= ${MFS_GROUP} >+ >+CONFIGURE_ARGS+= --localstatedir=${MFS_WORKDIR} \ >+ --with-default-user=${MFS_USER} \ >+ --with-default-group=${MFS_GROUP} \ >+ >+.if ${MFS_COMPONENT} == cgi >+MFS_CGIDIR= ${PREFIX}/share/mfscgi >+USES= python:2.5+ >+CONFIGURE_ARGS+= --enable-mfscgi \ >+ --with-mfscgi-dir=${MFS_CGIDIR} >+.else >+CONFIGURE_ARGS+= --disable-mfscgi >+.endif >+ >+.if ${MFS_COMPONENT} == cgiserv >+MFS_CGISERVDIR= ${PREFIX}/sbin >+USES= python:2.5+ >+USE_RC_SUBR= mfscgiserv >+SUB_FILES+= pkg-message-cgiserv >+PKGMESSAGE= ${WRKDIR}/pkg-message-cgiserv >+PLIST_SUB+= MFS_WORKDIR="${MFS_WORKDIR}" >+CONFIGURE_ARGS+= --enable-mfscgiserv \ >+ --with-mfscgiserv-dir=${MFS_CGISERVDIR} >+RUN_DEPENDS= moosefs-cgi>0:${PORTSDIR}/sysutils/moosefs-cgi >+.else >+CONFIGURE_ARGS+= --disable-mfscgiserv >+.endif >+ >+.if ${MFS_COMPONENT} == chunkserver >+USE_RC_SUBR= mfschunkserver >+SUB_FILES+= pkg-message-chunkserver >+PKGMESSAGE= ${WRKDIR}/pkg-message-chunkserver >+PLIST_SUB+= MFS_WORKDIR="${MFS_WORKDIR}" >+CONFIGURE_ARGS+= --enable-mfschunkserver >+.else >+CONFIGURE_ARGS+= --disable-mfschunkserver >+.endif >+ >+.if ${MFS_COMPONENT} == cli >+USES= python:2.5+ >+CONFIGURE_ARGS+= --enable-mfscli >+.else >+CONFIGURE_ARGS+= --disable-mfscli >+.endif >+ >+.if ${MFS_COMPONENT} == client >+USES= fuse pkgconfig >+CONFIGURE_ARGS+= --enable-mfsmount >+.else >+CONFIGURE_ARGS+= --disable-mfsmount >+.endif >+ >+.if ${MFS_COMPONENT} == master >+USE_RC_SUBR= mfsmaster >+PLIST_SUB+= MFS_WORKDIR="${MFS_WORKDIR}" >+SUB_FILES+= pkg-message-master >+PKGMESSAGE= ${WRKDIR}/pkg-message-master >+CONFIGURE_ARGS+= --enable-mfsmaster >+.else >+CONFIGURE_ARGS+= --disable-mfsmaster >+.endif >+ >+.if ${MFS_COMPONENT} == metalogger >+USE_RC_SUBR= mfsmetalogger >+SUB_FILES+= pkg-message-metalogger >+PKGMESSAGE= ${WRKDIR}/pkg-message-metalogger >+PLIST_SUB+= MFS_WORKDIR="${MFS_WORKDIR}" >+CONFIGURE_ARGS+= --enable-mfsmetalogger >+.else >+CONFIGURE_ARGS+= --disable-mfsmetalogger >+.endif >+ >+.if ${MFS_COMPONENT} == netdump >+CONFIGURE_ARGS+= --enable-mfsnetdump >+.else >+CONFIGURE_ARGS+= --disable-mfsnetdump >+.endif > > .include <bsd.port.mk> >diff -u moosefs-master.orig/distinfo moosefs-master/distinfo >--- moosefs-master.orig/distinfo 2014-07-12 12:16:57.000000000 +0200 >+++ moosefs-master/distinfo 2015-07-19 23:18:45.443117000 +0200 >@@ -1,2 +1,2 @@ >-SHA256 (mfs-1.6.27-5.tar.gz) = 5e6d7dd5dfe181ffb6beee44fd2be51b3faf56a71b90b460b2dc717462ff1eeb >-SIZE (mfs-1.6.27-5.tar.gz) = 784507 >+SHA256 (moosefs-2.0.72-1.tar.gz) = 70811a91d11c9a29b45f83a797acddb15573d7adecfc1ddc991b4e9fe8e97f7b >+SIZE (moosefs-2.0.72-1.tar.gz) = 958217 >Common subdirectories: moosefs-master.orig/files and moosefs-master/files >diff -u moosefs-master.orig/pkg-descr moosefs-master/pkg-descr >--- moosefs-master.orig/pkg-descr 2013-05-17 22:09:11.000000000 +0200 >+++ moosefs-master/pkg-descr 2015-07-09 16:36:24.273261000 +0200 >@@ -1,9 +1,9 @@ >-MooseFS is a fault tolerant, network distributed file system. >+MooseFS is a Fault tolerant, High Available, Highly Performing, Scale-Out, >+network distributed file system. It spreads data over several physical commodity >+servers, which are visible to the user as one resource. > >-mfsmaster is a single machine managing the whole filesystem, >-storing metadata for every file (information on size, >-attributes and file location(s), including all information >-about non-regular files, i.e. directories, sockets, pipes and >-devices). >+For standard file operations MooseFS acts like any other Unix-like file system. > >-WWW: http://www.moosefs.org/ >+This port provides: MooseFS master (metadata) server. >+ >+WWW: https://moosefs.com/ >diff -u moosefs-master.orig/pkg-plist moosefs-master/pkg-plist >--- moosefs-master.orig/pkg-plist 2015-06-10 19:33:58.000000000 +0200 >+++ moosefs-master/pkg-plist 2015-07-19 23:19:36.862078000 +0200 >@@ -1,34 +1,21 @@ >-@owner mfs >-@group mfs >-@sample etc/mfs/mfsexports.cfg.sample >-@sample etc/mfs/mfsmaster.cfg.sample >-@sample etc/mfs/mfsmetalogger.cfg.sample >-@sample etc/mfs/mfstopology.cfg.sample >-@owner >-@group >+@unexec if cmp -s %D/etc/mfs/mfsmaster.cfg.dist %D/etc/mfs/mfsmaster.cfg; then rm -f %D/etc/mfs/mfsmaster.cfg; fi >+@unexec if cmp -s %D/etc/mfs/mfsexports.cfg.dist %D/etc/mfs/mfsexports.cfg; then rm -f %D/etc/mfs/mfsexports.cfg; fi >+@unexec if cmp -s %D/etc/mfs/mfstopology.cfg.dist %D/etc/mfs/mfstopology.cfg; then rm -f %D/etc/mfs/mfstopology.cfg; fi >+etc/mfs/mfsmaster.cfg.dist >+etc/mfs/mfsexports.cfg.dist >+etc/mfs/mfstopology.cfg.dist >+sbin/mfsmaster >+sbin/mfsmetadump >+sbin/mfsmetarestore > man/man5/mfsexports.cfg.5.gz > man/man5/mfsmaster.cfg.5.gz >-man/man5/mfsmetalogger.cfg.5.gz > man/man5/mfstopology.cfg.5.gz >-man/man7/mfs.7.gz >-man/man7/moosefs.7.gz >-man/man8/mfscgiserv.8.gz > man/man8/mfsmaster.8.gz >-man/man8/mfsmetalogger.8.gz > man/man8/mfsmetarestore.8.gz >-sbin/mfscgiserv >-sbin/mfsmaster >-sbin/mfsmetadump >-sbin/mfsmetalogger >-sbin/mfsmetarestore >-share/mfscgi/chart.cgi >-share/mfscgi/err.gif >-share/mfscgi/favicon.ico >-share/mfscgi/index.html >-share/mfscgi/logomini.png >-share/mfscgi/mfs.cgi >-share/mfscgi/mfs.css >+@exec if [ ! -f %D/etc/mfs/mfsmaster.cfg ]; then /bin/cp %D/etc/mfs/mfsmaster.cfg.dist %D/etc/mfs/mfsmaster.cfg; fi >+@exec if [ ! -f %D/etc/mfs/mfsexports.cfg ]; then /bin/cp %D/etc/mfs/mfsexports.cfg.dist %D/etc/mfs/mfsexports.cfg; fi >+@exec if [ ! -f %D/etc/mfs/mfstopology.cfg ]; then /bin/cp %D/etc/mfs/mfstopology.cfg.dist %D/etc/mfs/mfstopology.cfg; fi > @owner mfs > @group mfs >-/var/mfs/metadata.mfs.empty >-@unexec rmdir "/var/mfs" >/dev/null 2>&1 || : >+@dir %%MFS_WORKDIR%%/mfs >+%%MFS_WORKDIR%%/mfs/metadata.mfs.empty
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 199342
:
155415
|
155807
|
159523
|
159802