[MacPorts] #70558: clamav should notify user when a file has been quarantined, esp. for on-access scan

MacPorts noreply at macports.org
Wed Aug 14 18:07:57 UTC 2024


#70558: clamav should notify user when a file has been quarantined, esp. for on-
access scan
-------------------------+--------------------
 Reporter:  bernstei     |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:
 Keywords:               |       Port:
-------------------------+--------------------
 clamav-server sets things up very nicely, but there's one thing that's
 apparently missing, and that's user notifications from anything except on-
 demand scans.  /opt/local/bin/ClamavScanIt.sh uses osascript to notify the
 user when something is found.  It would be very helpful if this also
 happened for on demand scans, which as far as I can tell it does not (and
 scheduled as well, which I assume have the same issue).

 If it's supposed to happen, then maybe there's just a bug.  If it is not,
 it would be great to add that feature.  I've thought about how to do this,
 and the only approach I've found is for a VirusEvent to write to a file
 someplace, and then to create a LaunchAgent, which has access to the GUI,
 and monitor for the files created by the VirusEvent and turns them into
 notifications (using the same mechanism as ClamavScanIt.sh).  This seems a
 bit cumbersome, so if anyone has any cleaner ideas, that'd be even better.

 macports 2.10.0, macOS 14.5, clamav 1.3.1, clamav-server 1.2.1 (default
 variants)

-- 
Ticket URL: <https://trac.macports.org/ticket/70558>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list