Created attachment 238124 [details] patch I have installed the latest version of smokeping via the command `pkg install` and the command `pkg info` says it's 2.8.2. But the smokeping(1) says it's 2.00600 and the templates in web frontend says it's 2.6.0 as string like "Running on SmokePing-2.6.0 by Tobi Oetiker and Niko Tyn" # smokeping --version 2.006000 # pkg info | grep smokeping smokeping-2.8.2_3 Latency logging and graphing system After reviewing Makefile and the sources, I found it's caused by the difference between tarball distributions.
Created attachment 238125 [details] webpage screenshot
poudriere testport is running
Hi Gasol, Thanks for the report, in fact the version reported by the WebUI is wrong. I check the github repo and of course found the same error, but the static archives provided by smokeping project itself seems to report the correct number. Maybe the solution is to move to the static archives instead of changing the version in the sources. I see how it works this way and gives you a feedback. Cheers -- rodrigo
Created attachment 238131 [details] updated patch Patch updated
testport log can be found at http://poudriere.gasol.tw/data/131amd64-system/2022-11-17_08h30m36s/logs/smokeping-2.8.2_4.log
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3e1524f9727a7c56986c125f6c070a947923223e commit 3e1524f9727a7c56986c125f6c070a947923223e Author: Rodrigo Osorio <rodrigo@FreeBSD.org> AuthorDate: 2022-11-18 07:31:38 +0000 Commit: Rodrigo Osorio <rodrigo@FreeBSD.org> CommitDate: 2022-11-18 07:49:34 +0000 net-mgmt/smokeping: switch from GITHUB to MASTER_SITES During the release process, the Smokeping team updates the version number displayed in the webUI in the archive files but never report this update on the git repo. Instead of trying to fix this issue in the port, we move back to static archives. Apart from version no difference was found on the code. Since I'm here, improve the port itself to make linters happy. PR: 267815 Reported by: Gasol Wu <gasol.wu@gmail.com> net-mgmt/smokeping/Makefile | 46 ++++++++++++++++++++------------------------- net-mgmt/smokeping/distinfo | 6 +++--- 2 files changed, 23 insertions(+), 29 deletions(-)
Committed with additional port improvements, thanks.