PERFORCE change 114631 for review
Todd Miller
millert at FreeBSD.org
Fri Feb 16 16:00:35 UTC 2007
http://perforce.freebsd.org/chv.cgi?CH=114631
Change 114631 by millert at millert_p4 on 2007/02/16 16:00:28
Adapt the old policy install path to the new world order.
Affected files ...
.. //depot/projects/trustedbsd/sebsd/contrib/sebsd/policy/Makefile#26 edit
Differences ...
==== //depot/projects/trustedbsd/sebsd/contrib/sebsd/policy/Makefile#26 (text+ko) ====
@@ -33,7 +33,7 @@
.endif
POLICYVER := policy.$(POLICYVERTMP)
POLICYBIN = policy.bin
-INSTALLDIR = $(DESTDIR)/etc/security/sebsd/targeted
+INSTALLDIR = $(DESTDIR)/etc/security/sebsd
POLICYPATH = $(INSTALLDIR)/policy
SRCPATH = $(INSTALLDIR)/src
CONTEXTPATH = $(INSTALLDIR)/contexts
@@ -138,10 +138,10 @@
m4 $(M4PARAM) -Imacros -s $(POLICYFILES) > $@.tmp
mv $@.tmp $@
-install-src: $(SRCPATH)
- rm -rf $(SRCPATH)/policy.old
- -mv $(SRCPATH)/policy $(SRCPATH)/policy.old
- cd ..; tar cf - policy | (cd $(SRCPATH); tar xf -)
+install-src: /etc/security/sebsd
+ rm -rf $(INSTALLDIR)/policy.old
+ -mv $(INSTALLDIR)/policy $(INSTALLDIR)/policy.old
+ cd ..; tar cf - policy | (cd $(INSTALLDIR); tar xf -)
tmp/program_used_flags.te: $(wildcard domains/program/*.te) domains/program
mkdir -p tmp
More information about the p4-projects
mailing list