aboutsummaryrefslogtreecommitdiffstats
path: root/main/clamav
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2018-06-15 07:33:30 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-06-15 07:33:30 +0000
commit6709a5c27cfacbc79faef43efde25233d2185fb1 (patch)
treefe7c7e1c7c3caddc912ffd41936278ad108ef4d0 /main/clamav
parent28dc2a1b5cc6a35399108b7ffdbfa29831b6d187 (diff)
downloadaports-6709a5c27cfacbc79faef43efde25233d2185fb1.tar.bz2
aports-6709a5c27cfacbc79faef43efde25233d2185fb1.tar.xz
main/clamav: fix circular depends
Diffstat (limited to 'main/clamav')
-rw-r--r--main/clamav/APKBUILD7
1 files changed, 6 insertions, 1 deletions
diff --git a/main/clamav/APKBUILD b/main/clamav/APKBUILD
index 64c0442268..7b0b1a7f85 100644
--- a/main/clamav/APKBUILD
+++ b/main/clamav/APKBUILD
@@ -4,7 +4,7 @@
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=clamav
pkgver=0.100.0
-pkgrel=0
+pkgrel=1
pkgusers="clamav"
pkggroups="clamav"
pkgdesc="An anti-virus toolkit for UNIX eis-ng backport"
@@ -115,6 +115,7 @@ check() {
lib() {
pkgdesc="ClamAV library"
replaces="clamav"
+ depends=
mkdir -p "$subpkgdir"/usr/lib
mv "$pkgdir"/usr/lib/libclamav.so.* \
"$subpkgdir"/usr/lib/
@@ -123,6 +124,7 @@ lib() {
libunrar() {
pkgdesc="ClamAV unrar libraries"
replaces="clamav"
+ depends=
mkdir -p "$subpkgdir"/usr/lib
mv "$pkgdir"/usr/lib/libclamunrar* \
"$subpkgdir"/usr/lib/
@@ -131,6 +133,7 @@ libunrar() {
freshclam() {
pkgdesc="Auto-updater for the Clam Antivirus scanner data-files"
replaces="clamav clamav-db"
+ depends=
mkdir -p "$subpkgdir"/usr/bin \
"$subpkgdir"/etc/clamav
@@ -150,6 +153,7 @@ freshclam_rc() {
pkgdesc="Auto-updater for the Clam Antivirus scanner data-files (OpenRC init scripts)"
install_if="freshclam=$pkgver-r$pkgrel openrc"
replaces="clamav freshclam"
+ depends=
mkdir -p "$subpkgdir"/etc/init.d \
"$subpkgdir"/etc/conf.d
@@ -222,6 +226,7 @@ daemon_rc() {
milter() {
pkgdesc="ClamAV milter"
+ depends=
mkdir -p "$subpkgdir"/usr/sbin \
"$subpkgdir"/etc/clamav
mv "$pkgdir"/usr/sbin/clamav-milter \