Date: Sat, 23 Oct 2004 23:07:45 GMT From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 63607 for review Message-ID: <200410232307.i9NN7jGn032741@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=63607 Change 63607 by rwatson@rwatson_tislabs on 2004/10/23 23:07:06 Install audit_* files from contrib/bsm/etc into /etc/security. Affected files ... .. //depot/projects/trustedbsd/audit3/etc/Makefile#2 edit Differences ... ==== //depot/projects/trustedbsd/audit3/etc/Makefile#2 (text+ko) ==== @@ -19,6 +19,16 @@ ${.CURDIR}/../gnu/usr.bin/man/manpath/manpath.config \ ${.CURDIR}/../usr.bin/mail/misc/mail.rc \ ${.CURDIR}/../usr.bin/locate/locate/locate.rc + +.if !defined(NO_AUDIT) +BSM_ETC_OPEN_FILES= ${.CURDIR}/../contrib/bsm/etc/audit_class \ + ${.CURDIR}/../contrib/bsm/etc/audit_event +BSM_ETC_RESTRICTED_FILES= ${.CURDIR}/../contrib/bsm/etc/audit_control \ + ${.CURDIR}/../contrib/bsm/etc/audit_user +BSM_ETC_EXEC_FILES= ${.CURDIR}/../contrib/bsm/etc/audit_warn +BSM_ETC_DIR= ${DESTDIR}/etc/security +.endif + .if !defined(NO_LPR) BIN1+= printcap .endif @@ -83,6 +93,14 @@ cd ${.CURDIR}/../share/termcap; ${MAKE} etc-termcap cd ${.CURDIR}/../usr.sbin/rmt; ${MAKE} etc-rmt cd ${.CURDIR}/pam.d; ${MAKE} install +.if !defined(NO_AUDIT) + cd ${.CURDIR}; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 0444 \ + ${BSM_ETC_OPEN_FILES} ${BSM_ETC_DIR} + cd ${.CURDIR}; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 0400 \ + ${BSM_ETC_RESTRICTED_FILES} ${BSM_ETC_DIR} + cd ${.CURDIR}; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 0500 \ + ${BSM_ETC_EXEC_FILES} ${BSM_ETC_DIR} +.endif .if !defined(NO_I4B) cd ${.CURDIR}/isdn; ${MAKE} install .endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200410232307.i9NN7jGn032741>