aboutsummaryrefslogtreecommitdiffstats
path: root/main/clamav
diff options
context:
space:
mode:
Diffstat (limited to 'main/clamav')
-rw-r--r--main/clamav/APKBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/main/clamav/APKBUILD b/main/clamav/APKBUILD
index 423b794b4b..c09dc5a310 100644
--- a/main/clamav/APKBUILD
+++ b/main/clamav/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=clamav
pkgver=0.97.4
-pkgrel=0
+pkgrel=1
pkgusers=clamav
pkggroups=clamav
pkgdesc="An anti-virus toolkit for UNIX"
@@ -63,6 +63,7 @@ lib() {
libunrar() {
pkgdesc="ClamAV unrar libraries"
depends=""
+ replaces="clamav"
mkdir -p "$subpkgdir"/usr/lib
mv "$pkgdir"/usr/lib/libclamunrar* \
"$subpkgdir"/usr/lib/
@@ -71,6 +72,7 @@ libunrar() {
db() {
pkgdesc="ClamAV virus database and update program"
depends="logrotate"
+ replaces="clamav"
install="$subpkgname.pre-install $subpkgname.post-install $subpkgname.pre-upgrade"
mkdir -p "$subpkgdir"/var/lib/ \
"$subpkgdir"/usr/bin \
@@ -102,6 +104,7 @@ db() {
scanner() {
pkgdesc="ClamAV command-line scanner and utils"
+ replaces="clamav"
depends="$pkgname-db"
mkdir -p "$subpkgdir"/usr/bin
mv "$pkgdir"/usr/bin/clamscan \
@@ -115,6 +118,7 @@ scanner() {
daemon() {
pkgdesc="ClamAV daemon scanner"
+ replaces="clamav"
depends="$pkgname-db logrotate"
install="$subpkgname.pre-install $subpkgname.post-install $subpkgname.pre-upgrade"
mkdir -p "$subpkgdir"/usr/bin \