[packages/cacti-spine] Up to 1.2.31
arekm
arekm at pld-linux.org
Wed Oct 14 21:57:44 CEST 2026
commit f0af1a1d2502317d27c69be5a1b7ba83da7be692
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Wed Oct 14 21:56:38 2026 +0200
Up to 1.2.31
Fixes buffer overflow in ping_icmp() (issue#384)
and SNMP buffer handling (issue#370, issue#383).
cacti-spine.spec | 10 +++---
no-backtrace.patch | 90 ------------------------------------------------------
2 files changed, 4 insertions(+), 96 deletions(-)
---
diff --git a/cacti-spine.spec b/cacti-spine.spec
index f6396f6..fe13e96 100644
--- a/cacti-spine.spec
+++ b/cacti-spine.spec
@@ -5,16 +5,15 @@
Summary: A backend data gatherer for Cacti
Summary(pl.UTF-8): Backend gromadzący dane dla Cacti
Name: cacti-spine
-Version: 1.2.30
-Release: 2
+Version: 1.2.31
+Release: 1
License: GPL
Group: Daemons
Source0: https://files.cacti.net/spine/%{name}-%{version}.tar.gz
-# Source0-md5: 249ca44c5a7863a2b5fcd382c8a77055
+# Source0-md5: 3f4c3e3a570301c2c158a970968eb60b
Patch0: %{name}-paths.patch
-Patch1: no-backtrace.patch
# Official patches http://www.cacti.net/spine_download_patches.php
-URL: http://www.cacti.net/
+URL: https://www.cacti.net/
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: help2man
@@ -48,7 +47,6 @@ procesorem cmd.php.
%prep
%setup -q
%patch -P0 -p1
-%patch -P1 -p1
%build
%{__libtoolize}
diff --git a/no-backtrace.patch b/no-backtrace.patch
deleted file mode 100644
index 6702660..0000000
--- a/no-backtrace.patch
+++ /dev/null
@@ -1,90 +0,0 @@
-From 8ffdcf01aa766459176465d583576468ebad96a0 Mon Sep 17 00:00:00 2001
-From: TheWitness <thewitness at cacti.net>
-Date: Thu, 26 Jun 2025 23:23:51 -0400
-Subject: [PATCH] Fix: #365 - Removing Backtrace support
-
----
- configure.ac | 22 ----------------------
- error.c | 22 ----------------------
- error.h | 4 ----
- 4 files changed, 2 insertions(+), 49 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index 84c2069..9b5c4fa 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -443,28 +443,6 @@ else
- AC_MSG_RESULT([no])
- fi
-
--# See if we can support backtracing
--AC_MSG_CHECKING([if we can support backtracing])
--AC_LINK_IFELSE([AC_LANG_PROGRAM([[
-- #include <stdlib.h>
-- #include <execinfo.h>
-- ]], [[
-- void *array[10];
-- size_t size;
--
-- // get void*'s for all entries on the stack
-- size = backtrace(array, 10);
-- if (size) {
-- exit(0);
-- } else {
-- exit(1);
-- }
-- ]])],[ AC_MSG_RESULT(yes)
-- AC_DEFINE(HAVE_EXECINFO_H,1,[Do we have backtracing capabilities?])
-- ],[AC_MSG_RESULT(no)
--])
--
--# See if we can support backtracing
- AC_MSG_CHECKING([if we can support mysql/mariadb retry count])
- AC_LINK_IFELSE([AC_LANG_PROGRAM([[
- #include <stdlib.h>
-diff --git a/error.c b/error.c
-index cfdec00..846678e 100644
---- a/error.c
-+++ b/error.c
-@@ -73,29 +73,7 @@ static void spine_signal_handler(int spine_signal) {
- break;
- case SIGSEGV:
- fprintf(stderr, "%s FATAL: Spine Encountered a Segmentation Fault\n", logtime);
--
-- #ifdef HAVE_EXECINFO_H
-- int row = 0;
-- char **exit_strings = NULL;
--
-- fprintf(stderr, "Generating backtrace...%ld line(s)...\n", set.exit_size);
--
-- if (set.exit_size) {
-- set.exit_size = backtrace(set.exit_stack, set.exit_size);
-- exit_strings = backtrace_symbols(set.exit_stack, set.exit_size);
--
-- if (exit_strings) {
-- for (row = 0; row < set.exit_size; row++) {
-- fprintf(stderr, "%3d: %s\n", row, exit_strings[row]);
-- }
--
-- free(exit_strings);
-- }
-- }
-- #endif
--
- exit(1);
--
- break;
- case SIGBUS:
- fprintf(stderr, "%s FATAL: Spine Encountered a Bus Error\n", logtime);
-diff --git a/error.h b/error.h
-index 0ba1d3b..5ced1f6 100644
---- a/error.h
-+++ b/error.h
-@@ -33,7 +33,3 @@
-
- extern void install_spine_signal_handler(void);
- extern void uninstall_spine_signal_handler(void);
--#ifdef HAVE_EXECINFO_H
--extern char ** backtrace_symbols();
--extern int backtrace();
--#endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/cacti-spine.git/commitdiff/f0af1a1d2502317d27c69be5a1b7ba83da7be692
More information about the pld-cvs-commit
mailing list