BSD Ports

devel/p5-File-NFSLock 1.29 FreeBSD

Perl module to do NFS (or not) locking

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
devel, perl5
Package size
15.8 KiB, 33.2 KiB installed

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

SystemPortVersion
FreeBSDdevel/p5-File-NFSLock1.29
OpenBSDsysutils/p5-File-NFSLock1.29p0
NetBSDdevel/p5-File-NFSLock1.29nb8
DragonFlydevel/p5-File-NFSLock1.29
MidnightBSDdevel/p5-File-NFSLock1.29

Install

Binary package:

pkg install p5-File-NFSLock

From the ports tree:

cd /usr/ports/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

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.291.291.291.291.29
FreeBSD:14:quarterly1.291.29n/a1.291.29
FreeBSD:15:latest1.291.29n/a1.291.29
FreeBSD:15:quarterly1.291.29n/an/an/a
FreeBSD:16:latest1.291.29n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 1
Run dependencies 1

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

Commit history 0

No commits in the history this site was built from.