Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Feb 2007 16:00:35 GMT
From:      Todd Miller <millert@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 114631 for review
Message-ID:  <200702161600.l1GG0Z9i035191@repoman.freebsd.org>

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

Change 114631 by millert@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



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