X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=lfs%2Fclamav;h=7623801fb8a7c5537c1672038b5c9d3ff22518f5;hb=be5a22bf095c5cd2b23694218983fd619a2cdce2;hp=2c996b26a5353f9242676329d710b29a3b2d97f7;hpb=de0ccf8f8c9fc6b695f45a3fdcf0a85c3b3d5299;p=people%2Fpmueller%2Fipfire-2.x.git diff --git a/lfs/clamav b/lfs/clamav index 2c996b26a5..7623801fb8 100644 --- a/lfs/clamav +++ b/lfs/clamav @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2014 IPFire Team # +# Copyright (C) 2007-2018 IPFire Team # # # # 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 # @@ -24,7 +24,7 @@ include Config -VER = 0.98.5 +VER = 0.100.0 THISAPP = clamav-$(VER) DL_FILE = $(THISAPP).tar.gz @@ -32,11 +32,11 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = clamav -PAK_VER = 27 +PAK_VER = 38 DEPS = "" -ifeq "$(MACHINE_TYPE)" "arm" +ifeq "$(BUILD_PLATFORM)" "arm" CONFIGURE_FLAGS = --disable-fanotify endif @@ -48,7 +48,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_MD5 = abb5c7efaff3394c0a49ff970841a2ac +$(DL_FILE)_MD5 = 93e8efb489c2afdfca73703b76c24e01 install : $(TARGET) @@ -58,7 +58,7 @@ download :$(patsubst %,$(DIR_DL)/%,$(objects)) md5 : $(subst %,%_MD5,$(objects)) -dist: +dist: $(PAK) ############################################################################### @@ -93,11 +93,12 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) rm -rfv /usr/share/clamav/*.cvd mkdir -p /var/run/clamav 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 + paxctl -Cm /usr/sbin/clamd + paxctl -Cm /usr/bin/clamscan + paxctl -Cm /usr/bin/freshclam @rm -rf $(DIR_APP) @$(POSTBUILD)