svn commit: r419134 - in head/sysutils: . moosefs3-cgiserv moosefs3-chunkserver moosefs3-cli moosefs3-client moosefs3-master moosefs3-master/files moosefs3-metalogger moosefs3-netdump

Mark Felder feld at FreeBSD.org
Tue Jul 26 16:56:09 UTC 2016


Author: feld
Date: Tue Jul 26 16:56:05 2016
New Revision: 419134
URL: https://svnweb.freebsd.org/changeset/ports/419134

Log:
  Add remaining moosefs3-* ports to the ports tree
  
  PR:		210306
  Submitted by:	Jakub Kruszona-Zawadzki <acid at moosefs.com>

Added:
  head/sysutils/moosefs3-cgiserv/
  head/sysutils/moosefs3-cgiserv/Makefile   (contents, props changed)
  head/sysutils/moosefs3-cgiserv/pkg-descr   (contents, props changed)
  head/sysutils/moosefs3-cgiserv/pkg-plist   (contents, props changed)
  head/sysutils/moosefs3-chunkserver/
  head/sysutils/moosefs3-chunkserver/Makefile   (contents, props changed)
  head/sysutils/moosefs3-chunkserver/pkg-descr   (contents, props changed)
  head/sysutils/moosefs3-chunkserver/pkg-plist   (contents, props changed)
  head/sysutils/moosefs3-cli/
  head/sysutils/moosefs3-cli/Makefile   (contents, props changed)
  head/sysutils/moosefs3-cli/pkg-descr   (contents, props changed)
  head/sysutils/moosefs3-cli/pkg-plist   (contents, props changed)
  head/sysutils/moosefs3-client/
  head/sysutils/moosefs3-client/Makefile   (contents, props changed)
  head/sysutils/moosefs3-client/pkg-descr   (contents, props changed)
  head/sysutils/moosefs3-client/pkg-plist   (contents, props changed)
  head/sysutils/moosefs3-master/
  head/sysutils/moosefs3-master/Makefile   (contents, props changed)
  head/sysutils/moosefs3-master/distinfo   (contents, props changed)
  head/sysutils/moosefs3-master/files/
  head/sysutils/moosefs3-master/files/mfscgiserv.in   (contents, props changed)
  head/sysutils/moosefs3-master/files/mfschunkserver.in   (contents, props changed)
  head/sysutils/moosefs3-master/files/mfsmaster.in   (contents, props changed)
  head/sysutils/moosefs3-master/files/mfsmetalogger.in   (contents, props changed)
  head/sysutils/moosefs3-master/files/pkg-message-cgiserv.in   (contents, props changed)
  head/sysutils/moosefs3-master/files/pkg-message-chunkserver.in   (contents, props changed)
  head/sysutils/moosefs3-master/files/pkg-message-master.in   (contents, props changed)
  head/sysutils/moosefs3-master/files/pkg-message-metalogger.in   (contents, props changed)
  head/sysutils/moosefs3-master/pkg-descr   (contents, props changed)
  head/sysutils/moosefs3-master/pkg-plist   (contents, props changed)
  head/sysutils/moosefs3-metalogger/
  head/sysutils/moosefs3-metalogger/Makefile   (contents, props changed)
  head/sysutils/moosefs3-metalogger/pkg-descr   (contents, props changed)
  head/sysutils/moosefs3-metalogger/pkg-plist   (contents, props changed)
  head/sysutils/moosefs3-netdump/
  head/sysutils/moosefs3-netdump/Makefile   (contents, props changed)
  head/sysutils/moosefs3-netdump/pkg-descr   (contents, props changed)
  head/sysutils/moosefs3-netdump/pkg-plist   (contents, props changed)
Modified:
  head/sysutils/Makefile

Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile	Tue Jul 26 16:51:15 2016	(r419133)
+++ head/sysutils/Makefile	Tue Jul 26 16:56:05 2016	(r419134)
@@ -606,6 +606,13 @@
     SUBDIR += moosefs2-metalogger
     SUBDIR += moosefs2-netdump
     SUBDIR += moosefs3-cgi
+    SUBDIR += moosefs3-cgiserv
+    SUBDIR += moosefs3-chunkserver
+    SUBDIR += moosefs3-cli
+    SUBDIR += moosefs3-client
+    SUBDIR += moosefs3-master
+    SUBDIR += moosefs3-metalogger
+    SUBDIR += moosefs3-netdump
     SUBDIR += moreutils
     SUBDIR += most
     SUBDIR += mount.app

Added: head/sysutils/moosefs3-cgiserv/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/moosefs3-cgiserv/Makefile	Tue Jul 26 16:56:05 2016	(r419134)
@@ -0,0 +1,14 @@
+# Created by: Jakub Kruszona-Zawadzki <acid at moosefs.com> ; Based on port created by: Chifeng Qu <chifeng at gmail.com>
+# $FreeBSD$
+
+PKGNAMESUFFIX=	-cgiserv
+
+COMMENT=	MooseFS CGI webserver
+
+LICENSE=	GPLv2
+
+MFS_COMPONENT=	cgiserv
+
+MASTERDIR=	${.CURDIR}/../moosefs3-master
+
+.include "${MASTERDIR}/Makefile"

Added: head/sysutils/moosefs3-cgiserv/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/moosefs3-cgiserv/pkg-descr	Tue Jul 26 16:56:05 2016	(r419134)
@@ -0,0 +1,9 @@
+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.
+
+For standard file operations MooseFS acts like any other Unix-like file system.
+
+This port provides: Simple CGI-capable HTTP server to run MooseFS CGI monitor.
+
+WWW: https://moosefs.com/

Added: head/sysutils/moosefs3-cgiserv/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/moosefs3-cgiserv/pkg-plist	Tue Jul 26 16:56:05 2016	(r419134)
@@ -0,0 +1,5 @@
+sbin/mfscgiserv
+man/man8/mfscgiserv.8.gz
+ at owner mfs
+ at group mfs
+ at dir %%MFS_WORKDIR%%/mfs

Added: head/sysutils/moosefs3-chunkserver/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/moosefs3-chunkserver/Makefile	Tue Jul 26 16:56:05 2016	(r419134)
@@ -0,0 +1,14 @@
+# Created by: Jakub Kruszona-Zawadzki <acid at moosefs.com> ; Based on port created by: Chifeng Qu <chifeng at gmail.com>
+# $FreeBSD$
+
+PKGNAMESUFFIX=	-chunkserver
+
+COMMENT=	MooseFS data storage and synchronization component
+
+LICENSE=	GPLv2
+
+MFS_COMPONENT=	chunkserver
+
+MASTERDIR=	${.CURDIR}/../moosefs3-master
+
+.include "${MASTERDIR}/Makefile"

Added: head/sysutils/moosefs3-chunkserver/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/moosefs3-chunkserver/pkg-descr	Tue Jul 26 16:56:05 2016	(r419134)
@@ -0,0 +1,9 @@
+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.
+
+For standard file operations MooseFS acts like any other Unix-like file system.
+
+This port provides: MooseFS data server.
+
+WWW: https://moosefs.com/

Added: head/sysutils/moosefs3-chunkserver/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/moosefs3-chunkserver/pkg-plist	Tue Jul 26 16:56:05 2016	(r419134)
@@ -0,0 +1,13 @@
+ at sample etc/mfs/mfschunkserver.cfg.sample
+ at sample etc/mfs/mfshdd.cfg.sample
+sbin/mfschunkserver
+sbin/mfschunktool
+sbin/mfscsstatsdump
+man/man5/mfschunkserver.cfg.5.gz
+man/man5/mfshdd.cfg.5.gz
+man/man8/mfschunkserver.8.gz
+man/man8/mfschunktool.8.gz
+man/man8/mfscsstatsdump.8.gz
+ at owner mfs
+ at group mfs
+ at dir %%MFS_WORKDIR%%/mfs

Added: head/sysutils/moosefs3-cli/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/moosefs3-cli/Makefile	Tue Jul 26 16:56:05 2016	(r419134)
@@ -0,0 +1,14 @@
+# Created by: Jakub Kruszona-Zawadzki <acid at moosefs.com> ; Based on port created by: Chifeng Qu <chifeng at gmail.com>
+# $FreeBSD$
+
+PKGNAMESUFFIX=	-cli
+
+COMMENT=	MooseFS command line interface
+
+LICENSE=	GPLv2
+
+MFS_COMPONENT=	cli
+
+MASTERDIR=	${.CURDIR}/../moosefs3-master
+
+.include "${MASTERDIR}/Makefile"

Added: head/sysutils/moosefs3-cli/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/moosefs3-cli/pkg-descr	Tue Jul 26 16:56:05 2016	(r419134)
@@ -0,0 +1,9 @@
+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.
+
+For standard file operations MooseFS acts like any other Unix-like file system.
+
+This port provides: MooseFS CLI utilities.
+
+WWW: https://moosefs.com/

Added: head/sysutils/moosefs3-cli/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/moosefs3-cli/pkg-plist	Tue Jul 26 16:56:05 2016	(r419134)
@@ -0,0 +1,2 @@
+bin/mfscli
+man/man1/mfscli.1.gz

Added: head/sysutils/moosefs3-client/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/moosefs3-client/Makefile	Tue Jul 26 16:56:05 2016	(r419134)
@@ -0,0 +1,14 @@
+# Created by: Jakub Kruszona-Zawadzki <acid at moosefs.com> ; Based on port created by: Chifeng Qu <chifeng at gmail.com>
+# $FreeBSD$
+
+PKGNAMESUFFIX=	-client
+
+COMMENT=	MooseFS client tools
+
+LICENSE=	GPLv2
+
+MFS_COMPONENT=	client
+
+MASTERDIR=	${.CURDIR}/../moosefs3-master
+
+.include "${MASTERDIR}/Makefile"

Added: head/sysutils/moosefs3-client/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/moosefs3-client/pkg-descr	Tue Jul 26 16:56:05 2016	(r419134)
@@ -0,0 +1,9 @@
+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.
+
+For standard file operations MooseFS acts like any other Unix-like file system.
+
+This port provides: MooseFS clients: mfsmount and mfstools.
+
+WWW: https://moosefs.com/

Added: head/sysutils/moosefs3-client/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/moosefs3-client/pkg-plist	Tue Jul 26 16:56:05 2016	(r419134)
@@ -0,0 +1,76 @@
+ at sample etc/mfs/mfsmount.cfg.sample
+bin/mfsmount
+bin/mfsappendchunks
+bin/mfscheckfile
+bin/mfsdirinfo
+bin/mfsfileinfo
+bin/mfsfilerepair
+bin/mfsmakesnapshot
+bin/mfsrmsnapshot
+bin/mfsgetgoal
+bin/mfssetgoal
+bin/mfscopygoal
+bin/mfsrgetgoal
+bin/mfsrsetgoal
+bin/mfsgetsclass
+bin/mfssetsclass
+bin/mfscopysclass
+bin/mfsxchgsclass
+bin/mfslistsclass
+bin/mfsgettrashtime
+bin/mfssettrashtime
+bin/mfscopytrashtime
+bin/mfsrgettrashtime
+bin/mfsrsettrashtime
+bin/mfsgeteattr
+bin/mfsseteattr
+bin/mfsdeleattr
+bin/mfscopyeattr
+bin/mfsgetquota
+bin/mfssetquota
+bin/mfsdelquota
+bin/mfscopyquota
+bin/mfsfilepaths
+bin/mfsscadmin
+bin/mfstools
+man/man1/mfsappendchunks.1.gz
+man/man1/mfscheckfile.1.gz
+man/man1/mfsdirinfo.1.gz
+man/man1/mfsfileinfo.1.gz
+man/man1/mfsfilerepair.1.gz
+man/man1/mfsmakesnapshot.1.gz
+man/man1/mfsrmsnapshot.1.gz
+man/man1/mfsgetgoal.1.gz
+man/man1/mfssetgoal.1.gz
+man/man1/mfscopygoal.1.gz
+man/man1/mfsrgetgoal.1.gz
+man/man1/mfsrsetgoal.1.gz
+man/man1/mfsgetsclass.1.gz
+man/man1/mfssetsclass.1.gz
+man/man1/mfscopysclass.1.gz
+man/man1/mfsxchgsclass.1.gz
+man/man1/mfslistsclass.1.gz
+man/man1/mfsgettrashtime.1.gz
+man/man1/mfssettrashtime.1.gz
+man/man1/mfscopytrashtime.1.gz
+man/man1/mfsrgettrashtime.1.gz
+man/man1/mfsrsettrashtime.1.gz
+man/man1/mfsgeteattr.1.gz
+man/man1/mfsseteattr.1.gz
+man/man1/mfsdeleattr.1.gz
+man/man1/mfscopyeattr.1.gz
+man/man1/mfsgetquota.1.gz
+man/man1/mfssetquota.1.gz
+man/man1/mfsdelquota.1.gz
+man/man1/mfscopyquota.1.gz
+man/man1/mfsfilepaths.1.gz
+man/man1/mfsgoal.1.gz
+man/man1/mfstrashtime.1.gz
+man/man1/mfseattr.1.gz
+man/man1/mfsquota.1.gz
+man/man1/mfssnapshots.1.gz
+man/man1/mfsdiagtools.1.gz
+man/man1/mfssclass.1.gz
+man/man1/mfsscadmin.1.gz
+man/man1/mfstools.1.gz
+man/man8/mfsmount.8.gz

Added: head/sysutils/moosefs3-master/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/moosefs3-master/Makefile	Tue Jul 26 16:56:05 2016	(r419134)
@@ -0,0 +1,109 @@
+# Created by: Jakub Kruszona-Zawadzki <acid at moosefs.com> ; Based on port created by: Chifeng Qu <chifeng at gmail.com>
+# $FreeBSD$
+
+PORTNAME=		moosefs3
+PORTVERSION=		3.0.80
+CATEGORIES=		sysutils
+MASTER_SITES=		http://ppa.moosefs.com/src/
+PKGNAMESUFFIX?=		-master
+DISTNAME=		moosefs-${PORTVERSION}-1
+
+MAINTAINER=		freebsd at moosefs.com
+COMMENT?=		Fault-tolerant distributed filesystem
+
+LICENSE=		GPLv2
+
+USES=			python:build
+GNU_CONFIGURE=		yes
+WRKSRC=			${WRKDIR}/moosefs-${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}
+
+CONFLICTS=	moosefs2-${MFS_COMPONENT}-*
+
+.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=		moosefs3-cgi>0:sysutils/moosefs3-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>

Added: head/sysutils/moosefs3-master/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/moosefs3-master/distinfo	Tue Jul 26 16:56:05 2016	(r419134)
@@ -0,0 +1,2 @@
+SHA256 (moosefs-3.0.80-1.tar.gz) = f1a7fea882d44af71f4b09e04df4683cd4ee064e9b0a2ad32116263e60c7b4e7
+SIZE (moosefs-3.0.80-1.tar.gz) = 1097759

Added: head/sysutils/moosefs3-master/files/mfscgiserv.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/moosefs3-master/files/mfscgiserv.in	Tue Jul 26 16:56:05 2016	(r419134)
@@ -0,0 +1,30 @@
+#!/bin/sh
+# $FreeBSD$
+
+# PROVIDE: mfscgiserv
+# REQUIRE: DAEMON
+# KEYWORD: shutdown
+#
+# Add the following lines to /etc/rc.conf to enable mfscgiserv:
+#
+# mfscgiserv_enable="YES"
+#
+
+. /etc/rc.subr
+
+name=mfscgiserv
+rcvar=mfscgiserv_enable
+
+command=%%PREFIX%%/sbin/${name}
+pid_file=%%MFS_WORKDIR%%/mfs/.${name}.lock
+procname="python"
+
+stop_cmd="$command stop"
+status_cmd="$command test"
+
+load_rc_config $name
+
+# set defaults
+: ${mfscgiserv_enable="NO"}
+
+run_rc_command "$1"

Added: head/sysutils/moosefs3-master/files/mfschunkserver.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/moosefs3-master/files/mfschunkserver.in	Tue Jul 26 16:56:05 2016	(r419134)
@@ -0,0 +1,31 @@
+#!/bin/sh
+# $FreeBSD$
+
+# PROVIDE: mfschunkserver
+# REQUIRE: DAEMON
+# KEYWORD: shutdown
+#
+# Add the following lines to /etc/rc.conf.local or /etc/rc.conf to enable mfschunkserver:
+#
+# mfschunkserver_enable="YES"
+#
+
+. /etc/rc.subr
+
+name=mfschunkserver
+rcvar=mfschunkserver_enable
+
+config_file=%%PREFIX%%/etc/mfs/${name}.cfg
+
+required_files=${config_file}
+
+command=%%PREFIX%%/sbin/${name}
+pid_file=%%MFS_WORKDIR%%/mfs/.${name}.lock
+command_args="-c $config_file"
+
+load_rc_config $name
+
+# set defaults
+: ${mfschunkserver_enable="NO"}
+
+run_rc_command "$1"

Added: head/sysutils/moosefs3-master/files/mfsmaster.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/moosefs3-master/files/mfsmaster.in	Tue Jul 26 16:56:05 2016	(r419134)
@@ -0,0 +1,31 @@
+#!/bin/sh
+# $FreeBSD$
+
+# PROVIDE: mfsmaster
+# REQUIRE: DAEMON
+# KEYWORD: nostart shutdown
+#
+# Add the following lines to /etc/rc.conf to enable mfsmaster:
+#
+# mfsmaster_enable="YES"
+#
+
+. /etc/rc.subr
+
+name=mfsmaster
+rcvar=mfsmaster_enable
+
+config_file=%%PREFIX%%/etc/mfs/${name}.cfg
+
+required_files=${config_file}
+
+command=%%PREFIX%%/sbin/${name}
+pid_file=%%MFS_WORKDIR%%/mfs/.${name}.lock
+command_args="-c $config_file"
+
+load_rc_config $name
+
+# set defaults
+: ${mfsmaster_enable="NO"}
+
+run_rc_command "$1"

Added: head/sysutils/moosefs3-master/files/mfsmetalogger.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/moosefs3-master/files/mfsmetalogger.in	Tue Jul 26 16:56:05 2016	(r419134)
@@ -0,0 +1,31 @@
+#!/bin/sh
+# $FreeBSD$
+
+# PROVIDE: mfsmetalogger
+# REQUIRE: DAEMON
+# KEYWORD: shutdown
+#
+# Add the following lines to /etc/rc.conf to enable mfsmetalogger:
+#
+# mfsmetalogger_enable="YES"
+#
+
+. /etc/rc.subr
+
+name=mfsmetalogger
+rcvar=mfsmetalogger_enable
+
+config_file=%%PREFIX%%/etc/mfs/${name}.cfg
+
+required_files=${config_file}
+
+command=%%PREFIX%%/sbin/${name}
+pid_file=%%MFS_WORKDIR%%/mfs/.${name}.lock
+command_args="-c $config_file"
+
+load_rc_config $name
+
+# set defaults
+: ${mfsmetalogger_enable="NO"}
+
+run_rc_command "$1"

Added: head/sysutils/moosefs3-master/files/pkg-message-cgiserv.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/moosefs3-master/files/pkg-message-cgiserv.in	Tue Jul 26 16:56:05 2016	(r419134)
@@ -0,0 +1,12 @@
+************************************************************************
+
+A startup script has been installed as:
+
+%%PREFIX%%/etc/rc.d/mfscgiserv
+
+Use it to start/stop the mfscgiserv service after you have added
+the following line to your rc.conf file:
+
+mfscgiserv_enable="YES"
+
+************************************************************************

Added: head/sysutils/moosefs3-master/files/pkg-message-chunkserver.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/moosefs3-master/files/pkg-message-chunkserver.in	Tue Jul 26 16:56:05 2016	(r419134)
@@ -0,0 +1,12 @@
+************************************************************************
+
+A startup script has been installed as:
+
+%%PREFIX%%/etc/rc.d/mfschunkserver
+
+Use it to start/stop the mfschunkserver service after you have added
+the following line to your rc.conf file:
+
+mfschunkserver_enable="YES"
+
+************************************************************************

Added: head/sysutils/moosefs3-master/files/pkg-message-master.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/moosefs3-master/files/pkg-message-master.in	Tue Jul 26 16:56:05 2016	(r419134)
@@ -0,0 +1,12 @@
+************************************************************************
+
+A startup script has been installed as:
+
+%%PREFIX%%/etc/rc.d/mfsmaster
+
+Use it to start/stop the mfsmaster service after you have added
+the following line to your rc.conf file:
+
+mfsmaster_enable="YES"
+
+************************************************************************

Added: head/sysutils/moosefs3-master/files/pkg-message-metalogger.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/moosefs3-master/files/pkg-message-metalogger.in	Tue Jul 26 16:56:05 2016	(r419134)
@@ -0,0 +1,12 @@
+************************************************************************
+
+A startup script has been installed as:
+
+%%PREFIX%%/etc/rc.d/mfsmetalogger
+
+Use it to start/stop the mfsmetalogger service after you have added
+the following line to your rc.conf file:
+
+mfsmetalogger_enable="YES"
+
+************************************************************************

Added: head/sysutils/moosefs3-master/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/moosefs3-master/pkg-descr	Tue Jul 26 16:56:05 2016	(r419134)
@@ -0,0 +1,9 @@
+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.
+
+For standard file operations MooseFS acts like any other Unix-like file system.
+
+This port provides: MooseFS master (metadata) server.
+
+WWW: https://moosefs.com/

Added: head/sysutils/moosefs3-master/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/moosefs3-master/pkg-plist	Tue Jul 26 16:56:05 2016	(r419134)
@@ -0,0 +1,18 @@
+ at sample etc/mfs/mfsmaster.cfg.sample
+ at sample etc/mfs/mfsexports.cfg.sample
+ at sample etc/mfs/mfstopology.cfg.sample
+sbin/mfsmaster
+sbin/mfsmetadump
+sbin/mfsmetarestore
+sbin/mfsstatsdump
+man/man5/mfsexports.cfg.5.gz
+man/man5/mfsmaster.cfg.5.gz
+man/man5/mfstopology.cfg.5.gz
+man/man8/mfsmaster.8.gz
+man/man8/mfsmetarestore.8.gz
+man/man8/mfsmetadump.8.gz
+man/man8/mfsstatsdump.8.gz
+ at owner mfs
+ at group mfs
+ at dir %%MFS_WORKDIR%%/mfs
+%%MFS_WORKDIR%%/mfs/metadata.mfs.empty

Added: head/sysutils/moosefs3-metalogger/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/moosefs3-metalogger/Makefile	Tue Jul 26 16:56:05 2016	(r419134)
@@ -0,0 +1,14 @@
+# Created by: Jakub Kruszona-Zawadzki <acid at moosefs.com> ; Based on port created by: Chifeng Qu <chifeng at gmail.com>
+# $FreeBSD$
+
+PKGNAMESUFFIX=	-metalogger
+
+COMMENT=	MooseFS metadata backup server
+
+LICENSE=	GPLv2
+
+MFS_COMPONENT=	metalogger
+
+MASTERDIR=	${.CURDIR}/../moosefs3-master
+
+.include "${MASTERDIR}/Makefile"

Added: head/sysutils/moosefs3-metalogger/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/moosefs3-metalogger/pkg-descr	Tue Jul 26 16:56:05 2016	(r419134)
@@ -0,0 +1,9 @@
+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.
+
+For standard file operations MooseFS acts like any other Unix-like file system.
+
+This port provides: MooseFS metalogger (metadata replication) server.
+
+WWW: https://moosefs.com/

Added: head/sysutils/moosefs3-metalogger/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/moosefs3-metalogger/pkg-plist	Tue Jul 26 16:56:05 2016	(r419134)
@@ -0,0 +1,7 @@
+ at sample etc/mfs/mfsmetalogger.cfg.sample
+sbin/mfsmetalogger
+man/man5/mfsmetalogger.cfg.5.gz
+man/man8/mfsmetalogger.8.gz
+ at owner mfs
+ at group mfs
+ at dir %%MFS_WORKDIR%%/mfs

Added: head/sysutils/moosefs3-netdump/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/moosefs3-netdump/Makefile	Tue Jul 26 16:56:05 2016	(r419134)
@@ -0,0 +1,14 @@
+# Created by: Jakub Kruszona-Zawadzki <acid at moosefs.com> ; Based on port created by: Chifeng Qu <chifeng at gmail.com>
+# $FreeBSD$
+
+PKGNAMESUFFIX=	-netdump
+
+COMMENT=	MooseFS network packet dump utility
+
+LICENSE=	GPLv2
+
+MFS_COMPONENT=	netdump
+
+MASTERDIR=	${.CURDIR}/../moosefs3-master
+
+.include "${MASTERDIR}/Makefile"

Added: head/sysutils/moosefs3-netdump/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/moosefs3-netdump/pkg-descr	Tue Jul 26 16:56:05 2016	(r419134)
@@ -0,0 +1,9 @@
+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.
+
+For standard file operations MooseFS acts like any other Unix-like file system.
+
+This port provides: MooseFS network packet dump utility
+
+WWW: https://moosefs.com/

Added: head/sysutils/moosefs3-netdump/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/moosefs3-netdump/pkg-plist	Tue Jul 26 16:56:05 2016	(r419134)
@@ -0,0 +1,2 @@
+sbin/mfsnetdump
+man/man8/mfsnetdump.8.gz


More information about the svn-ports-head mailing list