Commit Graph

35 Commits

Author SHA1 Message Date
Rosen Penev 2e654b19f3 treewide: back to cmake.mk
Ninja was merged to base and therefore we can now use normal cmake.mk

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-06-12 21:05:01 -07:00
Josef Schlehofer 87be6ffe60
clamav: add libiconv dependencies when build with NLS
NLS means Native Language Support and when you have it enabled (it is
not default), clamav can not be compiled as it shows following error:

Package clamav is missing dependencies for the following libraries:
libiconv.so.2

Also, it is required that package libiconv-full is compiled first/before
than clamav and then try to compile clamav.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-04-15 09:44:30 +02:00
Rosen Penev a31b732007 treewide: build CMake projects with Ninja
faster to compile.

A small selection of packages was tested going from:

Executed in  696.30 secs   fish           external
   usr time   82.98 mins  395.00 micros   82.98 mins
   sys time    9.02 mins    0.00 micros    9.02 mins

to:

Executed in  592.20 secs   fish           external
   usr time   84.84 mins  361.00 micros   84.84 mins
   sys time    8.85 mins   57.00 micros    8.85 mins

Tested by running make -j 12 and wiping staging/build_dir/target_x

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-03-27 21:51:50 -07:00
Rosen Penev 7cd687cb7e clamav: update to 0.103.1
Convert to using CMake in order to speed up compilation and to fix
compilation under glibc.

Add extra dependencies since they're now needed.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-03-05 01:19:30 -08:00
Jan Pavlinec d8f5c577a9
clamav: update to version 0.103.0
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2021-01-25 15:14:50 +01:00
W. Michael Petullo 54016ddaf4 clamav: allow configuration to use TCP socket
Something having to do with passing a file descriptor over spamd's
Unix socket causes the ClamAV milter to fail. The milter says "ERROR:
Unknown reply from clamd," and running strace on spamd reveals "No file
descriptor received. ERROR."

Some work by others can be found on the Internet that suggests using
a TCP socket for the communication between the milter and spamd fixes
this. Lucian Cristian confirmed this on OpenWrt.

I am not sure why the Unix socket does not work. I suspect it is something
related to musl, but I have not yet found evidence of this.

This merge request adds the option to configure spamd to use a TCP
socket, and it uses this as the default. The merge request also adds an
init script for clamav-milter.

Signed-off-by: W. Michael Petullo <mike@flyn.org>
2021-01-09 18:29:46 -06:00
Jan Pavlinec 5d7164aaba
clamav: update to version 0.102.4 (security fix)
Fixes
CVE-2020-3481

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-07-30 15:28:52 +02:00
Jan Pavlinec 168efe753d
clamav: update to version 0.102.3 (security fix)
Fixes:
CVE-2020-3341
CVE-2020-3327

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-05-25 15:13:51 +02:00
Huangbin Zhan 0ec746ccb6 treewide: add conffiles
Signed-off-by: Huangbin Zhan <zhanhb88@gmail.com>
2020-05-09 06:06:43 +08:00
Lucian Cristian 24eeea366d clamav: update to 0.102.2
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2020-03-25 21:19:01 +02:00
Josef Schlehofer c7ad27ebbd
clamav: Update to version 0.101.4
Change deprecated options to a new one:
DetectBrokenExecutables to AlertBrokenExecutables
ArchiveBlockEncrypted to AlertEncrypted

Fixes: CVE-2019-12900 and CVE-2019-12625

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-11-23 18:55:22 +01:00
Josef Schlehofer e19f753be5
clamav: update to version 0.101.3
Correct SPDX License Identifier

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-08-17 21:19:24 +02:00
Eneas U de Queiroz 815e05e38e
clamav: don't install dev files into package
This avoids copying /usr/include, unversioned *.so files, pkgconfig,
/usr/lib/*.la, and the build-time libs/cflags configuration utility
clamav-config.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2019-08-14 09:20:27 -03:00
Eneas U de Queiroz 199ccc9475
clamav: avoid host pickup of libxml2
If libxml2 is installed in the host, then the host library is used and
compilation fails.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2019-08-14 09:20:27 -03:00
Rosen Penev 012e4c1d7f clamav: Remove build hacks
Simplified the Makefile and fixes compilation with uClibc-ng. Also added
IPv6 support.

Took the time to clean up the Makefile with other useful options.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-05-19 13:52:19 -07:00
Lucian Cristian c70dd66691 clamav: update package to 0.101.2
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2019-04-07 23:55:56 +03:00
Jeffery To 9a7ffc7703 clamav: Update init scripts
This replaces the use of uci_validate_section() with
uci_load_validate(), which removes the need to declare local variables
for every config option.

This also removes some unnecessary curly brackets.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-02-01 16:39:34 +08:00
Rosen Penev b8b9bc893b
clamav: Update to 0.101.1
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-01-19 22:16:49 -08:00
Rosen Penev 2c33e9f0eb clamav: Fix compilation without deprecated OpenSSL APIs
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-01-06 21:09:23 -08:00
Rosen Penev ac848c2af3 clamav: Change depends from uclibcxx to CXX_DEPENDS
The build system allows changing uclibc++ to libstdcpp globally. This
avoids an unnecessary depends in the case of libstdcpp usage.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-12-21 10:51:02 +08:00
Lucian Cristian eefb46c590 clamav: update to 0.101.0
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2018-12-11 00:15:53 +02:00
Eneas U de Queiroz 3c1ca3b7d3 clamav: fixup disabling xml
--disable-xml is not doing its job, but--with-xml=no works.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-12-07 21:43:31 -02:00
Rosen Penev c943833739 clamav: Update to 0.100.2
Fixes CVE-2018-15378. Added PKG_CPE_ID for proper CVE tracking.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-10-23 10:01:49 +08:00
Lucian Cristian f8d6b64f7b clamav: enable clamav-milter
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2018-08-29 15:04:45 +03:00
Lucian Cristian 99eb143b66 clamav: update to 0.100.1
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2018-07-15 22:31:45 +03:00
Lucian Cristian f915143edf clamav: update to 0.100.0
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2018-04-22 21:39:33 +03:00
Lucian Cristian d664e792ce clamav: update clamav to 0.99.4
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2018-03-25 01:02:26 +02:00
Lucian Cristian 0531bac6da clamav: update to 0.99.3
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2018-02-04 19:10:07 +02:00
Marko Ratkaj ce66ecde24 clamav: fix invalid zlib version error
ClamAV's configure script uses grep to check for bugy zlib version
1.2.1. Since current OpenWrt zlib version is 1.2.11 this check passes
and build fails. This patch will disable this unneeded check and make
sure we are looking for zlib on the right location.

clamdtop was beeing built without it's ncurses dependency. Build system
would link it to the host's ncurses making the program fail at run time.
This patch will disable building of optional clamdtop, otherwise we need
to add ncurses as a dependency and fix the search path.

Increase PKG_RELEASE to reflect changes.

Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
2017-10-18 17:21:40 +02:00
Lucian Cristian 57d47d2aa1 clamav: Fix OpenSSL dependency
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2017-07-06 23:03:54 +03:00
Lucian Cristian 8f8be60c10 clamav: use PCRE2
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2017-03-10 23:24:17 +02:00
Lucian Cristian 33b8364f2d clamav: depend on musl-fts only when USE_MUSL
add me as a maintainer

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2017-03-06 22:45:18 +02:00
Lucian Cristian a252914544 clamav: update to 0.99.2
added option DatabaseDirectory
update depends on musl-fts libraries

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2017-03-06 14:46:24 +02:00
Marko Ratkaj 669b44a50c clamav: bump to 0.98.7
Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
2015-05-26 12:51:04 +02:00
Marko Ratkaj f9507c02e0 clamav: add package
Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
2015-05-20 17:28:30 +02:00