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@
29 lines
531 B
Makefile
29 lines
531 B
Makefile
# $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>
|