]> git.ipfire.org Git - people/stevee/selinux-policy.git/blobdiff - Rules.monolithic
add support for netfilter_contexts
[people/stevee/selinux-policy.git] / Rules.monolithic
index b066653c84a430e906b9120f95d6ff601a9fbe6a..303d0d7919f52a27ec8b3db156a28244304b6933 100644 (file)
@@ -42,7 +42,7 @@ default: policy
 
 policy: $(POLVER)
 
-install: $(LOADPATH) $(FCPATH) $(APPFILES) $(USERPATH)/local.users
+install: $(LOADPATH) $(FCPATH) $(NCPATH) $(APPFILES) $(USERPATH)/local.users
 
 load: $(TMPDIR)/load
 
@@ -199,6 +199,14 @@ ifeq "$(DISTRO)" "rhel4"
        $(verbose) rm -f $@.homedirs
 endif
 
+########################################
+#
+# Intall netfilter_contexts
+#
+$(NCPATH): $(net_contexts)
+       @echo "Installing $(NAME) netfilter_contexts."
+       $(verbose) install -m 0644 $^ $@
+
 ########################################
 #
 # Run policy source checks