rpms/clamav/F-10 clamav-0.94.2-nooutdate.patch, NONE, 1.1 clamav.spec, 1.78, 1.79 verinfo, 1.2, 1.3
Enrico Scholz
ensc at fedoraproject.org
Wed Apr 22 16:33:57 UTC 2009
Author: ensc
Update of /cvs/extras/rpms/clamav/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv743
Modified Files:
clamav.spec verinfo
Added Files:
clamav-0.94.2-nooutdate.patch
Log Message:
updated
clamav-0.94.2-nooutdate.patch:
--- NEW FILE clamav-0.94.2-nooutdate.patch ---
diff -up clamav-0.94.2/freshclam/mirman.c.nooutdate clamav-0.94.2/freshclam/mirman.c
--- clamav-0.94.2/freshclam/mirman.c.nooutdate 2008-11-21 23:24:42.000000000 +0100
+++ clamav-0.94.2/freshclam/mirman.c 2009-04-22 18:20:58.000000000 +0200
@@ -131,7 +131,7 @@ int mirman_check(uint32_t *ip, int af, s
return 0;
}
- if(mdat->dbflevel && (mdat->dbflevel > flevel) && (mdat->dbflevel - flevel > 3))
+ if(0 && mdat->dbflevel && (mdat->dbflevel > flevel) && (mdat->dbflevel - flevel > 3))
if(time(NULL) - mdat->mirtab[i].atime < 4 * 3600)
return 2;
Index: clamav.spec
===================================================================
RCS file: /cvs/extras/rpms/clamav/F-10/clamav.spec,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -r1.78 -r1.79
--- clamav.spec 2 Dec 2008 22:35:58 -0000 1.78
+++ clamav.spec 22 Apr 2009 16:33:51 -0000 1.79
@@ -19,7 +19,7 @@
Summary: End-user tools for the Clam Antivirus scanner
Name: clamav
Version: 0.94.2
-Release: %release_func 1%{?snapshot:.%snapshot}
+Release: %release_func 2%{?snapshot:.%snapshot}
License: %{?with_unrar:proprietary}%{!?with_unrar:GPLv2}
Group: Applications/File
@@ -46,6 +46,7 @@
Patch24: clamav-0.92-private.patch
Patch25: clamav-0.92-open.patch
Patch26: clamav-0.93.3-pid.patch
+Patch27: clamav-0.94.2-nooutdate.patch
BuildRoot: %_tmppath/%name-%version-%release-root
Requires: clamav-lib = %version-%release
Requires: data(clamav)
@@ -258,6 +259,7 @@
%patch24 -p1 -b .private
%patch25 -p1 -b .open
%patch26 -p1 -b .pid
+%patch27 -p1 -b .nooutdate
install -p -m0644 %SOURCE300 clamav-milter/
@@ -548,6 +550,16 @@
%changelog
+* Wed Apr 22 2009 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> - 0.94.2-2
+- added -nooutdate patch to avoid the 'has connected too many times
+ with an outdated version' on freshclam invocation. Because clamav is
+ buggy like hell and full with security leaks, the database upgrade
+ must not be skipped as broken modules are disabled by it too.
+
+ The patch itself is probably required due to a bug in freshclam:
+ this message should never be triggered when 'freshclam' is invoked
+ in non-daemon mode (e.g. manually or as a cron-job).
+
* Tue Dec 02 2008 Robert Scheck <robert at fedoraproject.org> - 0.94.2-1
- Upgrade to 0.94.2 (#474002)
Index: verinfo
===================================================================
RCS file: /cvs/extras/rpms/clamav/F-10/verinfo,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- verinfo 1 Jan 2008 13:19:16 -0000 1.2
+++ verinfo 22 Apr 2009 16:33:51 -0000 1.3
@@ -1,2 +1,2 @@
-http://prdownloads.sourceforge.net/sourceforge/clamav/
+http://sourceforge.net/project/showfiles.php?group_id=86638&package_id=90197
clamav-([0-9.-]*?)\.tar\.
More information about the fedora-extras-commits
mailing list