[arch-commits] Commit in clamav/trunk (PKGBUILD)
Gaetan Bisson
bisson at archlinux.org
Wed Sep 22 21:35:14 UTC 2010
Date: Wednesday, September 22, 2010 @ 17:35:14
Author: bisson
Revision: 91122
upstream update
Modified:
clamav/trunk/PKGBUILD
----------+
PKGBUILD | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-09-22 20:31:34 UTC (rev 91121)
+++ PKGBUILD 2010-09-22 21:35:14 UTC (rev 91122)
@@ -3,11 +3,11 @@
# Contributor: Gregor Ibic <gregor.ibic at intelicom.si>
pkgname=clamav
-pkgver=0.96.2
+pkgver=0.96.3
pkgrel=1
pkgdesc='Anti-virus toolkit for Unix'
arch=('i686' 'x86_64')
-depends=('bzip2' 'zlib' 'gmp' 'curl>=7.16.2' 'perl' 'libtool')
+depends=('bzip2' 'zlib' 'libtool')
options=(!libtool)
install="$pkgname.install"
license=('GPL')
@@ -18,7 +18,7 @@
'clamav.confd'
'clamav.logrotate')
-sha1sums=('1b7621a9829f1f0020901ce350d0e6112745c34d'
+sha1sums=('b4566c83bc7ca8bdc3783a9487cfe5eaf6084c65'
'7f15f0b13a1c11235bc99ef0add01efd8a442f07'
'cb116cdab49a810381a515cbcfb6a6c148547f07'
'be3310d2b41a68ce06e33c84ab68ffe59fdce104')
@@ -29,12 +29,12 @@
./configure --prefix=/usr --sysconfdir=/etc/clamav \
--with-dbdir=/var/lib/clamav --disable-clamav
# will add clamav user with clamav.install
- make || return 1
+ make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
# make sure conf files get installed, cause make install
# doesn't do that if clamav is already installed upon building.
@@ -57,12 +57,12 @@
-e "s:\#User clamav:User clamav:" \
-e "s:\#LogTime:LogTime:" \
-e "s:\#TemporaryDirectory /var/tmp:TemporaryDirectory /tmp:" \
- -e "s:\LocalSocket /tmp/clamd.socket:LocalSocket /var/lib/clamav/clamd.sock:" \
- "$pkgdir/etc/clamav/clamd.conf" || return 1
+ -e "s:\#LocalSocket /tmp/clamd.socket:LocalSocket /var/lib/clamav/clamd.sock:" \
+ "$pkgdir/etc/clamav/clamd.conf"
sed -i -e "s:\#UpdateLogFile /var/log/freshclam.log:UpdateLogFile /var/log/clamav/freshclam.log:" \
-e "s:\#NotifyClamd /path/to/clamd.conf$:NotifyClamd /etc/clamav/clamd.conf:" \
- "$pkgdir/etc/clamav/freshclam.conf" || return 1
+ "$pkgdir/etc/clamav/freshclam.conf"
# fix perms on virus database directory and un-distribute databases to require freshclam
rm "$pkgdir"/var/lib/clamav/*.cvd
More information about the arch-commits
mailing list