25 Commits

Author SHA1 Message Date
Charlie Davies 52e83e6b7e clamav: add INSTALL_CLAMAV_CVD flag to do_install
Recipe provides INSTALL_CLAMAV_CVD flag to bypass clamav
cvd db creation. During do_install this flag should be
used to conditionally skip install of cvd db if needed.

Signed-off-by: Charlie Davies <charles.davies@whitetree.xyz>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2020-10-09 07:29:08 -07:00
Christopher Larson 08d63c5241 clamav: add tmpfiles.d config
This is needed to ensure freshclam's /var/log directory and file are
created when using systemd.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2020-01-04 15:46:27 -08:00
Armin Kuster 3f253ddab8 clamav: minor recipe cleanup
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-06-26 15:47:47 -07:00
Armin Kuster 5959e4f4bf clamav-native: fix new build issue
re-arch the reciped to build properly.

Fixed /var/lib/clamav dir issue

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-04-14 10:54:20 -07:00
Armin Kuster ab3c84c4d3 clamav: add clamav-cvd package for cvd db
Add native package to support creating a mirror
of the clamav cvd and supply it in a new package.

Provide a INSTALL_CLAMAV_CVD flag to bypass this creation

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-04-14 10:54:07 -07:00
Armin Kuster 67369e1428 clamav: fix llvm reference version
llvm8.0 does not exist. dropped the version part.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-04-13 10:31:20 -07:00
Armin Kuster 6d3aa03272 clamav: drop llvm version setting
There is only one llvm and its in core so
drop allowing it to be overwritten.
We can hardcode it now.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-03-31 10:37:09 -07:00
Armin Kuster 3580a04766 clamav: update llvm to 8.0
ERROR: Nothing PROVIDES 'llvm6.0'

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-02-11 18:00:54 -08:00
Armin Kuster 28508811dc clamav: update to 0.99.4
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-10-31 09:02:21 -07:00
Armin Kuster 4d139b95c4 clamav: update postinit
log_check] WARNING: Intentionally failing postinstall scriptlets of ['suricata', 'clamav'] to defer them to first boot is deprecated. Please place them into pkg_postinst_ontarget_${PN} ()

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-07-07 08:14:54 -07:00
Armin Kuster d2a71316f2 clamav: update LLVM version to match core
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-04-13 08:18:36 -07:00
Jagadeesh Krishnanjanappa 58c23b4787 clamav: Add missing clamav.service file to SRC_URI
This solves the below error when systemd is used as init manager,
-- snip --
ERROR: clamav-0.99.2-r0 do_package: SYSTEMD_SERVICE_clamav value clamav.service does not exist
ERROR: clamav-0.99.2-r0 do_package: Function failed: systemd_populate_packages
-- snip --

Other issue:
*  Ship /lib/systemd/system/clamav-freshclam.service into ${PN}-freshclam
   package, to solve below warning:
-- snip --
[10240] WARNING: QA Issue: clamav: Files/directories were installed but not shipped in any package:
  /lib/systemd/system/clamav-freshclam.service
-- snip --

Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-03-31 11:50:13 -07:00
Armin Kuster f4e950c03b clamav: update to 0.99.3
removed unused hash checksums

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-02-14 11:56:35 -08:00
Armin Kuster d34afdfbf5 clamav: update llvm to use 5.0 to match version in core
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-09-30 11:44:55 -07:00
Armin Kuster 6ae8f496a6 clamav: fix new build error
configure: error: The installed zlib version may contain a security bug. Please upgrade to 1.2.2 or later: http://www.zlib.net. You can omit this check with --disable-zlib-vcheck but DO NOT REPORT any stability issues then!

bypass check as our zlib is 1.2.11

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-05-14 07:56:52 -07:00
Mark Asselstine 5b4ee1ee2c clamav: fixup improper quoting
Commit 217e06badb [clamav: fix gcc 6.x
build failure.] fixed a typo in "PACKAGECONFIG" (was missing the 'G')
but unfortunately the PACKAGECONFIG string was incorrectly formed due
to mismatched quotes. This caused a parsing error:

  ERROR: Unable to parse .../meta-security/recipes-security/clamav/clamav_0.99.2.bb
  ...

Removed the unneeded quotes to fix the parsing issue.

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-10-11 20:48:41 -07:00
Armin Kuster 217e06badb clamav: fix gcc 6.x build failure.
./llvm/include/llvm/Support/AlignOf.h:57:24: error: expected unqualified-id before 'alignof'
 static inline unsigned alignof() { return AlignOf<T>::Alignment; }
                        ^~~~~~~

configure --with-system-llvm --with-llvm-linking=dynamic.

define use with meta-oe LLVM3.3 via config option

Fix typo for systemd PACKAGECONFIG

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-10-11 01:39:29 -07:00
Armin Kuster 8511a96b26 clamav: update package to 0.99.2
remove unused patches.
remove merged patches

move files to /file for easier maintenance

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-05-25 18:48:11 -07:00
Armin Kuster f82b858dbd clamav: Fix new QA warning
NOTE:meta-security/recipes-security/clamav/clamav_0.99.1.bb: base_contains is deprecated, please use bb.utils.contains instead.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-05-25 18:48:11 -07:00
Armin Kuster 6636db9dcd clamav: fix lib version mismatch
drop lib version in package name
drop insane and remove broken symlink
Use LEAD_SONAME
Don't hard code lib version in tasks
Use native chrpath not the host provided version

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-04-23 08:03:09 -07:00
Armin Kuster 73f384257d clamav: update to 0.99.1
removed debian patches
brut force remove rpaths

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-04-23 08:02:56 -07:00
Ioan-Adrian Ratiu b7ceefc96d clamav: Update source mirror
The source archive was deleted from the debian mirror; get it from
launchpad for now

Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2015-10-08 07:25:08 -07:00
Hugo Vasconcelos Saldanha 070ccbb476 clamav: fix ncurses configure option
Signed-off-by: Hugo Vasconcelos Saldanha <hugo.saldanha@aker.com.br>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2015-04-09 18:13:51 -07:00
Armin Kuster 75ff99bd34 clamav: remove interal libmspack
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2015-02-01 08:12:26 -08:00
Armin Kuster 09e316367a clamav: updated reciped
added packaged define and init scripts.

patches are all debian

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2015-02-01 08:12:16 -08:00