In order to enable periodic(8) checks, set the following in /etc/periodic.conf
# Required
security_checkrestart_enable="YES"
# Optional
security_checkrestart_period="DAILY" # or WEEKY, or MONTHLY
security_checkrestart_jails="0 web" # limit to jails 0 and web
security_checkrestart_users="root www" # limit to root and www users
security_checkrestart_procs="smbd httpd" # limit to samba and httpd
If upgrading from < 0.5.0_1:
The periodic(8) script is now a security script. All 'daily_checkrestart_'
instances in /etc/periodic.conf should be changed to 'security_checkrestart_'.
i.e.
daily_checkrestart_enable="YES"
is now:
security_checkrestart_enable="YES"
daily_checkrestart_weekdays is no longer supported. The security period
mechanism should be used instead:
security_checkrestart_period="DAILY" # or WEEKLY, or MONTHLY
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
sysutils/checkrestart: Update to 0.5.0
ChangeLog: https://github.com/Freaky/checkrestart/releases/tag/v0.5.0
Added
* -u flag for username/ID filtering
* USER column, and uid field for JSON/XML
Changed
* COMMAND column is now ARGUMENTS
* NAME column is now COMMAND
* UPDATED column is now WHY
* libxo output version 2 for new/renamed fields
Fixed
* Don't pad ARGUMENTS column
* Allow filtering by jid 0
PR: 245195
Submitted by: tom@hur.st (maintainer)
sysutils/checkrestart: update to 0.3.0
From ChangeLog: https://github.com/Freaky/checkrestart/releases/tag/v0.3.0
Added
* -j flag accepting either a numeric jail ID or jail name
Fixed
* Added --libxo to usage diagnostic.
* Properly treat pid as the key field for libxo (was pid and jid)
PR: 244531
Submitted by: tom@hur.st (maintainer)
New port: sysutils/checkrestart
Find processes using stale binaries or shared libraries that may need
restarting after an upgrade.
WWW: http://github.com/Freaky/checkrestart
PR: 244295
Submitted by: Thomas Hurst <tom@hur.st>