|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk |
|
|
|
|
|
|
|
|
PKG_NAME:=clamav |
|
|
PKG_NAME:=clamav |
|
|
PKG_VERSION:=0.102.2 |
|
|
PKG_VERSION:=0.102.2 |
|
|
PKG_RELEASE:=1 |
|
|
|
|
|
|
|
|
PKG_RELEASE:=2 |
|
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
|
|
PKG_SOURCE_URL:=https://www.clamav.net/downloads/production/ |
|
|
PKG_SOURCE_URL:=https://www.clamav.net/downloads/production/ |
|
@ -56,9 +56,6 @@ define Package/freshclam/description |
|
|
Database updater for ClamAV |
|
|
Database updater for ClamAV |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|
define Package/clamav/conffiles |
|
|
|
|
|
endef |
|
|
|
|
|
|
|
|
|
|
|
CONFIGURE_ARGS += \
|
|
|
CONFIGURE_ARGS += \
|
|
|
--sysconfdir=/etc/clamav/ \
|
|
|
--sysconfdir=/etc/clamav/ \
|
|
|
--enable-milter \
|
|
|
--enable-milter \
|
|
@ -89,6 +86,10 @@ CONFIGURE_VARS += $(if $(CONFIG_IPV6),have_cv_ipv6=yes) |
|
|
TARGET_CXXFLAGS += -ffunction-sections -fdata-sections -fno-rtti -flto |
|
|
TARGET_CXXFLAGS += -ffunction-sections -fdata-sections -fno-rtti -flto |
|
|
TARGET_LDFLAGS += -Wl,--gc-sections,--as-needed $(if $(CONFIG_USE_MUSL),-lfts) |
|
|
TARGET_LDFLAGS += -Wl,--gc-sections,--as-needed $(if $(CONFIG_USE_MUSL),-lfts) |
|
|
|
|
|
|
|
|
|
|
|
define Package/clamav/conffiles |
|
|
|
|
|
/etc/config/clamav |
|
|
|
|
|
endef |
|
|
|
|
|
|
|
|
define Package/clamav/install |
|
|
define Package/clamav/install |
|
|
$(INSTALL_DIR) $(1)/usr/sbin |
|
|
$(INSTALL_DIR) $(1)/usr/sbin |
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/clamd $(1)/usr/sbin/ |
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/clamd $(1)/usr/sbin/ |
|
@ -113,6 +114,10 @@ define Package/clamav/install |
|
|
$(CP) ./files/bytecode.cvd $(1)/usr/share/clamav/ |
|
|
$(CP) ./files/bytecode.cvd $(1)/usr/share/clamav/ |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|
|
|
|
define Package/freshclam/conffiles |
|
|
|
|
|
/etc/config/freshclam |
|
|
|
|
|
endef |
|
|
|
|
|
|
|
|
define Package/freshclam/install |
|
|
define Package/freshclam/install |
|
|
$(INSTALL_DIR) $(1)/usr/sbin |
|
|
$(INSTALL_DIR) $(1)/usr/sbin |
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/bin/freshclam $(1)/usr/sbin/ |
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/bin/freshclam $(1)/usr/sbin/ |
|
|