ports/146060: new port: devel/p5-Pid-Quick "Associates a PID file with your script"

Eric Freeman freebsdports at chillibear.com
Mon Apr 26 09:50:02 UTC 2010


>Number:         146060
>Category:       ports
>Synopsis:       new port: devel/p5-Pid-Quick  "Associates a PID file with your script"
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 26 09:50:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Eric Freeman
>Release:        7.2
>Organization:
>Environment:
FreeBSD localhost 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May  1 07:18:07 UTC 2009     root at driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Simple perl module port for File::Pid-Quick

This module associates a PID file with your script for the purpose
of keeping more than one copy from running (concurrency prevention).
It creates the PID file, checks for its existence when the script
is run, terminates the script if there is already an instance running,
and removes the PID file when the script finishes.

This module's objective is to provide a completely simplified
interface that makes adding PID-file-based concurrency prevention
to your script as quick and simple as possible; hence File::Pid::Quick.
For a more nuanced implementation of PID files, please see File::Pid.

http://search.cpan.org/dist/File-Pid-Quick/Quick.pm
>How-To-Repeat:
n/a
>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:
#
#	p5-File-Pid-Quick
#	p5-File-Pid-Quick/Makefile
#	p5-File-Pid-Quick/pkg-descr
#	p5-File-Pid-Quick/distinfo
#	p5-File-Pid-Quick/pkg-plist
#
echo c - p5-File-Pid-Quick
mkdir -p p5-File-Pid-Quick > /dev/null 2>&1
echo x - p5-File-Pid-Quick/Makefile
sed 's/^X//' >p5-File-Pid-Quick/Makefile << 'd5ac93813a133711e704dad9d621e148'
X# Ports collection makefile for:	devel-p5-File-Pid-Quick
X# Date created:				03 April 2010
X# Whom:					Eric Freeman <freebsdports at chillibear.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=		File-Pid-Quick
XPORTVERSION=		1.02
XCATEGORIES=		devel perl5
XMASTER_SITES=		CPAN
XMASTER_SITE_SUBDIR=	File
XPKGNAMEPREFIX=		p5-
X
XMAINTAINER=		freebsdports at chillibear.com
XCOMMENT=		Associates a PID file with your script
X
XPERL_CONFIGURE=	yes
X
XMAN3=	File::Pid::Quick.3
X
Xregression-test:
X	cd ${WRKSRC} && ${MAKE} test
X
X.include <bsd.port.mk>
d5ac93813a133711e704dad9d621e148
echo x - p5-File-Pid-Quick/pkg-descr
sed 's/^X//' >p5-File-Pid-Quick/pkg-descr << '7fe8a960eb5cd2dc21397245c55f9aec'
XThis module associates a PID file with your script for the purpose
Xof keeping more than one copy from running (concurrency prevention).
XIt creates the PID file, checks for its existence when the script
Xis run, terminates the script if there is already an instance running,
Xand removes the PID file when the script finishes.
X
XThis module's objective is to provide a completely simplified
Xinterface that makes adding PID-file-based concurrency prevention
Xto your script as quick and simple as possible; hence File::Pid::Quick.
XFor a more nuanced implementation of PID files, please see File::Pid.
X
XWWW: http://search.cpan.org/dist/File-Pid-Quick/Quick.pm
7fe8a960eb5cd2dc21397245c55f9aec
echo x - p5-File-Pid-Quick/distinfo
sed 's/^X//' >p5-File-Pid-Quick/distinfo << '3360fe14699e7e146d345b93726d7255'
XMD5 (File-Pid-Quick-1.02.tar.gz) = 8cfb5d1b6d16a1f16571f8dfc5f0a1bc
XSHA256 (File-Pid-Quick-1.02.tar.gz) = e040c06c38513b86d85f08807904ca3c14625332a415d731f597eafa4407d8e0
XSIZE (File-Pid-Quick-1.02.tar.gz) = 4343
3360fe14699e7e146d345b93726d7255
echo x - p5-File-Pid-Quick/pkg-plist
sed 's/^X//' >p5-File-Pid-Quick/pkg-plist << 'f415c720babfc2c769a432a319449a8c'
X%%SITE_PERL%%/File/Pid/Quick.pm
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/File/Pid/Quick/.packlist
X at dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/File/Pid/Quick
X at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/File/Pid
X at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/File
X at dirrmtry %%SITE_PERL%%/File
f415c720babfc2c769a432a319449a8c
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list