summaryrefslogtreecommitdiff
path: root/security/clamav
diff options
context:
space:
mode:
authorprlw1 <prlw1@pkgsrc.org>2019-11-19 16:20:24 +0000
committerprlw1 <prlw1@pkgsrc.org>2019-11-19 16:20:24 +0000
commit5ea8c7b60286b9aba2bd4c33ad8f50e52056370f (patch)
tree79ff8b89aee384b7a0f980b3d825a5f67ed71f05 /security/clamav
parente645562d20fe03ce6ab6d787a026f874cb9cbef4 (diff)
downloadpkgsrc-5ea8c7b60286b9aba2bd4c33ad8f50e52056370f.tar.gz
Substitute CLAMAV_DBDIR (the point of patch-etc.clam*.conf.sample)
Diffstat (limited to 'security/clamav')
-rw-r--r--security/clamav/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/security/clamav/Makefile b/security/clamav/Makefile
index 9ee00ce75a9..5094a66e97c 100644
--- a/security/clamav/Makefile
+++ b/security/clamav/Makefile
@@ -1,4 +1,6 @@
-# $NetBSD: Makefile,v 1.57 2019/10/31 11:22:15 jperkin Exp $
+# $NetBSD: Makefile,v 1.58 2019/11/19 16:20:24 prlw1 Exp $
+
+PKGREVISION= 1
.include "Makefile.common"
@@ -49,6 +51,11 @@ FILES_SUBST+= CLAMAV_GROUP=${CLAMAV_GROUP}
FILES_SUBST+= CLAMAV_DBDIR=${CLAMAV_DBDIR}
MESSAGE_SUBST+= CLAMAV_USER=${CLAMAV_USER}
+SUBST_CLASSES+= vars
+SUBST_STAGE.vars= pre-configure
+SUBST_FILES.vars= etc/clamav-milter.conf.sample etc/clamd.conf.sample
+SUBST_VARS.vars= CLAMAV_DBDIR
+
RCD_SCRIPTS= clamd freshclamd
SMF_METHODS= ${RCD_SCRIPTS}
SMF_INSTANCES= ${SMF_METHODS}