Commit Graph

59 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
Török Edvin
d99c0c4245 bytecode: add unit tests and ChangeLog. 2009-07-13 19:40:25 +03: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
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
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
3e2b50465b add some unit tests for the new clamd protocol
git-svn: trunk@4757
2009-02-12 17:25:50 +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
aCaB
3be4ac3f65 drop useless checks
git-svn: trunk@4545
2008-12-07 15:12:07 +00:00
Török Edvin
b1deacbc62 fix paths
git-svn: trunk@4401
2008-11-13 16:00:25 +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
Török Edvin
a66b62f88b handle unfinishes string tokens in JS parser
git-svn: trunk@4247
2008-10-11 10:27:27 +00:00
Török Edvin
133dd2e940 When RAR is disabled, allow make check to succeed, and print only a warning (bb #1212)
* ChangeLog:

git-svn: trunk@4233
2008-10-07 19:35:41 +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
ab90350cc3 fix make distcheck: add files to extradist
git-svn: trunk@4209
2008-09-27 21:16:21 +00:00
Török Edvin
1279faf61e add htmlnorm unit tests and fix jsnorm space normalization
git-svn: trunk@4201
2008-09-23 20:52:22 +00:00
Török Edvin
650ea26e62 portability fixes
git-svn: trunk@4194
2008-09-22 10:28:14 +00:00
Török Edvin
81040d73db bb #1160
git-svn: trunk@4183
2008-09-16 18:13:07 +00:00
Török Edvin
f45111e58f use abs_scrdir
run clamd tests in parallel by using a different test subdir for each

git-svn: trunk@4181
2008-09-16 10:32:25 +00:00
Török Edvin
c82d362edc add electric-fence/duma tests if available (bb #1092)
git-svn: trunk@4176
2008-09-15 09:57:02 +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
Tomasz Kojm
ec285505da unit_tests/check_matchers.c: add tests for cli_(ac|bm)_scanbuff
git-svn: trunk@4091
2008-08-07 12:40:41 +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
aCaB
5e07cfed01 unit tests for uniq
git-svn: trunk@4074
2008-08-04 00:01:14 +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
Török Edvin
b6927a7c77 fix 'make distcheck':
add missing files to EXTRA_DIST, SOURCES
update CLEANFILES
.conf files and .cvd files are not removed during uninstall on purpose =>
whitelist them in distuninstallcheck


git-svn: trunk@4040
2008-07-31 13:13:48 +00:00
Török Edvin
7f0d1148d6 clamd, clamscan, libclamav: new option HeuristicScanPrecedence (bb #649)
docs/: update docs for HeuristicScanPrecedence and ScanPartialMessages
unit_tests/: add test for HeuristicScanPrecedence


git-svn: trunk@4037
2008-07-31 10:51:46 +00:00
aCaB
9476b6ad2b lcov works
git-svn: trunk@4012
2008-07-28 23:29:34 +00:00
aCaB
c92b0057f7 test_disasm
git-svn: trunk@4009
2008-07-28 19:22:15 +00:00
Török Edvin
5a622715ee fix EXTRA_DIST
git-svn: trunk@3992
2008-07-25 16:07:55 +00:00
Török Edvin
81361c477a skip valgrind tests for 'make lcov'
git-svn: trunk@3991
2008-07-25 16:06:04 +00:00
Török Edvin
3dcc2d784e more tests for regex
run unit-tests under valgrind if available.


git-svn: trunk@3990
2008-07-25 16:03:04 +00:00
Török Edvin
5ee56e4103 split up regex_list.
begin testing for regex_suffix


git-svn: trunk@3985
2008-07-24 18:48:31 +00:00
Török Edvin
73464bf870 EXTRA_DIST must be unconditional
there should be a CLEANFILES when ENABLE_COVERAGE is false too


git-svn: trunk@3962
2008-07-16 11:44:32 +00:00
Török Edvin
db1a202ac3 fix CLEANFILES, add rule for clamscan test
git-svn: trunk@3961
2008-07-16 11:42:24 +00:00
Török Edvin
26e5626078 avoid using GNUmake specific rules
git-svn: trunk@3960
2008-07-16 11:37:37 +00:00
Török Edvin
419597717e ensure test/ files are created before running clamscan/clamd checks
git-svn: trunk@3957
2008-07-16 09:01:38 +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
377a2330a1 more unit tests for js-norm
fix js-norm bugs discovered during unit testing


git-svn: trunk@3951
2008-07-15 14:31:33 +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
eb2901515b move cli_unescape, and cli_textbuffer_append_normalize to str.c
add unit-test for cli_textbuffer_append_normalize
fix a bug in cli_textbuffer_append_normalize shown by unit-test


git-svn: trunk@3930
2008-07-10 10:29:29 +00:00