Browse Source

Merge pull request #6904 from lucize/clamav-milter

clamav: enable clamav-milter
lilik-openwrt-22.03
Dirk Brenken 6 years ago
committed by GitHub
parent
commit
bb4ea84cfe
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      net/clamav/Makefile

+ 4
- 2
net/clamav/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=clamav PKG_NAME:=clamav
PKG_VERSION:=0.100.1 PKG_VERSION:=0.100.1
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_LICENSE:=GPL-2.0 PKG_LICENSE:=GPL-2.0
PKG_MAINTAINER:=Marko Ratkaj <marko.ratkaj@sartura.hr> \ PKG_MAINTAINER:=Marko Ratkaj <marko.ratkaj@sartura.hr> \
@ -27,7 +27,7 @@ include $(INCLUDE_DIR)/package.mk
define Package/clamav/Default define Package/clamav/Default
SECTION:=net SECTION:=net
DEPENDS:=+libpthread +uclibcxx +zlib +libcurl +libjson-c +libopenssl +libltdl +libpcre2 +USE_MUSL:musl-fts
DEPENDS:=+libpthread +uclibcxx +zlib +libcurl +libjson-c +libmilter-sendmail +libopenssl +libltdl +libpcre2 +USE_MUSL:musl-fts
CATEGORY:=Network CATEGORY:=Network
SUBMENU:=Web Servers/Proxies SUBMENU:=Web Servers/Proxies
TITLE:=ClamAV TITLE:=ClamAV
@ -66,6 +66,7 @@ define Build/Configure
--sysconfdir=/etc/clamav/ \ --sysconfdir=/etc/clamav/ \
--prefix=/usr/ \ --prefix=/usr/ \
--exec-prefix=/usr/ \ --exec-prefix=/usr/ \
--enable-milter \
--disable-xml \ --disable-xml \
--disable-bzip2 \ --disable-bzip2 \
--with-user nobody \ --with-user nobody \
@ -87,6 +88,7 @@ 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/
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/clamav-milter $(1)/usr/sbin/
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/clamav-config $(1)/usr/sbin/ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/clamav-config $(1)/usr/sbin/
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/clambc $(1)/usr/sbin/ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/clambc $(1)/usr/sbin/
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/clamconf $(1)/usr/sbin/ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/clamconf $(1)/usr/sbin/


Loading…
Cancel
Save