summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrej Kacian <ticho@gentoo.org>2007-03-11 05:57:37 +0000
committerAndrej Kacian <ticho@gentoo.org>2007-03-11 05:57:37 +0000
commit4eb9f9ea5d0dc22de2f6338bb48ff5e5f4c764f6 (patch)
tree35f831ab6ca94f6c85f9e5e5e13e48ea86c5ed3a /app-antivirus/clamav/clamav-0.90.1.ebuild
parentfix sed with patch from Nikolay Shley (bug #170170) (diff)
downloadgentoo-2-4eb9f9ea5d0dc22de2f6338bb48ff5e5f4c764f6.tar.gz
gentoo-2-4eb9f9ea5d0dc22de2f6338bb48ff5e5f4c764f6.tar.bz2
gentoo-2-4eb9f9ea5d0dc22de2f6338bb48ff5e5f4c764f6.zip
Make freshclam use scripted updates by default - they work and they work well. Next best thing since sliced bread.
(Portage version: 2.1.2.2)
Diffstat (limited to 'app-antivirus/clamav/clamav-0.90.1.ebuild')
-rw-r--r--app-antivirus/clamav/clamav-0.90.1.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/app-antivirus/clamav/clamav-0.90.1.ebuild b/app-antivirus/clamav/clamav-0.90.1.ebuild
index c18704723cb1..4f16a1bbb91f 100644
--- a/app-antivirus/clamav/clamav-0.90.1.ebuild
+++ b/app-antivirus/clamav/clamav-0.90.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/clamav-0.90.1.ebuild,v 1.2 2007/03/03 11:49:36 ticho Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/clamav-0.90.1.ebuild,v 1.3 2007/03/11 05:57:37 ticho Exp $
inherit eutils flag-o-matic fixheadtails
@@ -100,6 +100,7 @@ src_install() {
-e "s:.*\(DatabaseOwner\) .*:\1 clamav:" \
-e "s:^\#\(UpdateLogFile\) .*:\1 /var/log/clamav/freshclam.log:" \
-e "s:^\#\(NotifyClamd\).*:\1 /etc/clamd.conf:" \
+ -e "s:^\#\(ScriptedUpdates\).*:\1 yes:" \
${D}/etc/freshclam.conf
if use milter ; then