Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Dec 2013 19:42:08 +0000 (UTC)
From:      Mikolaj Golub <trociny@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r336098 - in head/sysutils: . cmogstored cmogstored/files
Message-ID:  <201312101942.rBAJg8ZS088634@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: trociny
Date: Tue Dec 10 19:42:07 2013
New Revision: 336098
URL: http://svnweb.freebsd.org/changeset/ports/336098

Log:
  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)

Added:
  head/sysutils/cmogstored/
  head/sysutils/cmogstored/Makefile   (contents, props changed)
  head/sysutils/cmogstored/distinfo   (contents, props changed)
  head/sysutils/cmogstored/files/
  head/sysutils/cmogstored/files/cmogstored.in   (contents, props changed)
  head/sysutils/cmogstored/pkg-descr   (contents, props changed)
Modified:
  head/sysutils/Makefile

Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile	Tue Dec 10 19:41:23 2013	(r336097)
+++ head/sysutils/Makefile	Tue Dec 10 19:42:07 2013	(r336098)
@@ -125,6 +125,7 @@
     SUBDIR += clonehdd
     SUBDIR += cloop-utils
     SUBDIR += cmdwatch
+    SUBDIR += cmogstored
     SUBDIR += cmospwd
     SUBDIR += cog
     SUBDIR += colorize

Added: head/sysutils/cmogstored/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/cmogstored/Makefile	Tue Dec 10 19:42:07 2013	(r336098)
@@ -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>

Added: head/sysutils/cmogstored/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/cmogstored/distinfo	Tue Dec 10 19:42:07 2013	(r336098)
@@ -0,0 +1,2 @@
+SHA256 (cmogstored-1.3.1.tar.gz) = dc3e8e7e19b3100b8e8eb14a2c5e12a78934895a7f464690ecab793aaffa796f
+SIZE (cmogstored-1.3.1.tar.gz) = 958953

Added: head/sysutils/cmogstored/files/cmogstored.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/cmogstored/files/cmogstored.in	Tue Dec 10 19:42:07 2013	(r336098)
@@ -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"

Added: head/sysutils/cmogstored/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/cmogstored/pkg-descr	Tue Dec 10 19:42:07 2013	(r336098)
@@ -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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312101942.rBAJg8ZS088634>