mirror of
https://git.yoctoproject.org/meta-security
synced 2026-07-27 07:27:14 +00:00
clamav: resolve multilib issues
Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
committed by
Armin Kuster
parent
1fb8497081
commit
b78a433767
@@ -25,7 +25,7 @@ S = "${WORKDIR}/git"
|
|||||||
LEAD_SONAME = "libclamav.so"
|
LEAD_SONAME = "libclamav.so"
|
||||||
SO_VER = "9.0.2"
|
SO_VER = "9.0.2"
|
||||||
|
|
||||||
inherit autotools pkgconfig useradd systemd
|
inherit autotools pkgconfig useradd systemd multilib_header multilib_script
|
||||||
|
|
||||||
CLAMAV_UID ?= "clamav"
|
CLAMAV_UID ?= "clamav"
|
||||||
CLAMAV_GID ?= "clamav"
|
CLAMAV_GID ?= "clamav"
|
||||||
@@ -45,6 +45,8 @@ PACKAGECONFIG[bz2] = "--with-libbz2-prefix=${CLAMAV_USR_DIR}, --disable-bzip2, b
|
|||||||
PACKAGECONFIG[ncurses] = "--with-libncurses-prefix=${CLAMAV_USR_DIR}, --without-libncurses-prefix, ncurses, "
|
PACKAGECONFIG[ncurses] = "--with-libncurses-prefix=${CLAMAV_USR_DIR}, --without-libncurses-prefix, ncurses, "
|
||||||
PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/, --without-systemdsystemunitdir, "
|
PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/, --without-systemdsystemunitdir, "
|
||||||
|
|
||||||
|
MULTILIB_SCRIPTS = "${PN}-dev:${bindir}/clamav-config ${PN}-cvd:${localstatedir}/lib/clamav/mirrors.dat"
|
||||||
|
|
||||||
EXTRA_OECONF_CLAMAV = "--without-libcheck-prefix --disable-unrar \
|
EXTRA_OECONF_CLAMAV = "--without-libcheck-prefix --disable-unrar \
|
||||||
--disable-mempool \
|
--disable-mempool \
|
||||||
--program-prefix="" \
|
--program-prefix="" \
|
||||||
@@ -93,6 +95,7 @@ do_install_append_class-target () {
|
|||||||
install -d ${D}${sysconfdir}/tmpfiles.d
|
install -d ${D}${sysconfdir}/tmpfiles.d
|
||||||
install -m 0644 ${WORKDIR}/tmpfiles.clamav ${D}${sysconfdir}/tmpfiles.d/clamav.conf
|
install -m 0644 ${WORKDIR}/tmpfiles.clamav ${D}${sysconfdir}/tmpfiles.d/clamav.conf
|
||||||
fi
|
fi
|
||||||
|
oe_multilib_header clamav-types.h
|
||||||
}
|
}
|
||||||
|
|
||||||
pkg_postinst_ontarget_${PN} () {
|
pkg_postinst_ontarget_${PN} () {
|
||||||
|
|||||||
Reference in New Issue
Block a user