devel/p5-File-Flock - The NetBSD Packages Collection

File::Flock - file locking with flock

Lock files using the flock() call. If the file to be locked does not exist,
then the file is created. If the file was created then it will be removed
when it is unlocked assuming it's still an empty file.

Locks can be created by new'ing a File::Flock object. Such locks are
automatically removed when the object goes out of scope. The unlock()
method may also be used.

lock_rename() is used to tell File::Flock when a file has been renamed (and
thus the internal locking data that is stored based on the filename should
be moved to a new name). unlock() the new name rather than the original
name.

Locks are released on process exit when the process that created the lock
exits. Subprocesses that exit do not remove locks. Use forget_locks() or
POSIX::_exit() to prevent unlocking on process exit.

Build dependencies

devel/p5-Data-Structure-Util devel/p5-File-Slurp devel/p5-Test-SharedFork devel/p5-IO-Event devel/p5-List-MoreUtils devel/p5-AnyEvent pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

lang/perl5 lang/perl5

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64p5-File-Flock-2014.01nb7.tgz
NetBSD 10.0aarch64p5-File-Flock-2014.01nb7.tgz
NetBSD 10.0aarch64ebp5-File-Flock-2014.01nb7.tgz
NetBSD 10.0aarch64ebp5-File-Flock-2014.01nb7.tgz
NetBSD 10.0alphap5-File-Flock-2014.01nb7.tgz
NetBSD 10.0alphap5-File-Flock-2014.01nb7.tgz
NetBSD 10.0earmv4p5-File-Flock-2014.01nb7.tgz
NetBSD 10.0earmv4p5-File-Flock-2014.01nb7.tgz
NetBSD 10.0earmv6hfp5-File-Flock-2014.01nb7.tgz
NetBSD 10.0earmv6hfp5-File-Flock-2014.01nb7.tgz
NetBSD 10.0earmv6hfp5-File-Flock-2014.01nb7.tgz
NetBSD 10.0earmv7hfp5-File-Flock-2014.01nb7.tgz
NetBSD 10.0earmv7hfp5-File-Flock-2014.01nb7.tgz
NetBSD 10.0earmv7hfp5-File-Flock-2014.01nb7.tgz
NetBSD 10.0i386p5-File-Flock-2014.01nb7.tgz
NetBSD 10.0i386p5-File-Flock-2014.01nb7.tgz
NetBSD 10.0m68kp5-File-Flock-2014.01nb7.tgz
NetBSD 10.0powerpcp5-File-Flock-2014.01nb7.tgz
NetBSD 10.0powerpcp5-File-Flock-2014.01nb7.tgz
NetBSD 10.0powerpcp5-File-Flock-2014.01nb7.tgz
NetBSD 10.0sh3elp5-File-Flock-2014.01nb7.tgz
NetBSD 10.0sh3elp5-File-Flock-2014.01nb7.tgz
NetBSD 10.0sparc64p5-File-Flock-2014.01nb7.tgz
NetBSD 10.0sparc64p5-File-Flock-2014.01nb7.tgz
NetBSD 10.0vaxp5-File-Flock-2014.01nb7.tgz
NetBSD 10.0x86_64p5-File-Flock-2014.01nb7.tgz
NetBSD 10.0x86_64p5-File-Flock-2014.01nb7.tgz
NetBSD 9.0aarch64p5-File-Flock-2014.01nb7.tgz
NetBSD 9.0aarch64p5-File-Flock-2014.01nb7.tgz
NetBSD 9.0alphap5-File-Flock-2014.01nb7.tgz
NetBSD 9.0alphap5-File-Flock-2014.01nb7.tgz
NetBSD 9.0earmv4p5-File-Flock-2014.01nb7.tgz
NetBSD 9.0earmv6hfp5-File-Flock-2014.01nb7.tgz
NetBSD 9.0earmv6hfp5-File-Flock-2014.01nb7.tgz
NetBSD 9.0earmv6hfp5-File-Flock-2014.01nb7.tgz
NetBSD 9.0earmv7hfp5-File-Flock-2014.01nb7.tgz
NetBSD 9.0earmv7hfp5-File-Flock-2014.01nb7.tgz
NetBSD 9.0earmv7hfp5-File-Flock-2014.01nb7.tgz
NetBSD 9.0i386p5-File-Flock-2014.01nb7.tgz
NetBSD 9.0i386p5-File-Flock-2014.01nb7.tgz
NetBSD 9.0powerpcp5-File-Flock-2014.01nb7.tgz
NetBSD 9.0powerpcp5-File-Flock-2014.01nb7.tgz
NetBSD 9.0powerpcp5-File-Flock-2014.01nb7.tgz
NetBSD 9.0sparc64p5-File-Flock-2014.01nb7.tgz
NetBSD 9.0sparc64p5-File-Flock-2014.01nb7.tgz
NetBSD 9.0x86_64p5-File-Flock-2014.01nb7.tgz
NetBSD 9.0x86_64p5-File-Flock-2014.01nb7.tgz
NetBSD 9.3x86_64p5-File-Flock-2014.01nb7.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.