Browse Source

zabbix: update to 2.2.5, refresh patches

Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
lilik-openwrt-22.03
Etienne CHAMPETIER 10 years ago
parent
commit
ad2aa7e1fe
3 changed files with 6 additions and 6 deletions
  1. +3
    -3
      admin/zabbix/Makefile
  2. +1
    -1
      admin/zabbix/patches/001-cross_compile.patch
  3. +2
    -2
      admin/zabbix/patches/002-fix-res_send-on-uclibc.patch

+ 3
- 3
admin/zabbix/Makefile View File

@ -8,12 +8,12 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=zabbix PKG_NAME:=zabbix
PKG_VERSION:=2.2.3
PKG_RELEASE:=2
PKG_VERSION:=2.2.5
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/zabbix PKG_SOURCE_URL:=@SF/zabbix
PKG_MD5SUM:=cb1bda41a742175a445e8d32d103a315
PKG_MD5SUM:=e7b74a0208743f743585d9cc1d46eccf
PKG_LICENSE:=GPLv2 PKG_LICENSE:=GPLv2
PKG_LICENSE_FILES:= PKG_LICENSE_FILES:=


+ 1
- 1
admin/zabbix/patches/001-cross_compile.patch View File

@ -1,6 +1,6 @@
--- a/configure.ac --- a/configure.ac
+++ b/configure.ac +++ b/configure.ac
@@ -805,25 +805,8 @@ dnl ************************************
@@ -824,25 +824,8 @@ dnl ************************************
dnl Check for %qu format (FreeBSD 4.x) dnl Check for %qu format (FreeBSD 4.x)
dnl FreeBSD 4.x does not support %llu dnl FreeBSD 4.x does not support %llu


+ 2
- 2
admin/zabbix/patches/002-fix-res_send-on-uclibc.patch View File

@ -13,7 +13,7 @@
dnl * * dnl * *
--- a/src/libs/zbxsysinfo/common/net.c --- a/src/libs/zbxsysinfo/common/net.c
+++ b/src/libs/zbxsysinfo/common/net.c +++ b/src/libs/zbxsysinfo/common/net.c
@@ -424,6 +424,7 @@ static int dns_query(AGENT_REQUEST *requ
@@ -425,6 +425,7 @@ static int dns_query(AGENT_REQUEST *requ
if (-1 == res_init()) /* initialize always, settings might have changed */ if (-1 == res_init()) /* initialize always, settings might have changed */
return SYSINFO_RET_FAIL; return SYSINFO_RET_FAIL;
@ -21,7 +21,7 @@
if (-1 == (res = res_mkquery(QUERY, zone, C_IN, type, NULL, 0, NULL, buf, sizeof(buf)))) if (-1 == (res = res_mkquery(QUERY, zone, C_IN, type, NULL, 0, NULL, buf, sizeof(buf))))
return SYSINFO_RET_FAIL; return SYSINFO_RET_FAIL;
@@ -448,6 +449,11 @@ static int dns_query(AGENT_REQUEST *requ
@@ -449,6 +450,11 @@ static int dns_query(AGENT_REQUEST *requ
_res.retry = retry; _res.retry = retry;
res = res_send(buf, res, answer.buffer, sizeof(answer.buffer)); res = res_send(buf, res, answer.buffer, sizeof(answer.buffer));


Loading…
Cancel
Save