[debian-edu-commits] debian-edu/pkg-team/ 02/03: debian/patches: Add 2002_Debian-clamd-socket.patch. Pre-configure Debian's socket for clamdscan.

Mike Gabriel sunweaver at debian.org
Wed Sep 7 14:37:26 UTC 2016


This is an automated email from the git hooks/post-receive script.

sunweaver pushed a commit to branch master
in repository e2guardian.

commit a6c21113d4a597e5d3f7f188535473c38badc6dd
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Wed Sep 7 16:36:32 2016 +0200

    debian/patches: Add 2002_Debian-clamd-socket.patch. Pre-configure Debian's socket for clamdscan.
---
 debian/patches/2002_Debian-clamd-socket.patch | 14 ++++++++++++++
 debian/patches/series                         |  1 +
 2 files changed, 15 insertions(+)

diff --git a/debian/patches/2002_Debian-clamd-socket.patch b/debian/patches/2002_Debian-clamd-socket.patch
new file mode 100644
index 0000000..3939cf3
--- /dev/null
+++ b/debian/patches/2002_Debian-clamd-socket.patch
@@ -0,0 +1,14 @@
+Description: In Debian, the clamav-daemon socket is at /run/clamav/clamd.ctl
+Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
+
+--- a/configs/contentscanners/clamdscan.conf.in
++++ b/configs/contentscanners/clamdscan.conf.in
+@@ -1,7 +1,7 @@
+ plugname = 'clamdscan'
+ 
+ # edit this to match the location of your ClamD UNIX domain socket
+-#clamdudsfile = '/var/run/clamav/clamd.sock'
++clamdudsfile = '/run/clamav/clamd.ctl'
+ 
+ # If this string is set, the text it contains shall be removed from the
+ # beginning of filenames when passing them to ClamD.
diff --git a/debian/patches/series b/debian/patches/series
index 9efce41..9aa6e49 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 1001_idem-potent-build.patch
 1002_fix-message-typos.patch
 2001_remove-w3c-badge.patch
+2002_Debian-clamd-socket.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/pkg-team/e2guardian.git



More information about the debian-edu-commits mailing list