diff options
author | Jeremy Puhlman <jpuhlman@mvista.com> | 2020-06-12 19:19:18 -0700 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2020-06-19 16:03:23 -0700 |
commit | b78a4337675afcb32b26f61703ecb214c73a79bd (patch) | |
tree | eed7be527d4d2b855baa22c43fe2296aa493cb4a | |
parent | 1fb84970818ed9370de08cdce84a825c56f868a9 (diff) | |
download | meta-security-b78a4337675afcb32b26f61703ecb214c73a79bd.tar.gz |
clamav: resolve multilib issues
Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r-- | recipes-scanners/clamav/clamav_0.101.5.bb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/recipes-scanners/clamav/clamav_0.101.5.bb b/recipes-scanners/clamav/clamav_0.101.5.bb index f4625b1..2ea2c9b 100644 --- a/recipes-scanners/clamav/clamav_0.101.5.bb +++ b/recipes-scanners/clamav/clamav_0.101.5.bb | |||
@@ -25,7 +25,7 @@ S = "${WORKDIR}/git" | |||
25 | LEAD_SONAME = "libclamav.so" | 25 | LEAD_SONAME = "libclamav.so" |
26 | SO_VER = "9.0.2" | 26 | SO_VER = "9.0.2" |
27 | 27 | ||
28 | inherit autotools pkgconfig useradd systemd | 28 | inherit autotools pkgconfig useradd systemd multilib_header multilib_script |
29 | 29 | ||
30 | CLAMAV_UID ?= "clamav" | 30 | CLAMAV_UID ?= "clamav" |
31 | CLAMAV_GID ?= "clamav" | 31 | CLAMAV_GID ?= "clamav" |
@@ -45,6 +45,8 @@ PACKAGECONFIG[bz2] = "--with-libbz2-prefix=${CLAMAV_USR_DIR}, --disable-bzip2, b | |||
45 | PACKAGECONFIG[ncurses] = "--with-libncurses-prefix=${CLAMAV_USR_DIR}, --without-libncurses-prefix, ncurses, " | 45 | PACKAGECONFIG[ncurses] = "--with-libncurses-prefix=${CLAMAV_USR_DIR}, --without-libncurses-prefix, ncurses, " |
46 | PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/, --without-systemdsystemunitdir, " | 46 | PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/, --without-systemdsystemunitdir, " |
47 | 47 | ||
48 | MULTILIB_SCRIPTS = "${PN}-dev:${bindir}/clamav-config ${PN}-cvd:${localstatedir}/lib/clamav/mirrors.dat" | ||
49 | |||
48 | EXTRA_OECONF_CLAMAV = "--without-libcheck-prefix --disable-unrar \ | 50 | EXTRA_OECONF_CLAMAV = "--without-libcheck-prefix --disable-unrar \ |
49 | --disable-mempool \ | 51 | --disable-mempool \ |
50 | --program-prefix="" \ | 52 | --program-prefix="" \ |
@@ -93,6 +95,7 @@ do_install_append_class-target () { | |||
93 | install -d ${D}${sysconfdir}/tmpfiles.d | 95 | install -d ${D}${sysconfdir}/tmpfiles.d |
94 | install -m 0644 ${WORKDIR}/tmpfiles.clamav ${D}${sysconfdir}/tmpfiles.d/clamav.conf | 96 | install -m 0644 ${WORKDIR}/tmpfiles.clamav ${D}${sysconfdir}/tmpfiles.d/clamav.conf |
95 | fi | 97 | fi |
98 | oe_multilib_header clamav-types.h | ||
96 | } | 99 | } |
97 | 100 | ||
98 | pkg_postinst_ontarget_${PN} () { | 101 | pkg_postinst_ontarget_${PN} () { |