Created attachment 218586 [details]
shar attachment containing the port subdirectory
This module provides a lightweight interface to getloadavg(3) from perl.
It has been submitted previously, in 2006, in PR #104832, and that PR was closed because alternatives exist (sysutils/p5-Sys-CpuLoad).
I'm trying again (with the current version), because p5-Sys-CpuLoad is much heavier (bringing in two extra dependent modules etc.) so all our software uses BSD::getloadavg, which comes with no extra dependencies and does the same job.
I have tried to find guidelines about "different packages with somewhat overlapping functionality", but couldn't find any specifics what FreeBSD does in such cases.
A commit references this bug:
Date: Wed Dec 9 21:43:06 UTC 2020
New revision: 557388
new port: sysutils/p5-BSD-getloadavg: a perl interface to getloadavg(3)
This module allows you to access load average from perl scripts
without invoking uptime(1).
Versus the original contribution, I've made two changes:
- dropped .packlist from the pkg-plist (complaints in poudriere
and in live system)
- dropped PORTREVISION=1 - a new port starts out with
PORTREVISION=0, and since that is a default we normally omit
it on ports that stand alone.
Submitted by: Gert D?ring <firstname.lastname@example.org>
Thanks for the contribution, please review the automatic commit log for more commentary.