diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2014-03-31 08:10:52 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2014-03-31 08:10:57 +0000 |
commit | e3f71fbeb50919e6b7ff399eee74a15e3b86cf66 (patch) | |
tree | 6485053951f7de4d05ba4a069b28bafa15412f29 | |
parent | fcb2ddae9d0166cbaaeb53bdb326c62fd70014f0 (diff) | |
download | aports-e3f71fbeb50919e6b7ff399eee74a15e3b86cf66.tar.bz2 aports-e3f71fbeb50919e6b7ff399eee74a15e3b86cf66.tar.xz |
main/clamav: fix endless timeout upon daemon startup
-rw-r--r-- | main/clamav/APKBUILD | 8 | ||||
-rwxr-xr-x | main/clamav/clamd.initd | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/main/clamav/APKBUILD b/main/clamav/APKBUILD index 4ab321434a..4b59e0cc99 100644 --- a/main/clamav/APKBUILD +++ b/main/clamav/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Carlo Landmeter <clandmeter@gmail.com> pkgname=clamav pkgver=0.98.1 -pkgrel=0 +pkgrel=1 pkgusers="clamav" pkggroups="clamav" pkgdesc="An anti-virus toolkit for UNIX" @@ -187,7 +187,7 @@ daemon() { md5sums="b1ec7b19dea8385954515ef1d63576d8 clamav-0.98.1.tar.gz 104d062d384e9fada1812d08dc433ed8 arm.patch -b4523253843761d7a7e5fa765b3fb2b9 clamd.initd +252190c7bd6ec77e4867fe2bfdff5d71 clamd.initd e8a03fad6ce603631e8fe71a24d387c6 clamd.confd 401fe30d9af2fea3151f938b26ff01c0 freshclam.initd e48466ddfb56f66c623b83e58777b778 freshclam.confd @@ -195,7 +195,7 @@ ae1e48ab56a0fff1acdde023c1f6f350 clamd.logrotate 226824214c021b2366f0be1289561d17 freshclam.logrotate" sha256sums="35f5e84d734cdd4532c1cc6c92560c5b31d1c24f2e1e203bef0ca1351eb223dc clamav-0.98.1.tar.gz 989e41505f5287e7b01c8e4657078e147fe7751e9d2bf64f8c2abad63ea45e6c arm.patch -5f8847600cacc35de56ea61c7a8d0761e5a351ccfd507fd3e07160170269e055 clamd.initd +ce74f9a3c795206a1381c9b97cd131b3d2265ecac6017a96e9e4b388ee8d1db4 clamd.initd 4d978313004f66d871564b873df27c5459d3cc504788b179e41edba0f04b74dc clamd.confd f69a8741f0165a1edd7558ce6c3ea8411fc2bc6e433a1636c25c366a057134d0 freshclam.initd 75551ce7e04bbef4a889bc94a357b160d9da88f06eba32df594ba3cbb2c81ed1 freshclam.confd @@ -203,7 +203,7 @@ ec5e60f7efca02ed151f625e9a44404346991ed6608c6e2088db2436bbd03d49 clamd.logrotat 84006ac3d2e8dc2e13a01f5e313c20e4978cdc93d831c181e0075badcbf4ada0 freshclam.logrotate" sha512sums="5daac24d346a03acc7e4d8f9e5962a009a908326663008557cbc2af4426e6059cbebbb8fac6d718edf9a567075b823c457f3f9a3aea3c558f5ee272274030b42 clamav-0.98.1.tar.gz 20374e90aa6dcac08eb7e2fb09531f2044181103a3733ada4d9b79c051507f02cd1bb5f28f1b4b4870b82ef9746949d4e0a266c0bc4249aef9029299b28f5082 arm.patch -5f64211605db7fc91785331d6bb768cf71fe7579e40c82624e3fd71e4738e41d48cd4e7984e2ddbcc932aa27d3d77fb121de40e2ecdb123b81f58f277b184df2 clamd.initd +7b5e1ab606e746719aa2a12d51338eaeafdda00b487e29e3ac7b211ea4f42413ffdd13602158405722b01393e200432f35fe27b1269894029c6edbda3ef8b3a5 clamd.initd 59c561b3dcb0b616b647cd8e4ebc46a2cc5e7144c8c7ea0054cc1c3021d1da8f67e4dad5c083c3fe712ed887aaabfca91b538f4759537e7c4c9ab71ba4fd5794 clamd.confd e192f89d6591c0601f828da368a8a21eb7ed14c50757630896fbbb3582c2660ad562760b28979904f1a4a21eecc320f2e6f7f0c7b673f89c6d2af83d2d4b280c freshclam.initd ba181fe1abaac7b898ccb40b0713455aa3c9d5e25ad21d687b6cac09b0105b9e376526e7c776a44636234d8db819709d8d6a6cc76119bc3e98b637b1a3f26c08 freshclam.confd diff --git a/main/clamav/clamd.initd b/main/clamav/clamd.initd index 10c9c6db16..03f44c943f 100755 --- a/main/clamav/clamd.initd +++ b/main/clamav/clamd.initd @@ -22,8 +22,8 @@ start() { fi local dbdir=$(awk '$1 == "DatabaseDirectory" { print $2 }' $CONF) - local timout=${FRESHCLAM_TIMEOUT:-120} - local cvd="${dbdir:-/var/lib/clamav}"/main.cvd + local timeout=${FRESHCLAM_TIMEOUT:-120} + local cvd="${dbdir:-/var/lib/clamav}"/main.cld if ! [ -e "$cvd" ]; then ebegin "Waiting for clamav database download" |