Török Edvin
15d67313c4
allow 'make check' to work even if check is not installed
...
by skipping checks that require it. (bb #1157 )
if configure is not able to find check, you can use
--with-libcheck-prefix, instead of CHECK_CFLAGS and
CHECK_LIBS.
remove accidental AC_DEFINE GETHOSTBYNAME_R_6 from last commit.
git-svn: trunk@4172
17 years ago
Tomasz Kojm
3027857c52
configure: use getaddrinfo() whenever available (can be disabled with
...
--disable-getaddrinfo); --disable-ipv6 now only disables support for
IPv6 addresses in getaddrinfo() (bb#1165)
git-svn: trunk@4171
17 years ago
aCaB
6d48ea885a
update libtool - bb#1162
...
git-svn: trunk@4170
17 years ago
Török Edvin
2d75763208
revert last commit, it breaks bzip2 detection in /usr/local
...
git-svn: trunk@4163
17 years ago
Török Edvin
8179270b95
if pkg-config cannot find check look in standard places for check
...
(such as /usr/local/lib)
git-svn: trunk@4162
17 years ago
Török Edvin
4a40b66cf0
replace AC_FUNC_MMAP: check only for MAP_PRIVATE and not MAP_FIXED (bb #1140 ) HP-UX: zlib in non-standard path, LIBS got set to -lz, but -L was missing, just restore LIBS and don't touch it
...
git-svn: trunk@4145
17 years ago
Tomasz Kojm
6670d61d4b
drop support for Cygwin (due to broken ClamAV builds)
...
git-svn: trunk@4143
17 years ago
Tomasz Kojm
e8b94525cf
freshclam/manager.c: fix warnings - bb#1142
...
git-svn: trunk@4132
17 years ago
Török Edvin
5cd3f734a9
add lots of warnings flags to 'make distcheck',
...
and turn some warnings into errors (bb #1092 )
git-svn: trunk@4129
17 years ago
Tomasz Kojm
1246054902
freshclam/manager.c: fix error path memleaks - bb#1141
...
git-svn: trunk@4126
17 years ago
Tomasz Kojm
56e4c12997
fix possible crash under solaris (bb#1127)
...
git-svn: trunk@4105
17 years ago
Tomasz Kojm
45623e7c9e
make sure buffer is properly terminated (bb#1114)
...
git-svn: trunk@4102
17 years ago
Tomasz Kojm
c8cdb82f90
freshclam/manager.c: add machine/OS info to the default user agent string
...
git-svn: trunk@4097
17 years ago
aCaB
55144c4766
work around non reentrant lresolv
...
git-svn: trunk@4087
17 years ago
Török Edvin
dfc0c031cb
if there is a version.h.static use that instead of output from svnversion
...
Makefile portability fixes
fix assert failure
add lcov to top level makefile
cleanup after lcov when you run make clean (bb #1112 )
fix parsing of [^.] character class
fix parsing of [r-t]
fix handling of @ for URL hashes
fix handling of &# inside URLs
drop some dead code
more unit tests for str
portability fixes
git-svn: trunk@4078
17 years ago
Török Edvin
5874339ee0
Fix crash with IPV6 download in freshclam
...
git-svn: trunk@4077
17 years ago
Török Edvin
add738d28c
portability fixes
...
if there is a version.h.static use that instead of output from svnversion
use get_version(), tools outside libclamav shouldn't rely on libclamav version
exception: clamconf itself needs both, and the milter shows both
git-svn: trunk@4076
17 years ago
Török Edvin
1eb943f3fc
use automake for a basic check that the installed programs work.
...
currently only tests clamscan and sigtool
database: 0 sized .cvd files were still installed, because exit 0 didn't stop
the entire rule. fixed
git-svn: trunk@4042
17 years ago
Tomasz Kojm
2eccefa50a
missed in r3982
...
git-svn: trunk@3983
17 years ago
Tomasz Kojm
95c131db96
freshclam/mirman.c: fix handling of IPv6 addresses
...
git-svn: trunk@3982
17 years ago
Tomasz Kojm
acb827c642
freshclam/freshclam.c: improve some msgs (bb#1066)
...
git-svn: trunk@3972
17 years ago
Tomasz Kojm
a68c8f5809
add missing prototype for mirman_whitelist
...
git-svn: trunk@3969
17 years ago
Tomasz Kojm
ea89339f2e
whitelisting can be now remotely disabled
...
git-svn: trunk@3965
17 years ago
Tomasz Kojm
a68aa31f95
freshclam: if all mirrors get blacklisted internally and freshclam is recent enough then attempt to whitelist them (bb#965)
...
git-svn: trunk@3963
17 years ago
Török Edvin
d1d558c944
use pkg-config to locate check, if available (bb #1093 )
...
make --enable-coverage depends on unit tests being activated
fix a typo in bzip2 configure check
remove temporary log files on make clean
git-svn: trunk@3953
17 years ago
Tomasz Kojm
9424a48257
another fix for bb#1095
...
git-svn: trunk@3948
17 years ago
Tomasz Kojm
510da7b7ac
freshclam: try load balance update sessions between available mirrors
...
git-svn: trunk@3947
17 years ago
Tomasz Kojm
195be7d446
freshclam/manager.c: fix rename() problem on w32 (bb#1084)
...
git-svn: trunk@3944
17 years ago
Tomasz Kojm
361cc7719a
include winsock on w32
...
git-svn: trunk@3943
17 years ago
Tomasz Kojm
44eb77a1ff
freshclam/mirman.c: fix compilation error on w32 (bb#1095)
...
git-svn: trunk@3942
17 years ago
Tomasz Kojm
7edaa8a52f
respect HTTPProxyPort in new code (bb#1094)
...
git-svn: trunk@3941
17 years ago
Tomasz Kojm
b54eb319c6
freshclam: IPv6 support (bb#715)
...
git-svn: trunk@3940
17 years ago
Török Edvin
232c4b7016
add unit tests for binaries
...
enable unit tests by default (if check is available)
add --enable-coverage to run gcov/lcov
add --enable-tests-install to install test files
git-svn: trunk@3935
17 years ago
Török Edvin
fd08e02ea3
add Javascript normalizer (not yet enabled)
...
git-svn: trunk@3917
17 years ago
Török Edvin
29d8b7deaf
add missing closesocket on error path (bb #1073 ).
...
git-svn: trunk@3894
17 years ago
Tomasz Kojm
770fb16668
freshclam: in interactive mode EXIT_n can be passed to --on-*-execute to overwrite the default return code values (bb#465)
...
git-svn: trunk@3874
17 years ago
Tomasz Kojm
a9d3aa14cd
libclamunrar_iface, clamd, freshclam: merge win32 patches from NJH (bb#802)
...
git-svn: trunk@3872
17 years ago
Tomasz Kojm
72ce4b70eb
improve handling of PDF, CAB, RTF, OLE2 and HTML files (sync with branch/0.93)
...
git-svn: trunk@3862
17 years ago
Tomasz Kojm
b500915b81
don't call daemonize() under w32 (bb#1002)
...
git-svn: trunk@3857
17 years ago
Török Edvin
725a296922
build system: add configure checks for FD passing
...
m4/fdpassing.m4: move all FD passing checks here
clamd/session.[ch], scanner.[ch]:
contrib/clamd_fdscan:
add rfc2292/bsd4.4 style file descriptor passing support
this code is from Marc Balmer <marc*msys.ch>, with some portability
fixes applied
git-svn: trunk@3849
17 years ago
aCaB
69dfed42ea
revert r3808 - bb#1010
...
git-svn: trunk@3839
17 years ago
aCaB
0c61079c6c
don't link pthread if not needed
...
git-svn: trunk@3808
17 years ago
Török Edvin
0c54213b6e
show errno reason in freshclam on failure (bb #923 )
...
git-svn: trunk@3791
17 years ago
Török Edvin
e5b0783922
-lcheck needs to be conditional, use @LCHECK@.
...
Regenerate Makefiles.
git-svn: trunk@3774
17 years ago
Tomasz Kojm
c1908ce710
keep proper file order when building .cld file
...
git-svn: trunk@3667
18 years ago
aCaB
2455584143
sync to trunk
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/newlimits@3599 77e5149b-7576-45b1-b177-96237e5ba77b
18 years ago
Török Edvin
282417339c
quote macro arguments, group AC_C_* macros (bb #452 ),
...
thanks to Markus Elfring <Markus.Elfring*web.de>
move ld --version-script check after compiler checks
run autoreconf (new libtool)
git-svn: trunk@3598
18 years ago
Török Edvin
3064a5428c
generic text normalizer (bb #241 )
...
update automake files: automake complained that they were too old
git-svn: trunk@3583
18 years ago
Tomasz Kojm
1cdb6cfbac
s/HAVE_GMP/HAVE_LIBGMP
...
git-svn: trunk@3567
18 years ago
Török Edvin
6053d09a36
allow to specify libgmp location, by using --with-libgmp-prefix,
...
by default current prefix is also searched
allow to specify libb2 location, by using --with-bz2-prefix,
by default current prefix is also searched
locating gmp and bz2 works by default on OpenBSD (bb #301 )
move local m4 macros to m4/
import lib-link.m4 and dependent files
quoting for autoconf macros (bb #452 )
git-svn: trunk@3566
18 years ago