Enable building of OpenBSM command line tools:

- audit(8) - audit subsystem management tool
- auditd(8) - audit trail and subsystem management daemon
- auditreduce(1) - audit trail reduction tool
- praudit(1) - audit trail printing tool

Could probably use a NO_AUDIT make.conf flag.

Obtained from:	TrustedBSD Project
This commit is contained in:
Robert Watson 2006-02-02 10:15:30 +00:00
parent 65eb7df05a
commit 8d87990e51
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=155213
5 changed files with 62 additions and 0 deletions

View File

@ -12,6 +12,10 @@ SUBDIR= ac \
${_apmd} \
${_arlcontrol} \
arp \
audit \
auditd \
auditon \
auditreduce \
${_asf} \
${_atm} \
${_authpf} \
@ -120,6 +124,7 @@ SUBDIR= ac \
pppd \
pppstats \
${_praliases} \
praudit \
procctl \
pstat \
pw \

14
usr.sbin/audit/Makefile Normal file
View File

@ -0,0 +1,14 @@
#
# $FreeBSD$
#
OPENBSMDIR=${.CURDIR}/../../contrib/openbsm
.PATH: ${OPENBSMDIR}/bin/audit
PROG= audit
MAN= audit.8
DPADD= ${LIBBSM}
LDADD= -lbsm
.include <bsd.prog.mk>

15
usr.sbin/auditd/Makefile Normal file
View File

@ -0,0 +1,15 @@
#
# $FreeBSD$
#
OPENBSMDIR=${.CURDIR}/../../contrib/openbsm
.PATH: ${OPENBSMDIR}/bin/auditd
PROG= auditd
SRCS= auditd.c audit_warn.c
MAN= auditd.8
DPADD= ${LIBBSM}
LDADD= -lbsm
.include <bsd.prog.mk>

View File

@ -0,0 +1,14 @@
#
# $FreeBSD$
#
OPENBSMDIR=${.CURDIR}/../../contrib/openbsm
.PATH: ${OPENBSMDIR}/bin/auditreduce
PROG= auditreduce
MAN= auditreduce.1
DPADD= ${LIBBSM}
LDADD= -lbsm
.include <bsd.prog.mk>

14
usr.sbin/praudit/Makefile Normal file
View File

@ -0,0 +1,14 @@
#
# $FreeBSD$
#
OPENBSMDIR=${.CURDIR}/../../contrib/openbsm
.PATH: ${OPENBSMDIR}/bin/praudit
PROG= praudit
MAN= praudit.1
DPADD= ${LIBBSM}
LDADD= -lbsm
.include <bsd.prog.mk>