Commit Graph

46 Commits

Author SHA1 Message Date
Tomasz Kojm
8df99a92aa 0.95.2
git-svn: trunk@5074
2009-06-10 20:50:49 +00:00
Tomasz Kojm
f009e24102 libclamunrar, libclamav: don't depend on the uncompressed size field in RAR headers (bb#1467)
git-svn: trunk@4977
2009-03-23 12:55:23 +00:00
Török Edvin
a2785a214b avoid rar_malloc warnings on damaged files (bb #1290)
git-svn: trunk@4409
2008-11-14 17:38:52 +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
08402afa4c fix more compiler warnings (bb #273)
git-svn: trunk@4353
2008-11-07 18:49:47 +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
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
aCaB
47c92b5985 re-enable bigendian builds
git-svn: trunk@4154
2008-08-31 02:25:38 +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
Tomasz Kojm
e272709a0e minor fix
git-svn: trunk@4130
2008-08-21 21:02:01 +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
Tomasz Kojm
0f25b6cc95 make sure indexes are in proper range
git-svn: trunk@4109
2008-08-15 08:27:27 +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
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
Tomasz Kojm
d076ad0251 check in 0.93 patches
git-svn: trunk@3788
2008-04-14 20:13:05 +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
Tomasz Kojm
0db944fcef Makefile fixes
git-svn: trunk@3698
2008-03-07 15:05:39 +00:00
Tomasz Kojm
a8693be4cf fix declaration of rar_dbgmsg() (bb#848)
git-svn: trunk@3658
2008-02-19 15:36:11 +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
aCaB
e70ec49387 bb#64
git-svn: trunk@3581
2008-02-04 17:34:18 +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
Török Edvin
4c56bffa3b build system modernization: (based on suggestion from
Markus Elfring <Markus.Elfring*web.de> in bb #452)
	* use AC_CONFIG_HEADER, since AM_CONFIG_HEADER is obsolete
	* put configure files into auxiliary directory
	* fix main declaration in FD_SETSIZE test
	* check for failure on fopen in FD_SETSIZE test
	* move version from AM_INIT_AUTOMAKE to AC_INIT, old form was obsolete
	* eliminate automake warnings, update Makefile.am
	* rename .splitted to .split (requested by aCaB)


git-svn: trunk@3563
2008-01-30 21:06:36 +00:00
aCaB
fee30f6ef4 bb#474
git-svn: trunk@3544
2008-01-25 16:41:31 +00:00
aCaB
a6bf7fd3be libclamunrar - realign structs - see bb#474
git-svn: trunk@3534
2008-01-23 17:09:14 +00:00
Tomasz Kojm
48eec71b0f disable 'Unknown RAR pack method' error message due to false alerts with some SFX archives (bb#399)
git-svn: trunk@3523
2008-01-22 11:17:33 +00:00
Török Edvin
a0e5e84425 avoid bringing in checks for languages we don't use (decreases configure size by 300Kb+).
git-svn: trunk@3484
2008-01-06 16:58:25 +00:00
Török Edvin
80cf63099c add support for version scripts when using Sun's ld on Solaris.
use $GREP to grep binary files, needed for autoit to build on Solaris.
add support for both GNU and Sun ld version scripts.
add version script maps to libclamunrar, libclamunrar_iface. Enumerate all symbols, Sun's ld doesn't support cl_* (only *).
cli_decodesig needs a dummy definition on Solaris.


git-svn: trunk@3474
2007-12-31 12:46:26 +00:00
aCaB
8ec38f70a0 changelog + reverted automake10
git-svn: trunk@3414
2007-12-13 21:49:38 +00:00
aCaB
f377e052cd Merging the post0.92 stuff
Please don't commit anything till I'm finished

A full changelog will come up later

Thanks


git-svn: trunk@3410
2007-12-13 19:45:38 +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
Tomasz Kojm
6ce302428f by default don't build and link with libclamunrar;
use --enable-unrar to build with RAR support



git-svn: trunk@3324
2007-10-26 18:45:20 +00:00
Tomasz Kojm
b2cc1ffea2 libclamunrar/Makefile: remove
git-svn: trunk@3323
2007-10-26 16:39:53 +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