summaryrefslogtreecommitdiff
path: root/python/python-clamd/clamd-socket-file-name.patch
diff options
context:
space:
mode:
authorBrenton Earl <brent@exitstatusone.com>2015-11-13 18:16:44 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-11-13 18:16:44 +0700
commit6ca46fdae407b66cafe700afaca0c3c332abed7b (patch)
tree6701249d715dcc39c64942eded2441521424075e /python/python-clamd/clamd-socket-file-name.patch
parentbd8dc9f8a73d531cffaa3bd25b036982d0dc308d (diff)
downloadslackbuilds-6ca46fdae407b66cafe700afaca0c3c332abed7b.tar.gz
python/python-clamd: Added (python interface to Clamav).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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
+