Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ClamAV: devel

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

 

 

ClamAV devel RSS feed   Index | Next | Previous | View Threaded


me at junc

Jul 16, 2008, 12:43 PM

Post #1 of 3 (652 views)
Permalink
why is clamav source have clamav db files in the tarball ?

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


steve at lobefin

Jul 16, 2008, 2:51 PM

Post #2 of 3 (602 views)
Permalink
Re: why is clamav source have clamav db files in the tarball ? [In reply to]

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[at]lobefin.net | 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 |
--------------------------------------------------------------------------
Attachments: signature.asc (0.18 KB)


me at junc

Jul 17, 2008, 3:59 AM

Post #3 of 3 (602 views)
Permalink
Re: why is clamav source have clamav db files in the tarball ? [In reply to]

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

ClamAV devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.