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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/p5-Unix-Uptime | 0.3701_1,1 |
| DragonFly | devel/p5-Unix-Uptime | 0.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.3701_1,1 | 0.3701_1,1 | 0.3701_1,1 | 0.3701_1,1 | 0.3701_1,1 |
| FreeBSD:14:quarterly | 0.3701_1,1 | 0.3701_1,1 | n/a | 0.3701_1,1 | 0.3701_1,1 |
| FreeBSD:15:latest | 0.3701_1,1 | 0.3701_1,1 | n/a | 0.3701_1,1 | 0.3701_1,1 |
| FreeBSD:15:quarterly | 0.3701_1,1 | 0.3701_1,1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.3701_1,1 | 0.3701_1,1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/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
| File | Size | SHA256 |
|---|---|---|
| Unix-Uptime-0.3701.tar.gz | 12416 | de71448186726c759f0e2ceca4321f078c7766d8c2a3fe6213baa0c982a8a364 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.