devel/p5-File-FlockDir 1.02nb20 NetBSD
FlockDir - override perl flock() for network or portability purposes
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Last update
- Commit
618415630a- Categories
- devel, perl5
- Package size
- 9.0 KiB, 16.1 KiB installed
Description
A flock module for Windows9x and other systems lacking a good perl flock() function (not platform specific)
Rationale: flock on Win95/98 is badly broken but perl code needs to be portable. In addition, sometimes code written to use flock() on one workstation needs to be ported to running on several networked servers and clients. One way to allow this is to override perl's open(), flock(), and close(). We then get an absolute file specification for all opened files and and use it in a hash to create a unique lock for the file using the File::LockDir module from the "Perl Cookbook", by Christiansen and Torkington (O'Reilly, 1998). This module may be included in the CPAN distribution but belongs to those authors. New code has been kept to a minimum.
Install
Binary package:
pkgin install p5-File-FlockDir
From pkgsrc:
cd /usr/pkgsrc/devel/p5-File-FlockDir && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 1.02nb20 |
| NetBSD 10.1 aarch64 | 1.02nb19 |
| SmartOS / illumos x86_64 | 1.02nb20 |
| macOS 15 arm64 | 1.02nb20 |
Dependencies
Run dependencies 1
No port depends on this one.