summaryrefslogtreecommitdiff
path: root/extra/clamav
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-09-21 03:03:11 -0700
committerroot <root@rshg054.dnsready.net>2013-09-21 03:03:11 -0700
commitd3285d3c8cd7a90ac8766e0ce54c6eafaad7a5f2 (patch)
tree16903ca6eab9912b737843e2d20e8b793eb84809 /extra/clamav
parent42fbe2d214b850ded06b23ca33f3aa2880e60dbb (diff)
Sat Sep 21 02:56:25 PDT 2013
Diffstat (limited to 'extra/clamav')
-rw-r--r--extra/clamav/PKGBUILD17
-rw-r--r--extra/clamav/config.patch12
2 files changed, 12 insertions, 17 deletions
diff --git a/extra/clamav/PKGBUILD b/extra/clamav/PKGBUILD
index 0b52b1fe4..4c6f7e9b4 100644
--- a/extra/clamav/PKGBUILD
+++ b/extra/clamav/PKGBUILD
@@ -1,30 +1,30 @@
-# $Id: PKGBUILD 191274 2013-07-23 03:29:14Z bisson $
+# $Id: PKGBUILD 194640 2013-09-20 02:05:29Z bisson $
# Contributor: Dale Blount <dale@archlinux.org>
# Contributor: Gregor Ibic <gregor.ibic@intelicom.si>
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
pkgname=clamav
-pkgver=0.97.8
-pkgrel=3
+pkgver=0.98
+pkgrel=1
pkgdesc='Anti-virus toolkit for Unix'
url='http://www.clamav.net/'
license=('GPL')
options=('!libtool')
arch=('i686' 'x86_64')
depends=('bzip2' 'libltdl')
-backup=('etc/clamav/clamd.conf' 'etc/clamav/freshclam.conf' 'etc/logrotate.d/clamav')
+backup=('etc/logrotate.d/clamav')
source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz"
'service'
'service.fresh'
'logrotate'
'tmpfiles.d'
'config.patch')
-sha1sums=('078c0ac2b4e69d27eecd7544a8361abcd859e73c'
+sha1sums=('1e6a7284721387646c713a8d32fa8b5a897985db'
'b6ac0c5de1e5b41232b10d4f84e86201c370eaeb'
'cda9a087e5593992150cb456e34c5f6f589aca82'
'bb488a56b0f6a0760446cde89c1e3321e2717b78'
'a224ea9b4d0f4f196827347d54bed51e11c197ea'
- '1c8ef193919b041135115170acd6313f008de808')
+ '00dfadd93d11186793cb1161745f9dd7370beb99')
install=install
@@ -49,11 +49,6 @@ package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
- # Make sure conf files get installed, because make install
- # doesn't do that if clamav is already installed upon building.
- install -Dm644 etc/clamd.conf "${pkgdir}"/etc/clamav/clamd.conf
- install -Dm644 etc/freshclam.conf "${pkgdir}"/etc/clamav/freshclam.conf
-
install -Dm644 ../service.fresh "${pkgdir}"/usr/lib/systemd/system/freshclamd.service
install -Dm644 ../service "${pkgdir}"/usr/lib/systemd/system/clamd.service
install -Dm644 ../tmpfiles.d "${pkgdir}"/usr/lib/tmpfiles.d/clamav.conf
diff --git a/extra/clamav/config.patch b/extra/clamav/config.patch
index 0640df2c3..0b552b3f9 100644
--- a/extra/clamav/config.patch
+++ b/extra/clamav/config.patch
@@ -1,6 +1,6 @@
-diff -arU 0 old/etc/clamd.conf new/etc/clamd.conf
---- old/etc/clamd.conf 2010-12-02 19:31:21.773357389 +0100
-+++ new/etc/clamd.conf 2010-12-02 19:31:45.873357389 +0100
+diff -arU 0 old/etc/clamd.conf.sample new/etc/clamd.conf.sample
+--- old/etc/clamd.conf.sample 2010-12-02 19:31:21.773357389 +0100
++++ new/etc/clamd.conf.sample 2010-12-02 19:31:45.873357389 +0100
@@ -14 +14 @@
-#LogFile /tmp/clamd.log
+LogFile /var/log/clamav/clamd.log
@@ -19,9 +19,9 @@ diff -arU 0 old/etc/clamd.conf new/etc/clamd.conf
@@ -190 +190 @@
-#User clamav
+User clamav
-diff -arU 0 old/etc/freshclam.conf new/etc/freshclam.conf
---- old/etc/freshclam.conf 2010-12-02 19:31:21.773357389 +0100
-+++ new/etc/freshclam.conf 2010-12-02 19:31:51.190024057 +0100
+diff -arU 0 old/etc/freshclam.conf.sample new/etc/freshclam.conf.sample
+--- old/etc/freshclam.conf.sample 2010-12-02 19:31:21.773357389 +0100
++++ new/etc/freshclam.conf.sample 2010-12-02 19:31:51.190024057 +0100
@@ -17 +17 @@
-#UpdateLogFile /var/log/freshclam.log
+UpdateLogFile /var/log/clamav/freshclam.log