From owner-p4-projects@FreeBSD.ORG Sat Oct 23 23:07:46 2004 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id B41B116A4D0; Sat, 23 Oct 2004 23:07:45 +0000 (GMT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8DF9A16A4CE for ; Sat, 23 Oct 2004 23:07:45 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F7A843D1D for ; Sat, 23 Oct 2004 23:07:45 +0000 (GMT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i9NN7jAn032744 for ; Sat, 23 Oct 2004 23:07:45 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i9NN7jGn032741 for perforce@freebsd.org; Sat, 23 Oct 2004 23:07:45 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Date: Sat, 23 Oct 2004 23:07:45 GMT Message-Id: <200410232307.i9NN7jGn032741@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to bb+lists.freebsd.perforce@cyrus.watson.org using -f From: Robert Watson To: Perforce Change Reviews Subject: PERFORCE change 63607 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Oct 2004 23:07:46 -0000 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