Created attachment 218586 [details] shar attachment containing the port subdirectory Good morning. 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. thanks.
A commit references this bug: Author: mandree Date: Wed Dec 9 21:43:06 UTC 2020 New revision: 557388 URL: https://svnweb.freebsd.org/changeset/ports/557388 Log: 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). WWW: https://metacpan.org/release/BSD-getloadavg 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. PR: 250174 Submitted by: Gert D?ring <gert@greenie.muc.de> Changes: head/sysutils/Makefile head/sysutils/p5-BSD-getloadavg/ head/sysutils/p5-BSD-getloadavg/Makefile head/sysutils/p5-BSD-getloadavg/distinfo head/sysutils/p5-BSD-getloadavg/pkg-descr head/sysutils/p5-BSD-getloadavg/pkg-plist
Thanks for the contribution, please review the automatic commit log for more commentary.