Sync from SUSE:SLFO:Main sbd revision fe73b6e8e1edc5f2c2f36370fc70ae74

This commit is contained in:
Adrian Schröter 2024-12-18 16:18:55 +01:00
parent 9fba523e66
commit 95ecf6f623
5 changed files with 41 additions and 8 deletions

View File

@ -1,6 +1,6 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/ClusterLabs/sbd.git</param>
<param name="changesrevision">0e4534ebdfe8d7a37beb0028e604e560a5674891</param>
<param name="changesrevision">12dbb6938254450859fbc17cbabeefebff8346c6</param>
</service>
</servicedata>

BIN
sbd-1.5.2+20230316.5ec38cf.tar.xz (Stored with Git LFS)

Binary file not shown.

BIN
sbd-1.5.2+20241209.5946119.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Mon Dec 09 08:24:47 UTC 2024 - Yan Gao <ygao@suse.com>
- Update to version 1.5.2+20241209.5946119:
- spec: try finding and using libaio.so.x library name (gh#ClusterLabs/sbd#157)
- tests: ability to specify a libaio name (gh#ClusterLabs/sbd#157)
-------------------------------------------------------------------
Mon Dec 02 09:43:34 UTC 2024 - Yan Gao <ygao@suse.com>
- Update to version 1.5.2+20241126.6cc9ac9:
- sbd-inquisitor: avoid parsing SBD_DELAY_START as a time duration if its value is boolean false (gh#ClusterLabs/sbd#156)
- test: load libaio.so instead of libaio.so.1
- move time difference / timeout calculation to single place
- use int for timeouts & latency instead of wild mix and casts
-------------------------------------------------------------------
Tue Jun 20 04:16:55 UTC 2023 - Yan Gao <ygao@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package sbd
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2013 Lars Marowsky-Bree
#
# All modifications and additions to the file contributed by third parties
@ -46,10 +46,18 @@
# by setting below to an explicit 'yes' or 'no'.
%global sync_resource_startup_sysconfig ""
# Try finding and using libaio.so.x library name i.e. the one with the major
# version number such as libaio.so.1
%global libaio_name %(readlink -f %{_libdir}/libaio.so | xargs basename | cut -d "." -f 1-3)
%if "%{libaio_name}" != "" && "%{libaio_name}" != "libaio.so"
%global specify_libaio 1
%endif
Name: sbd
Version: 1.5.2+20230316.5ec38cf
Version: 1.5.2+20241209.5946119
Release: 0
Summary: Storage-based death
Summary: Shared-storage based death
License: GPL-2.0-or-later
Group: Productivity/Clustering/HA
URL: https://github.com/ClusterLabs/sbd
@ -78,12 +86,17 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{?systemd_requires}
%description
This package contains the storage-based death functionality.
A highly reliable fencing or Shoot-the-other-node-in-the-head (STONITH)
mechanism that works by utilizing shared storage.
%package devel
Summary: Storage-based death environment for regression tests
Group: Productivity/Clustering/HA
Requires: %{name} = %{version}-%{release}
%if ! 0%{?specify_libaio}
# Requires libaio-devel for the generic symbolic link libaio.so
Requires: libaio-devel
%endif
%description devel
This package provides an environment + testscripts for
@ -95,6 +108,10 @@ regression-testing sbd.
%build
./autogen.sh
%if 0%{?specify_libaio}
export CFLAGS="${CFLAGS} -DLIBAIO_NAME=%{libaio_name}"
%endif
%configure --with-watchdog-timeout-default=%{watchdog_timeout_default} \
--with-sync-resource-startup-default=%{?with_sync_resource_startup_default:yes}%{!?with_sync_resource_startup_default:no} \
--with-sync-resource-startup-sysconfig=%{sync_resource_startup_sysconfig} \