mirror of
https://git.freebsd.org/ports.git
synced 2025-06-02 19:36:28 -04:00
lsop is a FreeBSD utility to list all processes running with outdated binaries or shared libraries (that is, binaries or shared libraries that have been upgraded or simply deleted). lsop does not currently work when started in a FreeBSD jail! WWW: https://github.com/606u/lsop PR: 213340 Submitted by: 606u@dir.bg Approved by: lme (mentor) Differential Revision: https://reviews.freebsd.org/D10083
28 lines
648 B
Makefile
28 lines
648 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= lsop
|
|
PORTVERSION= 0.1
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= sysutils
|
|
|
|
MAINTAINER= 606u@dir.bg
|
|
COMMENT= List all processes running with outdated binaries or shared libraries
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= 606u
|
|
|
|
PLIST_FILES= sbin/lsop \
|
|
libexec/nagios/check_restart
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|lsop|${PREFIX}/sbin/lsop|' ${WRKSRC}/check_restart
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/lsop ${STAGEDIR}${PREFIX}/sbin
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/libexec/nagios
|
|
${INSTALL_SCRIPT} ${WRKSRC}/check_restart ${STAGEDIR}${PREFIX}/libexec/nagios
|
|
|
|
.include <bsd.port.mk>
|