When installing sysutils/tuptime on a system, the following advert message is printed: ====================================================================== tuptime requires linprocfs(5) mounted under /compat/linux/proc. If you have not done it yet, please do the following: mkdir -p /usr/compat/linux/proc; ln -sf usr/compat /compat mount -t linprocfs linprocfs /compat/linux/proc To make it permanent, you need the following lines in /etc/fstab: linproc /compat/linux/proc linprocfs rw,late 0 0 tuptime also requires the following be added to /etc/crontab: */5 * * * * root test -x /usr/local/bin/tuptime && /usr/local/bin/tuptime -x > /dev/null ====================================================================== The 3.2.01 version doesn't require linprocfs because it retrieves kernel state trought sysctl.
This was an oversight when the committer updated the port before committing it into the freebsd tree. I have added a patch to the original PR (203079) that corrects this and a few other minor changes to the port.
@Jeremy what was your intended meaning for setting maintainer-feedback to "-" ? It this issue addressed by bug 203079? If so, this issue can depend on it.
(In reply to Kubilay Kocak from comment #2) Mis-click on my part, this bug should depend on 203079
Thanks Jeremy. Bug 203079 has been set as a dependency, and it appears closed. Does that mean this issue can now be closed?
(In reply to Kubilay Kocak from comment #4) I had replied to the bug report and thought it would automatically re-open the bug but apparently this is not how bugzilla works. I attached a patch to the previous bug report that needs to be applied that corrects the pkg-message and installs the db upgrade scripts that are included in newer versions that were not included when I first created the port.
Please obsolete the patch there and add the attachment here, since the original one is closed.
Created attachment 162665 [details] Correct pkg-message.in and install upgrade scripts for older databases. Correct pkg-message.in and install upgrade scripts for older databases.
Thanks Jeremy, can you confirm this passes QA? (portlint/poudriere testport)
Created attachment 162666 [details] poudriere testport output
Committed, thanks.
A commit references this bug: Author: pi Date: Sun Nov 22 08:02:42 UTC 2015 New revision: 402218 URL: https://svnweb.freebsd.org/changeset/ports/402218 Log: sysutils/tuptime: small fixes - correct pkg-message and install upgrade scripts for older databases PR: 204145 Submitted by: ricardo.fraile@gmail.com Approved by: jeremy@smart-serv.net (maintainer) Changes: head/sysutils/tuptime/Makefile head/sysutils/tuptime/files/pkg-message.in