Tomasz Kojm
77404545b3
fix compilation error on Tru64 (bb#829)
...
git-svn: trunk@3666
2008-02-21 15:30:17 +00:00
Tomasz Kojm
e979398ca8
delay the call to daemonize() (bb#839)
...
git-svn: trunk@3642
2008-02-15 17:37:53 +00:00
aCaB
d9844083b5
typo clamd limits
...
git-svn: trunk@3629
2008-02-13 16:28:16 +00:00
Török Edvin
d6df9ffb5a
use pthread_cond_* instead of usleep() in MULTISCAN (bb #758 )
...
enable entconv by default
others.c: fix compiler warning
regex_list.c: remove unused code, because a better solution is scheduled for 0.94 (bb #725 )
git-svn: trunk@3627
2008-02-13 10:57:33 +00:00
aCaB
23f5dfbd96
clamd options reordered
...
git-svn: trunk@3621
2008-02-12 03:19:50 +00:00
aCaB
e7a322eae4
newlimits merge
...
git-svn: trunk@3614
2008-02-11 17:38:21 +00:00
Tomasz Kojm
87e914447c
add missing mutex sync for progexit (bb#461)
...
git-svn: trunk@3610
2008-02-11 15:00:37 +00:00
aCaB
2455584143
sync to trunk
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/newlimits@3599 77e5149b-7576-45b1-b177-96237e5ba77b
2008-02-08 17:50:44 +00:00
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
2008-02-08 12:38:09 +00:00
Török Edvin
efac2f09b7
don't ignore SIGBUS, SIGFPE, SIGILL, and SIGSEGV.
...
POSIX says the behaviour is undefined if they are ignored.
(on HP-UX behaviour was: hang)
make BIGSTACK the default on HPUX
git-svn: trunk@3593
2008-02-07 20:47:50 +00:00
aCaB
281c7642fb
config
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/newlimits@3592 77e5149b-7576-45b1-b177-96237e5ba77b
2008-02-07 02:00:21 +00:00
aCaB
d91ab809a2
initial rewrite of limits
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/newlimits@3591 77e5149b-7576-45b1-b177-96237e5ba77b
2008-02-06 21:19:10 +00:00
Török Edvin
3064a5428c
generic text normalizer (bb #241 )
...
update automake files: automake complained that they were too old
git-svn: trunk@3583
2008-02-04 21:25:31 +00:00
Török Edvin
9e751804a2
introduce cli_ctime() that uses ctime_r() when
...
available, and falls back to locking with a mutex around
ctime(). (ensures we are using the same mutex always).
use cli_ctime() instead of the thread-unsafe ctime().
This fixes stability problems.
git-svn: trunk@3578
2008-02-03 19:23:20 +00:00
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
2008-01-31 12:07:57 +00:00
Török Edvin
4c56bffa3b
build system modernization: (based on suggestion from
...
Markus Elfring <Markus.Elfring*web.de> in bb #452 )
* use AC_CONFIG_HEADER, since AM_CONFIG_HEADER is obsolete
* put configure files into auxiliary directory
* fix main declaration in FD_SETSIZE test
* check for failure on fopen in FD_SETSIZE test
* move version from AM_INIT_AUTOMAKE to AC_INIT, old form was obsolete
* eliminate automake warnings, update Makefile.am
* rename .splitted to .split (requested by aCaB)
git-svn: trunk@3563
2008-01-30 21:06:36 +00:00
Tomasz Kojm
5a3aeff49f
fix handling of special characters in mprintf/logg (bb#360)
...
git-svn: trunk@3533
2008-01-23 16:38:36 +00:00
Tomasz Kojm
587d344b1f
add error reporting to daemonize() (bb#729)
...
git-svn: trunk@3526
2008-01-22 17:47:15 +00:00
Tomasz Kojm
0aa3ba0660
respect custom dbdir settings in print_version() (bb#699)
...
git-svn: trunk@3521
2008-01-22 10:42:30 +00:00
Tomasz Kojm
df599e74f9
drop support for direct fd passing (not maintained)
...
git-svn: trunk@3520
2008-01-22 08:38:24 +00:00
Tomasz Kojm
12a7b4fbff
improve cli_rndnum() and cli_gentempfd()
...
git-svn: trunk@3490
2008-01-09 19:43:08 +00:00
Török Edvin
a0e5e84425
avoid bringing in checks for languages we don't use (decreases configure size by 300Kb+).
...
git-svn: trunk@3484
2008-01-06 16:58:25 +00:00
Tomasz Kojm
cb9d09c2a3
add support for .cld files (bb#745)
...
git-svn: trunk@3480
2008-01-03 12:10:53 +00:00
Török Edvin
80cf63099c
add support for version scripts when using Sun's ld on Solaris.
...
use $GREP to grep binary files, needed for autoit to build on Solaris.
add support for both GNU and Sun ld version scripts.
add version script maps to libclamunrar, libclamunrar_iface. Enumerate all symbols, Sun's ld doesn't support cl_* (only *).
cli_decodesig needs a dummy definition on Solaris.
git-svn: trunk@3474
2007-12-31 12:46:26 +00:00
Török Edvin
2fe76d5051
merged from not_for_0.92_tempbranch.
...
remove "all domain scan" feature from phishcheck
(--no-phishing-restrictedscan). Nobody is using it.
Don't care why an url is clean, just state it is clean.
Various cleanups resulting from this.
Prepare to introduce selective turn on of sub-features.
git-svn: trunk@3417
2007-12-14 11:44:56 +00:00
aCaB
8ec38f70a0
changelog + reverted automake10
...
git-svn: trunk@3414
2007-12-13 21:49:38 +00:00
aCaB
f377e052cd
Merging the post0.92 stuff
...
Please don't commit anything till I'm finished
A full changelog will come up later
Thanks
git-svn: trunk@3410
2007-12-13 19:45:38 +00:00
Tomasz Kojm
5ca7fd1813
re-include RAR code
...
git-svn: trunk@3396
2007-12-12 21:46:34 +00:00
aCaB
813864ce6b
(hopefully) all the stuff lost
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/not_for_0.92_tempbranch@3388 77e5149b-7576-45b1-b177-96237e5ba77b
2007-12-10 22:17:06 +00:00
Tomasz Kojm
067ecc29a3
temporarily remove the RAR code
...
git-svn: trunk@3371
2007-12-06 14:48:48 +00:00
Török Edvin
88c90922be
revert change from trunk and move to branch.
...
git-svn: trunk@3370
2007-11-14 21:33:07 +00:00
Török Edvin
a4e6ac4d78
remove "all domain scan" feature from phishcheck (--no-phishing-restrictedscan). Nobody is using it.
...
Don't care why an url is clean, just state it is clean.
Various cleanups resulting from this.
Prepare to introduce selective turn on of sub-features.
git-svn: trunk@3369
2007-11-14 20:53:42 +00:00
Tomasz Kojm
3d53538b51
add cli_ac_setdepth(), --dev-ac-depth, DevACOnly, DevACDepth
...
git-svn: trunk@3365
2007-11-08 15:17:08 +00:00
Tomasz Kojm
6ce302428f
by default don't build and link with libclamunrar;
...
use --enable-unrar to build with RAR support
git-svn: trunk@3324
2007-10-26 18:45:20 +00:00
Trog
2fda4dc0ea
* libclamunrar: move unrar to a separate library, under an unrar license.
...
* libclamav/unarj: further bounds checking
git-svn: trunk@3310
2007-10-23 12:04:53 +00:00
Tomasz Kojm
aae6f809b4
shutdown conn->sd when exiting scanner_thread() (bb#674)
...
git-svn: trunk@3274
2007-10-06 00:10:16 +00:00
Tomasz Kojm
38fe8af4ff
better error checking/reporting (bb#657)
...
git-svn: trunk@3273
2007-10-05 23:48:44 +00:00
Tomasz Kojm
09eab32afc
move hardware acceleration code to contrib/hwaccel/hwaccel.patch
...
git-svn: trunk@3209
2007-09-07 14:22:10 +00:00
Tomasz Kojm
83c6ed6720
fix compilation error
...
git-svn: trunk@3199
2007-09-02 12:18:28 +00:00
Tomasz Kojm
70edb0851e
add support for PUA databases
...
git-svn: trunk@3169
2007-08-13 18:10:35 +00:00
Tomasz Kojm
082567c7f7
fix incorrect handling of SIGSEGV (bb#514)
...
git-svn: trunk@3070
2007-05-28 16:02:15 +00:00
Tomasz Kojm
692bda6847
prepare for enabling phishing code in non-experimental builds
...
git-svn: trunk@3042
2007-05-01 16:08:57 +00:00
Tomasz Kojm
bb34cb31fe
update some copyrights and stick to GPL v2
...
git-svn: trunk@3003
2007-03-31 20:31:04 +00:00
Tomasz Kojm
b6e7566510
fix some mistakes, thx to TP
...
git-svn: trunk@2976
2007-03-27 08:39:56 +00:00
Tomasz Kojm
ab8d8f52cf
minor cleanup
...
git-svn: trunk@2952
2007-03-19 20:36:17 +00:00
Tomasz Kojm
1095156aef
fix gcc -W* warnings
...
git-svn: trunk@2914
2007-03-06 16:31:49 +00:00
Tomasz Kojm
120f3c8560
make more attempts when cl_load returns CL_ELOCKDB
...
git-svn: trunk@2893
2007-03-01 23:10:09 +00:00
Tomasz Kojm
8ca8a18e2d
drop shared/memory.[ch]
...
git-svn: trunk@2874
2007-02-28 02:44:23 +00:00
Tomasz Kojm
1a4994e304
fix compilation error on Solaris (bb#341)
...
git-svn: trunk@2850
2007-02-23 19:15:28 +00:00
Tomasz Kojm
f203ea8342
update
...
git-svn: trunk@2844
2007-02-22 19:10:50 +00:00