slackbuilds_ponce/python/python2-clamd/clamd-socket-file-name.patch
Dave Woodfall f90d21c8e4
python/python-clamd: Renamed python2-clamd.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2021-05-19 18:39:59 +07:00

14 lines
467 B
Diff

Fixes the clamd socket file name
--- clamd-1.0.2.orig/src/clamd/__init__.py 2015-11-12 20:33:36.923228615 -0700
+++ clamd-1.0.2/src/clamd/__init__.py 2015-11-12 20:34:37.925224478 -0700
@@ -274,7 +274,7 @@
"""
Class for using clamd with an unix socket
"""
- def __init__(self, path="/var/run/clamav/clamd.ctl", timeout=None):
+ def __init__(self, path="/var/run/clamav/clamd.socket", timeout=None):
"""
class initialisation