BSD Ports

devel/p5-Unix-Uptime 0.3701_1,1 FreeBSD

Determine the current uptime in seconds

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Categories
devel, perl5
Package size
12.2 KiB, 24.2 KiB installed

Description

This is a rather simple module that abstracts the task of figuring out the current system uptime, in seconds. It was born out of a desire to do this on non-Linux systems, without SNMP. If you want to use SNMP, there are pleanty of modules on CPAN already.

In the other systems

SystemPortVersion
FreeBSDdevel/p5-Unix-Uptime0.3701_1,1
DragonFlydevel/p5-Unix-Uptime0.3701_1,1

Install

Binary package:

pkg install p5-Unix-Uptime

From the ports tree:

cd /usr/ports/devel/p5-Unix-Uptime/ && make install clean

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

RUN_DEPENDS=	p5-Unix-Uptime>0:devel/p5-Unix-Uptime

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.3701_1,10.3701_1,10.3701_1,10.3701_1,10.3701_1,1
FreeBSD:14:quarterly0.3701_1,10.3701_1,1n/a0.3701_1,10.3701_1,1
FreeBSD:15:latest0.3701_1,10.3701_1,1n/a0.3701_1,10.3701_1,1
FreeBSD:15:quarterly0.3701_1,10.3701_1,1n/an/an/a
FreeBSD:16:latest0.3701_1,10.3701_1,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.

Build dependencies 2
Run dependencies 1

No port depends on this one.

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 8
  • %%SITE_ARCH%%/Unix/Uptime/BSD/XS.pm
  • %%SITE_ARCH%%/Unix/Uptime/Linux.pm
  • %%SITE_ARCH%%/Unix/Uptime/BSD.pm
  • %%SITE_ARCH%%/Unix/Uptime.pm
  • %%SITE_ARCH%%/auto/Unix/Uptime/BSD/XS/XS.so
  • %%PERL5_MAN3%%/Unix::Uptime.3.gz
  • %%PERL5_MAN3%%/Unix::Uptime::BSD.3.gz
  • %%PERL5_MAN3%%/Unix::Uptime::Linux.3.gz
distinfo 1
FileSizeSHA256
Unix-Uptime-0.3701.tar.gz12416de71448186726c759f0e2ceca4321f078c7766d8c2a3fe6213baa0c982a8a364
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.