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

main/clamav: fix circular depends

parent 28dc2a1b
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
# Maintainer: Carlo Landmeter <clandmeter@gmail.com> # Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=clamav pkgname=clamav
pkgver=0.100.0 pkgver=0.100.0
pkgrel=0 pkgrel=1
pkgusers="clamav" pkgusers="clamav"
pkggroups="clamav" pkggroups="clamav"
pkgdesc="An anti-virus toolkit for UNIX eis-ng backport" pkgdesc="An anti-virus toolkit for UNIX eis-ng backport"
...@@ -115,6 +115,7 @@ check() { ...@@ -115,6 +115,7 @@ check() {
lib() { lib() {
pkgdesc="ClamAV library" pkgdesc="ClamAV library"
replaces="clamav" replaces="clamav"
depends=
mkdir -p "$subpkgdir"/usr/lib mkdir -p "$subpkgdir"/usr/lib
mv "$pkgdir"/usr/lib/libclamav.so.* \ mv "$pkgdir"/usr/lib/libclamav.so.* \
"$subpkgdir"/usr/lib/ "$subpkgdir"/usr/lib/
...@@ -123,6 +124,7 @@ lib() { ...@@ -123,6 +124,7 @@ lib() {
libunrar() { libunrar() {
pkgdesc="ClamAV unrar libraries" pkgdesc="ClamAV unrar libraries"
replaces="clamav" replaces="clamav"
depends=
mkdir -p "$subpkgdir"/usr/lib mkdir -p "$subpkgdir"/usr/lib
mv "$pkgdir"/usr/lib/libclamunrar* \ mv "$pkgdir"/usr/lib/libclamunrar* \
"$subpkgdir"/usr/lib/ "$subpkgdir"/usr/lib/
...@@ -131,6 +133,7 @@ libunrar() { ...@@ -131,6 +133,7 @@ libunrar() {
freshclam() { freshclam() {
pkgdesc="Auto-updater for the Clam Antivirus scanner data-files" pkgdesc="Auto-updater for the Clam Antivirus scanner data-files"
replaces="clamav clamav-db" replaces="clamav clamav-db"
depends=
mkdir -p "$subpkgdir"/usr/bin \ mkdir -p "$subpkgdir"/usr/bin \
"$subpkgdir"/etc/clamav "$subpkgdir"/etc/clamav
...@@ -150,6 +153,7 @@ freshclam_rc() { ...@@ -150,6 +153,7 @@ freshclam_rc() {
pkgdesc="Auto-updater for the Clam Antivirus scanner data-files (OpenRC init scripts)" pkgdesc="Auto-updater for the Clam Antivirus scanner data-files (OpenRC init scripts)"
install_if="freshclam=$pkgver-r$pkgrel openrc" install_if="freshclam=$pkgver-r$pkgrel openrc"
replaces="clamav freshclam" replaces="clamav freshclam"
depends=
mkdir -p "$subpkgdir"/etc/init.d \ mkdir -p "$subpkgdir"/etc/init.d \
"$subpkgdir"/etc/conf.d "$subpkgdir"/etc/conf.d
...@@ -222,6 +226,7 @@ daemon_rc() { ...@@ -222,6 +226,7 @@ daemon_rc() {
milter() { milter() {
pkgdesc="ClamAV milter" pkgdesc="ClamAV milter"
depends=
mkdir -p "$subpkgdir"/usr/sbin \ mkdir -p "$subpkgdir"/usr/sbin \
"$subpkgdir"/etc/clamav "$subpkgdir"/etc/clamav
mv "$pkgdir"/usr/sbin/clamav-milter \ 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