mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
9c8f68ff16
With setaudit it is possible to specify audit configurations on a process directly at the runtime. All audit events are redirected to the auditd(8), an audit log management daemon. Example of enabling all exe related audit events performed by a command and its child processes: # setaudit -m ex command WWW: https://github.com/csjayp/setaudit PR: 226627 Submitted by: Mateusz Piotrowski <0mp@FreeBSD.org>
30 lines
537 B
Makefile
30 lines
537 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= setaudit
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 1.0.3
|
|
CATEGORIES= security
|
|
|
|
MAINTAINER= 0mp@FreeBSD.org
|
|
COMMENT= Tool to specify audit configurations on a process
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= csjayp
|
|
|
|
PLIST_FILES= bin/setaudit \
|
|
man/man8/setaudit.8.gz
|
|
PORTDOCS= README.md
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/setaudit
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|