Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Dec 2003 12:13:39 -0800 (PST)
From:      Chris Vance <cvance@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 44562 for review
Message-ID:  <200312302013.hBUKDdB7036925@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=44562

Change 44562 by cvance@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 $> > $@



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200312302013.hBUKDdB7036925>