1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +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://search.cpan.org/dist/Gearman-Server/

PR:		ports/116050
Submitted by:	Tomoyuki Sakurai <cherry at trombik.org>
This commit is contained in:
Cheng-Lung Sung 2007-09-08 08:17:15 +00:00
parent aed57430f8
commit 716beec482
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=199092
6 changed files with 81 additions and 0 deletions

View File

@ -1219,6 +1219,7 @@
SUBDIR += p5-Filter-Template
SUBDIR += p5-FreezeThaw
SUBDIR += p5-Gearman
SUBDIR += p5-Gearman-Server
SUBDIR += p5-Geo-ShapeFile
SUBDIR += p5-Getargs-Long
SUBDIR += p5-Getopt-ArgvFile

View File

@ -0,0 +1,31 @@
# New ports collection makefile for: p5-Gearman-Server
# Date created: 2007-09-03
# Whom: Tomoyuki Sakurai <cherry@trombik.org>
#
# $FreeBSD$
#
PORTNAME= Gearman-Server
PORTVERSION= 1.09
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
RUN_DEPENDS= p5-Gearman>=1.0:${PORTSDIR}/devel/p5-Gearman \
p5-Danga-Socket>=1.52:${PORTSDIR}/devel/p5-Danga-Socket
BUILD_DEPENDS+= ${RUN_DEPENDS}
PERL_CONFIGURE= yes
MAN1= gearmand.1
MAN3= Gearman::Server.3 Gearman::Server::Client.3
USE_RC_SUBR= gearmand
SUB_LIST+= NAME=gearmand
.include <bsd.port.pre.mk>
.include <bsd.port.post.mk>

View File

@ -0,0 +1,3 @@
MD5 (Gearman-Server-1.09.tar.gz) = 3d107089f7266ab91d66d9a7bd90430f
SHA256 (Gearman-Server-1.09.tar.gz) = 472c47d154a7168c627aad97fe04abdb3010275315e26382e13982ec4062a8cd
SIZE (Gearman-Server-1.09.tar.gz) = 11282

View File

@ -0,0 +1,26 @@
#!/bin/sh
#
# $FreeBSD$
#
# 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://search.cpan.org/dist/Gearman-Server/

View File

@ -0,0 +1,10 @@
@comment $FreeBSD$
bin/gearmand
%%SITE_PERL%%/Gearman/Server/Job.pm
%%SITE_PERL%%/Gearman/Server/Client.pm
%%SITE_PERL%%/Gearman/Server.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Gearman/Server/.packlist
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Gearman/Server
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Gearman
@dirrmtry %%SITE_PERL%%/Gearman/Server
@dirrmtry %%SITE_PERL%%/Gearman