Date: Wed, 24 May 2006 18:32:09 GMT From: Rob Deker <deker@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 97761 for review Message-ID: <200605241832.k4OIW9Tx044917@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=97761 Change 97761 by deker@sebsd_build on 2006/05/24 18:31:30 Add pre-parsed policy.conf for bootstrapping and fix Makefile to support new bootstrap method. Affected files ... .. //depot/projects/trustedbsd/sebsd/Makefile#17 edit .. //depot/projects/trustedbsd/sebsd/contrib/sebsd/support/policy.conf#1 add Differences ... ==== //depot/projects/trustedbsd/sebsd/Makefile#17 (text+ko) ==== @@ -310,8 +310,17 @@ sebsd_bootstrap: .if exists(${.CURDIR}/contrib/sebsd) @echo "Installing SEBSD policy" - (cd ${.CURDIR}/contrib/sebsd/refpolicy; gmake install-src) - (cd ${DESTDIR}/etc/security/sebsd/${SEBSD_POLICYTYPE}/src/policy; gmake install) +.if exists(${DESTDIR}/usr/bin/checkpolicy) + +.if !exists(${DESTDIR}/etc/security/sebsd/targeted/policy/policy.20) + (${DESTDIR}/usr/bin/checkpolicy -o ${DESTDIR}/etc/security/sebsd/targeted/policy/policy.20 ${.CURDIR}/contrib/sebsd/support/policy.conf) +.else + @echo "Binary policy file found. Not overwriting." +.endif + +.else + @echo /usr/bin/checkpolicy not found. Did you run 'make installworld'? +.endif .endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605241832.k4OIW9Tx044917>