aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--UPDATING5
-rw-r--r--lib/libauditd/Makefile1
-rw-r--r--lib/libbsm/Makefile6
-rw-r--r--libexec/rc/rc.d/Makefile2
-rw-r--r--release/packages/Makefile.package2
-rw-r--r--usr.sbin/audit/Makefile1
-rw-r--r--usr.sbin/auditd/Makefile11
-rw-r--r--usr.sbin/auditdistd/Makefile1
-rw-r--r--usr.sbin/auditreduce/Makefile1
-rw-r--r--usr.sbin/praudit/Makefile1
10 files changed, 23 insertions, 8 deletions
diff --git a/UPDATING b/UPDATING
index 0c0134022861..98d8b58dcd20 100644
--- a/UPDATING
+++ b/UPDATING
@@ -27,6 +27,11 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 15.x IS SLOW:
world, or to merely disable the most expensive debugging functionality
at runtime, run "ln -s 'abort:false,junk:false' /etc/malloc.conf".)
+20240428:
+ OpenBSM auditing runtime (auditd, etc.) has been moved into the new
+ package FreeBSD-audit. If you use OpenBSM auditing and pkgbase, you
+ should install FreeBSD-audit.
+
20240424:
cron, lpr, and ntpd have been moved from FreeBSD-utilities into their
own packages. If you use pkgbase, you should install the relevant
diff --git a/lib/libauditd/Makefile b/lib/libauditd/Makefile
index 26da06489d05..76ffb70bbe25 100644
--- a/lib/libauditd/Makefile
+++ b/lib/libauditd/Makefile
@@ -5,6 +5,7 @@ OPENBSMDIR= ${SRCTOP}/contrib/openbsm
_LIBAUDITDDIR= ${OPENBSMDIR}/libauditd
_LIBBSMDIR= ${OPENBSMDIR}/libbsm
+PACKAGE= audit
LIB= auditd
.PATH: ${_LIBAUDITDDIR}
diff --git a/lib/libbsm/Makefile b/lib/libbsm/Makefile
index 54af604eaa8e..67802eef62ac 100644
--- a/lib/libbsm/Makefile
+++ b/lib/libbsm/Makefile
@@ -60,12 +60,6 @@ MAN= libbsm.3 \
# they're not all libbsm parts.
#
MAN+= audit.2 \
- audit.log.5 \
- audit_class.5 \
- audit_control.5 \
- audit_event.5 \
- audit_user.5 \
- audit_warn.5 \
auditctl.2 \
auditon.2 \
getaudit.2 \
diff --git a/libexec/rc/rc.d/Makefile b/libexec/rc/rc.d/Makefile
index 6e9cb7fc50ae..9a04400e2924 100644
--- a/libexec/rc/rc.d/Makefile
+++ b/libexec/rc/rc.d/Makefile
@@ -167,7 +167,7 @@ APMPACKAGE= apm
CONFGROUPS+= AUDIT
AUDIT+= auditd
AUDIT+= auditdistd
-AUDITPACKAGE= rc
+AUDITPACKAGE= audit
.endif
.if ${MK_AUTOFS} != "no"
diff --git a/release/packages/Makefile.package b/release/packages/Makefile.package
index 2c0aa259737d..aed7746e690f 100644
--- a/release/packages/Makefile.package
+++ b/release/packages/Makefile.package
@@ -11,6 +11,8 @@ apm_COMMENT= APM Utilities
apm_DESC= APM Utilities
at_COMMENT= AT Utilities
at_DESC= AT Utilities
+audit_COMMENT= OpenBSM auditing utilities
+audit_DESC= OpenBSM auditing utilities
autofs_COMMENT= Autofs Utilities
autofs_DESC= Autofs Utilities
bhyve_COMMENT= Bhyve Utilities
diff --git a/usr.sbin/audit/Makefile b/usr.sbin/audit/Makefile
index 55ddfa4bc9a5..82b21081a97d 100644
--- a/usr.sbin/audit/Makefile
+++ b/usr.sbin/audit/Makefile
@@ -6,6 +6,7 @@ OPENBSMDIR=${SRCTOP}/contrib/openbsm
CFLAGS+= -I${OPENBSMDIR}
+PACKAGE=audit
PROG= audit
MAN= audit.8
diff --git a/usr.sbin/auditd/Makefile b/usr.sbin/auditd/Makefile
index b13ff5355c4b..a381b5e7a60b 100644
--- a/usr.sbin/auditd/Makefile
+++ b/usr.sbin/auditd/Makefile
@@ -3,6 +3,7 @@
OPENBSMDIR=${SRCTOP}/contrib/openbsm
.PATH: ${OPENBSMDIR}/bin/auditd
+.PATH: ${OPENBSMDIR}/man
CFLAGS+= -I${OPENBSMDIR}
@@ -18,9 +19,17 @@ CONFSMODE_${OPENBSMETCDIR}/audit_user= 600
CONFS+= ${OPENBSMETCDIR}/audit_warn
CONFSMODE_${OPENBSMETCDIR}/audit_warn= 500
CONFSDIR= /etc/security
+
+PACKAGE=audit
PROG= auditd
SRCS= auditd.c audit_warn.c auditd_fbsd.c
-MAN= auditd.8
+MAN= auditd.8 \
+ audit.log.5 \
+ audit_class.5 \
+ audit_control.5 \
+ audit_event.5 \
+ audit_user.5 \
+ audit_warn.5
LIBADD= auditd bsm
diff --git a/usr.sbin/auditdistd/Makefile b/usr.sbin/auditdistd/Makefile
index 9bfa3c444922..8b3c7dd7f87c 100644
--- a/usr.sbin/auditdistd/Makefile
+++ b/usr.sbin/auditdistd/Makefile
@@ -13,6 +13,7 @@ CFLAGS+=-DOPENSSL_API_COMPAT=0x10100000L
NO_WFORMAT=
NO_WMISSING_VARIABLE_DECLARATIONS=
+PACKAGE=audit
PROG= auditdistd
SRCS= auditdistd.c
SRCS+= parse.y pjdlog.c
diff --git a/usr.sbin/auditreduce/Makefile b/usr.sbin/auditreduce/Makefile
index 66bc55af87a9..566b36712782 100644
--- a/usr.sbin/auditreduce/Makefile
+++ b/usr.sbin/auditreduce/Makefile
@@ -6,6 +6,7 @@ OPENBSMDIR=${SRCTOP}/contrib/openbsm
CFLAGS+= -I${OPENBSMDIR}
+PACKAGE=audit
PROG= auditreduce
MAN= auditreduce.1
diff --git a/usr.sbin/praudit/Makefile b/usr.sbin/praudit/Makefile
index 2eb78dddf292..bb4c0fdf3258 100644
--- a/usr.sbin/praudit/Makefile
+++ b/usr.sbin/praudit/Makefile
@@ -8,6 +8,7 @@ OPENBSMDIR=${SRCTOP}/contrib/openbsm
CFLAGS+= -I${OPENBSMDIR}
+PACKAGE=audit
PROG= praudit
MAN= praudit.1