upstream zabbix is now able to cope with 2.17 timescaledb.

This commit is contained in:
Yann Dupont 2025-02-03 11:53:44 +01:00
parent 25e445e8c1
commit ee08271a71
2 changed files with 3 additions and 16 deletions

View file

@ -17,7 +17,9 @@
(method url-fetch)
(uri (string-append "https://cdn.zabbix.com/zabbix/sources/stable/" (version-major+minor version) "/zabbix-" version ".tar.gz"))
(sha256 (base32 %zabbix-hash))
(patches (search-patches "glicid/packages/patches/glicid-zabbix-timescaledb-2.17.patch"))
;; YD upstream now able to cope with 2.17 timescaledb
;; (patches (search-patches "glicid/packages/patches/glicid-zabbix-timescaledb-2.17.patch"))
;;
(modules '((guix build utils)))
(snippet
'(substitute* '("src/zabbix_proxy/proxy.c" "src/zabbix_server/server.c")

View file

@ -1,15 +0,0 @@
diff --git a/include/zbx_dbversion_constants.h b/include/zbx_dbversion_constants.h
index 9cfb80f..35145ae 100644
--- a/include/zbx_dbversion_constants.h
+++ b/include/zbx_dbversion_constants.h
@@ -64,8 +64,8 @@
#define ZBX_TIMESCALE_MIN_SUPPORTED_VERSION 20001
#define ZBX_TIMESCALE_MIN_SUPPORTED_VERSION_STR "2.0.1"
#define ZBX_TIMESCALE_MIN_VERSION_WITH_LICENSE_PARAM_SUPPORT 20000
-#define ZBX_TIMESCALE_MAX_VERSION 21699
-#define ZBX_TIMESCALE_MAX_VERSION_STR "2.16"
+#define ZBX_TIMESCALE_MAX_VERSION 21799
+#define ZBX_TIMESCALE_MAX_VERSION_STR "2.17"
#define ZBX_TIMESCALE_LICENSE_APACHE "apache"
#define ZBX_TIMESCALE_LICENSE_APACHE_STR "TimescaleDB Apache 2 Edition"
#define ZBX_TIMESCALE_LICENSE_COMMUNITY "timescale"