###############################################################################
# #
# IPFire.org - A linux based firewall #
-# Copyright (C) 2007-2014 IPFire Team <info@ipfire.org> #
+# Copyright (C) 2007-2018 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
include Config
-VER = 0.98.4
+VER = 0.100.1
THISAPP = clamav-$(VER)
DL_FILE = $(THISAPP).tar.gz
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
PROG = clamav
-PAK_VER = 26
+PAK_VER = 39
DEPS = ""
-ifeq "$(MACHINE_TYPE)" "arm"
+ifeq "$(BUILD_PLATFORM)" "arm"
CONFIGURE_FLAGS = --disable-fanotify
endif
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_MD5 = 6d409eab6c311de05a0a591fccd2ec83
+$(DL_FILE)_MD5 = 0f653df0480eebcd828939e8db9f0443
install : $(TARGET)
md5 : $(subst %,%_MD5,$(objects))
-dist:
+dist:
$(PAK)
###############################################################################
rm -rfv /usr/share/clamav/*.cvd
mkdir -p /var/run/clamav
chown clamav:clamav /var/run/clamav
-
- # Disable PaX mprotect for clamd and freshclam
- paxctl -cm /usr/sbin/clamd
- paxctl -cm /usr/bin/clamscan
- paxctl -cm /usr/bin/freshclam
+ #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)