Revert "Drop paxctl"

This reverts commit ae666b0c23.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2017-06-08 15:23:20 +01:00
parent 772237d99f
commit 5e00841da0
6 changed files with 98 additions and 0 deletions

View File

@@ -98,6 +98,10 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
chown clamav:clamav /var/run/clamav
#install initscripts
$(call INSTALL_INITSCRIPT,clamav)
# Disable PaX mprotect for clamd, clamscan and freshclam
paxctl -Cm /usr/sbin/clamd
paxctl -Cm /usr/bin/clamscan
paxctl -Cm /usr/bin/freshclam
@rm -rf $(DIR_APP)
@$(POSTBUILD)