Commit Graph

49 Commits

Author SHA1 Message Date
Török Edvin
51e69a14b9 Clean up distcheck. (bb #2342)
Remove *.pyc, and win32/clamav-for-windows from dist.
2010-11-04 21:53:03 +02:00
aCaB
e458124a11 bump autoconf, make test files on make check (bb#2339) 2010-11-04 00:22:34 +01:00
Török Edvin
ecdd4de7d3 More dist fixes.
libclamav/c++/llvm/include/llvm/System/DataTypes.h is autogenerated file.
ChangeLog is automatically shipped, no need to add to EXTRA_DIST.
2010-04-05 22:46:52 +03:00
Török Edvin
316a800c4f COPYING.llvm and ChangeLog were missing from EXTRA_DIST. Thanks aCaB for noticing! 2010-04-03 23:15:19 +03:00
Tomasz Kojm
509d23662e add win32 to extra dist 2010-03-24 18:04:59 +01:00
Török Edvin
9befe20b55 add missing file. 2010-01-26 16:20:51 +02:00
Török Edvin
5b5e4e6ef0 Merge branch 'bytecode'
* bytecode: (99 commits)
  Update to autoconf 2.65, and libtool 2.2.6b.
  Disable LLVM's make check for now.
  Output trace messages to stderr, to ensure its flushed.
  Support for bytecode lines >8k.
  Print llvm's version too when printing clambc's.
  Fix global initializer bitcasts.
  Allow controlling trace level from cmdline.
  Refactor trace API, so that trace printing happens in clambc.
  Add support for null constant.
  Trace formatting fixes.
  Add support for tracing (if bytecode compiled with support).
  Drop extra {} and "".
  Fix compiler version check for C++: autoconf needs [] to be escaped.
  change bytecode format to allow structs with more than 16 fields.
  Fix after merge: update to fmap API.
  Support for scanning files created by bytecode.
  read optional debug metadata.
  Sync headers with clamav bytecode compiler.
  Print better error message when wrong function is called.
  Update to new LLVM API.
  ...

Conflicts:
	Makefile.am
	Makefile.in
	configure
	configure.in
	libclamav/Makefile.am
	libclamav/Makefile.in
	libclamav/pe.h
2009-12-11 18:21:04 +02:00
Török Edvin
4c6ba0e560 Fix make distcheck failure.
Disabled Wbad-function-cast as error (it warned about double to int conversion).
Also run configure itself without Werror, and only set Werror at the end,
because otherwise the check for -lm fails (resulting in link error for missing
symbol of sqrt). Apparently the configure check for -lm uses a wrong prototype,
which due to Werror makes configure think it doesn't need -lm (since it doesn't
have any math symbols in it).
2009-12-11 11:05:25 +02:00
Török Edvin
46e2863c4c Merge branch 'master' into bytecode
* master: (182 commits)
  libclamav/qsort.c: fix CMP1 macro (bb#1769)
  handle floating chars
  libclamav/readdb.c: make sure static sigs with floating chars go into AC
  sigtool: --decode-sigs: handle alternatives
  sigtool: --decode-sigs: handle .ldb sigs
  inflateinit spam
  sigtool: --decode-sigs: handle .ndb sigs
  fix sig printing
  Set limit to 255 so that warning is shown if maxthreads*maxrec would exceed it.
  Enable more than 256 FD support on Solaris (bb #1764).
  fix memleaks
  sigtool: --decode-sigs; decode .db entries (bb#1246)
  fsk sxs, gimme back my dll hell!
  Fix Solaris build: cli_hex2ui has to be added to libclamav.map
  Don't error on unused functions.
  sigtool: basic sig decoding
  sigtool/sigtool.c: handle .ign2 files (bb#1625)
  libclamav/qsort.c: don't call med3 when using internal cmp
  win32: fix globbing
  unify DUPMAX def
  ...

Conflicts:
	.gitignore
	Makefile.am
	configure
	libclamav/Makefile.in
	libclamav/clamav.h
	libclamav/disasm.c
	libclamav/libclamav.map
	libclamav/matcher.c
	libclamav/others.c
	libclamav/pe.c
	libclamav/pe.h
	libclamav/readdb.c
2009-12-03 11:25:24 +02:00
Török Edvin
f8f1654d45 Don't error on unused functions. 2009-11-19 20:18:30 +02:00
Török Edvin
72a03f9bd5 Merge branch 'master' into bytecode
* master: (60 commits)
  Fix build when git is not installed and using BSD make.
  Only use -fno-strict-aliasing for gcc-4.3+, to avoid bugs with older compilers (bb #1581).
  libclamav/matcher-bm.c: fix cli_bm_freeoff() (bb#1710)
  bb#1708
  implove poolsize.pl
  win32: s/C_WINDOWS/_WIN32/ in clamd, shared
  libclamav/matcher-ac.c: fix matching of logical sigs (bb#1707)
  libclamav/readdb.c: fix handling of broken .ldb sigs (bb#1701)
  libclamav: new signature blacklisting format (bb#1625)
  killclamd must always succeed (except when there's a stuck clamd).
  Fix typo.
  Better error message when clamd gets killed
  merge win32 patches from sherpya
  remove bogus debug printf
  libclamav/matcher-ac.c: add support for line marker (L) (matches CR, CRLF and boundaries)
  fix EOL in platform.h
  sis.c: fix size check
  fix several problems introduced by the win32 commits
  fix in cli_is_abspath
  win32#3
  ...

Conflicts:
	.gitignore
	Makefile.am
	configure
	configure.in
	libclamav/readdb.c
2009-10-02 10:08:44 +03:00
Török Edvin
f094281181 Fix srcdir != objdir builds: platform.h needs to be configure generated. 2009-09-24 18:42:17 +03:00
Török Edvin
3c5f686d75 Use automake's parallel tests feature.
This simplifies the various clamd/clamscan tests a lot,
since the valgrind tests can now be parallelized by automake,
and we don't need to do that in the script itself.
2009-09-14 19:02:50 +03:00
Török Edvin
8e61d24a22 Make dist was still wrong.
It needs to modift $(destdir) not objdir!
2009-09-08 12:28:06 +03:00
Török Edvin
c8f694f3ca Really clean files not meant for make dist, dist-hook is invoked
only in toplevel project!
2009-09-07 22:11:33 +03:00
Török Edvin
2922746173 Fix make distcheck. 2009-09-07 19:29:50 +03:00
Török Edvin
62dfa21a4c Use POSIX tar that support paths longer than 99 characters. 2009-09-07 18:02:05 +03:00
Török Edvin
997a1efeb2 Draft of bytecode loader. 2009-06-26 16:30:46 +03:00
Török Edvin
00c3dfe516 provide script for package maintainers to split tarball (bb #1515)
disable preloading, it doesn't work properly yet.

git-svn: trunk@4993
2009-03-31 12:29:36 +00:00
Tomasz Kojm
956fcfcfe3 COPYING.BSD -> COPYING.regex; add COPYING.sha256
git-svn: trunk@4880
2009-03-01 16:19:45 +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
b61db429fc shared, clamconf: drop old stuff; replace getopt.[ch] with my_getopt
git-svn: trunk@4589
2009-01-02 17:04:11 +00:00
Török Edvin
62f3e4e421 add -Wformat-security to 'make distcheck'
git-svn: trunk@4586
2009-01-01 20:42:31 +00:00
Török Edvin
31a6bb1dde remove -Wpacked
git-svn: trunk@4563
2008-12-15 18:16:52 +00:00
Török Edvin
af84980bec fix distcheck
git-svn: trunk@4406
2008-11-14 09:21:51 +00:00
aCaB
5ed6026065 liblt sucks
git-svn: trunk@4381
2008-11-12 00:37:03 +00:00
aCaB
bb7bd3abfd final
git-svn-id: file:///var/lib/svn/clamav-devel/branches/dlopen@4368 77e5149b-7576-45b1-b177-96237e5ba77b
2008-11-10 17:27:03 +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
b9b477842d fix compiler warnings, more to come (bb #273)
git-svn: trunk@4346
2008-11-06 14:27:43 +00:00
Török Edvin
4fbb076eb0 fix flags
git-svn: trunk@4309
2008-10-30 08:49:48 +00:00
Török Edvin
fd9379f9e5 fix make distcheck on gcc < 4.3 (bb #1259)
git-svn: trunk@4303
2008-10-29 19:06:20 +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
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
f7e2294c17 fix compiler warnings, and adjust cflags (bb #1142)
configure: if SENDMAIL_VERSION_A cannot be determined, check for
smfi_opensocket, and assume version 8.13.
 For example this happens if you have postfix installed instead of sendmail

git-svn: trunk@4139
2008-08-25 12:50:09 +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
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
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
Tomasz Kojm
2023340a41 update copyrights and stick more files to GPLv2; move and add more credits to the AUTHORS file; add COPYING.BSD
git-svn: trunk@3749
2008-04-02 15:24:51 +00:00
Tomasz Kojm
fe473bcb07 add initial support for unit tests
git-svn: trunk@3710
2008-03-13 10:44:34 +00:00
Tomasz Kojm
0db944fcef Makefile fixes
git-svn: trunk@3698
2008-03-07 15:05:39 +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
aCaB
ace28304ad byteswapped testfiles - bb#398
git-svn: trunk@3506
2008-01-18 11:41:02 +00:00
Tomasz Kojm
c8f2d06055 re-enable text detection (ASCII, UTF8, UTF16)
git-svn: trunk@3486
2008-01-07 14:20:38 +00:00
aCaB
9f0d9b9890 make gcc 3.4.6 build on solaris
git-svn: trunk@3466
2007-12-29 14:23:09 +00:00
Tomasz Kojm
5ca7fd1813 re-include RAR code
git-svn: trunk@3396
2007-12-12 21:46:34 +00:00
Tomasz Kojm
067ecc29a3 temporarily remove the RAR code
git-svn: trunk@3371
2007-12-06 14:48:48 +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
ea8e508d71 update
git-svn: trunk@3089
2007-05-30 15:38:41 +00:00
Sven Strickroth
a99111f050 remove old CVS-stuff and make the repository look more like SVN
git-svn: trunk@2755
2007-02-17 19:02:20 +00:00