[arch-commits] Commit in clamav/trunk (PKGBUILD logrotate)
Gaetan Bisson
bisson at nymeria.archlinux.org
Tue Jul 23 03:27:53 UTC 2013
Date: Tuesday, July 23, 2013 @ 05:27:53
Author: bisson
Revision: 191273
implement FS#36249
Modified:
clamav/trunk/PKGBUILD
clamav/trunk/logrotate
-----------+
PKGBUILD | 6 +++---
logrotate | 14 ++++++++------
2 files changed, 11 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-07-23 03:17:45 UTC (rev 191272)
+++ PKGBUILD 2013-07-23 03:27:53 UTC (rev 191273)
@@ -5,14 +5,14 @@
pkgname=clamav
pkgver=0.97.8
-pkgrel=2
+pkgrel=3
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')
+backup=('etc/clamav/clamd.conf' 'etc/clamav/freshclam.conf' 'etc/logrotate.d/clamav')
source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz"
'service'
'service.fresh'
@@ -22,7 +22,7 @@
sha1sums=('078c0ac2b4e69d27eecd7544a8361abcd859e73c'
'b6ac0c5de1e5b41232b10d4f84e86201c370eaeb'
'cda9a087e5593992150cb456e34c5f6f589aca82'
- '7cace58743a36dae3e63e5e0c6cc73ea5ef9a6ee'
+ 'bb488a56b0f6a0760446cde89c1e3321e2717b78'
'a224ea9b4d0f4f196827347d54bed51e11c197ea'
'1c8ef193919b041135115170acd6313f008de808')
Modified: logrotate
===================================================================
--- logrotate 2013-07-23 03:17:45 UTC (rev 191272)
+++ logrotate 2013-07-23 03:27:53 UTC (rev 191273)
@@ -1,8 +1,10 @@
/var/log/clamav/clamd.log /var/log/clamav/freshclam.log {
- create 644 clamav clamav
- sharedscripts
- postrotate
- /bin/kill -HUP `cat /run/clamav/clamd.pid 2>/dev/null` 2> /dev/null || true
- /bin/kill -HUP `cat /run/clamav/freshclam.pid 2>/dev/null` 2> /dev/null || true
- endscript
+ create 644 clamav clamav
+ sharedscripts
+ missingok
+ notifempty
+ postrotate
+ /bin/kill -HUP `cat /run/clamav/clamd.pid 2>/dev/null` 2> /dev/null || true
+ /bin/kill -HUP `cat /run/clamav/freshclam.pid 2>/dev/null` 2> /dev/null || true
+ endscript
}
More information about the arch-commits
mailing list