why is clamav source have clamav db files in the tarball ?

View: New views
3 Messages — Rating Filter:   Alert me  

why is clamav source have clamav db files in the tarball ?

by Benny Pedersen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


why is clamav installing new db when upgrade from sources ?

should it not be sufficient with a run of freshclam before install ?

problem with db in tarball is that it sometimes even downgrade db that is
installed, this problem comes mostly when new clamav is buildt from source

should this be solved in package managers or upstream ?

--
Benny Pedersen
Need more webspace ? http://www.servage.net/?coupon=cust37098

_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net

Re: why is clamav source have clamav db files in the tarball ?

by Stephen Gran-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Jul 16, 2008 at 09:43:08PM +0200, Benny Pedersen said:

>
> why is clamav installing new db when upgrade from sources ?
>
> should it not be sufficient with a run of freshclam before install ?
>
> problem with db in tarball is that it sometimes even downgrade db that
> is installed, this problem comes mostly when new clamav is buildt from
> source
>
> should this be solved in package managers or upstream ?
Since clamd, clamscan, and so on won't start without a valid database file
or two, it makes sense to make the default install contain a database.
Currently the Debian packages conditionally install the databases
shipped with a new release, taking care not to overwrite existing files.
It would be nice if make install had the same behavior, but that's not
trivial to do with automake, and I'm not sure it's worth the time it
would take to get the logic right.
--
 --------------------------------------------------------------------------
|  Stephen Gran                  | The rule on staying alive as a          |
|  steve@...             | forecaster is to give 'em a number or   |
|  http://www.lobefin.net/~steve | give 'em a date, but never give 'em     |
|                                | both at once.   -- Jane Bryant Quinn    |
 --------------------------------------------------------------------------


_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net

signature.asc (196 bytes) Download Attachment

Re: why is clamav source have clamav db files in the tarball ?

by Benny Pedersen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "MIME-Version"

On Wed, July 16, 2008 23:51, Stephen Gran wrote:

> Since clamd, clamscan, and so on won't start without a valid database file
> or two, it makes sense to make the default install contain a database.

currect, but sometimes tarball have old db files, where freshclam do not
have this problem

> Currently the Debian packages conditionally install the databases
> shipped with a new release, taking care not to overwrite existing files.

super, if freshclam is runned before starting clamd

> It would be nice if make install had the same behavior, but that's not
> trivial to do with automake, and I'm not sure it's worth the time it
> would take to get the logic right.

if both db and source code need to be installed split it as a seperary deb
package, i know debian have this habbit :-)

why do i care ?, i do for the mirror size that downloads currently 17M to
get the latest patches for clamav sources :/

--
Benny Pedersen
Need more webspace ? http://www.servage.net/?coupon=cust37098

_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net
LightInTheBox - Buy quality products at wholesale price!