Commit Graph

93 Commits

Author SHA1 Message Date
Török Edvin
2c4c464098 Regenerate the buildfiles. 2009-08-31 15:52:44 +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
Török Edvin
4b93f2b633 check for mallinfo availability (bb #1445).
git-svn: trunk@5001
2009-04-01 17:51:44 +00:00
Tomasz Kojm
c65b5907d6 sigtool/sigtool.c: fix quirks with .cdiff generation (bb#1395)
git-svn: trunk@4939
2009-03-13 12:19:30 +00:00
Török Edvin
de5f850d16 fix previous commit
git-svn: trunk@4928
2009-03-11 19:27:36 +00:00
Török Edvin
e68d70e7e0 strerror/strerror_r->cli_strerror which is always thread safe.
git-svn: trunk@4927
2009-03-11 19:11:09 +00:00
Tomasz Kojm
061029a6a6 fix typo
git-svn: trunk@4920
2009-03-10 11:21:14 +00:00
Tomasz Kojm
f36a4d89b7 sigtool/sigtool.c: add missing entry for safebrowsing.info
git-svn: trunk@4919
2009-03-10 10:49:10 +00:00
Tomasz Kojm
0810d861bb libclamav, sigtool: use .gdb extension for safebrowsing dbs
git-svn: trunk@4906
2009-03-06 16:39:04 +00:00
Tomasz Kojm
03527bee64 libclamav: count .pdb entries as signatures
freshclam, sigtool: add support for safebrowsing.cvd (bb#1056)


git-svn: trunk@4901
2009-03-05 19:09:54 +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
Török Edvin
4e46d65d39 use sha256 instead of md5 in phishcheck.
move sha256 to libclamav.
add more tests.

git-svn: trunk@4822
2009-02-18 14:54:16 +00:00
Tomasz Kojm
37b1237755 sigtool/sigtool.c: better error messages (bb#1396)
git-svn: trunk@4802
2009-02-17 10:38:42 +00:00
Tomasz Kojm
4367454d76 libclamav, sigtool: fix handling of long signatures (bb#1395)
git-svn: trunk@4795
2009-02-16 16:29:44 +00:00
Tomasz Kojm
afff80efb9 libclamav, shared: minor cleanups; fix handling of long file names (bb#1349)
git-svn: trunk@4670
2009-02-03 18:47:18 +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
19c17946cc shared/optparser.c: improve cmdline args handling
git-svn: trunk@4625
2009-01-19 19:41:27 +00:00
Tomasz Kojm
d6af38e75e shared/optparser.c, sigtool: use the new option parser (bb#1215)
git-svn: trunk@4587
2009-01-02 11:54:08 +00:00
aCaB
3be4ac3f65 drop useless checks
git-svn: trunk@4545
2008-12-07 15:12:07 +00:00
Tomasz Kojm
33068e0973 libclamav: drop cl_settempdir(); use cl_engine_set() with CL_ENGINE_TMPDIR and CL_ENGINE_KEEPTMP instead
git-svn: trunk@4416
2008-11-14 22:23:39 +00:00
Tomasz Kojm
b8fe70b3a3 libclamav: drop options parameter in cl_engine_new(); replace cl_engine_dup() with cl_engine_addref()
git-svn: trunk@4398
2008-11-13 15:55:35 +00:00
Tomasz Kojm
2d84c70a37 * libclamav: introduce new API calls for engine management (THIS REVISION IS
NOT BACKWARD COMPATIBLE): cl_init(), cl_engine_new(),
	      cl_engine_set/get(), cl_engine_compile(), cl_engine_dup(),
	      cl_engine_free(); make minor modifications to other calls;
	      move cl_engine to others.h; integrate limits into cl_engine
 * clamd, clamscan: use new API; drop hardcoded default limits and depend on
		    those set by libclamav
 * clamav-milter, unit_tests: TODO, **don't compile in this rev**



git-svn: trunk@4385
2008-11-12 16:41:18 +00:00
Tomasz Kojm
370892d044 clamscan, clamd: use the new API; drop the hardcoded default limits and use the ones set in cl_engine_new()
git-svn-id: file:///var/lib/svn/clamav-devel/branches/newapi@4384 77e5149b-7576-45b1-b177-96237e5ba77b
2008-11-12 16:19:43 +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
aCaB
eb4300ad0d s/PF_/AF_/
git-svn: trunk@4244
2008-10-11 09:40:29 +00:00
Tomasz Kojm
04fa4e9d01 shared/options.c: handle obsolete options in cmdline parser (bb#1213)
git-svn: trunk@4236
2008-10-07 20:18:21 +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
Tomasz Kojm
6dbc66020e sigtool/vba.c: fix possible use of uninitialized value (bb#1201)
git-svn: trunk@4210
2008-09-29 13:07:35 +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
Török Edvin
7959343dc7 allow make distcheck to succeed (bb #1142)
fix some more warnings
  filter -Werror in clamav-milter.c

git-svn: trunk@4141
2008-08-25 14:18:48 +00:00
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
2008-08-21 20:21:43 +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
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
aCaB
53ed2cb75c uniq update
git-svn: trunk@4069
2008-08-03 21:39:29 +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
1437615cf3 sigtool/sigtool.c: handle .ldb/.ldu files (bb#896)
git-svn: trunk@4001
2008-07-26 16:59:45 +00:00
Tomasz Kojm
f8a82180da sigtool/vba.c: fix crash on error in vba code (bb#1106)
git-svn: trunk@3977
2008-07-21 10:37:19 +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