Created attachment 266768 [details] witr-0.1.6 * witr 0.1.6 * Port to FreeBSD via local patch (upstream PR pending)
See: https://github.com/pranshuparmar/witr/pull/95#issuecomment-3707045346
> -X main.buildDate=$$(date -u +%Y-%m-%d)" Will break reproducible builds. What is the benefit here if you cannot use the release date? The code is using procfs(5). A pkg-message should tell which or some functions require it...
How much of the claimed functionality actually works on FreeBSD?
(In reply to Michael Osipov from comment #2) Thanks for the review. I agree with your suggestion. Using the release date for main.buildDate is indeed a better approach. Upon reflection, given that procfs is not enabled by default on FreeBSD, I plan to remove the procfs implementation entirely. I will make these adjustments and upload the updated patch soon.
Created attachment 266803 [details] witr-0.1.7
Created attachment 266804 [details] witr-0.1.7
Created attachment 266805 [details] witr-0.1.7
Created attachment 266806 [details] witr-0.1.7
(In reply to Hung-Yi Chen from comment #4) I don't consider it wrong to use procfs, you just need to tell people what is going to be missing. That's it.
Created attachment 266928 [details] witr 0.2.0
Created attachment 266960 [details] witr 0.2.2
Shall I wait for you to analyze the other issues or go ahead with this one?
I think you can go ahead since upstream is very active.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=0290d902a098f3ff52c9b167a4ffad8b79032dfe commit 0290d902a098f3ff52c9b167a4ffad8b79032dfe Author: Hung-Yi Chen <gaod@hychen.org> AuthorDate: 2026-01-09 14:48:00 +0000 Commit: Michael Osipov <michaelo@FreeBSD.org> CommitDate: 2026-01-09 15:28:57 +0000 [NEW PORT] sysutils/witr: Witr (why-is-this-running) Co-authored-by: Michael Osipov <michaelo@FreeBSD.org> PR: 292143 sysutils/Makefile | 1 + sysutils/witr/Makefile (new) | 37 +++++++++++++++++++++++++++++++++++++ sysutils/witr/distinfo (new) | 15 +++++++++++++++ sysutils/witr/pkg-descr (new) | 20 ++++++++++++++++++++ 4 files changed, 73 insertions(+)