aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Berezin <tobez@FreeBSD.org>2002-09-11 15:16:23 +0000
committerAnton Berezin <tobez@FreeBSD.org>2002-09-11 15:16:23 +0000
commit694e86d25a9a7c50dfc0e6dfa0fec7d8aa196ff8 (patch)
tree0731ae0f3bd0f0ada76a36620edf2133d83c3efb
parentdf73206a5c01c431d895f15ae787fbc2c3e81a92 (diff)
downloadports-694e86d25a9a7c50dfc0e6dfa0fec7d8aa196ff8.tar.gz
ports-694e86d25a9a7c50dfc0e6dfa0fec7d8aa196ff8.zip
Notes
-rw-r--r--devel/Makefile1
-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
6 files changed, 46 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index b40665981130..2e92bbad0fae 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -464,6 +464,7 @@
SUBDIR += p5-File-FTS
SUBDIR += p5-File-Lock
SUBDIR += p5-File-MMagic
+ SUBDIR += p5-File-NFSLock
SUBDIR += p5-File-ReadBackwards
SUBDIR += p5-File-Remove
SUBDIR += p5-File-Slurp
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