PERFORCE change 104412 for review
Todd Miller
millert at FreeBSD.org
Thu Aug 17 15:54:11 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=104412
Change 104412 by millert at millert_g4tower on 2006/08/17 15:51:45
Make the sedarwin dirs in export if they don't already exist.
Affected files ...
.. //depot/projects/trustedbsd/sedarwin8/policies/sedarwin/policy/Makefile#3 edit
Differences ...
==== //depot/projects/trustedbsd/sedarwin8/policies/sedarwin/policy/Makefile#3 (text+ko) ====
@@ -36,13 +36,14 @@
install:
./update_plist --policy=$(POLICY) --migscs=sebsd_migscs ../sedarwin/mac_sedarwin.kext/Contents/Info.plist && make -C ../sedarwin mac_sedarwin.kext.tar install
+ mkdir -p $(DESTDIR)/private/etc/sedarwin
+ (cd $(CURDIR)/.. && tar -X policy/excludes -cf - policy) | (cd $(DESTDIR)/private/etc/sedarwin/ && tar -xf -)
+ (cd $(FLASK)/.. && tar -cf - flask) | (cd $(DESTDIR)/private/etc/sedarwin/policy && tar -xf -)
+ cp -f Makefile.install $(DESTDIR)/private/etc/sedarwin/policy/Makefile
$(INSTALL) -o ${BINOWN} -g ${BINGRP} -m 644 ${POLICY} ${DESTDIR}/private/etc/sedarwin/policy
$(INSTALL) -o ${BINOWN} -g ${BINGRP} -m 644 sebsd_migscs ${DESTDIR}/private/etc/sedarwin/policy
$(INSTALL) -o ${BINOWN} -g ${BINGRP} -m 644 failsafe_context ${DESTDIR}/private/etc/sedarwin/contexts
$(INSTALL) -o ${BINOWN} -g ${BINGRP} -m 700 ${SCRIPTS} ${DESTDIR}/private/etc/sedarwin
- (cd $(CURDIR)/.. && tar -X policy/excludes -cf - policy) | (cd $(DESTDIR)/private/etc/sedarwin/ && tar -xf -)
- (cd $(FLASK)/.. && tar -cf - flask) | (cd $(DESTDIR)/private/etc/sedarwin/policy && tar -xf -)
- cp -f Makefile.install $(DESTDIR)/private/etc/sedarwin/policy/Makefile
# Mig security classes and access vectors
More information about the trustedbsd-cvs
mailing list