aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeiran Hong <peiran.hong@windriver.com>2019-10-02 16:01:10 -0400
committerKhem Raj <raj.khem@gmail.com>2019-10-04 19:11:55 -0700
commitfdd9aea01261e65ead32b56efec901ed8b6a99b9 (patch)
tree7073f51c593e4af777215ca6d1177f21597bbdf5
parente6d76b05a7a8ad8f448b54cb2def866a4b64dffb (diff)
downloadmeta-openembedded-contrib-fdd9aea01261e65ead32b56efec901ed8b6a99b9.tar.gz
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 <peiran.hong@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-connectivity/zabbix/zabbix_4.2.6.bb (renamed from meta-oe/recipes-connectivity/zabbix/zabbix_3.0.9.bb)12
1 files changed, 8 insertions, 4 deletions
diff --git a/meta-oe/recipes-connectivity/zabbix/zabbix_3.0.9.bb b/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}"