]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r342153, r342172-r342173
authorAlan Somers <asomers@FreeBSD.org>
Thu, 14 Feb 2019 20:29:33 +0000 (20:29 +0000)
committerAlan Somers <asomers@FreeBSD.org>
Thu, 14 Feb 2019 20:29:33 +0000 (20:29 +0000)
commit6fd01383257496c055d5418269b9a723ebf7976d
tree08b8acd4ebfbfa7f7732ec0c38802fb73c3f395d
parent98a11b476cf7adaca58651a534a1da40d49ed7e4
MFC r342153, r342172-r342173

r342153:
Conditionally install /etc/rc.d/audit* based on ${MK_AUDIT}

/usr/sbin/audit(dist)?d are only installed if ${MK_AUDIT} == yes. Their
supporting scripts should only be installed in those instances as well.

Submitted by: ngie
Reviewed by: emaste
Pull Request: https://github.com/freebsd/freebsd/pull/242

r342172:
audit(4) tests: require /etc/rc.d/auditd

These tests should be skipped if /etc/rc.d/auditd is missing, which could be
the case if world was built with WITHOUT_AUDIT set.  Also, one test case
requires /etc/rc.d/accounting.

Submitted by: ngie
Pull Request: https://github.com/freebsd/freebsd/pull/240

r342173:
Conditionalize installtion audit(4) tests on MK_AUDIT

MK_AUDIT already controls auditd(8), praudit(1), etc.  It should also control
the audit test suite.

Submitted by: ngie
Pull Request: https://github.com/freebsd/freebsd/pull/240
libexec/rc/rc.d/Makefile
tests/sys/Makefile
tests/sys/audit/Makefile
tests/sys/audit/administrative.c
tools/build/mk/OptionalObsoleteFiles.inc