Commit 6709a5c2 authored by Natanael Copa's avatar Natanael Copa

main/clamav: fix circular depends

parent 28dc2a1b
......@@ -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 \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment