cmogstored: Alternative mogstored implementation for MogileFS [NEW PORT]
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. Approved by: bdrewery (mentor)
This commit is contained in:
parent
b38132efbd
commit
38ea77033f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=336098
5 changed files with 57 additions and 0 deletions
|
@ -125,6 +125,7 @@
|
|||
SUBDIR += clonehdd
|
||||
SUBDIR += cloop-utils
|
||||
SUBDIR += cmdwatch
|
||||
SUBDIR += cmogstored
|
||||
SUBDIR += cmospwd
|
||||
SUBDIR += cog
|
||||
SUBDIR += colorize
|
||||
|
|
23
sysutils/cmogstored/Makefile
Normal file
23
sysutils/cmogstored/Makefile
Normal file
|
@ -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>
|
2
sysutils/cmogstored/distinfo
Normal file
2
sysutils/cmogstored/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHA256 (cmogstored-1.3.1.tar.gz) = dc3e8e7e19b3100b8e8eb14a2c5e12a78934895a7f464690ecab793aaffa796f
|
||||
SIZE (cmogstored-1.3.1.tar.gz) = 958953
|
24
sysutils/cmogstored/files/cmogstored.in
Normal file
24
sysutils/cmogstored/files/cmogstored.in
Normal file
|
@ -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"
|
7
sysutils/cmogstored/pkg-descr
Normal file
7
sysutils/cmogstored/pkg-descr
Normal file
|
@ -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/
|
Loading…
Reference in a new issue