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/01bb3e4a95e8
branches:  trunk
changeset: 404917:01bb3e4a95e8
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 fa7b833b73f3 -r 01bb3e4a95e8 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