Date: Mon, 26 Mar 2007 14:47:40 -0400 (EDT) From: Vivek Khera <vivek@khera.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/110878: new port devel/p5-gearmand Message-ID: <20070326184740.319ABB820@yertle.kcilink.com> Resent-Message-ID: <200703261850.l2QIo2em019968@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 110878 >Category: ports >Synopsis: new port devel/p5-gearmand >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon Mar 26 18:50:02 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Vivek Khera >Release: FreeBSD 6.2-PRERELEASE amd64 >Organization: >Environment: System: FreeBSD yertle.int.kcilink.com 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #5: Thu Dec 21 11:27:26 EST 2006 khera@yertle.int.kciLink.com:/usr/obj/usr/src/sys/KCI64 amd64 >Description: Port for the Gearman remote function call server. I believe it should be in ports/devel/p5-gearmand This depends on the p5-Gearman port submitted in PR ports/110876 >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # Makefile # distinfo # files # pkg-descr # files/gearmand.sh.in # echo x - Makefile sed 's/^X//' >Makefile << 'END-of-Makefile' X# New ports collection makefile for: p5-gearmand X# Date created: Mon Mar 26 11:45:06 EDT 2007 X# Whom: Vivek Khera <vivek@khera.org> X# X# $FreeBSD:$ X# X XPORTNAME= gearmand XPORTVERSION= 1.03 XCATEGORIES= devel perl5 XMASTER_SITES= ${MASTER_SITE_PERL_CPAN} XMASTER_SITE_SUBDIR= ../by-authors/id/B/BR/BRADFITZ XPKGNAMEPREFIX= p5- X XMAINTAINER= vivek@khera.org XCOMMENT= Gearman server daemon X XUSE_RC_SUBR= gearmand.sh XSUB_LIST+= NAME=gearmand X XMODULE_DEPENDS= p5-Gearman>=1.0:${PORTSDIR}/devel/p5-Gearman \ X p5-Danga-Socket>=1.52:${PORTSDIR}/devel/p5-Danga-Socket XRUN_DEPENDS+= ${MODULE_DEPENDS} XBUILD_DEPENDS+= ${MODULE_DEPENDS} X XPERL_CONFIGURE= yes X XMAN1= gearmand.1 XPLIST_FILES= bin/gearmand \ X %%SITE_PERL%%/%%PERL_ARCH%%/auto/gearmand/.packlist XPLIST_DIRS= %%SITE_PERL%%/%%PERL_ARCH%%/auto/gearmand X X X.include <bsd.port.pre.mk> X X.if ${PERL_LEVEL} < 500800 XIGNORE= requires perl 5.8.0 or later. Install lang/perl5.8 and try again X.endif X X.include <bsd.port.post.mk> END-of-Makefile echo x - distinfo sed 's/^X//' >distinfo << 'END-of-distinfo' XMD5 (gearmand-1.03.tar.gz) = e964cb9a8251c741a55683d3d0c5d4ef XSHA256 (gearmand-1.03.tar.gz) = 87bceb9e095334f74e70a02a506d1b901f3fdb2246998df3a21ee6e6eb50ce88 XSIZE (gearmand-1.03.tar.gz) = 7978 END-of-distinfo echo c - files mkdir -p files > /dev/null 2>&1 echo x - pkg-descr sed 's/^X//' >pkg-descr << 'END-of-pkg-descr' XGearman is a system to farm out work to other machines, dispatching function Xcalls to machines that are better suited to do work, to do work in parallel, Xto load balance lots of function calls, or to call functions between Xlanguages. X XThis is the server daemon component. The bridge between workers (clients who Xcan do work) and callers (clients who want work done). You should run several Xof these, at least two, for both load balancing and high availability. X XWWW: http://www.danga.com/gearman/ END-of-pkg-descr echo x - files/gearmand.sh.in sed 's/^X//' >files/gearmand.sh.in << 'END-of-files/gearmand.sh.in' X#!/bin/sh X# X# $FreeBSD:$ X# X X# PROVIDE: %%NAME%% X# REQUIRE: DAEMON X X# Add the following line to /etc/rc.conf to enable `%%NAME%%': X# X#%%NAME%%_enable="YES" X X. "%%RC_SUBR%%" X Xname="%%NAME%%" Xrcvar=`set_rcvar` X Xcommand="%%PREFIX%%/bin/gearmand" Xcommand_interpreter="%%PREFIX%%/bin/perl" Xcommand_args="--daemon" X X# read configuration and set defaults Xload_rc_config "$name" X: ${%%NAME%%_enable="NO"} X Xrun_rc_command "$1" END-of-files/gearmand.sh.in exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070326184740.319ABB820>