summaryrefslogtreecommitdiff
path: root/security
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
commitc057b250035ac56bd11b4bf56e8ca37dba9717cb (patch)
treeab15b79492c5605c5fdeeacb6d6cff7fe2ecbb33 /security
parentb61f1a39aaa4047d849c8d0b5614a3aef4893575 (diff)
downloadpkgsrc-c057b250035ac56bd11b4bf56e8ca37dba9717cb.tar.gz
Substitute CLAMAV_DBDIR (the point of patch-etc.clam*.conf.sample)
Diffstat (limited to 'security')
-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}