aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTopi Miettinen <toiwoton@gmail.com>2020-04-22 19:13:02 +0300
committerJason Zaman <perfinion@gentoo.org>2020-08-09 19:58:44 -0700
commit7e72cf779053324c466d557178726b106809e157 (patch)
tree8d4c0c63c68b7cf2f19e16da5f91086dae0241ad /Rules.monolithic
parentssh: fix for debian wrapper script (diff)
downloadhardened-refpolicy-7e72cf779053324c466d557178726b106809e157.tar.gz
hardened-refpolicy-7e72cf779053324c466d557178726b106809e157.tar.bz2
hardened-refpolicy-7e72cf779053324c466d557178726b106809e157.zip
Build and install Netfilter rules
Build SECMARK rules for iptables and NFT, install them as /usr/share/doc/$PKGNAME/netfilter_contexts{,.nft}. Signed-off-by: Topi Miettinen <toiwoton@gmail.com> Signed-off-by: Jason Zaman <perfinion@gentoo.org>
Diffstat (limited to 'Rules.monolithic')
-rw-r--r--Rules.monolithic11
1 files changed, 1 insertions, 10 deletions
diff --git a/Rules.monolithic b/Rules.monolithic
index 2cfd907b..a372d421 100644
--- a/Rules.monolithic
+++ b/Rules.monolithic
@@ -202,15 +202,6 @@ $(fcpath): $(fc) $(loadpath) $(userpath)/system.users
########################################
#
-# Intall netfilter_contexts
-#
-$(ncpath): $(net_contexts)
- @echo "Installing $(NAME) netfilter_contexts."
- @$(INSTALL) -d -m 0755 $(@D)
- $(verbose) $(INSTALL) -m 0644 $^ $@
-
-########################################
-#
# Validate file contexts
#
validate: $(fc) $(polver)
@@ -253,7 +244,7 @@ clean:
$(verbose) rm -f $(polver)
$(verbose) rm -f $(fc)
$(verbose) rm -f $(homedir_template)
- $(verbose) rm -f $(net_contexts)
+ $(verbose) rm -f $(net_contexts) $(net_contexts_nft)
$(verbose) rm -f *.res
$(verbose) rm -fR $(tmpdir)