aboutsummaryrefslogtreecommitdiffstats
path: root/main/clamav
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2016-04-11 15:00:06 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2016-04-18 07:55:46 +0000
commit663fff8cc842d8b9a8bad799c68085027ed7385f (patch)
tree0368dae202b140a1b4b2ab7d63546164f8bce865 /main/clamav
parent8b0bde9fed4c4fe011641a2c621ae4ae0a4d726e (diff)
downloadaports-663fff8cc842d8b9a8bad799c68085027ed7385f.tar.bz2
aports-663fff8cc842d8b9a8bad799c68085027ed7385f.tar.xz
main/clamav: rename sample config files, so daemons can start oout-of-the-box. Fixes #5320
Diffstat (limited to 'main/clamav')
-rw-r--r--main/clamav/APKBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/clamav/APKBUILD b/main/clamav/APKBUILD
index fda8156d46..c48bac6800 100644
--- a/main/clamav/APKBUILD
+++ b/main/clamav/APKBUILD
@@ -4,7 +4,7 @@
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=clamav
pkgver=0.99.1
-pkgrel=0
+pkgrel=1
pkgusers="clamav"
pkggroups="clamav"
pkgdesc="An anti-virus toolkit for UNIX eis-ng backport"
@@ -117,7 +117,7 @@ freshclam() {
mv "$pkgdir"/usr/bin/freshclam "$subpkgdir"/usr/bin || return 1
mv "$pkgdir"/etc/clamav/freshclam.conf.sample \
- "$subpkgdir"/etc/clamav/ || return 1
+ "$subpkgdir"/etc/clamav/freshclam.conf || return 1
install -d -m755 -o clamav -g clamav \
"$subpkgdir"/var/log/clamav \
"$subpkgdir"/var/lib/clamav || return 1
@@ -176,7 +176,7 @@ daemon() {
mv "$pkgdir"/usr/bin/clamdscan \
"$subpkgdir"/usr/bin/ || return 1
mv "$pkgdir"/etc/clamav/clamd.conf.sample \
- "$subpkgdir"/etc/clamav/ || return 1
+ "$subpkgdir"/etc/clamav/clamd.conf || return 1
install -m755 -D "$srcdir"/clamd.initd \
"$subpkgdir"/etc/init.d/clamd || return 1
install -m644 -D "$srcdir"/clamd.confd \