Re: [Clamav-users] 0.96rc2 failed to compile

2010-03-26 Thread Andreas Schulze
Hello Edwin, I put all information you asked for at http://postmaster.datev.de/clamav-0.96rc2/ hope that helps ... Andreas -- Andreas Schulze Internetdienste | P532 DATEV eG 90329 Nürnberg | Telefon +49 911 319-0 | Telefax +49 911 319-3196 E-Mail info @datev.de | Internet www.datev.de Sitz: 9

Re: [Clamav-users] 0.96rc2 failed to compile

2010-03-26 Thread Török Edwin
On 2010-03-26 10:38, Andreas Schulze wrote: > Hello Edwin, > > I put all information you asked for at > http://postmaster.datev.de/clamav-0.96rc2/ > hope that helps ... I think this is the problem: + export 'CFLAGS=-O2 -g -m32 -march=i586 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fno-

[Clamav-users] HTTPUserAgent must be disabled for SubmitDetectionStats

2010-03-26 Thread Andreas Schulze
Hello, I notice that clamav 0.96 provide some kind of personalized detection statistics. Thes data are transfered by freshclam In our network we are forced to setup a special http useragent to make freshclam to work. Unfortunly this will make it impossible to send detection statistics. I sugge

Re: [Clamav-users] 0.96rc2 failed to compile

2010-03-26 Thread Andreas Schulze
Am 26.03.2010 10:45 schrieb Török Edwin: > So try doing this before invoking configure in your build script: > export CXXFLAGS="$CFLAGS". that was the trick. it compiles :-) -- Andreas Schulze Internetdienste | P532 DATEV eG 90329 Nürnberg | Telefon +49 911 319-0 | Telefax +49 911 319-3196 E-Mai

Re: [Clamav-users] 0.96rc2 failed to compile

2010-03-26 Thread Török Edwin
On 2010-03-26 13:48, Andreas Schulze wrote: > Am 26.03.2010 10:45 schrieb Török Edwin: >> So try doing this before invoking configure in your build script: >> export CXXFLAGS="$CFLAGS". > that was the trick. it compiles :-) Ok. I added some notes on the wiki about this: https://wiki.clamav.net/bi

Re: [Clamav-users] HTTPUserAgent must be disabled for SubmitDetectionStats

2010-03-26 Thread Andreas Schulze
Hallo, I wrote a small patch to demonstrate.. The patch is ugly but does not introduce new char[] with fixed size. A real programmer knows to make it better... > I suggest to transfer the hostid into an X-Subisstion-HostID header as part > of the > http-request and *not* as part of the useragen

[Clamav-users] clamav-0.96rc2 successful compilation on FreeBSD 4.8

2010-03-26 Thread Matthias Häker
Hi after changing line 453-463 in others.h to #else /* ! _WIN32 */ //#if HAVE_SYSCONF_SC_PAGESIZE //static inline int cli_getpagesize(void) { return sysconf(_SC_PAGESIZE); } //#define HAVE_CLI_GETPAGESIZE 1 //#else //#if HAVE_GETPAGESIZE static inline int cli_getpagesize(void) { return getpagesi

Re: [Clamav-users] clamav-0.96rc2 successful compilation on FreeBSD 4.8

2010-03-26 Thread Jerry
On Fri, 26 Mar 2010 16:20:03 +0100, Matthias Häker articulated: > Hi > > after changing line 453-463 in others.h to > > #else /* ! _WIN32 */ > //#if HAVE_SYSCONF_SC_PAGESIZE > //static inline int cli_getpagesize(void) { return > sysconf(_SC_PAGESIZE); } //#define HAVE_CLI_GETPAGESIZE 1 > //#els

Re: [Clamav-users] clamav-0.96rc2 successful compilation on FreeBSD 4.8

2010-03-26 Thread Matthias Häker
Am 26.03.2010 17:15, schrieb Jerry: On Fri, 26 Mar 2010 16:20:03 +0100, Matthias Häker articulated: Hi after changing line 453-463 in others.h to #else /* ! _WIN32 */ //#if HAVE_SYSCONF_SC_PAGESIZE //static inline int cli_getpagesize(void) { return sysconf(_SC_PAGESIZE); } //#define HAV

Re: [Clamav-users] HTTPUserAgent must be disabled for SubmitDetectionStats

2010-03-26 Thread Tomasz Kojm
On Fri Mar 26 2010 11:46:12 GMT+0100 (CET) Andreas Schulze wrote: > Hello, > > I notice that clamav 0.96 provide some kind of personalized detection > statistics. > Thes data are transfered by freshclam > > In our network we are forced to setup a special http useragent to make > freshclam to w