On 2/17/2011 7:27 PM, Kevin Fenzi wrote:
On Wed, 16 Feb 2011 16:53:09 -0500 Fred Wittekind <rom twister dyndns org> wrote:First of all, I appreciate the work.Thanks.I prefer to install the empty db package, and have freshclam download the initial database. I didn't see a db-empty package in your spec file. I had some issues where after updating clamav, freshclam named the updated db files differently than came in the db package, and I ended up with clam complaining about having two databases.Odd. Can you duplicate it/provide any output? I'm not sure how usefull a empty db is, but patches welcome...
I know this is not from your spec file, but, it shows what I was writing about
# rpm -q -l -p clamav-data-0.96.5-1301el5.x86_64.rpm
# ls -l /var/lib/clamav/
-rw-r--r-- 1 clamupdate clamupdate 459264 Feb 15 11:24 bytecode.cld
-rw-r--r-- 1 clamupdate clamupdate 3071488 Feb 18 10:36 daily.cld
-rw-r--r-- 1 clamupdate clamupdate 65422336 Nov 14 11:24 main.cld
-rw------- 1 clamupdate clamupdate 884 Feb 18 10:36 mirrors.dat
The file extensions are different, why this is, I do not know. IMHO it's nice to have the option of not having RPM mess with the database, the "-empty" package is a way to do that. If you are updating clamav, then chances are the db on disk is newer than the one in the updated RPM that is being installed. The database included with the RPM is also most likely out-of-date by the time the RPM is released, so, personally, I see more value in a database installed via freshclam, than one installed via the package.
My take from https://bugzilla.redhat.com/show_bug.cgi?id=573191 was to add --disable-llvm to the build for EL5, since AFAIK the EL5 SELinux package doesn't have the clamd_use_jit boolean (I haven't checked 5.6).Good catch. Fixed.Fredkevin_______________________________________________ epel-devel-list mailing list epel-devel-list redhat com https://www.redhat.com/mailman/listinfo/epel-devel-list