summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2006-02-02 10:15:30 +0000
committerrwatson <rwatson@FreeBSD.org>2006-02-02 10:15:30 +0000
commiteb02f34f2c48ec83e8e3f501816203f53fe3f8bd (patch)
treefeb9822e4c58201ecc45303d177871b944bde154 /usr.sbin
parent8c4a42a14fe40953302bff9d01b6c997a770735b (diff)
downloadFreeBSD-src-eb02f34f2c48ec83e8e3f501816203f53fe3f8bd.zip
FreeBSD-src-eb02f34f2c48ec83e8e3f501816203f53fe3f8bd.tar.gz
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
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/Makefile5
-rw-r--r--usr.sbin/audit/Makefile14
-rw-r--r--usr.sbin/auditd/Makefile15
-rw-r--r--usr.sbin/auditreduce/Makefile14
-rw-r--r--usr.sbin/praudit/Makefile14
5 files changed, 62 insertions, 0 deletions
diff --git a/usr.sbin/Makefile b/usr.sbin/Makefile
index 79ffda7..f7d86ff 100644
--- a/usr.sbin/Makefile
+++ b/usr.sbin/Makefile
@@ -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 \
diff --git a/usr.sbin/audit/Makefile b/usr.sbin/audit/Makefile
new file mode 100644
index 0000000..ed195c0
--- /dev/null
+++ b/usr.sbin/audit/Makefile
@@ -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>
diff --git a/usr.sbin/auditd/Makefile b/usr.sbin/auditd/Makefile
new file mode 100644
index 0000000..7a28be2
--- /dev/null
+++ b/usr.sbin/auditd/Makefile
@@ -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>
diff --git a/usr.sbin/auditreduce/Makefile b/usr.sbin/auditreduce/Makefile
new file mode 100644
index 0000000..ed4b748
--- /dev/null
+++ b/usr.sbin/auditreduce/Makefile
@@ -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>
diff --git a/usr.sbin/praudit/Makefile b/usr.sbin/praudit/Makefile
new file mode 100644
index 0000000..4ff08fd
--- /dev/null
+++ b/usr.sbin/praudit/Makefile
@@ -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>
OpenPOWER on IntegriCloud