The package includes /var/run/heartbeat.pid, which is rewritten every time heartbeat starts. As a result, pkg check -s always reports this file having a modified checksum. # pkg which /var/run/heartbeat.pid /var/run/heartbeat.pid was installed by package heartbeat-2.1.4_27 # pkg check -s heartbeat Checking heartbeat: 0% heartbeat-2.1.4_27: checksum mismatch for /var/run/heartbeat.pid Checking heartbeat: 100%
Michael, It appears the maintainer is not responding. How about providing a _tested_ patch and we can just commit it?
Hi John, Thanks for reminding me of this. I was mostly looking for maintainer feedback, as the Makefile explicitly states: ${TOUCH} ${STAGEDIR}/var/run/heartbeat.pid on post-install. I'll do some research if there is any specific reason why this is done, if there isn't, I'll commit a tested patch.
A commit references this bug: Author: grembo Date: Tue Aug 16 17:13:30 UTC 2016 New revision: 420291 URL: https://svnweb.freebsd.org/changeset/ports/420291 Log: Remove pid file that was added by accident when stagifying the port. PR: 210601 Approved by: mentors (implicit) Changes: head/sysutils/heartbeat/Makefile head/sysutils/heartbeat/pkg-plist