pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/clamav Substitute CLAMAV_DBDIR (the point of ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2b1820efe15a
branches:  trunk
changeset: 344393:2b1820efe15a
user:      prlw1 <prlw1%pkgsrc.org@localhost>
date:      Tue Nov 19 16:20:24 2019 +0000

description:
Substitute CLAMAV_DBDIR (the point of patch-etc.clam*.conf.sample)

diffstat:

 security/clamav/Makefile |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r a72682d4d15c -r 2b1820efe15a security/clamav/Makefile
--- a/security/clamav/Makefile  Tue Nov 19 16:15:45 2019 +0000
+++ b/security/clamav/Makefile  Tue Nov 19 16:20:24 2019 +0000
@@ -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_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}



Home | Main Index | Thread Index | Old Index