PERFORCE change 44562 for review

Chris Vance cvance at FreeBSD.org
Tue Dec 30 20:13:39 GMT 2003


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

Change 44562 by cvance at cvance_sony on 2003/12/30 12:13:26

	Install default_type and default_contexts along with the policy

Affected files ...

.. //depot/projects/trustedbsd/sebsd/contrib/sebsd/policy/Makefile#11 edit

Differences ...

==== //depot/projects/trustedbsd/sebsd/contrib/sebsd/policy/Makefile#11 (text+ko) ====

@@ -20,9 +20,10 @@
 CHECKPOLICY = $(DESTDIR)/sbin/sebsd_checkpolicy
 LOADPOLICY = $(DESTDIR)/sbin/sebsd_loadpolicy
 SETFILES = $(DESTDIR)/sbin/sebsd_setfiles
-M4 = $(DESTDIR)/usr/bin/m4 -Imacros -s
+M4 = $(REALDESTDIR)/usr/bin/m4 -Imacros -s
 
 POLICYVER := policy.16
+INSTALLCMD = install -c -o root -g wheel -m 400 
 INSTALLDIR = $(DESTDIR)/etc/security/sebsd
 LOADPATH = $(INSTALLDIR)/$(POLICYVER)
 SRCINSTALLDIR = $(INSTALLDIR)/src
@@ -60,7 +61,10 @@
 	$(CHECKPOLICY) -o $@ policy.conf
 
 install: $(POLICYVER)
-	install -c -o root -g wheel -m 400 $> $(INSTALLDIR)
+	$(INSTALLCMD) $(POLICYVER) $(INSTALLDIR)
+	$(INSTALLCMD) appconfig/default_type  /etc/security 
+	$(INSTALLCMD) appconfig/default_contexts  /etc/security 
+	$(INSTALLCMD) appconfig/initrc_context  /etc/security 
 
 policy.conf: $(FLASKFILES) tmp/te-rbac.m4 users tmp/constraints-contexts.m4
 	cat $> > $@
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