| Summary: | net-mgmt/nagios-check_smartmon: fix temperature recognition for some devices | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Denis Shaposhnikov <dsh> | ||||||
| Component: | Individual Port(s) | Assignee: | freebsd-ports-bugs (Nobody) <ports-bugs> | ||||||
| Status: | Closed FIXED | ||||||||
| Severity: | Affects Many People | CC: | fernape, ports | ||||||
| Priority: | --- | Keywords: | needs-qa | ||||||
| Version: | Latest | Flags: | bugzilla:
maintainer-feedback?
(ports) |
||||||
| Hardware: | Any | ||||||||
| OS: | Any | ||||||||
| Attachments: |
|
||||||||
|
Description
Denis Shaposhnikov
2021-10-06 19:10:43 UTC
Comment on attachment 228485 [details]
patch-check_smartmon2
it is OK for me. Thank you Dan for your work
^Triage: PATCH tags are deprecated.-------------------------- Hi Denis, unfortunately, patch does not apply: patch -p0 -E < ~/Downloads/patch-check_smartmon2 Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- check_smartmon |+++ check_smartmon -------------------------- Patching file check_smartmon using Plan A... Hunk #1 succeeded at 59. Hunk #2 failed at 231. Hunk #3 succeeded at 291 with fuzz 2 (offset -14 lines). Hunk #4 succeeded at 306 (offset -14 lines). 1 out of 4 hunks failed--saving rejects to check_smartmon.rej done Would you mind checking it? Also it would be great if you could send a patch for the port itself as explained in https://docs.freebsd.org/en/books/porters-handbook/book/#slow-patch Thanks! Created attachment 228519 [details]
nagios-check_smartmon.diff
Hi!
I attached patch-check_smartmon2 for better understanding about this change. Here I'm attaching a patch for the port itself, as requested. I hope, I generated it correct.
(In reply to Denis Shaposhnikov from comment #3) Excellent Denis, I'll run some tests and commit shortly. Thanks! A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=0eb4d839a6d8ab9a9ce44e59f1dc6c4bc24f62bf commit 0eb4d839a6d8ab9a9ce44e59f1dc6c4bc24f62bf Author: Denis Shaposhnikov <dsh@bamus.cz> AuthorDate: 2021-10-11 16:26:02 +0000 Commit: Fernando Apesteguía <fernape@FreeBSD.org> CommitDate: 2021-10-12 11:49:08 +0000 net-mgmt/nagios-check_smartmon: fix temperature recognition for some devices Based on a patch[1] by Dan Langille [1] https://reviews.freebsd.org/D30712 PR: 258965 Reported by: dsh@bamus.cz Approved by: ports@bsdserwis.com net-mgmt/nagios-check_smartmon/Makefile | 8 +-- .../files/patch-check_smartmon | 75 ++++++++++++++++++---- 2 files changed, 65 insertions(+), 18 deletions(-) Committed, Thanks! |