FreeBSD Ports

devel/p5-File-Pid-Quick 1.02_1

Associates a PID file with your script

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

Description

This module associates a PID file with your script for the purpose of keeping more than one copy from running (concurrency prevention). It creates the PID file, checks for its existence when the script is run, terminates the script if there is already an instance running, and removes the PID file when the script finishes.

This module's objective is to provide a completely simplified interface that makes adding PID-file-based concurrency prevention to your script as quick and simple as possible; hence File::Pid::Quick. For a more nuanced implementation of PID files, please see File::Pid.

Install

As a binary package — by origin, or by package name:

pkg install devel/p5-File-Pid-Quick
pkg install p5-File-Pid-Quick

From the ports tree:

cd /usr/ports/devel/p5-File-Pid-Quick/ && make install clean

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

RUN_DEPENDS=	p5-File-Pid-Quick>0:devel/p5-File-Pid-Quick

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.02_11.02_11.02_11.02_11.02_1
FreeBSD:14:quarterly1.02_11.02_1n/a1.02_11.02_1
FreeBSD:15:latest1.02_11.02_1n/a1.02_11.02_1
FreeBSD:15:quarterly1.02_11.02_1n/an/an/a
FreeBSD:16:latest1.02_11.02_1n/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.

All build dependencies 1
All run dependencies 1

No port depends on this one.

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%SITE_PERL%%/File/Pid/Quick.pm
  • %%PERL5_MAN3%%/File::Pid::Quick.3.gz
distinfo 1
FileSizeSHA256
File-Pid-Quick-1.02.tar.gz4343e040c06c38513b86d85f08807904ca3c14625332a415d731f597eafa4407d8e0
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.