Török Edvin
2c4c464098
Regenerate the buildfiles.
2009-08-31 15:52:44 +03:00
Török Edvin
2487a4a342
Various bytecode JIT fixes, teach clamconf about JIT, and make sure make check runs the JIT!
2009-08-28 20:07:25 +03:00
Török Edvin
d13f148a9c
Regenerate build stuff.
2009-08-25 19:06:35 +03:00
Török Edvin
731d647a7a
Regenerate build system files.
2009-08-24 19:39:51 +03:00
aCaB
295f1d1f8b
build system upgrade - bb#1528
2009-08-21 00:57:55 +02:00
aCaB
f333d0bccb
introduce new lzma
2009-08-05 16:20:29 +02:00
aCaB
c4afd0b458
update ignore files
2009-06-29 11:27:46 +02:00
Török Edvin
997a1efeb2
Draft of bytecode loader.
2009-06-26 16:30:46 +03:00
Tomasz Kojm
a168a37822
fix type errors
...
git-svn: trunk@5059
2009-05-05 14:14:40 +00:00
Tomasz Kojm
5bdf0b2a45
clamconf: display info on software & dbs (bb#1461)
...
git-svn: trunk@5056
2009-04-27 15:42:35 +00:00
Török Edvin
7d444fd93b
add documentation for MaxQueue (and other missing options) to clamd.conf (bb #1521 ).
...
Make clamconf generated config file a bit more like the one in etc/clamd.conf.
git-svn: trunk@5024
2009-04-06 09:26:19 +00:00
Török Edvin
4b93f2b633
check for mallinfo availability (bb #1445 ).
...
git-svn: trunk@5001
2009-04-01 17:51:44 +00:00
Török Edvin
b070a1d264
fix build on platforms where pthread in not part of libc (bb #1470 ).
...
git-svn: trunk@4946
2009-03-14 14:31:49 +00:00
aCaB
5348fa8d28
bb#1443
...
please don't touch the build stuff for a coupel of hours so i can easily revert this commit
git-svn: trunk@4884
2009-03-02 16:39:54 +00:00
Tomasz Kojm
6670464f91
update help pages
...
git-svn: trunk@4855
2009-02-24 16:12:56 +00:00
Török Edvin
8db0a3463d
clamdtop moved to toplevel + manpage.
...
git-svn: trunk@4846
2009-02-23 12:35:34 +00:00
Tomasz Kojm
b3acc38251
#ifdef HAVE_UNISTD_H
...
git-svn: trunk@4716
2009-02-09 11:01:55 +00:00
Tomasz Kojm
86c97e7e26
shared/optparser.c, clamconf: handle clamav-milter.conf in --generate-config
...
git-svn: trunk@4687
2009-02-06 14:43:30 +00:00
Tomasz Kojm
1d8a56d491
shared/optparser.c, clamconf/clamconf.c: add --generate-config
...
git-svn: trunk@4664
2009-01-29 19:03:59 +00:00
Tomasz Kojm
47d40feb7a
libclamav: use LibTomMath by Tom St Denis instead of libgmp for multiple precision integer arithmetic (bb#1366)
...
git-svn: trunk@4650
2009-01-26 19:47:02 +00:00
Tomasz Kojm
a128eb8063
clamconf: handle --version/-V
...
git-svn: trunk@4630
2009-01-22 14:38:16 +00:00
Tomasz Kojm
0d06ef19f8
shared/optparser.c, clamconf: new clamconf (bb#1215, bb#1316)
...
git-svn: trunk@4628
2009-01-22 14:19:47 +00:00
Tomasz Kojm
b61db429fc
shared, clamconf: drop old stuff; replace getopt.[ch] with my_getopt
...
git-svn: trunk@4589
2009-01-02 17:04:11 +00:00
aCaB
87221a5eca
don't bother with milter conf
...
git-svn: trunk@4546
2008-12-09 02:26:20 +00:00
aCaB
3be4ac3f65
drop useless checks
...
git-svn: trunk@4545
2008-12-07 15:12:07 +00:00
aCaB
cd04ff0694
cfgparser hacks backported from branches/milter-v2.0
...
git-svn: trunk@4489
2008-11-28 16:57:15 +00:00
aCaB
094104a7ac
preliminary dlopen support for libclamunrar - this is mostly libtool stuff
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/dlopen@4360 77e5149b-7576-45b1-b177-96237e5ba77b
2008-11-09 18:23:04 +00:00
Tomasz Kojm
dec7ffce08
shared/cfgparser.c, clamdconf: gently deprecate obsolete options (bb#1213)
...
git-svn: trunk@4231
2008-10-07 17:02:15 +00:00
Török Edvin
ae685a75c1
link to libclamunrar_iface explicitly to
...
allow non-rpath builds to work. (bb #1203 )
Thanks to James Ralston <ralston*pobox.com>
git-svn: trunk@4224
2008-10-03 17:11:59 +00:00
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
2008-09-11 11:02:12 +00:00
aCaB
6d48ea885a
update libtool - bb#1162
...
git-svn: trunk@4170
2008-09-10 16:09:20 +00:00
Török Edvin
2d75763208
revert last commit, it breaks bzip2 detection in /usr/local
...
git-svn: trunk@4163
2008-09-02 11:52:53 +00:00
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
2008-09-02 08:40:27 +00:00
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
2008-08-26 12:45:20 +00:00
aCaB
55144c4766
work around non reentrant lresolv
...
git-svn: trunk@4087
2008-08-06 00:27:36 +00:00
Török Edvin
3910124321
remove contrib/phishing/test, we now have a real unit test in unit_tests/
...
/usr/share/autotools-dev/examples/autogen says mkinstalldirs not needed, the
Makefiles define it as $(install_sh) -d, so remove.
git-svn: trunk@4079
2008-08-04 13:14:29 +00:00
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
2008-08-04 12:44:16 +00:00
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
2008-08-04 10:38:24 +00:00
Tomasz Kojm
6484d65227
clamconf: handle multiple select options
...
git-svn: trunk@4065
2008-08-01 19:48:05 +00:00
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
2008-07-31 13:58:30 +00:00
Tomasz Kojm
37c0f4dd48
clamconf: handle .cld databases (bb#1101)
...
git-svn: trunk@3966
2008-07-16 16:16:25 +00:00
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
2008-07-15 15:50:50 +00:00
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
2008-07-10 17:08:41 +00:00
Török Edvin
fd08e02ea3
add Javascript normalizer (not yet enabled)
...
git-svn: trunk@3917
2008-07-07 19:10:50 +00:00
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
2008-05-09 21:12:28 +00:00
aCaB
69dfed42ea
revert r3808 - bb#1010
...
git-svn: trunk@3839
2008-05-05 19:27:28 +00:00
aCaB
0c61079c6c
don't link pthread if not needed
...
git-svn: trunk@3808
2008-04-23 02:20:38 +00:00
Török Edvin
e5b0783922
-lcheck needs to be conditional, use @LCHECK@.
...
Regenerate Makefiles.
git-svn: trunk@3774
2008-04-08 12:57:55 +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
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