mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Add p5-File-NFSLock, a perl module to do NFS (or not) locking.
This commit is contained in:
parent
df73206a5c
commit
694e86d25a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=66147
6 changed files with 46 additions and 0 deletions
|
@ -464,6 +464,7 @@
|
||||||
SUBDIR += p5-File-FTS
|
SUBDIR += p5-File-FTS
|
||||||
SUBDIR += p5-File-Lock
|
SUBDIR += p5-File-Lock
|
||||||
SUBDIR += p5-File-MMagic
|
SUBDIR += p5-File-MMagic
|
||||||
|
SUBDIR += p5-File-NFSLock
|
||||||
SUBDIR += p5-File-ReadBackwards
|
SUBDIR += p5-File-ReadBackwards
|
||||||
SUBDIR += p5-File-Remove
|
SUBDIR += p5-File-Remove
|
||||||
SUBDIR += p5-File-Slurp
|
SUBDIR += p5-File-Slurp
|
||||||
|
|
22
devel/p5-File-NFSLock/Makefile
Normal file
22
devel/p5-File-NFSLock/Makefile
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
# New ports collection makefile for: devel/p5-File-NFSLock
|
||||||
|
# Date created: 11 September 2002
|
||||||
|
# Whom: Anton Berezin <tobez@FreeBSD.org>
|
||||||
|
#
|
||||||
|
# $FreeBSD$
|
||||||
|
#
|
||||||
|
|
||||||
|
PORTNAME= File-NFSLock
|
||||||
|
PORTVERSION= 1.18
|
||||||
|
CATEGORIES= devel perl5
|
||||||
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
||||||
|
MASTER_SITE_SUBDIR= File
|
||||||
|
PKGNAMEPREFIX= p5-
|
||||||
|
|
||||||
|
MAINTAINER= tobez@FreeBSD.org
|
||||||
|
|
||||||
|
PERL_CONFIGURE= yes
|
||||||
|
|
||||||
|
MAN3= File::NFSLock.3
|
||||||
|
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
1
devel/p5-File-NFSLock/distinfo
Normal file
1
devel/p5-File-NFSLock/distinfo
Normal file
|
@ -0,0 +1 @@
|
||||||
|
MD5 (File-NFSLock-1.18.tar.gz) = 858e41cd01f0cb9e91c28126f06eb03d
|
1
devel/p5-File-NFSLock/pkg-comment
Normal file
1
devel/p5-File-NFSLock/pkg-comment
Normal file
|
@ -0,0 +1 @@
|
||||||
|
File::NFSLock - perl module to do NFS (or not) locking
|
16
devel/p5-File-NFSLock/pkg-descr
Normal file
16
devel/p5-File-NFSLock/pkg-descr
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
File::NFSLock - perl module to do NFS (or not) locking.
|
||||||
|
|
||||||
|
The module is based of concept of hard linking of files being atomic
|
||||||
|
across NFS. This concept was mentioned in Mail::Box::Locker (which was
|
||||||
|
originally presented in Mail::Folder::Maildir). Some routine flow is
|
||||||
|
taken from there -- particularly the idea of creating a random local
|
||||||
|
file, hard linking a common file to the local file, and then checking
|
||||||
|
the nlink status. Some ideologies were not complete (uncache mechanism,
|
||||||
|
shared locking) and some coding was even incorrect (wrong stat index).
|
||||||
|
File::NFSLock was written to be light, generic, and fast.
|
||||||
|
|
||||||
|
Authors: Paul T Seamons (paul@seamons.com), Rob B Brown (bbb@cpan.org)
|
||||||
|
WWW: http://search.cpan.org/search?dist=File-NFSLock
|
||||||
|
|
||||||
|
-Anton
|
||||||
|
<tobez@FreeBSD.org>
|
5
devel/p5-File-NFSLock/pkg-plist
Normal file
5
devel/p5-File-NFSLock/pkg-plist
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/File/NFSLock/.packlist
|
||||||
|
lib/perl5/site_perl/%%PERL_VER%%/File/NFSLock.pm
|
||||||
|
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/File/NFSLock
|
||||||
|
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/File 2>/dev/null || true
|
||||||
|
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/File 2>/dev/null || true
|
Loading…
Add table
Reference in a new issue