diff options
-rw-r--r-- | sysutils/Makefile | 1 | ||||
-rw-r--r-- | sysutils/cmogstored/Makefile | 23 | ||||
-rw-r--r-- | sysutils/cmogstored/distinfo | 2 | ||||
-rw-r--r-- | sysutils/cmogstored/files/cmogstored.in | 24 | ||||
-rw-r--r-- | sysutils/cmogstored/pkg-descr | 7 |
5 files changed, 57 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile index d6389a648e68..6127af0b3b43 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -125,6 +125,7 @@ SUBDIR += clonehdd SUBDIR += cloop-utils SUBDIR += cmdwatch + SUBDIR += cmogstored SUBDIR += cmospwd SUBDIR += cog SUBDIR += colorize diff --git a/sysutils/cmogstored/Makefile b/sysutils/cmogstored/Makefile new file mode 100644 index 000000000000..ec531ca287fc --- /dev/null +++ b/sysutils/cmogstored/Makefile @@ -0,0 +1,23 @@ +# Created by: Mikolaj Golub <trociny@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= cmogstored +PORTVERSION= 1.3.1 +CATEGORIES= sysutils +MASTER_SITES= http://bogomips.org/cmogstored/files/ + +MAINTAINER= trociny@FreeBSD.org +COMMENT= Alternative mogstored implementation for MogileFS + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/COPYING + +PLIST_FILES= sbin/cmogstored \ + man/man1/cmogstored.1.gz + +HAS_CONFIGURE= yes +CONFIGURE_ARGS+=--bindir=${PREFIX}/sbin \ + --mandir=${PREFIX}/man +USE_RC_SUBR= cmogstored + +.include <bsd.port.mk> diff --git a/sysutils/cmogstored/distinfo b/sysutils/cmogstored/distinfo new file mode 100644 index 000000000000..a21702647f2c --- /dev/null +++ b/sysutils/cmogstored/distinfo @@ -0,0 +1,2 @@ +SHA256 (cmogstored-1.3.1.tar.gz) = dc3e8e7e19b3100b8e8eb14a2c5e12a78934895a7f464690ecab793aaffa796f +SIZE (cmogstored-1.3.1.tar.gz) = 958953 diff --git a/sysutils/cmogstored/files/cmogstored.in b/sysutils/cmogstored/files/cmogstored.in new file mode 100644 index 000000000000..72c182d25c4a --- /dev/null +++ b/sysutils/cmogstored/files/cmogstored.in @@ -0,0 +1,24 @@ +#!/bin/sh + +# $FreeBSD$ +# +# PROVIDE: cmogstored +# REQUIRE: LOGIN cleanvar +# KEYWORD: shutdown + +. /etc/rc.subr + +name=cmogstored +rcvar=cmogstored_enable + +load_rc_config cmogstored + +: ${cmogstored_enable:="NO"} +: ${cmogstored_config:="%%PREFIX%%/etc/mogstored.conf"} + +required_files="${cmogstored_config}" + +command="%%PREFIX%%/sbin/${name}" +command_args="--config='${cmogstored_config}' -d" + +run_rc_command "$1" diff --git a/sysutils/cmogstored/pkg-descr b/sysutils/cmogstored/pkg-descr new file mode 100644 index 000000000000..291c122b2a2c --- /dev/null +++ b/sysutils/cmogstored/pkg-descr @@ -0,0 +1,7 @@ +cmogstored is an alternative implementation of the "mogstored" storage +component of MogileFS. cmogstored is implemented in C and does not +use Perl at runtime. cmogstored is the only component you need to +install on a MogileFS storage node. + +Author: Eric Wong <normalperson@yhbt.net> +WWW: http://bogomips.org/cmogstored/ |