\tUSER_HOMEDIRS=(`/usr/bin/dscacheutil -q user | /usr/bin/grep -A 3 -B 2 -E -e '^uid: (?:\\d*5\\d\\d|\\d{4,})' | \${prefix}/bin/pcregrep -B 5 -e '^shell: (?!/usr/bin/false).*' | \${prefix}/bin/pcregrep -A 5 -e '^name: (?!_).*' | /usr/bin/grep -e '^dir: .*/Users/' | /usr/bin/sed -e 's/^dir: //'`)
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
homepage https://www.clamav.net/
maintainers {ieee.org:s.t.smith @essandess} openmaintainer
description Clamav antivirus software macOS server configuration.
long_description ${description} \
A macOS clamAV configuration with launchdaemons for clamd, freshclam, \
Scan-On-Demand, Scan-on-Schedule, Scan-On-Access of specied directories, \
and a Finder.app contextual service for Scan-On-Demand of selected items.
add_users ${clamavuser} group=${clamavuser} realname=clamav
variant scan_schedule_access \
description {On-Schedule and On-Access scanning launchdaemons} {}
description {Use signatures from https://sanesecurity.com/} {}
default_variants +scan_schedule_access +sanesecurity
set dataPath ${prefix}/var/clamav
set logPath ${prefix}/var/log/clamav
set runPath ${prefix}/var/run/clamav
set sharePath ${prefix}/share/clamav
executable ${prefix}/sbin/clamd
executable ${prefix}/bin/freshclam
if {[variant_isset "scan_schedule_access"]} {
name ClamavScanSchedule \
init "pidfile=\"\${prefix}/var/run/clamav/ClamavScanSchedule.pid\"