PERFORCE change 63607 for review

Robert Watson rwatson at FreeBSD.org
Sat Oct 23 23:07:45 GMT 2004


http://perforce.freebsd.org/chv.cgi?CH=63607

Change 63607 by rwatson at 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
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message



More information about the trustedbsd-cvs mailing list