Created attachment 219282 [details] Drop-in patch for the port's files directory There is a bug with command line parsing in the 0.4.1 release source code. This was fixed in upstream: https://github.com/bakins/php-fpm-exporter/issues/20 See attached patch.
Do we also need the patch from https://github.com/bakins/php-fpm-exporter/pull/21 ?
Sadly I cannot test the fastcgi use case. Is there a reason that we do not just update to 0.6.1?
(In reply to Kamigishi Rei from comment #2) You can submit a patch if you want
Created attachment 234040 [details] Update to 0.6.1 Seems to build and work fine.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=43b8b3ff3b2a7c2fe9e16dc29fd806f10fff30da commit 43b8b3ff3b2a7c2fe9e16dc29fd806f10fff30da Author: Daniel Engberg <diizzy@FreeBSD.org> AuthorDate: 2023-02-17 22:30:52 +0000 Commit: Daniel Engberg <diizzy@FreeBSD.org> CommitDate: 2023-02-17 22:36:49 +0000 net-mgmt/phpfpm_exporter: Update to 0.6.1 Adapt submitted version (approved by maintainer) to follow Porters Handbook more closely and switch to go:modules while at it. Changelog: https://github.com/bakins/php-fpm-exporter/compare/v0.4.1...v0.6.1 PR: 250787 Reported by: Kamigishi Rei <spambox@haruhiism.net> Reviewed by: Gasol Wu <gasol.wu@gmail.com> (maintainer) net-mgmt/phpfpm_exporter/Makefile | 18 +++++++----------- net-mgmt/phpfpm_exporter/distinfo | 8 +++++--- 2 files changed, 12 insertions(+), 14 deletions(-)
Committed with some modifications, sorry for the wait.