Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Jan 2012 10:15:36 GMT
From:      Tatsuya Ueda <ml+freebsd@tatsuya.info>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/164368: New Port: p5-Path-Class-File-Lockable
Message-ID:  <201201221015.q0MAFagr001434@red.freebsd.org>
Resent-Message-ID: <201201221020.q0MAKABg038845@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         164368
>Category:       ports
>Synopsis:       New Port: p5-Path-Class-File-Lockable
>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:   Sun Jan 22 10:20:10 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Tatsuya Ueda
>Release:        9.0R
>Organization:
>Environment:
>Description:
Path::Class::File::Lockable uses simple files to indicate
whether a file is locked or not.

It does not use flock(), since that is unstable over NFS.
Effort has been made to avoid race conditions.

Path::Class::File::Lockable is intended for long-standing locks,
as in a Subversion workspace.

See SVN::Class for example.

>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:
#
#       p5-Path-Class-File-Lockable
#       p5-Path-Class-File-Lockable/Makefile
#       p5-Path-Class-File-Lockable/distinfo
#       p5-Path-Class-File-Lockable/pkg-plist
#       p5-Path-Class-File-Lockable/pkg-descr
#
echo c - p5-Path-Class-File-Lockable
mkdir -p p5-Path-Class-File-Lockable > /dev/null 2>&1
echo x - p5-Path-Class-File-Lockable/Makefile
sed 's/^X//' >p5-Path-Class-File-Lockable/Makefile << 'a5775560810b650cd3a040eeaabf5ef5'
X# New ports collection makefile for: p5-Path-Class-File-Lockable
X# Date created:                22 Jan 2012
X# Whom:                        Tatsuya Ueda <ml+freebsd@tatsuya.info>
X#
X# $FreeBSD: $
X#
X
XPORTNAME=      Path-Class-File-Lockable
XPORTVERSION=   0.02
XCATEGORIES=    converters perl5
XMASTER_SITES=  CPAN
XMASTER_SITE_SUBDIR=     CPAN:KARMAN
XPKGNAMEPREFIX= p5-
X
XMAINTAINER=    ml+freebsd@tatsuya.info
XCOMMENT=       Path::Class::File::Lockable - lock your files with Path::Class::File
X
XBUILD_DEPENDS=  ${SITE_PERL}/File/NFSLock.pm:${PORTSDIR}/devel/p5-File-NFSLock
XRUN_DEPENDS:=  ${BUILD_DEPENDS}
X
XPERL_CONFIGURE=        yes
X
XMAN3=          Path::Class::File::Lockable.3
X
X.include <bsd.port.mk>
a5775560810b650cd3a040eeaabf5ef5
echo x - p5-Path-Class-File-Lockable/distinfo
sed 's/^X//' >p5-Path-Class-File-Lockable/distinfo << '4cf482c5682e9362b296476d4f6b37f7'
XSHA256 (Path-Class-File-Lockable-0.02.tar.gz) = 543c0c4e53344ef1705bcdb25c65a5371f8990c5ddd5808a29279a65e0487d9c
XSIZE (Path-Class-File-Lockable-0.02.tar.gz) = 4508
4cf482c5682e9362b296476d4f6b37f7
echo x - p5-Path-Class-File-Lockable/pkg-plist
sed 's/^X//' >p5-Path-Class-File-Lockable/pkg-plist << '8b3a7f67b6b5561b56b4166032ebd81c'
X%%SITE_PERL%%/Path/Class/File/Lockable.pm
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Path/Class/File/Lockable/.packlist
X@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Path/Class/File/Lockable
X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Path/Class/File
X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Path/Class
X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Path
X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Path/Class/File
X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Path/Class
X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Path
X
8b3a7f67b6b5561b56b4166032ebd81c
echo x - p5-Path-Class-File-Lockable/pkg-descr
sed 's/^X//' >p5-Path-Class-File-Lockable/pkg-descr << '4b5865ea00acd3bd7a5ffedbca60ebbf'
XPath::Class::File::Lockable uses simple files to indicate
Xwhether a file is locked or not.
X
XIt does not use flock(), since that is unstable over NFS.
XEffort has been made to avoid race conditions.
X
XPath::Class::File::Lockable is intended for long-standing locks,
Xas in a Subversion workspace.
X
XSee SVN::Class for example.
4b5865ea00acd3bd7a5ffedbca60ebbf
exit


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



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