summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD7
2 files changed, 5 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 99125890a9b5..2372041a55d8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = c-icap-modules
pkgdesc = Modules for C-ICAP server
pkgver = 0.5.1
- pkgrel = 1
+ pkgrel = 2
url = http://c-icap.sourceforge.net/
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 2d0655c38c63..f97ba5c23d1c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Amish <contact at via dot aur>
pkgname=c-icap-modules
pkgver=0.5.1
-pkgrel=1
+pkgrel=2
pkgdesc='Modules for C-ICAP server'
depends=('c-icap' 'clamav')
arch=(i686 x86_64)
@@ -48,8 +48,9 @@ package() {
# enable logging
cat > "${pkgdir}"/etc/c-icap/vscan-local.conf << 'EOF'
-LogFormat myVScanFmt "%tl, %>a %is %Ib %Ob %huo [Action: %{virus_scan:action}Sa] [Virus: %{virus_scan:virus}Sa]"
+LogFormat myVScanFmt "%tl, %>a %is %Ib %Ob %huo [Action: %{virus_scan:action}Sa] [Virus: %{virus_scan:virus}Sa] [User: %{X-Client-Username}>ih]"
acl VSCAN service virus_scan
-AccessLog /var/log/c-icap/vscan.log myVScanFmt VSCAN
+acl VFOUND icap_resp_header{X-Infection-Found} /Type=0/
+AccessLog /var/log/c-icap/vscan.log myVScanFmt VSCAN VFOUND
EOF
}