[packages/zabbix] up to 7.0.9
atler
atler at pld-linux.org
Wed Jan 29 15:18:39 CET 2025
commit 4ba2d1d1a05c1097ea5ed53cd749cb50234b5bf7
Author: Jan Palus <atler at pld-linux.org>
Date: Wed Jan 29 14:36:21 2025 +0100
up to 7.0.9
sqlite3_dbname.patch | 7 ++++---
zabbix.spec | 6 +++---
2 files changed, 7 insertions(+), 6 deletions(-)
---
diff --git a/zabbix.spec b/zabbix.spec
index a7736a2..208b1f8 100644
--- a/zabbix.spec
+++ b/zabbix.spec
@@ -24,15 +24,15 @@
Summary: Zabbix - network monitoring software
Summary(pl.UTF-8): Zabbix - oprogramowanie do monitorowania sieci
Name: zabbix
-Version: 7.0.8
+Version: 7.0.9
Release: 1
License: GPL v2+
Group: Networking/Utilities
# https://www.zabbix.com/download_sources
Source0: https://cdn.zabbix.com/zabbix/sources/stable/7.0/%{name}-%{version}.tar.gz
-# Source0-md5: a140649b77d2af2b8906be1857d30e47
+# Source0-md5: ed8e664be2a728ae199ad6d506e16976
Source100: go-vendor.tar.xz
-# Source100-md5: 353a227154b7fee9dfeb40965b9d5426
+# Source100-md5: 02ae7164fc5e9824bfecf73b367f2da4
Source1: %{name}-apache.conf
Source2: %{name}_server.service
Source3: %{name}_agentd.service
diff --git a/sqlite3_dbname.patch b/sqlite3_dbname.patch
index 79dc5fd..d5b174b 100644
--- a/sqlite3_dbname.patch
+++ b/sqlite3_dbname.patch
@@ -18,7 +18,7 @@
#endif
/* Allow executing statements during a connection initialization. Make sure to mark transaction as failed. */
-@@ -851,10 +852,15 @@ int zbx_db_connect_basic(const zbx_confi
+@@ -851,11 +852,16 @@ int zbx_db_connect_basic(const zbx_confi
ZBX_PG_READ_ONLY_RECOVERABLE = cfg->read_only_recoverable;
out:
#elif defined(HAVE_SQLITE3)
@@ -28,8 +28,9 @@
+ dbpath = strdup(cfg->config_dbname);
+ }
#ifdef HAVE_FUNCTION_SQLITE3_OPEN_V2
-- if (SQLITE_OK != sqlite3_open_v2(cfg->config_dbname, &conn, SQLITE_OPEN_READWRITE, NULL))
-+ if (SQLITE_OK != sqlite3_open_v2(dbpath, &conn, SQLITE_OPEN_READWRITE, NULL))
+- if (SQLITE_OK != sqlite3_open_v2(cfg->config_dbname, &conn, SQLITE_OPEN_READWRITE |
++ if (SQLITE_OK != sqlite3_open_v2(dbpath, &conn, SQLITE_OPEN_READWRITE |
+ SQLITE_OPEN_CREATE, NULL))
#else
- if (SQLITE_OK != sqlite3_open(cfg->config_dbname, &conn))
+ if (SQLITE_OK != sqlite3_open(dbpath, &conn))
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/zabbix.git/commitdiff/4ba2d1d1a05c1097ea5ed53cd749cb50234b5bf7
More information about the pld-cvs-commit
mailing list