Created attachment 224483 [details] shar archive of bind_exporter port
(In reply to Matt Moriarity from comment #0) I feel like the port is better suited for the sysutils category, with dns as a secondary category? Otherwise looks good to my eyes.
(In reply to Guangyuan Yang from comment #1) No argument from me, I was kind of guessing on the category, this is my first port submission. Do you need me to attach a new version with that fixed in order to proceed?
(In reply to Matt Moriarity from comment #2) Do you need me to attach a new version with that fixed in order to proceed? That would be great, thanks! And also, add an entry to sysutils/Makefile to hook this port to build.
Created attachment 225456 [details] updated git diff of bind_exporter port Moved to sysutils category, and added to SUBDIRS in sysutils/Makefile
(In reply to Matt Moriarity from comment #4) One nit before committing: - It would be nice to have a desc= field for `service bind_exporter describe`. Also, after one more quick research (sorry!), it seems that most *_exporter ports are in the net-mgmt category, so I think in this case, `net-mgmt dns` sounds reasonable to me for CATEGORIES. (I can also just change it before committing with your approval, if you don't feel like updating the patch once again).
Created attachment 225809 [details] updated patch I moved the port to the net-mgmt category and added a desc field to the RC script, so I think this should be ready to go now.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=616f6f41d370868ea4fb49e026cad28eeb9e6c86 commit 616f6f41d370868ea4fb49e026cad28eeb9e6c86 Author: Matt Moriarity <matt@mattmoriarity.com> AuthorDate: 2021-06-15 01:22:16 +0000 Commit: Guangyuan Yang <ygy@FreeBSD.org> CommitDate: 2021-06-15 01:22:16 +0000 net-mgmt/bind_exporter: New port Prometheus exporter for BIND server statistics. PR: 255449 Approved by: lwhsu (mentor) net-mgmt/Makefile | 1 + net-mgmt/bind_exporter/Makefile (new) | 55 ++++++++++++++++++ net-mgmt/bind_exporter/distinfo (new) | 49 ++++++++++++++++ .../bind_exporter/files/bind_exporter.in (new) | 65 ++++++++++++++++++++++ net-mgmt/bind_exporter/pkg-descr (new) | 4 ++ net-mgmt/bind_exporter/pkg-plist (new) | 1 + 6 files changed, 175 insertions(+)
Committed, thanks!