BSD Ports

devel/p5-File-NFSLock 1.29 MidnightBSD

File::NFSLock - perl module to do NFS (or not) locking

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
artistic, gpl+
Categories
devel, perl5

Description

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.

In the other systems

The newest version among them is 1.29, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDdevel/p5-File-NFSLock1.29 newestno data-[email protected]-
FreeBSDdevel/p5-File-NFSLock1.29 newestnone known-[email protected]-
OpenBSDsysutils/p5-File-NFSLock by name1.29p0 newestno data-The OpenBSD ports mailing-list <[email protected]>-
NetBSDdevel/p5-File-NFSLock1.29nb8 newestnone known-[email protected]2026-07-16
DragonFlydevel/p5-File-NFSLock1.29 newestnone known-[email protected]-
HardenedBSDdevel/p5-File-NFSLock1.29 newestno data-[email protected]-
GhostBSDdevel/p5-File-NFSLock1.29 newestno data-[email protected]-
OPNsensedevel/p5-File-NFSLock1.29 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

mport install p5-File-NFSLock

From mports:

cd /usr/mports/devel/p5-File-NFSLock && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-File-NFSLock>0:devel/p5-File-NFSLock

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Required by 2

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%SITE_PERL%%/File/NFSLock.pm
  • %%PERL5_MAN3%%/File::NFSLock.3.gz
distinfo 1
FileSizeSHA256
File-NFSLock-1.29.tar.gz2174361d41599b481164edf9b8becabbef2d23f622a9727f6c18365e92b5782d4fa37
Master sites 1
  • CPAN