From 977b78df305a06797773799a7295f2a5f3f013cf Mon Sep 17 00:00:00 2001 From: root Date: Sat, 31 Mar 2012 00:01:07 +0000 Subject: Sat Mar 31 00:01:07 UTC 2012 --- extra/clamav/PKGBUILD | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'extra/clamav/PKGBUILD') diff --git a/extra/clamav/PKGBUILD b/extra/clamav/PKGBUILD index e5dbf286e..1f9c4ccf4 100644 --- a/extra/clamav/PKGBUILD +++ b/extra/clamav/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 153568 2012-03-16 04:06:01Z bisson $ +# $Id: PKGBUILD 154496 2012-03-29 15:43:20Z bisson $ # Contributor: Dale Blount # Contributor: Gregor Ibic # Maintainer: Gaetan Bisson pkgname=clamav pkgver=0.97.4 -pkgrel=1 +pkgrel=2 pkgdesc='Anti-virus toolkit for Unix' url='http://www.clamav.net/' license=('GPL') @@ -17,12 +17,14 @@ source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver 'rc.d' 'conf.d' 'logrotate' + 'tmpfiles.d' 'config.patch') sha1sums=('56f90cf8a73acba8f97beca86b42c65c3923935d' - '50cfe02c97e4297a0efd25b23142408380305d30' + 'c9d508c1e5972f0f849d8694c1872455fa9e74de' 'cb116cdab49a810381a515cbcfb6a6c148547f07' - 'be3310d2b41a68ce06e33c84ab68ffe59fdce104' - '701a61571788d10ff7af01597785835c6bfea918') + '7cace58743a36dae3e63e5e0c6cc73ea5ef9a6ee' + 'a224ea9b4d0f4f196827347d54bed51e11c197ea' + '1c8ef193919b041135115170acd6313f008de808') install=install @@ -44,15 +46,16 @@ package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install - # make sure conf files get installed, because make install + # Make sure conf files get installed, because make install # doesn't do that if clamav is already installed upon building. install -D -m644 etc/clamd.conf "${pkgdir}/etc/clamav/clamd.conf" install -D -m644 etc/freshclam.conf "${pkgdir}/etc/clamav/freshclam.conf" + install -D -m644 ../tmpfiles.d "${pkgdir}/usr/lib/tmpfiles.d/clamav.conf" install -D -m644 ../logrotate "${pkgdir}/etc/logrotate.d/clamav" install -D -m644 ../conf.d "${pkgdir}/etc/conf.d/clamav" install -D -m755 ../rc.d "${pkgdir}/etc/rc.d/clamav" - # un-distribute databases to require freshclam + # Un-distribute databases to require freshclam. rm "${pkgdir}"/var/lib/clamav/*.cvd } -- cgit v1.2.3-54-g00ecf