BSD Ports

sysutils/p5-BSD-Sysctl 0.12.3 FreeBSD

Fetch sysctl values from BSD-like systems

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
sysutils, perl5
Package size
24.0 KiB, 54.3 KiB installed

Description

BSD::Sysctl offers a native Perl interface for fetching sysctl values that describe the kernel state of BSD-like operating systems. This is around 80 times faster than scraping the output of the sysctl(8) program.

This module handles the conversion of symbolic sysctl variable names to the internal numeric format, and this information, along with the details of how to format the results, are cached. Hence, the first call to sysctl requires three system calls, however, subsequent calls require only one call.

In the other systems

SystemPortVersion
FreeBSDsysutils/p5-BSD-Sysctl0.12.3
DragonFlysysutils/p5-BSD-Sysctl0.12.3

Install

Binary package:

pkg install p5-BSD-Sysctl

From the ports tree:

cd /usr/ports/sysutils/p5-BSD-Sysctl/ && make install clean

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

RUN_DEPENDS=	p5-BSD-Sysctl>0:sysutils/p5-BSD-Sysctl

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:latest0.12.30.12.30.12.30.12.30.12.3
FreeBSD:14:quarterly0.12.30.12.3n/a0.12.30.12.3
FreeBSD:15:latest0.12.30.12.3n/a0.12.30.12.3
FreeBSD:15:quarterly0.12.30.12.3n/an/an/a
FreeBSD:16:latest0.12.30.12.3n/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 3
  • %%SITE_ARCH%%/BSD/Sysctl.pm
  • %%SITE_ARCH%%/auto/BSD/Sysctl/Sysctl.so
  • %%PERL5_MAN3%%/BSD::Sysctl.3.gz
distinfo 1
FileSizeSHA256
glebius-BSD-Sysctl-v0.12.3_GH0.tar.gz23477bc107d814c5c97eb46e83ca16b8857bbeb1db37fd5017cc3806b639a5451a6a4

Commit history 0

No commits in the history this site was built from.