Import checkrestart 1.0, from upstream/maintainer Sebastien Marie
checkrestart is a program designed to help to find processes that need restarting after upgrade. checkrestart walks thought entire file table of the system, searching for processes using node detached from filesystem. The typical use case is: - starts a long lived program. - later, upgrades your packages via pkg_add -u. - if the program is updated on disk, the running program is still the previous one (without security fixes for example). - checkrestart will tell you which processes belong to this category. Note that this requires libkvm>=16.2 ok sthen@
This commit is contained in:
parent
f6f1de87e5
commit
49a0723ca9
28
sysutils/checkrestart/Makefile
Normal file
28
sysutils/checkrestart/Makefile
Normal file
@ -0,0 +1,28 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2016/10/06 16:32:30 landry Exp $
|
||||
#
|
||||
|
||||
COMMENT = help to find programs that need restarting after upgrade
|
||||
|
||||
GH_ACCOUNT = semarie
|
||||
GH_PROJECT = checkrestart
|
||||
GH_TAGNAME = 1.0
|
||||
|
||||
CATEGORIES = sysutils
|
||||
HOMEPAGE = https://github.com/semarie/checkrestart
|
||||
|
||||
MAINTAINER = Sebastien Marie <semarie@online.fr>
|
||||
|
||||
# BSD
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
|
||||
# use pledge()
|
||||
WANTLIB = c kvm>=16.2
|
||||
|
||||
MAKE_ENV = BINDIR=${LOCALBASE}/sbin \
|
||||
MANDIR=${LOCALBASE}/man/man
|
||||
|
||||
CONFIGURE_STYLE = none
|
||||
|
||||
NO_TEST = Yes
|
||||
|
||||
.include <bsd.port.mk>
|
2
sysutils/checkrestart/distinfo
Normal file
2
sysutils/checkrestart/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (checkrestart-1.0.tar.gz) = RGf0FQNBZBVfPzEqggw6wwOlGdY55XLfv3U5WKSTKRA=
|
||||
SIZE (checkrestart-1.0.tar.gz) = 3040
|
12
sysutils/checkrestart/pkg/DESCR
Normal file
12
sysutils/checkrestart/pkg/DESCR
Normal file
@ -0,0 +1,12 @@
|
||||
checkrestart is a program designed to help to find processes that need
|
||||
restarting after upgrade.
|
||||
|
||||
checkrestart walks thought entire file table of the system, searching for
|
||||
processes using node detached from filesystem.
|
||||
|
||||
The typical use case is:
|
||||
- starts a long lived program.
|
||||
- later, upgrades your packages via pkg_add -u.
|
||||
- if the program is updated on disk, the running program is still the
|
||||
previous one (without security fixes for example).
|
||||
- checkrestart will tell you which processes belong to this category.
|
3
sysutils/checkrestart/pkg/PLIST
Normal file
3
sysutils/checkrestart/pkg/PLIST
Normal file
@ -0,0 +1,3 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2016/10/06 16:32:30 landry Exp $
|
||||
@man man/man8/checkrestart.8
|
||||
@bin sbin/checkrestart
|
Loading…
Reference in New Issue
Block a user