aboutsummaryrefslogtreecommitdiffstats
path: root/main/clamav/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-07-04 16:17:25 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-07-04 16:17:25 +0000
commitef170b15f32a55a84dd1bd725e440f918c5080c0 (patch)
tree7902fb67eae206864cf3812b5e7e79df7bbeaeb0 /main/clamav/APKBUILD
parent1ab89daa7c0d4b46230a2608f04151214a266101 (diff)
downloadaports-ef170b15f32a55a84dd1bd725e440f918c5080c0.tar.bz2
aports-ef170b15f32a55a84dd1bd725e440f918c5080c0.tar.xz
main/clamav: upgrade to 0.97.5
Diffstat (limited to 'main/clamav/APKBUILD')
-rw-r--r--main/clamav/APKBUILD17
1 files changed, 11 insertions, 6 deletions
diff --git a/main/clamav/APKBUILD b/main/clamav/APKBUILD
index 29cd1561ae..9a0d208e0c 100644
--- a/main/clamav/APKBUILD
+++ b/main/clamav/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=clamav
-pkgver=0.97.4
-pkgrel=2
+pkgver=0.97.5
+pkgrel=0
pkgusers="clamav"
pkggroups="clamav"
pkgdesc="An anti-virus toolkit for UNIX"
@@ -16,6 +16,8 @@ makedepends="ncurses-dev zlib-dev bzip2-dev"
subpackages="$pkgname-doc $pkgname-dev $pkgname-lib $pkgname-libunrar
$pkgname-daemon $pkgname-scanner $pkgname-db freshclam"
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
+ http://db.local.clamav.net/main.cvd
+ http://db.local.clamav.net/daily.cvd
clamd.initd
clamd.confd
freshclam.initd
@@ -125,10 +127,11 @@ db() {
"$subpkgdir"/usr/bin \
"$subpkgdir"/etc/clamav \
"$subpkgdir"/var/run/clamav \
- "$subpkgdir"/var/log/clamav
- mv "$pkgdir"/var/lib/clamav \
- "$subpkgdir"/var/lib/ || return 1
+ "$subpkgdir"/var/log/clamav \
+ "$subpkgdir"/var/lib/clamav \
+ || return 1
chown -R clamav:clamav "$subpkgdir"/var/lib/clamav
+ install -m 0644 "$srcdir"/*.cvd "$subpkgdir"/var/lib/clamav/ || return 1
}
scanner() {
@@ -175,7 +178,9 @@ daemon() {
"$pkgdir"/etc/logrotate.d/clamd || return 1
}
-md5sums="dc1e5abc093b11f120e4eac94a7f78aa clamav-0.97.4.tar.gz
+md5sums="4d4b93243a5add0216acc4f24f43a895 clamav-0.97.5.tar.gz
+eb12490fda87d602e476d4b163f8a34b main.cvd
+625429b4353e765af42317636dbb0243 daily.cvd
b4523253843761d7a7e5fa765b3fb2b9 clamd.initd
e8a03fad6ce603631e8fe71a24d387c6 clamd.confd
401fe30d9af2fea3151f938b26ff01c0 freshclam.initd