sysutils/p5-Sys-SigAction 0.23nb9 NetBSD
Perl extension for Consistent Signal Handling
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Last update
- Commit
618415630a- License
- gnu-gpl-v2 OR artistic
- Categories
- sysutils, perl5
- Package size
- 12.5 KiB, 35.7 KiB installed
Description
This module implements set_sig_handler(), which sets up a signal handler and (optionally) returns an object which causes the signal handler to be reset to the previous value, when it goes out of scope.
Also implemented is timeout_call() which takes a timeout value and a code reference, and executes the code reference wrapped with an alarm timeout.
Finally, two convenience routines are defined which allow one to get the signal name from the number -- sig_name(), and get the signal number from the name -- sig_number().
In the other systems
| System | Port | Version |
|---|---|---|
| NetBSD | sysutils/p5-Sys-SigAction | 0.23nb9 |
| FreeBSD | devel/p5-Sys-SigAction | 0.24 |
| OpenBSD | devel/p5-Sys-SigAction | 0.24 |
| DragonFly | devel/p5-Sys-SigAction | 0.24 |
| HardenedBSD | devel/p5-Sys-SigAction | 0.24 |
| GhostBSD | devel/p5-Sys-SigAction | 0.24 |
Install
Binary package:
pkgin install p5-Sys-SigAction
From pkgsrc:
cd /usr/pkgsrc/sysutils/p5-Sys-SigAction && 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 | 0.23nb9 |
| NetBSD 10.1 aarch64 | 0.23nb8 |
| SmartOS / illumos x86_64 | 0.23nb9 |
| macOS 15 arm64 | 0.23nb9 |