pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: It takes very long time to start clamd



On Tue, Jul 03, 2007 at 10:06:48AM +1200, mark%mcs.vuw.ac.nz@localhost wrote:
> > On Fri, Jun 29, 2007 at 09:34:29AM +0300, Martti Kuparinen wrote:
> >> This is so slooooow, I hope the clamd guys will release 0.91.x soon.
> >> Please
> >> note the start times after reboot...
> >
> > I'm seeing the same on a P4 NetBSD 3.0.3 server, clamd 0.90.3nb2,
> > --enable-experimental disabled.
> >
> > "clamscan" (without d) is just as slow.
> 
> Yes, its a known bug in 0.90.  0.91rc1 goes back to being a reasonable speed.

Yep, apparantly.

Any objections if I upgrade mail/clamav to 0.91rc1? (see diff in attach)

        Geert
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/mail/clamav/Makefile,v
retrieving revision 1.75
diff -u -r1.75 Makefile
--- Makefile    17 Jun 2007 22:06:33 -0000      1.75
+++ Makefile    2 Jul 2007 22:48:07 -0000
@@ -2,7 +2,6 @@
 
 DISTNAME=      clamav-${CLAMAV_VERSION}
 PKGNAME=       clamav-${CLAMAV_VERSION:S/-/./}
-PKGREVISION=   2
 CATEGORIES=    mail
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=clamav/}
 
@@ -12,7 +11,7 @@
 
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
 
-CLAMAV_VERSION=                0.90.3
+CLAMAV_VERSION=                0.91rc1
 
 USE_LIBTOOL=           yes
 
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/mail/clamav/PLIST,v
retrieving revision 1.18
diff -u -r1.18 PLIST
--- PLIST       16 Feb 2007 14:40:41 -0000      1.18
+++ PLIST       2 Jul 2007 22:48:07 -0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.18 2007/02/16 14:40:41 xtraeme Exp $
+@comment $NetBSD$
 bin/clamav-config
 bin/clamconf
 bin/clamdscan
@@ -20,9 +20,7 @@
 ${MILTER}sbin/clamav-milter
 sbin/clamd
 share/examples/clamav/clamd.conf
-share/examples/clamav/daily.cvd
 share/examples/clamav/freshclam.conf
-share/examples/clamav/main.cvd
 share/examples/rc.d/clamd
 share/examples/rc.d/freshclamd
 @dirrm share/examples/clamav
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/mail/clamav/distinfo,v
retrieving revision 1.44
diff -u -r1.44 distinfo
--- distinfo    31 May 2007 05:26:46 -0000      1.44
+++ distinfo    2 Jul 2007 22:48:07 -0000
@@ -1,8 +1,8 @@
 $NetBSD: distinfo,v 1.44 2007/05/31 05:26:46 martti Exp $
 
-SHA1 (clamav-0.90.3.tar.gz) = ec322b5ada9cf5b6faebd2d800985545ee2d28fa
-RMD160 (clamav-0.90.3.tar.gz) = 7dda3541afee8403c7fb98aa827f14b5a7a1d6ce
-Size (clamav-0.90.3.tar.gz) = 12496857 bytes
+SHA1 (clamav-0.91rc1.tar.gz) = 6571276bfdd0dcb008a9de88ed25aa50d75543dd
+RMD160 (clamav-0.91rc1.tar.gz) = 28b3277987b302d7e6650534e8f8ac314d8d274f
+Size (clamav-0.91rc1.tar.gz) = 12605186 bytes
 SHA1 (patch-ad) = 554c183224c04357609111c90d0145c08e13c1d0
-SHA1 (patch-af) = fe93995448f968c479ff91d52c1fa2a1e67ef137
+SHA1 (patch-af) = 681bd3596b9a0abc40b709db46ba1b7a2d12da36
 SHA1 (patch-ah) = 0b0865cca6bb8534740b510b7052dbe3390b996c
Index: patches/patch-af
===================================================================
RCS file: /cvsroot/pkgsrc/mail/clamav/patches/patch-af,v
retrieving revision 1.3
diff -u -r1.3 patch-af
--- patches/patch-af    16 Feb 2007 14:40:41 -0000      1.3
+++ patches/patch-af    2 Jul 2007 22:48:07 -0000
@@ -1,22 +1,16 @@
-$NetBSD: patch-af,v 1.3 2007/02/16 14:40:41 xtraeme Exp $
+$NetBSD$
 
---- database/Makefile.in.orig  2007-02-16 15:27:18.000000000 +0100
-+++ database/Makefile.in       2007-02-16 15:28:06.000000000 +0100
-@@ -359,17 +359,6 @@
+--- database/Makefile.in.orig  2007-05-31 01:30:39.000000000 +0200
++++ database/Makefile.in
+@@ -360,11 +360,6 @@ install:
        $(mkinstalldirs) $(DESTDIR)$(DBINST)
-       @test -f $(DESTDIR)$(DBINST)/main.cvd || test -d 
$(DESTDIR)$(DBINST)/main.inc || $(INSTALL_DATA) $(srcdir)/main.cvd 
$(DESTDIR)$(DBINST)
-       @test -f $(DESTDIR)$(DBINST)/daily.cvd || test -d 
$(DESTDIR)$(DBINST)/daily.inc || $(INSTALL_DATA) $(srcdir)/daily.cvd 
$(DESTDIR)$(DBINST)
+ #     @test -f $(DESTDIR)$(DBINST)/main.cvd || $(INSTALL_DATA) 
$(srcdir)/main.cvd $(DESTDIR)$(DBINST)
+ #     @test -f $(DESTDIR)$(DBINST)/daily.cvd || $(INSTALL_DATA) 
$(srcdir)/daily.cvd $(DESTDIR)$(DBINST)
 -      @if test `id|sed -e 's/^.[^(]*(\([^)]*\)).*/\1/'` = "root" && test -n 
"${CLAMAVUSER}" && test -n "${CLAMAVGROUP}"; then \
 -          chmod 775 $(DESTDIR)$(DBINST); \
 -          chown ${CLAMAVUSER} $(DESTDIR)$(DBINST); \
 -          chgrp ${CLAMAVGROUP} $(DESTDIR)$(DBINST); \
--          if test -f $(DESTDIR)$(DBINST)/main.cvd; then chmod 664 
$(DESTDIR)$(DBINST)/main.cvd; fi;\
--          if test -f $(DESTDIR)$(DBINST)/main.cvd; then chown ${CLAMAVUSER} 
$(DESTDIR)$(DBINST)/main.cvd; fi;\
--          if test -f $(DESTDIR)$(DBINST)/main.cvd; then chgrp ${CLAMAVGROUP} 
$(DESTDIR)$(DBINST)/main.cvd; fi;\
--          if test -f $(DESTDIR)$(DBINST)/daily.cvd; then chmod 664 
$(DESTDIR)$(DBINST)/daily.cvd; fi;\
--          if test -f $(DESTDIR)$(DBINST)/daily.cvd; then chown ${CLAMAVUSER} 
$(DESTDIR)$(DBINST)/daily.cvd; fi;\
--          if test -f $(DESTDIR)$(DBINST)/daily.cvd; then chgrp ${CLAMAVGROUP} 
$(DESTDIR)$(DBINST)/daily.cvd; fi;\
--      fi
- # Tell versions [3.59,3.63) of GNU make to not export all variables.
- # Otherwise a system limit (for SysV at least) may be exceeded.
- .NOEXPORT:
+-fi
+ #         chmod 664 $(DESTDIR)$(DBINST)/main.cvd; \
+ #         chown ${CLAMAVUSER} $(DESTDIR)$(DBINST)/main.cvd; \
+ #         chgrp ${CLAMAVGROUP} $(DESTDIR)$(DBINST)/main.cvd; \

Attachment: pgpO7k9neesWR.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index