Re: [Clamav-devel] why is clamav source have clamav db files in the tarball ?

2008-07-17 Thread Benny Pedersen

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


Re: [Clamav-devel] why is clamav source have clamav db files in the tarball ?

2008-07-16 Thread Stephen Gran
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  |
|  [EMAIL PROTECTED] | 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|
 --


signature.asc
Description: Digital signature
___
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net