diff --git a/sysutils/Makefile b/sysutils/Makefile index e01e43960e2d..53e5eede79b3 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -359,6 +359,7 @@ SUBDIR += file SUBDIR += filedupe SUBDIR += filelight + SUBDIR += filemon SUBDIR += fileprune SUBDIR += fileschanged SUBDIR += filetype diff --git a/sysutils/filemon/Makefile b/sysutils/filemon/Makefile new file mode 100644 index 000000000000..8de8d25adfa1 --- /dev/null +++ b/sysutils/filemon/Makefile @@ -0,0 +1,22 @@ +# Created by: Rodrigo OSORIO + +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 diff --git a/sysutils/filemon/distinfo b/sysutils/filemon/distinfo new file mode 100644 index 000000000000..d59fcfeef73f --- /dev/null +++ b/sysutils/filemon/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1634030329 +SHA256 (filemon-0.0.1.tar.gz) = f7b33c359ce78d3f70d19ae35fe6f1535d81a4fa3dd08143bdd0be62fc3466d7 +SIZE (filemon-0.0.1.tar.gz) = 2051 diff --git a/sysutils/filemon/pkg-descr b/sysutils/filemon/pkg-descr new file mode 100644 index 000000000000..3f610f5a02a9 --- /dev/null +++ b/sysutils/filemon/pkg-descr @@ -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.