summaryrefslogtreecommitdiff
path: root/python/python-clamd/clamd-socket-file-name.patch
diff options
context:
space:
mode:
Diffstat (limited to 'python/python-clamd/clamd-socket-file-name.patch')
-rw-r--r--python/python-clamd/clamd-socket-file-name.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/python/python-clamd/clamd-socket-file-name.patch b/python/python-clamd/clamd-socket-file-name.patch
new file mode 100644
index 0000000000..76611cd036
--- /dev/null
+++ b/python/python-clamd/clamd-socket-file-name.patch
@@ -0,0 +1,14 @@
+
+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
+