1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-06 11:41:52 +00:00

Gearman is a system to farm out work to other machines, dispatching function

calls to machines that are better suited to do work, to do work in parallel,
to load balance lots of function calls, or to call functions between
languages.

This is the server daemon component.  The bridge between workers (clients who
can do work) and callers (clients who want work done).  You should run several
of these, at least two, for both load balancing and high availability.

WWW: http://www.danga.com/gearman/

PR:		ports/110878
Submitted by:	Vivek Khera <vivek at khera.org>
This commit is contained in:
Martin Wilke 2007-03-27 07:15:30 +00:00
parent ccc84cd693
commit 370067c224
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=188452
5 changed files with 73 additions and 0 deletions

View File

@ -1596,6 +1596,7 @@
SUBDIR += p5-capitalization
SUBDIR += p5-enum
SUBDIR += p5-forks
SUBDIR += p5-gearmand
SUBDIR += p5-iCal-Parser
SUBDIR += p5-mixin
SUBDIR += p5-orz

View File

@ -0,0 +1,33 @@
# New ports collection makefile for: p5-gearmand
# Date created: Mon Mar 26 11:45:06 EDT 2007
# Whom: Vivek Khera <vivek@khera.org>
#
# $FreeBSD$
#
PORTNAME= gearmand
PORTVERSION= 1.03
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= ../by-authors/id/B/BR/BRADFITZ
PKGNAMEPREFIX= p5-
MAINTAINER= vivek@khera.org
COMMENT= Gearman server daemon
USE_RC_SUBR= gearmand.sh
SUB_LIST+= NAME=gearmand
MODULE_DEPENDS= p5-Gearman>=1.0:${PORTSDIR}/devel/p5-Gearman \
p5-Danga-Socket>=1.52:${PORTSDIR}/devel/p5-Danga-Socket
RUN_DEPENDS+= ${MODULE_DEPENDS}
BUILD_DEPENDS+= ${MODULE_DEPENDS}
PERL_CONFIGURE= yes
MAN1= gearmand.1
PLIST_FILES= bin/gearmand \
%%SITE_PERL%%/%%PERL_ARCH%%/auto/gearmand/.packlist
PLIST_DIRS= %%SITE_PERL%%/%%PERL_ARCH%%/auto/gearmand
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (gearmand-1.03.tar.gz) = e964cb9a8251c741a55683d3d0c5d4ef
SHA256 (gearmand-1.03.tar.gz) = 87bceb9e095334f74e70a02a506d1b901f3fdb2246998df3a21ee6e6eb50ce88
SIZE (gearmand-1.03.tar.gz) = 7978

View File

@ -0,0 +1,26 @@
#!/bin/sh
#
# $FreeBSD: /tmp/pcvs/ports/devel/p5-gearmand/files/Attic/gearmand.sh.in,v 1.1 2007-03-27 07:15:30 miwi Exp $
#
# PROVIDE: %%NAME%%
# REQUIRE: DAEMON
# Add the following line to /etc/rc.conf to enable `%%NAME%%':
#
#%%NAME%%_enable="YES"
. "%%RC_SUBR%%"
name="%%NAME%%"
rcvar=`set_rcvar`
command="%%PREFIX%%/bin/gearmand"
command_interpreter="%%PREFIX%%/bin/perl"
command_args="--daemon"
# read configuration and set defaults
load_rc_config "$name"
: ${%%NAME%%_enable="NO"}
run_rc_command "$1"

View File

@ -0,0 +1,10 @@
Gearman is a system to farm out work to other machines, dispatching function
calls to machines that are better suited to do work, to do work in parallel,
to load balance lots of function calls, or to call functions between
languages.
This is the server daemon component. The bridge between workers (clients who
can do work) and callers (clients who want work done). You should run several
of these, at least two, for both load balancing and high availability.
WWW: http://www.danga.com/gearman/