Commit Graph

223 Commits

Author SHA1 Message Date
aCaB
14294b605d bb#2400 2011-01-19 12:17:34 +01:00
aCaB
be2651819f unconditionally compile sha1.c 2010-12-28 22:08:45 +01:00
Tomasz Kojm
5f5315f336 bump revision & flevel 2010-11-30 12:57:24 +01:00
aCaB
e458124a11 bump autoconf, make test files on make check (bb#2339) 2010-11-04 00:22:34 +01:00
Tomasz Kojm
a9231e6ee8 update revision 2010-10-25 17:37:33 +02:00
Török Edvin
60b9f1a946 Regenerate configure after changes for bb #2030. 2010-10-18 11:27:48 +03:00
aCaB
9f021791d1 bb#2287 2010-09-23 18:01:25 +02:00
Tomasz Kojm
0e2dfa53b3 bump revision 2010-09-20 16:50:11 +02:00
aCaB
fcd8091474 bb#2230-2231 2010-09-20 14:20:04 +02:00
Tomasz Kojm
0b0aa0df8c bump revision 2010-08-12 18:13:23 +02:00
aCaB
32f05bd3f9 re-fix #1985 2010-06-01 17:29:40 +02:00
Tomasz Kojm
0550bb9a7a bump numbers 2010-05-19 14:21:33 +02:00
aCaB
4b4d7846fb bb#1940 2010-05-15 22:32:44 +02:00
Török Edvin
789b5255d2 Really disable loading of unsigned bytecode by default.
Both sides of the if defined CL_BCUNSIGNED bytecode, and both defined it to 1.
2010-05-13 10:31:31 +03:00
aCaB
3ba2039640 add clamav-milter.conf manpage 2010-05-12 19:11:25 +02:00
aCaB
16b28d07ec collect sha256
compute sha256

sha collector - build system
2010-05-07 21:37:38 +02:00
Török Edvin
85f1531f88 darwin IS thread safe (bb #1534).
darwin* never defined CL_THREAD_SAFE, which was probably the cause for bug
I found this out when fixing the no pthreads case (bb #1897) and accidentally
broke it instead of fixing it. The Mac OS X buildbot failed.

This commit moves the CL_THREAD_SAFE definition to the same place as BUILD_CLAMD
(have_pthreads=yes) so no system with pthread is forgotten.
darwin has pthread in libc so no linker flags are needed (which is probably why
defining CL_THREAD_SAFE was forgotten)
2010-05-07 13:09:30 +03:00
aCaB
d8c6d2bf76 bb#1985 2010-05-01 02:06:36 +02:00
Török Edvin
6f994cac4d Fix Apple-style universal build (bb #1988).
We defined WORDS_BIGENDIAN to 0 if it wasn't defined, however that doesn't work with Apple universal
builds, since we don't know the endianness at configure time!
So add the ifndef WORDS_BIGNENDIAN -> define WORDS_BIGENDIAN 0 logic to
platform.h.
2010-04-24 14:06:27 +03:00
Török Edvin
909407e70b Regenerate build system after clamconf change. 2010-04-19 17:14:57 +03:00
Tomasz Kojm
31b77b3fb5 bump LC_REVISION & CL_FLEVEL 2010-03-31 18:39:56 +02:00
Török Edvin
df0c1b1761 Fix linking with gold (bb #1903). 2010-03-26 16:50:30 +02:00
Tomasz Kojm
ee6154c34d bump numbers 2010-03-24 17:55:37 +01:00
Török Edvin
676a2ccd85 Portability fix. 2010-03-22 22:57:46 +02:00
Török Edvin
92a08a03bf --enable-unsigned-bytecode.
Use this instead of --enable-debug to enable load of unsigned bytecode.
2010-03-22 17:29:26 +02:00
Tomasz Kojm
67b945f6c4 set age to 1 2010-03-10 20:00:54 +01:00
Tomasz Kojm
d771a80d9e bump numbers 2010-03-10 19:02:14 +01:00
Török Edvin
adfed2ac12 Add version suffix when using --enable-debug. 2010-03-10 14:34:32 +02:00
Török Edvin
86cec97d2d fix empty output for check in configure summary. 2010-02-09 13:21:14 +02:00
Török Edvin
16a94a51ce fix inverted message 2010-01-29 17:43:43 +02:00
Török Edvin
4311fe44d5 reverse this condition. 2010-01-29 16:32:16 +02:00
Török Edvin
fdb7b9e926 Print feature summary after configure is finished. 2010-01-29 14:39:02 +02:00
Török Edvin
e3540e0a5f Add sanity check for struct packing (bb #1752).
Also move some #pragma pack() to the proper position.
2010-01-29 12:18:53 +02:00
aCaB
43a4b81684 remove dead check for HAVE_CONTROL_IN_MSGHDR 2010-01-26 14:35:49 +01:00
Török Edvin
57cb0075d9 regenerate build files.
using automake 1.11.1
2010-01-26 10:10:56 +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
1b2396cabb Update to autoconf 2.65, and libtool 2.2.6b. 2009-12-11 18:11:56 +02:00
Török Edvin
a295207b81 Regenerate build system.
This also upgrades autoconf to 2.65, and libtool to 2.2.6b.
2009-12-11 11:08:34 +02:00
aCaB
7ab261a02b properly check for lm 2009-12-07 19:52:36 +01: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
bc794573c7 Fix build on Solaris8: bzip2 is present both in /usr/lib and /opt/csw/lib,
configure checks the latter, why libclamav is linked to the former. We need to
check the actual library we'll be linking to.
2009-11-14 17:18:35 +02:00
Török Edvin
93f19e0b49 Avoid trailing slash in libdir for old gcc (bb #1738). 2009-10-30 14:08:11 +02:00
Török Edvin
bb7b9789a1 Avoid trailing slash in libdir for old gcc (bb #1738). 2009-10-30 14:05:26 +02:00
Tomasz Kojm
1a81686914 update revision 2009-10-28 16:05:25 +01:00
aCaB
15fbe96ff6 removed r_gethostbyname which was not used 2009-10-14 19:10:38 +02:00
aCaB
2de5c29b1b check for madvise() 2009-10-10 16:49:09 +02:00
Török Edvin
4d00280b79 Partially fix the build: check for anon mmaps must be done always, remove a dead
function, and add explicit paranthesis in (.&.)>.
2009-10-10 00:06:59 +03: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
a0cbf9adc2 Only use -fno-strict-aliasing for gcc-4.3+, to avoid bugs with older compilers (bb #1581). 2009-09-30 19:45:01 +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