1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

sysutils/filemon: Adds filemon(1), a trivial wrapper around filemon(4)

Filemon is a simple application who log child process file access
using filemon iocl.

PR:		259099
Reported by:	Daniel O'Connor <darius@dons.net.au>
This commit is contained in:
Rodrigo Osorio 2022-05-15 15:12:31 +02:00
parent 9a2f47f0cd
commit b59ab55b92
4 changed files with 31 additions and 0 deletions

View File

@ -359,6 +359,7 @@
SUBDIR += file
SUBDIR += filedupe
SUBDIR += filelight
SUBDIR += filemon
SUBDIR += fileprune
SUBDIR += fileschanged
SUBDIR += filetype

22
sysutils/filemon/Makefile Normal file
View File

@ -0,0 +1,22 @@
# Created by: Rodrigo OSORIO <rodrigo@FreeBSD.org>
PORTNAME= filemon
PORTVERSION= 0.0.1
CATEGORIES= sysutils
MASTER_SITES= http://rodrigo.osorio.free.fr/freebsd/distfiles/
MAINTAINER= rodrigo@FreeBSD.org
COMMENT= Trivial tool to log child process file access using filemon ioctl
LICENSE= BSD2CLAUSE
MANDIRS= ${MANPREFIX}/man/man1
PLIST_FILES= bin/filemon \
man/man1/filemon.1.gz
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1634030329
SHA256 (filemon-0.0.1.tar.gz) = f7b33c359ce78d3f70d19ae35fe6f1535d81a4fa3dd08143bdd0be62fc3466d7
SIZE (filemon-0.0.1.tar.gz) = 2051

View File

@ -0,0 +1,5 @@
The filemon utility is a simple wrapper around the
filemon(4) kernel facility. Unlike ktrace(1) the
trace file can be a named pipe.
This tool requires filemon kernel module.