From fdd9aea01261e65ead32b56efec901ed8b6a99b9 Mon Sep 17 00:00:00 2001 From: Peiran Hong Date: Wed, 2 Oct 2019 16:01:10 -0400 Subject: [PATCH] zabbix: upgrade 3.0.9 -> 4.2.6 This update fixes the following CVEs: - CVE-2016-10742 (ZBX-13133, refer to 'Changes for 3.4.4rc1' in ChangeLog) and addresses numerous bugs as well as improved frontend messaging usage. Added libevent, libpcre and zlib to DEPENDS as required dependency to build 4.2.6. Added --with-libpthread to EXTRA_OECONF as default configure option since it is turned on by default in the new version. There are also new optional features available in this update that could be but are not yet added as PACKAGECONFIG. Signed-off-by: Peiran Hong Signed-off-by: Khem Raj --- .../zabbix/{zabbix_3.0.9.bb => zabbix_4.2.6.bb} | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) rename meta-oe/recipes-connectivity/zabbix/{zabbix_3.0.9.bb => zabbix_4.2.6.bb} (88%) diff --git a/meta-oe/recipes-connectivity/zabbix/zabbix_3.0.9.bb b/meta-oe/recipes-connectivity/zabbix/zabbix_4.2.6.bb similarity index 88% rename from meta-oe/recipes-connectivity/zabbix/zabbix_3.0.9.bb rename to meta-oe/recipes-connectivity/zabbix/zabbix_4.2.6.bb index bab5a6ae6b..33c0a82b86 100644 --- a/meta-oe/recipes-connectivity/zabbix/zabbix_3.0.9.bb +++ b/meta-oe/recipes-connectivity/zabbix/zabbix_4.2.6.bb @@ -19,7 +19,7 @@ HOMEPAGE = "http://www.zabbix.com/" SECTION = "Applications/Internet" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=300e938ad303147fede2294ed78fe02e" -DEPENDS = "openldap virtual/libiconv" +DEPENDS = "libevent libpcre openldap virtual/libiconv zlib" PACKAGE_ARCH = "${MACHINE_ARCH}" @@ -28,8 +28,8 @@ SRC_URI = "http://jaist.dl.sourceforge.net/project/zabbix/ZABBIX%20Latest%20Stab file://zabbix-agent.service \ " -SRC_URI[md5sum] = "489d21b464277c0d412155c7e5611a8f" -SRC_URI[sha256sum] = "4445f26c025009681c29c9b350aa6c4ee7b124ddcaf1609ae36c55997bcb8cf2" +SRC_URI[md5sum] = "6cd55cd743d416d9ffbf2e6fdee680ee" +SRC_URI[sha256sum] = "646b1f29a768e3123a00a9afadf382b4d0dfd54e20fb31023f0d6da066da0864" inherit autotools-brokensep linux-kernel-base pkgconfig systemd useradd @@ -55,8 +55,12 @@ EXTRA_OECONF = " \ --with-unixodbc \ --with-ssh2 \ --with-sqlite3 \ + --with-zlib \ + --with-libpthread \ + --with-libevent \ + --with-libpcre \ " -CFLAGS_append = " -lldap -llber" +CFLAGS_append = " -lldap -llber -pthread" do_configure_prepend() { export KERNEL_VERSION="${KERNEL_VERSION}"