Sync from SUSE:SLFO:Main sbd revision fe73b6e8e1edc5f2c2f36370fc70ae74
This commit is contained in:
parent
9fba523e66
commit
95ecf6f623
@ -1,6 +1,6 @@
|
|||||||
<servicedata>
|
<servicedata>
|
||||||
<service name="tar_scm">
|
<service name="tar_scm">
|
||||||
<param name="url">https://github.com/ClusterLabs/sbd.git</param>
|
<param name="url">https://github.com/ClusterLabs/sbd.git</param>
|
||||||
<param name="changesrevision">0e4534ebdfe8d7a37beb0028e604e560a5674891</param>
|
<param name="changesrevision">12dbb6938254450859fbc17cbabeefebff8346c6</param>
|
||||||
</service>
|
</service>
|
||||||
</servicedata>
|
</servicedata>
|
BIN
sbd-1.5.2+20230316.5ec38cf.tar.xz
(Stored with Git LFS)
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
BIN
sbd-1.5.2+20241209.5946119.tar.xz
(Stored with Git LFS)
Normal file
Binary file not shown.
16
sbd.changes
16
sbd.changes
@ -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>
|
Tue Jun 20 04:16:55 UTC 2023 - Yan Gao <ygao@suse.com>
|
||||||
|
|
||||||
|
25
sbd.spec
25
sbd.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package sbd
|
# spec file for package sbd
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
# Copyright (c) 2013 Lars Marowsky-Bree
|
# Copyright (c) 2013 Lars Marowsky-Bree
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
@ -46,10 +46,18 @@
|
|||||||
# by setting below to an explicit 'yes' or 'no'.
|
# by setting below to an explicit 'yes' or 'no'.
|
||||||
%global sync_resource_startup_sysconfig ""
|
%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
|
Name: sbd
|
||||||
Version: 1.5.2+20230316.5ec38cf
|
Version: 1.5.2+20241209.5946119
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Storage-based death
|
Summary: Shared-storage based death
|
||||||
License: GPL-2.0-or-later
|
License: GPL-2.0-or-later
|
||||||
Group: Productivity/Clustering/HA
|
Group: Productivity/Clustering/HA
|
||||||
URL: https://github.com/ClusterLabs/sbd
|
URL: https://github.com/ClusterLabs/sbd
|
||||||
@ -78,12 +86,17 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|||||||
%{?systemd_requires}
|
%{?systemd_requires}
|
||||||
|
|
||||||
%description
|
%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
|
%package devel
|
||||||
Summary: Storage-based death environment for regression tests
|
Summary: Storage-based death environment for regression tests
|
||||||
Group: Productivity/Clustering/HA
|
Group: Productivity/Clustering/HA
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
%if ! 0%{?specify_libaio}
|
||||||
|
# Requires libaio-devel for the generic symbolic link libaio.so
|
||||||
|
Requires: libaio-devel
|
||||||
|
%endif
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
This package provides an environment + testscripts for
|
This package provides an environment + testscripts for
|
||||||
@ -95,6 +108,10 @@ regression-testing sbd.
|
|||||||
%build
|
%build
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
|
|
||||||
|
%if 0%{?specify_libaio}
|
||||||
|
export CFLAGS="${CFLAGS} -DLIBAIO_NAME=%{libaio_name}"
|
||||||
|
%endif
|
||||||
|
|
||||||
%configure --with-watchdog-timeout-default=%{watchdog_timeout_default} \
|
%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-default=%{?with_sync_resource_startup_default:yes}%{!?with_sync_resource_startup_default:no} \
|
||||||
--with-sync-resource-startup-sysconfig=%{sync_resource_startup_sysconfig} \
|
--with-sync-resource-startup-sysconfig=%{sync_resource_startup_sysconfig} \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user