From nobody Sun May 15 13:33:10 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id CF6861AD4DAB; Sun, 15 May 2022 13:33:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4L1NcQ5T5Qz4hD1; Sun, 15 May 2022 13:33:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652621590; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=XrTd9OXi4EZIv02FJqqmxxrCs4fhSsa3VOV+qEt/d8Q=; b=uKfWKIZtGe1+YD3wYkzeXpcbpo/Ah0DbtuVpQpVxL2qWSiBOo4FdT1LNtq25fasVLB4elG zJ49Gy+WJojRKBD4SnFO/dRJc4F1Umj5naR3Set79DdzAfUCQo+04JbNRQMXXtH6gJmj4q xdFua0KPBoD4uGf1LbpjeUiseIbLbVKR0zzW4rd44tNsU0ZLH+p4ZhHA93xWZHwwcau7Um O9ZJFZsjkSli3ptghfUYlhAmbTJyXNZnZNlvJTTdhpYtpnpbl6lzy+IUT1W/qPKfKOPDWA c8ABOrfp3wkGNwWl2SHzb7gcY6NMKD6ICSxWrwbDMzIgtpAlDkYFY+OJK9N5Ww== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9CCE14673; Sun, 15 May 2022 13:33:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 24FDXAO0003860; Sun, 15 May 2022 13:33:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24FDXA34003859; Sun, 15 May 2022 13:33:10 GMT (envelope-from git) Date: Sun, 15 May 2022 13:33:10 GMT Message-Id: <202205151333.24FDXA34003859@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Rodrigo Osorio Subject: git: b59ab55b9287 - main - sysutils/filemon: Adds filemon(1), a trivial wrapper around filemon(4) List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: rodrigo X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b59ab55b92871c132a56a70ff7a0a303fc4908a3 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652621590; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=XrTd9OXi4EZIv02FJqqmxxrCs4fhSsa3VOV+qEt/d8Q=; b=E0OPSg3r8wNFrd5P/7WeUowTPNXI7bey+odn06qDpt4MlScbUe7PIAMslZvQXzJyteK70f EHa6dam1q3YdiLl2flSekQM6OLbyYkUmHWun71Rd41ubNJ4EKWLD3ol4bIm6f5KsWpXaEA 2I0uDmt0UcxxWAkiULglG8LXcfHApqRaQ+9hrfZS6hVPetotGejOjgX3BhMXmyN0z8ZcjB fNmcu49igOYuDFE7fEfkpSeVbGoe6RK76+bjMoyG4XUtIRI+azq7bUieodsFRQFaZ9thm+ kWhhbPd3YiQGurZV3g+HglVLRpEl5gJKgTr3nTa0Rq/dZ6rlZYgolSe3H6FRYw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652621590; a=rsa-sha256; cv=none; b=bpqHBf4Ow7j5UhbNmpJDb0WJ6ztmSqpawNzyTjf5tACoRFcfXdJM5EAT8q2as+sVvpRj9D Kb4DrYEyo4kMVDSTycWGd+DJhcbUSZWxQOMqeiMvq63mI1Whv1UN+hosmHfijE24D/5vva 1riRPrLPSiJhSJwQqCLHQHm8jPoiiWltIFPufQTBS8vYcejtjzVhp7iBZVnk5zk5IN2NEU sVGXiLg4n9Yp9qr8GRQWGe+XlleodvhtIcNPlyixvruRqXPaIm62pqcY6qrmu6nqmAMVBq Ta2gncSVrglsQk62Yg9eYAW/I2rmqTGK9XwDlIXiA5++XdDnriJ/Mq/Xl8IymQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by rodrigo: URL: https://cgit.FreeBSD.org/ports/commit/?id=b59ab55b92871c132a56a70ff7a0a303fc4908a3 commit b59ab55b92871c132a56a70ff7a0a303fc4908a3 Author: Rodrigo Osorio AuthorDate: 2022-05-15 13:12:31 +0000 Commit: Rodrigo Osorio CommitDate: 2022-05-15 13:21:15 +0000 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 --- sysutils/Makefile | 1 + sysutils/filemon/Makefile | 22 ++++++++++++++++++++++ sysutils/filemon/distinfo | 3 +++ sysutils/filemon/pkg-descr | 5 +++++ 4 files changed, 31 insertions(+) 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.