Port details |
- checkrestart Find processes that need restarting after an upgrade
- 0.5.0_1 sysutils =2 0.5.0_1Version of this port present on the latest quarterly branch.
- Maintainer: tom@hur.st
- Port Added: 2020-02-25 12:47:37
- Last Update: 2024-01-10 15:29:49
- Commit Hash: e4610fc
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- License: MIT
- WWW:
- https://github.com/Freaky/checkrestart
- Description:
- Find processes using stale binaries or shared libraries that may need
restarting after an upgrade.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- checkrestart>0:sysutils/checkrestart
- To install the port:
- cd /usr/ports/sysutils/checkrestart/ && make install clean
- To add the package, run one of these commands:
- pkg install sysutils/checkrestart
- pkg install checkrestart
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: checkrestart
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1585601339
SHA256 (Freaky-checkrestart-v0.5.0_GH0.tar.gz) = c37f40ad618d978fe413c71c367af5aefaeb1d600d72725294df8b3523e20e9c
SIZE (Freaky-checkrestart-v0.5.0_GH0.tar.gz) = 5659
Packages (timestamps in pop-ups are UTC):
- This port has no dependencies.
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- sysutils_checkrestart
- pkg-message:
- For install:
- 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
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
0.5.0_1 10 Jan 2024 15:29:49 |
Baptiste Daroussin (bapt) |
MAN?PREFIX: eleminate its usage and move man to share/man |
0.5.0_1 08 May 2023 13:10:17 |
Fernando Apesteguía (fernape) Author: Thomas Hurst |
sysutils/checkrestart: Pacify check-plist
Fix extra slash.
PR: 271282
Reported by: jcfyecrayz@liamekaens.com (maintainer) |
07 Sep 2022 21:58:51 |
Stefan Eßer (se) |
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) |
0.5.0_1 07 Sep 2022 21:10:59 |
Stefan Eßer (se) |
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 ) |
0.5.0_1 07 Apr 2021 08:09:01 |
Mathieu Arnold (mat) |
One more small cleanup, forgotten yesterday.
Reported by: lwhsu |
0.5.0_1 06 Apr 2021 14:31:13 |
Mathieu Arnold (mat) |
all: Remove all other $FreeBSD keywords. |
0.5.0_1 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
0.5.0_1 04 Apr 2020 11:58:03 |
fernape |
sysutils/checkrestart: improve rc script
* Use %%PREFIX%% in checkrestart.in
* Use check_yesno_period instead of handmade solution
PR: 245283
Submitted by: tom@hur.st (maintainer)
Reported by: 0mp@ |
0.5.0 02 Apr 2020 11:51:24 |
fernape |
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) |
0.4.0 23 Mar 2020 06:45:05 |
fernape |
sysutils/checkrestart: Update to 0.4.0
From ChangeLog: https://github.com/Freaky/checkrestart/releases/tag/v0.4.0
Added:
* Allow filtering by process name and process group
Fixed:
* Call xo_finish() in usage()
PR: 244993
Submitted by: tom@hur.st (maintainer) |
0.3.0 03 Mar 2020 18:07:01 |
fernape |
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) |
0.2.0 25 Feb 2020 12:47:26 |
0mp |
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> |