This is a multi-part message in MIME format.
--------------020907030909080804090608
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
On 2/17/2011 7:27 PM, Kevin Fenzi wrote:
On Wed, 16 Feb 2011 16:53:09 -0500
Fred Wittekind <rom(a)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
/var/lib/clamav/daily.cvd
/var/lib/clamav/main.cvd
# ls -l /var/lib/clamav/
total 67440
-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.
> Fred
kevin
_______________________________________________
epel-devel-list mailing list
epel-devel-list(a)redhat.com
https://www.redhat.com/mailman/listinfo/epel-devel-list
--------------020907030909080804090608
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
On 2/17/2011 7:27 PM, Kevin Fenzi wrote:
<blockquote cite="mid:20110217172702.60dbaa47@ohm.scrye.com"
type="cite">
<pre wrap="">On Wed, 16 Feb 2011 16:53:09 -0500
Fred Wittekind <a class="moz-txt-link-rfc2396E"
href="mailto:rom@twister.dyndns.org"><rom@twister.dyndns.org></a>
wrote:
</pre>
<blockquote type="cite">
<pre wrap="">First of all, I appreciate the work.
</pre>
</blockquote>
<pre wrap="">
Thanks.
</pre>
<blockquote type="cite">
<pre wrap="">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.
</pre>
</blockquote>
<pre wrap="">
Odd. Can you duplicate it/provide any output?
I'm not sure how usefull a empty db is, but patches welcome...
</pre>
</blockquote>
<br>
I know this is not from your spec file, but, it shows what I was
writing about<br>
<br>
# rpm -q -l -p clamav-data-0.96.5-1301el5.x86_64.rpm<br>
/var/lib/clamav/daily.cvd<br>
/var/lib/clamav/main.cvd<br>
<br>
# ls -l /var/lib/clamav/<br>
total 67440<br>
-rw-r--r-- 1 clamupdate clamupdate 459264 Feb 15 11:24
bytecode.cld<br>
-rw-r--r-- 1 clamupdate clamupdate 3071488 Feb 18 10:36 daily.cld<br>
-rw-r--r-- 1 clamupdate clamupdate 65422336 Nov 14 11:24 main.cld<br>
-rw------- 1 clamupdate clamupdate
884 Feb 18 10:36 mirrors.dat<br>
<br>
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.<br>
<blockquote cite="mid:20110217172702.60dbaa47@ohm.scrye.com"
type="cite">
<pre wrap="">
</pre>
<blockquote type="cite">
<pre wrap="">My take from <a
class="moz-txt-link-freetext"
href="https://bugzilla.redhat.com/show_bug.cgi?id=573191">ht...
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).
</pre>
</blockquote>
<pre wrap="">
Good catch. Fixed.
</pre>
<blockquote type="cite">
<pre wrap="">Fred
</pre>
</blockquote>
<pre wrap="">
kevin
</pre>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
epel-devel-list mailing list
<a class="moz-txt-link-abbreviated"
href="mailto:epel-devel-list@redhat.com">epel-devel-list@redhat.com</a>
<a class="moz-txt-link-freetext"
href="https://www.redhat.com/mailman/listinfo/epel-devel-list"&...
</pre>
</blockquote>
<br>
</body>
</html>
--------------020907030909080804090608--