aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-File-NFSLock
diff options
context:
space:
mode:
authortobez <tobez@FreeBSD.org>2002-09-11 23:16:23 +0800
committertobez <tobez@FreeBSD.org>2002-09-11 23:16:23 +0800
commit0a8b85c4c9278cd1a9809c98a0e5930f64f53076 (patch)
tree592c683fce6753738108efd667d6c3f59ff2d243 /devel/p5-File-NFSLock
parenta2d7f69b781863111488580821338243435ae1fc (diff)
downloadfreebsd-ports-gnome-0a8b85c4c9278cd1a9809c98a0e5930f64f53076.tar.gz
freebsd-ports-gnome-0a8b85c4c9278cd1a9809c98a0e5930f64f53076.tar.zst
freebsd-ports-gnome-0a8b85c4c9278cd1a9809c98a0e5930f64f53076.zip
Add p5-File-NFSLock, a perl module to do NFS (or not) locking.
Diffstat (limited to 'devel/p5-File-NFSLock')
-rw-r--r--devel/p5-File-NFSLock/Makefile22
-rw-r--r--devel/p5-File-NFSLock/distinfo1
-rw-r--r--devel/p5-File-NFSLock/pkg-comment1
-rw-r--r--devel/p5-File-NFSLock/pkg-descr16
-rw-r--r--devel/p5-File-NFSLock/pkg-plist5
5 files changed, 45 insertions, 0 deletions
diff --git a/devel/p5-File-NFSLock/Makefile b/devel/p5-File-NFSLock/Makefile
new file mode 100644
index 000000000000..9e9cfa4578c7
--- /dev/null
+++ b/devel/p5-File-NFSLock/Makefile
@@ -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>
diff --git a/devel/p5-File-NFSLock/distinfo b/devel/p5-File-NFSLock/distinfo
new file mode 100644
index 000000000000..1342caaa934f
--- /dev/null
+++ b/devel/p5-File-NFSLock/distinfo
@@ -0,0 +1 @@
+MD5 (File-NFSLock-1.18.tar.gz) = 858e41cd01f0cb9e91c28126f06eb03d
diff --git a/devel/p5-File-NFSLock/pkg-comment b/devel/p5-File-NFSLock/pkg-comment
new file mode 100644
index 000000000000..4357066064a1
--- /dev/null
+++ b/devel/p5-File-NFSLock/pkg-comment
@@ -0,0 +1 @@
+File::NFSLock - perl module to do NFS (or not) locking
diff --git a/devel/p5-File-NFSLock/pkg-descr b/devel/p5-File-NFSLock/pkg-descr
new file mode 100644
index 000000000000..e7393d0af476
--- /dev/null
+++ b/devel/p5-File-NFSLock/pkg-descr
@@ -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>
diff --git a/devel/p5-File-NFSLock/pkg-plist b/devel/p5-File-NFSLock/pkg-plist
new file mode 100644
index 000000000000..73e22c59b2fc
--- /dev/null
+++ b/devel/p5-File-NFSLock/pkg-plist
@@ -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