e5c014
# User-configurable globals and defines to control package behavior
e5c014
# (these should not test {with X} values, which are declared later)
305287
305287
## User and group to use for nonprivileged services
305287
%global uname hacluster
305287
%global gname haclient
305287
305287
## Where to install Pacemaker documentation
14fe03
%if 0%{?suse_version} > 0
14fe03
%global pcmk_docdir %{_docdir}/%{name}-%{version}
14fe03
%else
14fe03
%if 0%{?rhel} > 7
305287
%global pcmk_docdir %{_docdir}/%{name}-doc
14fe03
%else
14fe03
%global pcmk_docdir %{_docdir}/%{name}
14fe03
%endif
14fe03
%endif
305287
305287
## GitHub entity that distributes source (for ease of using a fork)
305287
%global github_owner ClusterLabs
305287
7ac83c
## Where bug reports should be submitted
7ac83c
## Leave bug_url undefined to use ClusterLabs default, others define it here
7ac83c
%if 0%{?rhel}
7ac83c
%global bug_url https://bugzilla.redhat.com/
7ac83c
%else
7ac83c
%if 0%{?fedora}
7ac83c
%global bug_url https://bugz.fedoraproject.org/%{name}
7ac83c
%endif
7ac83c
%endif
7ac83c
7ac83c
## What to use as the OCF resource agent root directory
7ac83c
%global ocf_root %{_prefix}/lib/ocf
7ac83c
305287
## Upstream pacemaker version, and its package version (specversion
305287
## can be incremented to build packages reliably considered "newer"
305287
## than previously built packages with the same pcmkversion)
45cd8f
%global pcmkversion 2.1.5
45cd8f
%global specversion 8
305287
e5c014
## Upstream commit (full commit ID, abbreviated commit ID, or tag) to build
45cd8f
%global commit a3f44794f94e1571c6ba0042915ade369b4ce4b1
7ac83c
305287
## Since git v2.11, the extent of abbreviation is autoscaled by default
305287
## (used to be constant of 7), so we need to convey it for non-tags, too.
7ac83c
%if (0%{?fedora} >= 26) || (0%{?rhel} >= 9)
7ac83c
%global commit_abbrev 9
7ac83c
%else
305287
%global commit_abbrev 7
7ac83c
%endif
305287
305287
## Nagios source control identifiers
305287
%global nagios_name nagios-agents-metadata
305287
%global nagios_hash 105ab8a
305287
305287
e5c014
# Define conditionals so that "rpmbuild --with <feature>" and
e5c014
# "rpmbuild --without <feature>" can enable and disable specific features
e5c014
e5c014
## Add option to enable support for stonith/external fencing agents
e5c014
%bcond_with stonithd
e5c014
7ac83c
## Add option for whether to support storing sensitive information outside CIB
e5c014
%bcond_without cibsecrets
e5c014
54df86
## Add option to enable Native Language Support (experimental)
54df86
%bcond_with nls
54df86
e5c014
## Add option to create binaries suitable for use with profiling tools
e5c014
%bcond_with profiling
e5c014
54df86
## Allow deprecated option to skip (or enable, on RHEL) documentation
7ac83c
%if 0%{?rhel}
e5c014
%bcond_with doc
7ac83c
%else
7ac83c
%bcond_without doc
7ac83c
%endif
7ac83c
7ac83c
## Add option to default to start-up synchronization with SBD.
7ac83c
##
7ac83c
## If enabled, SBD *MUST* be built to default similarly, otherwise data
7ac83c
## corruption could occur. Building both Pacemaker and SBD to default
7ac83c
## to synchronization improves safety, without requiring higher-level tools
7ac83c
## to be aware of the setting or requiring users to modify configurations
7ac83c
## after upgrading to versions that support synchronization.
7ac83c
%bcond_without sbd_sync
e5c014
e5c014
## Add option to prefix package version with "0."
e5c014
## (so later "official" packages will be considered updates)
e5c014
%bcond_with pre_release
e5c014
e5c014
## Add option to ship Upstart job files
e5c014
%bcond_with upstart_job
e5c014
e5c014
## Add option to turn off hardening of libraries and daemon executables
e5c014
%bcond_without hardening
e5c014
7ac83c
## Add option to enable (or disable, on RHEL 8) links for legacy daemon names
7ac83c
%if 0%{?rhel} && 0%{?rhel} <= 8
e5c014
%bcond_without legacy_links
7ac83c
%else
7ac83c
%bcond_with legacy_links
7ac83c
%endif
e5c014
305287
# Define globals for convenient use later
305287
305287
## Workaround to use parentheses in other globals
305287
%global lparen (
305287
%global rparen )
305287
e5c014
## Whether this is a tagged release (final or release candidate)
e5c014
%define tag_release %(c=%{commit}; case ${c} in Pacemaker-*%{rparen} echo 1 ;;
e5c014
                      *%{rparen} echo 0 ;; esac)
305287
e5c014
## Portion of export/dist tarball name after "pacemaker-", and release version
e5c014
%if 0%{tag_release}
e5c014
%define archive_version %(c=%{commit}; echo ${c:10})
e5c014
%define archive_github_url %{commit}#/%{name}-%{archive_version}.tar.gz
e5c014
%else
45cd8f
%if "%{commit}" == "DIST"
45cd8f
%define archive_version %{pcmkversion}
45cd8f
%define archive_github_url %{archive_version}#/%{name}-%{pcmkversion}.tar.gz
45cd8f
%else
e5c014
%define archive_version %(c=%{commit}; echo ${c:0:%{commit_abbrev}})
e5c014
%define archive_github_url %{archive_version}#/%{name}-%{archive_version}.tar.gz
e5c014
%endif
45cd8f
%endif
7ac83c
### Always use a simple release number
e5c014
%define pcmk_release %{specversion}
305287
305287
## Whether this platform defaults to using systemd as an init system
305287
## (needs to be evaluated prior to BuildRequires being enumerated and
305287
## installed as it's intended to conditionally select some of these, and
305287
## for that there are only few indicators with varying reliability:
305287
## - presence of systemd-defined macros (when building in a full-fledged
305287
##   environment, which is not the case with ordinary mock-based builds)
305287
## - systemd-aware rpm as manifested with the presence of particular
305287
##   macro (rpm itself will trivially always be present when building)
305287
## - existence of /usr/lib/os-release file, which is something heavily
305287
##   propagated by systemd project
305287
## - when not good enough, there's always a possibility to check
305287
##   particular distro-specific macros (incl. version comparison)
305287
%define systemd_native (%{?_unitdir:1}%{!?_unitdir:0}%{nil \
305287
  } || %{?__transaction_systemd_inhibit:1}%{!?__transaction_systemd_inhibit:0}%{nil \
305287
  } || %(test -f /usr/lib/os-release; test $? -ne 0; echo $?))
305287
305287
# Even though we pass @SYSTEM here, Pacemaker is still an exception to the
305287
# crypto policies because it adds "+ANON-DH" for CIB remote commands and
305287
# "+DHE-PSK:+PSK" for Pacemaker Remote connections. This is currently
305287
# required for the respective functionality.
305287
%if 0%{?fedora} > 20 || 0%{?rhel} > 7
305287
## Base GnuTLS cipher priorities (presumably only the initial, required keyword)
305287
## overridable with "rpmbuild --define 'pcmk_gnutls_priorities PRIORITY-SPEC'"
305287
%define gnutls_priorities %{?pcmk_gnutls_priorities}%{!?pcmk_gnutls_priorities:@SYSTEM}
305287
%endif
305287
14fe03
%if 0%{?fedora} > 22 || 0%{?rhel} > 7
14fe03
%global supports_recommends 1
14fe03
%endif
14fe03
14fe03
## Different distros name certain packages differently
14fe03
## (note: corosync libraries also differ, but all provide corosync-devel)
14fe03
%if 0%{?suse_version} > 0
14fe03
%global pkgname_bzip2_devel libbz2-devel
14fe03
%global pkgname_docbook_xsl docbook-xsl-stylesheets
54df86
%global pkgname_gettext gettext-tools
14fe03
%global pkgname_gnutls_devel libgnutls-devel
14fe03
%global pkgname_shadow_utils shadow
14fe03
%global pkgname_procps procps
14fe03
%global pkgname_glue_libs libglue
14fe03
%global pkgname_pcmk_libs lib%{name}3
14fe03
%global hacluster_id 90
14fe03
%else
14fe03
%global pkgname_libtool_devel libtool-ltdl-devel
14fe03
%global pkgname_libtool_devel_arch libtool-ltdl-devel%{?_isa}
14fe03
%global pkgname_bzip2_devel bzip2-devel
14fe03
%global pkgname_docbook_xsl docbook-style-xsl
54df86
%global pkgname_gettext gettext-devel
14fe03
%global pkgname_gnutls_devel gnutls-devel
14fe03
%global pkgname_shadow_utils shadow-utils
14fe03
%global pkgname_procps procps-ng
14fe03
%global pkgname_glue_libs cluster-glue-libs
14fe03
%global pkgname_pcmk_libs %{name}-libs
14fe03
%global hacluster_id 189
14fe03
%endif
14fe03
7ac83c
## Distro-specific configuration choices
7ac83c
7ac83c
### Use 2.0-style output when other distro packages don't support current output
7ac83c
%if 0%{?fedora} || ( 0%{?rhel} && 0%{?rhel} <= 8 )
7ac83c
%global compat20 --enable-compat-2.0
7ac83c
%endif
305287
7ac83c
### Default concurrent-fencing to true when distro prefers that
7ac83c
%if 0%{?rhel} >= 7
7ac83c
%global concurrent_fencing --with-concurrent-fencing-default=true
305287
%endif
7ac83c
7ac83c
### Default resource-stickiness to 1 when distro prefers that
7ac83c
%if 0%{?fedora} >= 35 || 0%{?rhel} >= 9
7ac83c
%global resource_stickiness --with-resource-stickiness-default=1
305287
%endif
305287
7ac83c
7ac83c
# Python-related definitions
7ac83c
305287
## Turn off auto-compilation of Python files outside Python specific paths,
305287
## so there's no risk that unexpected "__python" macro gets picked to do the
305287
## RPM-native byte-compiling there (only "{_datadir}/pacemaker/tests" affected)
305287
## -- distro-dependent tricks or automake's fallback to be applied there
305287
%if %{defined _python_bytecompile_extra}
305287
%global _python_bytecompile_extra 0
305287
%else
305287
### the statement effectively means no RPM-native byte-compiling will occur at
305287
### all, so distro-dependent tricks for Python-specific packages to be applied
305287
%global __os_install_post %(echo '%{__os_install_post}' | {
305287
                            sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g'; })
305287
%endif
305287
7ac83c
## Prefer Python 3 definitions explicitly, in case 2 is also available
7ac83c
%if %{defined __python3}
305287
%global python_name python3
7ac83c
%global python_path %{__python3}
305287
%define python_site %{?python3_sitelib}%{!?python3_sitelib:%(
305287
  %{python_path} -c 'from distutils.sysconfig import get_python_lib as gpl; print(gpl(1))' 2>/dev/null)}
305287
%else
7ac83c
%if %{defined python_version}
7ac83c
%global python_name python%(echo %{python_version} | cut -d'.' -f1)
7ac83c
%define python_path %{?__python}%{!?__python:/usr/bin/%{python_name}}
305287
%else
305287
%global python_name python
305287
%global python_path %{?__python}%{!?__python:/usr/bin/python%{?python_pkgversion}}
305287
%endif
7ac83c
%define python_site %{?python_sitelib}%{!?python_sitelib:%(
7ac83c
  %{python_name} -c 'from distutils.sysconfig import get_python_lib as gpl; print(gpl(1))' 2>/dev/null)}
305287
%endif
305287
305287
305287
# Keep sane profiling data if requested
305287
%if %{with profiling}
305287
305287
## Disable -debuginfo package and stripping binaries/libraries
305287
%define debug_package %{nil}
305287
305287
%endif
305287
305287
305287
Name:          pacemaker
305287
Summary:       Scalable High-Availability cluster resource manager
305287
Version:       %{pcmkversion}
305287
Release:       %{pcmk_release}%{?dist}
305287
%if %{defined _unitdir}
305287
License:       GPLv2+ and LGPLv2+
305287
%else
305287
# initscript is Revised BSD
305287
License:       GPLv2+ and LGPLv2+ and BSD
305287
%endif
a216ed
Url:           https://www.clusterlabs.org/
305287
e5c014
# Example: https://codeload.github.com/ClusterLabs/pacemaker/tar.gz/e91769e
e5c014
# will download pacemaker-e91769e.tar.gz
e5c014
#
e5c014
# The ending part starting with '#' is ignored by github but necessary for
e5c014
# rpmbuild to know what the tar archive name is. (The downloaded file will be
e5c014
# named correctly only for commit IDs, not tagged releases.)
e5c014
#
e5c014
# You can use "spectool -s 0 pacemaker.spec" (rpmdevtools) to show final URL.
e5c014
Source0:       https://codeload.github.com/%{github_owner}/%{name}/tar.gz/%{archive_github_url}
305287
Source1:       nagios-agents-metadata-%{nagios_hash}.tar.gz
305287
305287
# upstream commits
45cd8f
Patch001:      001-sync-points.patch
45cd8f
Patch002:      002-remote-regression.patch
45cd8f
Patch003:      003-history-cleanup.patch
45cd8f
Patch004:      004-g_source_remove.patch
45cd8f
Patch005:      005-query-null.patch
305287
305287
# downstream-only commits
7ac83c
#Patch1xx:      1xx-xxxx.patch
305287
305287
Requires:      resource-agents
14fe03
Requires:      %{pkgname_pcmk_libs}%{?_isa} = %{version}-%{release}
305287
Requires:      %{name}-cluster-libs%{?_isa} = %{version}-%{release}
305287
Requires:      %{name}-cli = %{version}-%{release}
305287
%if !%{defined _unitdir}
14fe03
Requires:      %{pkgname_procps}
305287
Requires:      psmisc
305287
%endif
305287
%{?systemd_requires}
305287
e5c014
%if %{defined centos}
e5c014
ExclusiveArch: aarch64 i686 ppc64le s390x x86_64 %{arm}
e5c014
%else
7ac83c
%if 0%{?rhel}
305287
ExclusiveArch: aarch64 i686 ppc64le s390x x86_64
e5c014
%endif
7ac83c
%endif
305287
305287
Requires:      %{python_path}
305287
BuildRequires: %{python_name}-devel
305287
305287
# Pacemaker requires a minimum libqb functionality
305287
Requires:      libqb >= 0.17.0
305287
BuildRequires: libqb-devel >= 0.17.0
305287
7ac83c
# Required basic build tools
7ac83c
BuildRequires: autoconf
7ac83c
BuildRequires: automake
7ac83c
BuildRequires: coreutils
7ac83c
BuildRequires: findutils
7ac83c
BuildRequires: gcc
7ac83c
BuildRequires: grep
7ac83c
BuildRequires: libtool
7ac83c
%if %{defined pkgname_libtool_devel}
7ac83c
BuildRequires: %{?pkgname_libtool_devel}
7ac83c
%endif
7ac83c
BuildRequires: make
7ac83c
BuildRequires: pkgconfig
7ac83c
BuildRequires: sed
305287
305287
# Required for core functionality
7ac83c
BuildRequires: pkgconfig(glib-2.0) >= 2.42
7ac83c
BuildRequires: libxml2-devel
7ac83c
BuildRequires: libxslt-devel
7ac83c
BuildRequires: libuuid-devel
14fe03
BuildRequires: %{pkgname_bzip2_devel}
305287
305287
# Enables optional functionality
7ac83c
BuildRequires: pkgconfig(dbus-1)
7ac83c
BuildRequires: %{pkgname_docbook_xsl}
7ac83c
BuildRequires: %{pkgname_gnutls_devel}
7ac83c
BuildRequires: help2man
7ac83c
BuildRequires: ncurses-devel
7ac83c
BuildRequires: pam-devel
54df86
BuildRequires: %{pkgname_gettext} >= 0.18
305287
33afe3
# Required for "make check"
33afe3
BuildRequires: libcmocka-devel
33afe3
305287
%if %{systemd_native}
305287
BuildRequires: pkgconfig(systemd)
305287
%endif
305287
305287
# RH patches are created by git, so we need git to apply them
305287
BuildRequires: git
305287
33afe3
# The RHEL 8.5+ build root has corosync_cfg_trackstart() available, so
33afe3
# Pacemaker's configure script will build support for it. Add a hard dependency
33afe3
# to ensure users have compatible Corosync libraries if they upgrade Pacemaker.
33afe3
Requires:      corosync >= 3.1.1
33afe3
BuildRequires: corosync-devel >= 3.1.1
305287
305287
%if %{with stonithd}
14fe03
BuildRequires: %{pkgname_glue_libs}-devel
305287
%endif
305287
305287
%if %{with doc}
7ac83c
BuildRequires: asciidoc
7ac83c
BuildRequires: inkscape
7ac83c
BuildRequires: %{python_name}-sphinx
305287
%endif
305287
45cd8f
# Booth requires this
45cd8f
Provides:      pacemaker-ticket-support = 2.0
45cd8f
305287
Provides:      pcmk-cluster-manager = %{version}-%{release}
305287
Provides:      pcmk-cluster-manager%{?_isa} = %{version}-%{release}
305287
305287
# Bundled bits
305287
## Pacemaker uses the crypto/md5-buffer module from gnulib
305287
%if 0%{?fedora} || 0%{?rhel}
33afe3
Provides:      bundled(gnulib) = 20200404
305287
%endif
305287
305287
%description
305287
Pacemaker is an advanced, scalable High-Availability cluster resource
305287
manager.
305287
305287
It supports more than 16 node clusters with significant capabilities
305287
for managing resources and dependencies.
305287
305287
It will run scripts at initialization, when machines go up or down,
305287
when related resources fail and can be configured to periodically check
305287
resource health.
305287
305287
Available rpmbuild rebuild options:
45cd8f
  --with(out) : cibsecrets hardening nls pre_release profiling
45cd8f
                stonithd
305287
305287
%package cli
305287
License:       GPLv2+ and LGPLv2+
305287
Summary:       Command line tools for controlling Pacemaker clusters
14fe03
Requires:      %{pkgname_pcmk_libs}%{?_isa} = %{version}-%{release}
14fe03
# For crm_report
14fe03
Requires:      tar
14fe03
Requires:      bzip2
305287
Requires:      perl-TimeDate
14fe03
Requires:      %{pkgname_procps}
305287
Requires:      psmisc
305287
Requires(post):coreutils
305287
305287
%description cli
305287
Pacemaker is an advanced, scalable High-Availability cluster resource
305287
manager.
305287
305287
The %{name}-cli package contains command line tools that can be used
305287
to query and control the cluster from machines that may, or may not,
305287
be part of the cluster.
305287
14fe03
%package -n %{pkgname_pcmk_libs}
305287
License:       GPLv2+ and LGPLv2+
305287
Summary:       Core Pacemaker libraries
14fe03
Requires(pre): %{pkgname_shadow_utils}
305287
Requires:      %{name}-schemas = %{version}-%{release}
305287
# sbd 1.4.0+ supports the libpe_status API for pe_working_set_t
a216ed
# sbd 1.4.2+ supports startup/shutdown handshake via pacemakerd-api
7ac83c
#            and handshake defaults to enabled in this spec
a216ed
Conflicts:     sbd < 1.4.2
305287
14fe03
%description -n %{pkgname_pcmk_libs}
305287
Pacemaker is an advanced, scalable High-Availability cluster resource
305287
manager.
305287
14fe03
The %{pkgname_pcmk_libs} package contains shared libraries needed for cluster
305287
nodes and those just running the CLI tools.
305287
305287
%package cluster-libs
305287
License:       GPLv2+ and LGPLv2+
305287
Summary:       Cluster Libraries used by Pacemaker
14fe03
Requires:      %{pkgname_pcmk_libs}%{?_isa} = %{version}-%{release}
305287
305287
%description cluster-libs
305287
Pacemaker is an advanced, scalable High-Availability cluster resource
305287
manager.
305287
305287
The %{name}-cluster-libs package contains cluster-aware shared
305287
libraries needed for nodes that will form part of the cluster nodes.
305287
305287
%package remote
305287
%if %{defined _unitdir}
305287
License:       GPLv2+ and LGPLv2+
305287
%else
305287
# initscript is Revised BSD
305287
License:       GPLv2+ and LGPLv2+ and BSD
305287
%endif
7ac83c
Summary:       Pacemaker remote executor daemon for non-cluster nodes
14fe03
Requires:      %{pkgname_pcmk_libs}%{?_isa} = %{version}-%{release}
305287
Requires:      %{name}-cli = %{version}-%{release}
305287
Requires:      resource-agents
305287
%if !%{defined _unitdir}
14fe03
Requires:      %{pkgname_procps}
305287
%endif
305287
# -remote can be fully independent of systemd
305287
%{?systemd_ordering}%{!?systemd_ordering:%{?systemd_requires}}
305287
Provides:      pcmk-cluster-manager = %{version}-%{release}
305287
Provides:      pcmk-cluster-manager%{?_isa} = %{version}-%{release}
305287
305287
%description remote
305287
Pacemaker is an advanced, scalable High-Availability cluster resource
305287
manager.
305287
305287
The %{name}-remote package contains the Pacemaker Remote daemon
305287
which is capable of extending pacemaker functionality to remote
305287
nodes not running the full corosync/cluster stack.
305287
14fe03
%package -n %{pkgname_pcmk_libs}-devel
305287
License:       GPLv2+ and LGPLv2+
305287
Summary:       Pacemaker development package
14fe03
Requires:      %{pkgname_pcmk_libs}%{?_isa} = %{version}-%{release}
305287
Requires:      %{name}-cluster-libs%{?_isa} = %{version}-%{release}
7ac83c
Requires:      %{pkgname_bzip2_devel}%{?_isa}
14fe03
Requires:      corosync-devel >= 2.0.0
7ac83c
Requires:      glib2-devel%{?_isa}
7ac83c
Requires:      libqb-devel%{?_isa}
7ac83c
%if %{defined pkgname_libtool_devel_arch}
7ac83c
Requires:      %{?pkgname_libtool_devel_arch}
7ac83c
%endif
7ac83c
Requires:      libuuid-devel%{?_isa}
7ac83c
Requires:      libxml2-devel%{?_isa}
7ac83c
Requires:      libxslt-devel%{?_isa}
305287
14fe03
%description -n %{pkgname_pcmk_libs}-devel
305287
Pacemaker is an advanced, scalable High-Availability cluster resource
305287
manager.
305287
14fe03
The %{pkgname_pcmk_libs}-devel package contains headers and shared libraries
305287
for developing tools for Pacemaker.
305287
305287
%package       cts
305287
License:       GPLv2+ and LGPLv2+
305287
Summary:       Test framework for cluster-related technologies like Pacemaker
305287
Requires:      %{python_path}
14fe03
Requires:      %{pkgname_pcmk_libs} = %{version}-%{release}
14fe03
Requires:      %{name}-cli = %{version}-%{release}
14fe03
Requires:      %{pkgname_procps}
305287
Requires:      psmisc
45cd8f
Requires:      %{python_name}-psutil
305287
BuildArch:     noarch
305287
7ac83c
# systemd Python bindings are a separate package in some distros
305287
%if %{defined systemd_requires}
305287
%if 0%{?fedora} > 22 || 0%{?rhel} > 7
305287
Requires:      %{python_name}-systemd
305287
%endif
305287
%endif
305287
305287
%description   cts
305287
Test framework for cluster-related technologies like Pacemaker
305287
305287
%package       doc
305287
License:       CC-BY-SA-4.0
305287
Summary:       Documentation for Pacemaker
305287
BuildArch:     noarch
305287
305287
%description   doc
305287
Documentation for Pacemaker.
305287
305287
Pacemaker is an advanced, scalable High-Availability cluster resource
305287
manager.
305287
305287
%package       schemas
305287
License:       GPLv2+
305287
Summary:       Schemas and upgrade stylesheets for Pacemaker
305287
BuildArch:     noarch
305287
305287
%description   schemas
305287
Schemas and upgrade stylesheets for Pacemaker
305287
305287
Pacemaker is an advanced, scalable High-Availability cluster resource
305287
manager.
305287
305287
%package       nagios-plugins-metadata
305287
License:       GPLv3
305287
Summary:       Pacemaker Nagios Metadata
305287
# NOTE below are the plugins this metadata uses.
305287
# These packages are not requirements because RHEL does not ship these plugins.
305287
# This metadata provides third-party support for nagios. Users may install the
305287
# plugins via third-party rpm packages, or source. If RHEL ships the plugins in
305287
# the future, we should consider enabling the following required fields.
305287
#Requires:      nagios-plugins-http
305287
#Requires:      nagios-plugins-ldap
305287
#Requires:      nagios-plugins-mysql
305287
#Requires:      nagios-plugins-pgsql
305287
#Requires:      nagios-plugins-tcp
305287
Requires:      pcmk-cluster-manager
305287
BuildArch:     noarch
305287
305287
%description   nagios-plugins-metadata
305287
The metadata files required for Pacemaker to execute the nagios plugin
305287
monitor resources.
305287
305287
%prep
e5c014
%autosetup -a 1 -n %{name}-%{archive_version} -S git_am -p 1
305287
305287
%build
305287
14fe03
export systemdsystemunitdir=%{?_unitdir}%{!?_unitdir:no}
305287
305287
%if %{with hardening}
305287
# prefer distro-provided hardening flags in case they are defined
305287
# through _hardening_{c,ld}flags macros, configure script will
305287
# use its own defaults otherwise; if such hardenings are completely
305287
# undesired, rpmbuild using "--without hardening"
305287
# (or "--define '_without_hardening 1'")
305287
export CFLAGS_HARDENED_EXE="%{?_hardening_cflags}"
305287
export CFLAGS_HARDENED_LIB="%{?_hardening_cflags}"
305287
export LDFLAGS_HARDENED_EXE="%{?_hardening_ldflags}"
305287
export LDFLAGS_HARDENED_LIB="%{?_hardening_ldflags}"
305287
%endif
305287
305287
./autogen.sh
305287
305287
%{configure}                                                                    \
305287
        PYTHON=%{python_path}                                                   \
305287
        %{!?with_hardening:    --disable-hardening}                             \
7ac83c
        %{?with_legacy_links:  --enable-legacy-links}                           \
305287
        %{?with_profiling:     --with-profiling}                                \
e5c014
        %{?with_cibsecrets:    --with-cibsecrets}                               \
54df86
        %{?with_nls:           --enable-nls}                                    \
7ac83c
        %{?with_sbd_sync:      --with-sbd-sync-default="true"}                  \
305287
        %{?gnutls_priorities:  --with-gnutls-priorities="%{gnutls_priorities}"} \
7ac83c
        %{?bug_url:            --with-bug-url=%{bug_url}}                       \
7ac83c
        %{?ocf_root:           --with-ocfdir=%{ocf_root}}                       \
7ac83c
        %{?concurrent_fencing}                                                  \
7ac83c
        %{?resource_stickiness}                                                 \
7ac83c
        %{?compat20}                                                            \
7ac83c
        --disable-static                                                        \
305287
        --with-initdir=%{_initrddir}                                            \
14fe03
        --with-runstatedir=%{_rundir}                                           \
305287
        --localstatedir=%{_var}                                                 \
305287
        --with-nagios                                                             \
305287
        --with-nagios-metadata-dir=%{_datadir}/pacemaker/nagios/plugins-metadata/ \
305287
        --with-nagios-plugin-dir=%{_libdir}/nagios/plugins/                       \
305287
        --with-version=%{version}-%{release}
305287
305287
%if 0%{?suse_version} >= 1200
305287
# Fedora handles rpath removal automagically
305287
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
305287
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
305287
%endif
305287
14fe03
make %{_smp_mflags} V=1
305287
305287
%check
e5c014
make %{_smp_mflags} check
305287
{ cts/cts-scheduler --run load-stopped-loop \
305287
  && cts/cts-cli \
305287
  && touch .CHECKED
305287
} 2>&1 | sed 's/[fF]ail/faiil/g'  # prevent false positives in rpmlint
305287
[ -f .CHECKED ] && rm -f -- .CHECKED
305287
exit $?  # TODO remove when rpm<4.14 compatibility irrelevant
305287
305287
%install
305287
# skip automake-native Python byte-compilation, since RPM-native one (possibly
305287
# distro-confined to Python-specific directories, which is currently the only
305287
# relevant place, anyway) assures proper intrinsic alignment with wider system
305287
# (such as with py_byte_compile macro, which is concurrent Fedora/EL specific)
305287
make install \
305287
  DESTDIR=%{buildroot} V=1 docdir=%{pcmk_docdir} \
305287
  %{?_python_bytecompile_extra:%{?py_byte_compile:am__py_compile=true}}
305287
305287
%if %{with upstart_job}
305287
mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/init
305287
install -m 644 pacemakerd/pacemaker.upstart ${RPM_BUILD_ROOT}%{_sysconfdir}/init/pacemaker.conf
305287
install -m 644 pacemakerd/pacemaker.combined.upstart ${RPM_BUILD_ROOT}%{_sysconfdir}/init/pacemaker.combined.conf
305287
install -m 644 tools/crm_mon.upstart ${RPM_BUILD_ROOT}%{_sysconfdir}/init/crm_mon.conf
305287
%endif
305287
305287
mkdir -p %{buildroot}%{_datadir}/pacemaker/nagios/plugins-metadata
305287
for file in $(find %{nagios_name}-%{nagios_hash}/metadata -type f); do
305287
    install -m 644 $file %{buildroot}%{_datadir}/pacemaker/nagios/plugins-metadata
305287
done
305287
305287
%if %{defined _unitdir}
305287
mkdir -p ${RPM_BUILD_ROOT}%{_localstatedir}/lib/rpm-state/%{name}
305287
%endif
305287
54df86
%if %{with nls}
54df86
%find_lang %{name}
54df86
%endif
54df86
7ac83c
# Don't package libtool archives
305287
find %{buildroot} -name '*.la' -type f -print0 | xargs -0 rm -f
305287
54df86
# Do not package these either on RHEL
305287
rm -f %{buildroot}/%{_sbindir}/fence_legacy
305287
rm -f %{buildroot}/%{_mandir}/man8/fence_legacy.*
305287
find %{buildroot} -name '*o2cb*' -type f -print0 | xargs -0 rm -f
305287
305287
# For now, don't package the servicelog-related binaries built only for
305287
# ppc64le when certain dependencies are installed. If they get more exercise by
305287
# advanced users, we can reconsider.
305287
rm -f %{buildroot}/%{_sbindir}/notifyServicelogEvent
305287
rm -f %{buildroot}/%{_sbindir}/ipmiservicelogd
305287
305287
# Byte-compile Python sources where suitable and the distro procedures known
305287
%if %{defined py_byte_compile}
305287
%{py_byte_compile %{python_path} %{buildroot}%{_datadir}/pacemaker/tests}
305287
%if !%{defined _python_bytecompile_extra}
305287
%{py_byte_compile %{python_path} %{buildroot}%{python_site}/cts}
305287
%endif
305287
%endif
305287
305287
%post
305287
%if %{defined _unitdir}
305287
%systemd_post pacemaker.service
305287
%else
305287
/sbin/chkconfig --add pacemaker || :
305287
%endif
305287
305287
%preun
305287
%if %{defined _unitdir}
305287
%systemd_preun pacemaker.service
305287
%else
305287
/sbin/service pacemaker stop >/dev/null 2>&1 || :
305287
if [ "$1" -eq 0 ]; then
305287
    # Package removal, not upgrade
305287
    /sbin/chkconfig --del pacemaker || :
305287
fi
305287
%endif
305287
305287
%postun
305287
%if %{defined _unitdir}
305287
%systemd_postun_with_restart pacemaker.service
305287
%endif
305287
305287
%pre remote
305287
%if %{defined _unitdir}
305287
# Stop the service before anything is touched, and remember to restart
305287
# it as one of the last actions (compared to using systemd_postun_with_restart,
305287
# this avoids suicide when sbd is in use)
305287
systemctl --quiet is-active pacemaker_remote
305287
if [ $? -eq 0 ] ; then
305287
    mkdir -p %{_localstatedir}/lib/rpm-state/%{name}
305287
    touch %{_localstatedir}/lib/rpm-state/%{name}/restart_pacemaker_remote
305287
    systemctl stop pacemaker_remote >/dev/null 2>&1
305287
else
305287
    rm -f %{_localstatedir}/lib/rpm-state/%{name}/restart_pacemaker_remote
305287
fi
305287
%endif
305287
305287
%post remote
305287
%if %{defined _unitdir}
305287
%systemd_post pacemaker_remote.service
305287
%else
305287
/sbin/chkconfig --add pacemaker_remote || :
305287
%endif
305287
305287
%preun remote
305287
%if %{defined _unitdir}
305287
%systemd_preun pacemaker_remote.service
305287
%else
305287
/sbin/service pacemaker_remote stop >/dev/null 2>&1 || :
305287
if [ "$1" -eq 0 ]; then
305287
    # Package removal, not upgrade
305287
    /sbin/chkconfig --del pacemaker_remote || :
305287
fi
305287
%endif
305287
305287
%postun remote
305287
%if %{defined _unitdir}
305287
# This next line is a no-op, because we stopped the service earlier, but
305287
# we leave it here because it allows us to revert to the standard behavior
305287
# in the future if desired
305287
%systemd_postun_with_restart pacemaker_remote.service
305287
# Explicitly take care of removing the flag-file(s) upon final removal
305287
if [ "$1" -eq 0 ] ; then
305287
    rm -f %{_localstatedir}/lib/rpm-state/%{name}/restart_pacemaker_remote
305287
fi
305287
%endif
305287
305287
%posttrans remote
305287
%if %{defined _unitdir}
305287
if [ -e %{_localstatedir}/lib/rpm-state/%{name}/restart_pacemaker_remote ] ; then
305287
    systemctl start pacemaker_remote >/dev/null 2>&1
305287
    rm -f %{_localstatedir}/lib/rpm-state/%{name}/restart_pacemaker_remote
305287
fi
305287
%endif
305287
305287
%post cli
305287
%if %{defined _unitdir}
305287
%systemd_post crm_mon.service
305287
%endif
305287
if [ "$1" -eq 2 ]; then
305287
    # Package upgrade, not initial install:
305287
    # Move any pre-2.0 logs to new location to ensure they get rotated
305287
    { mv -fbS.rpmsave %{_var}/log/pacemaker.log* %{_var}/log/pacemaker \
305287
      || mv -f %{_var}/log/pacemaker.log* %{_var}/log/pacemaker
305287
    } >/dev/null 2>/dev/null || :
305287
fi
305287
305287
%preun cli
305287
%if %{defined _unitdir}
305287
%systemd_preun crm_mon.service
305287
%endif
305287
305287
%postun cli
305287
%if %{defined _unitdir}
305287
%systemd_postun_with_restart crm_mon.service
305287
%endif
305287
14fe03
%pre -n %{pkgname_pcmk_libs}
14fe03
getent group %{gname} >/dev/null || groupadd -r %{gname} -g %{hacluster_id}
14fe03
getent passwd %{uname} >/dev/null || useradd -r -g %{gname} -u %{hacluster_id} -s /sbin/nologin -c "cluster user" %{uname}
305287
exit 0
305287
305287
%if %{defined ldconfig_scriptlets}
e5c014
%ldconfig_scriptlets -n %{pkgname_pcmk_libs}
305287
%ldconfig_scriptlets cluster-libs
305287
%else
14fe03
%post -n %{pkgname_pcmk_libs} -p /sbin/ldconfig
14fe03
%postun -n %{pkgname_pcmk_libs} -p /sbin/ldconfig
305287
305287
%post cluster-libs -p /sbin/ldconfig
305287
%postun cluster-libs -p /sbin/ldconfig
305287
%endif
305287
305287
%files
305287
###########################################################
305287
%config(noreplace) %{_sysconfdir}/sysconfig/pacemaker
305287
%{_sbindir}/pacemakerd
305287
305287
%if %{defined _unitdir}
305287
%{_unitdir}/pacemaker.service
305287
%else
305287
%{_initrddir}/pacemaker
305287
%endif
305287
305287
%exclude %{_libexecdir}/pacemaker/cts-log-watcher
305287
%exclude %{_libexecdir}/pacemaker/cts-support
305287
%exclude %{_sbindir}/pacemaker-remoted
305287
%exclude %{_sbindir}/pacemaker_remoted
305287
%exclude %{_datadir}/pacemaker/nagios
305287
%{_libexecdir}/pacemaker/*
305287
305287
%{_sbindir}/crm_master
7ac83c
%{_sbindir}/fence_watchdog
305287
305287
%doc %{_mandir}/man7/pacemaker-controld.*
305287
%doc %{_mandir}/man7/pacemaker-schedulerd.*
305287
%doc %{_mandir}/man7/pacemaker-fenced.*
305287
%doc %{_mandir}/man7/ocf_pacemaker_controld.*
305287
%doc %{_mandir}/man7/ocf_pacemaker_remote.*
305287
%doc %{_mandir}/man8/crm_master.*
7ac83c
%doc %{_mandir}/man8/fence_watchdog.*
305287
%doc %{_mandir}/man8/pacemakerd.*
305287
305287
%doc %{_datadir}/pacemaker/alerts
305287
305287
%license licenses/GPLv2
305287
%doc COPYING
305287
%doc ChangeLog
305287
305287
%dir %attr (750, %{uname}, %{gname}) %{_var}/lib/pacemaker/cib
305287
%dir %attr (750, %{uname}, %{gname}) %{_var}/lib/pacemaker/pengine
7ac83c
%{ocf_root}/resource.d/pacemaker/controld
7ac83c
%{ocf_root}/resource.d/pacemaker/remote
305287
305287
%if %{with upstart_job}
305287
%config(noreplace) %{_sysconfdir}/init/pacemaker.conf
305287
%config(noreplace) %{_sysconfdir}/init/pacemaker.combined.conf
305287
%endif
305287
305287
%files cli
305287
%dir %attr (750, root, %{gname}) %{_sysconfdir}/pacemaker
305287
%config(noreplace) %{_sysconfdir}/logrotate.d/pacemaker
305287
%config(noreplace) %{_sysconfdir}/sysconfig/crm_mon
305287
305287
%if %{defined _unitdir}
305287
%{_unitdir}/crm_mon.service
305287
%endif
305287
305287
%if %{with upstart_job}
305287
%config(noreplace) %{_sysconfdir}/init/crm_mon.conf
305287
%endif
305287
305287
%{_sbindir}/attrd_updater
305287
%{_sbindir}/cibadmin
e5c014
%if %{with cibsecrets}
e5c014
%{_sbindir}/cibsecret
e5c014
%endif
54df86
%{_sbindir}/crm_attribute
305287
%{_sbindir}/crm_diff
305287
%{_sbindir}/crm_error
305287
%{_sbindir}/crm_failcount
305287
%{_sbindir}/crm_mon
305287
%{_sbindir}/crm_node
305287
%{_sbindir}/crm_resource
305287
%{_sbindir}/crm_rule
305287
%{_sbindir}/crm_standby
305287
%{_sbindir}/crm_verify
305287
%{_sbindir}/crmadmin
305287
%{_sbindir}/iso8601
305287
%{_sbindir}/crm_shadow
305287
%{_sbindir}/crm_simulate
305287
%{_sbindir}/crm_report
305287
%{_sbindir}/crm_ticket
305287
%{_sbindir}/stonith_admin
305287
# "dirname" is owned by -schemas, which is a prerequisite
305287
%{_datadir}/pacemaker/report.collector
305287
%{_datadir}/pacemaker/report.common
305287
# XXX "dirname" is not owned by any prerequisite
305287
%{_datadir}/snmp/mibs/PCMK-MIB.txt
305287
7ac83c
%exclude %{ocf_root}/resource.d/pacemaker/controld
7ac83c
%exclude %{ocf_root}/resource.d/pacemaker/remote
305287
7ac83c
%dir %{ocf_root}
7ac83c
%dir %{ocf_root}/resource.d
7ac83c
%{ocf_root}/resource.d/pacemaker
305287
305287
%doc %{_mandir}/man7/*
305287
%exclude %{_mandir}/man7/pacemaker-controld.*
305287
%exclude %{_mandir}/man7/pacemaker-schedulerd.*
305287
%exclude %{_mandir}/man7/pacemaker-fenced.*
305287
%exclude %{_mandir}/man7/ocf_pacemaker_controld.*
305287
%exclude %{_mandir}/man7/ocf_pacemaker_remote.*
305287
%doc %{_mandir}/man8/*
305287
%exclude %{_mandir}/man8/crm_master.*
7ac83c
%exclude %{_mandir}/man8/fence_watchdog.*
305287
%exclude %{_mandir}/man8/pacemakerd.*
305287
%exclude %{_mandir}/man8/pacemaker-remoted.*
305287
305287
%license licenses/GPLv2
305287
%doc COPYING
305287
%doc ChangeLog
305287
305287
%dir %attr (750, %{uname}, %{gname}) %{_var}/lib/pacemaker
305287
%dir %attr (750, %{uname}, %{gname}) %{_var}/lib/pacemaker/blackbox
305287
%dir %attr (750, %{uname}, %{gname}) %{_var}/lib/pacemaker/cores
305287
%dir %attr (770, %{uname}, %{gname}) %{_var}/log/pacemaker
305287
%dir %attr (770, %{uname}, %{gname}) %{_var}/log/pacemaker/bundles
305287
54df86
%files -n %{pkgname_pcmk_libs} %{?with_nls:-f %{name}.lang}
305287
%{_libdir}/libcib.so.*
305287
%{_libdir}/liblrmd.so.*
305287
%{_libdir}/libcrmservice.so.*
305287
%{_libdir}/libcrmcommon.so.*
305287
%{_libdir}/libpe_status.so.*
305287
%{_libdir}/libpe_rules.so.*
305287
%{_libdir}/libpacemaker.so.*
305287
%{_libdir}/libstonithd.so.*
305287
%license licenses/LGPLv2.1
305287
%doc COPYING
305287
%doc ChangeLog
305287
305287
%files cluster-libs
305287
%{_libdir}/libcrmcluster.so.*
305287
%license licenses/LGPLv2.1
305287
%doc COPYING
305287
%doc ChangeLog
305287
305287
%files remote
305287
%config(noreplace) %{_sysconfdir}/sysconfig/pacemaker
305287
%if %{defined _unitdir}
305287
# state directory is shared between the subpackets
305287
# let rpm take care of removing it once it isn't
305287
# referenced anymore and empty
305287
%ghost %dir %{_localstatedir}/lib/rpm-state/%{name}
305287
%{_unitdir}/pacemaker_remote.service
305287
%else
305287
%{_initrddir}/pacemaker_remote
305287
%endif
305287
305287
%{_sbindir}/pacemaker-remoted
305287
%{_sbindir}/pacemaker_remoted
305287
%{_mandir}/man8/pacemaker-remoted.*
305287
%license licenses/GPLv2
305287
%doc COPYING
305287
%doc ChangeLog
305287
305287
%files doc
305287
%doc %{pcmk_docdir}
305287
%license licenses/CC-BY-SA-4.0
305287
305287
%files cts
305287
%{python_site}/cts
305287
%{_datadir}/pacemaker/tests
305287
305287
%{_libexecdir}/pacemaker/cts-log-watcher
305287
%{_libexecdir}/pacemaker/cts-support
305287
305287
%license licenses/GPLv2
305287
%doc COPYING
305287
%doc ChangeLog
305287
14fe03
%files -n %{pkgname_pcmk_libs}-devel
305287
%{_includedir}/pacemaker
305287
%{_libdir}/*.so
305287
%{_libdir}/pkgconfig/*.pc
305287
%license licenses/LGPLv2.1
305287
%doc COPYING
305287
%doc ChangeLog
305287
305287
%files schemas
305287
%license licenses/GPLv2
305287
%dir %{_datadir}/pacemaker
305287
%{_datadir}/pacemaker/*.rng
305287
%{_datadir}/pacemaker/*.xsl
305287
%{_datadir}/pacemaker/api
54df86
%{_datadir}/pacemaker/base
14fe03
%{_datadir}/pkgconfig/pacemaker-schemas.pc
305287
305287
%files nagios-plugins-metadata
305287
%dir %{_datadir}/pacemaker/nagios/plugins-metadata
305287
%attr(0644,root,root) %{_datadir}/pacemaker/nagios/plugins-metadata/*
305287
%license %{nagios_name}-%{nagios_hash}/COPYING
305287
305287
%changelog
45cd8f
* Wed Feb 22 2023 Chris Lumens <clumens@redhat.com> - 2.1.5-8
45cd8f
- Rebuild with new release due to build system problems
45cd8f
- Related: rhbz2168249
45cd8f
- Related: rhbz2168675
45cd8f
45cd8f
* Tue Feb 21 2023 Chris Lumens <clumens@redhat.com> - 2.1.5-7
45cd8f
- Additional fixes for SIGABRT during pacemaker-fenced shutdown
45cd8f
- Backport fix for attrd_updater -QA not displaying all nodes
45cd8f
- Related: rhbz2168249
45cd8f
- Resolves: rhbz2168675
45cd8f
45cd8f
* Wed Feb 8 2023 Chris Lumens <clumens@redhat.com> - 2.1.5-6
45cd8f
- Backport fix for migration history cleanup causing resource recovery
45cd8f
- Backport fix for SIGABRT during pacemaker-fenced shutdown
45cd8f
- Resolves: rhbz2166388
45cd8f
- Resolves: rhbz2168249
45cd8f
45cd8f
* Tue Jan 24 2023 Ken Gaillot <kgaillot@redhat.com> - 2.1.5-5
45cd8f
- Backport fix for remote node shutdown regression
45cd8f
- Resolves: rhbz2163567
45cd8f
45cd8f
* Fri Dec 9 2022 Chris Lumens <clumens@redhat.com> - 2.1.5-4
45cd8f
- Rebase pacemaker on upstream 2.1.5 final release
45cd8f
- Add support for sync points to attribute daemon
45cd8f
- Resolves: rhbz1463033
45cd8f
- Resolves: rhbz1866578
45cd8f
- Resolves: rhbz2122352
45cd8f
45cd8f
* Tue Dec 6 2022 Chris Lumens <clumens@redhat.com> - 2.1.5-3
45cd8f
- Fix errors found by covscan
45cd8f
- Related: rhbz2122352
45cd8f
45cd8f
* Wed Nov 23 2022 Chris Lumens <clumens@redhat.com> - 2.1.5-2
45cd8f
- Rebase on upstream 2.1.5-rc3 release
45cd8f
- Resolves: rhbz1626546
45cd8f
- Related: rhbz2122352
45cd8f
45cd8f
* Tue Nov 22 2022 Chris Lumens <clumens@redhat.com> - 2.1.5-1
45cd8f
- Rebase on upstream 2.1.5-rc2 release
45cd8f
- Resolves: rhbz1822125
45cd8f
- Resolves: rhbz2095662
45cd8f
- Resolves: rhbz2121852
45cd8f
- Resolves: rhbz2122806
45cd8f
- Resolves: rhbz2133497
45cd8f
- Resolves: rhbz2142681
45cd8f
54df86
* Wed Aug 10 2022 Ken Gaillot <kgaillot@redhat.com> - 2.1.4-5
54df86
- Fix regression in crm_resource -O
54df86
- Resolves: rhbz2118337
54df86
54df86
* Wed Jul 20 2022 Ken Gaillot <kgaillot@redhat.com> - 2.1.4-4
54df86
- Ensure all nodes are re-unfenced after device configuration change
54df86
- crm_resource --why now checks node health status
54df86
- Resolves: rhbz1872483
54df86
- Resolves: rhbz2065818
54df86
54df86
* Wed Jun 29 2022 Ken Gaillot <kgaillot@redhat.com> - 2.1.4-3
54df86
- Add support for ACL groups
54df86
- Resolves: rhbz1724310
54df86
54df86
* Tue Jun 28 2022 Ken Gaillot <kgaillot@redhat.com> - 2.1.4-2
54df86
- Restore crm_attribute query behavior when attribute does not exist
54df86
- Resolves: rhbz2072107
54df86
54df86
* Wed Jun 15 2022 Ken Gaillot <kgaillot@redhat.com> - 2.1.4-1
54df86
- Fencer should not ignore CIB updates when stonith is disabled
54df86
- Rebase pacemaker on upstream 2.1.4 final release
54df86
- Fix typo in ocf:pacemaker:HealthSMART meta-data
54df86
- Resolves: rhbz2055935
54df86
- Resolves: rhbz2072107
54df86
- Resolves: rhbz2094855
54df86
54df86
* Wed Jun 1 2022 Ken Gaillot <kgaillot@redhat.com> - 2.1.3-2
54df86
- crm_attribute works on remote node command line when hostname differs
54df86
- Rebase pacemaker on upstream 2.1.3 final release
54df86
- Resolves: rhbz1384172
54df86
- Resolves: rhbz2072107
54df86
54df86
* Wed May 18 2022 Ken Gaillot <kgaillot@redhat.com> - 2.1.3-1
54df86
- crm_resource --restart fails to restart clone instances except instance 0
54df86
- Add new multiple-active option for "stop unexpected instances"
54df86
- Unable to show metadata for "service" agents with "@" and "." in the name
54df86
- Resource ocf:pacemaker:attribute does not comply with the OCF 1.1 standard
54df86
- Allow resource meta-attribute to exempt resource from node health restrictions
54df86
- Show node health states in crm_mon
54df86
- Rebase pacemaker on upstream 2.1.3-rc2 release
54df86
- crm_mon API result does not validate against schema if fence event has exit-reason
54df86
- Resolves: rhbz1930578
54df86
- Resolves: rhbz2036815
54df86
- Resolves: rhbz2045096
54df86
- Resolves: rhbz2049722
54df86
- Resolves: rhbz2059638
54df86
- Resolves: rhbz2065812
54df86
- Resolves: rhbz2072107
54df86
- Resolves: rhbz2086230
54df86
33afe3
* Wed Jan 26 2022 Ken Gaillot <kgaillot@redhat.com> - 2.1.2-4
33afe3
- Fix regression in down event detection that affects remote nodes
33afe3
- Resolves: rhbz2046446
33afe3
33afe3
* Fri Jan 21 2022 Ken Gaillot <kgaillot@redhat.com> - 2.1.2-3
33afe3
- Improve display of failed actions
33afe3
- Handle certain probe failures as stopped instead of failed
33afe3
- Update pcmk_delay_base description in option meta-data
33afe3
- Avoid crash when using clone notifications
33afe3
- Retry Corosync shutdown tracking if first attempt fails
33afe3
- Resolves: rhbz1470834
33afe3
- Resolves: rhbz1506372
33afe3
- Resolves: rhbz2027370
33afe3
- Resolves: rhbz2039675
33afe3
- Resolves: rhbz2042550
33afe3
33afe3
* Thu Dec 16 2021 Ken Gaillot <kgaillot@redhat.com> - 2.1.2-2
33afe3
- Correctly get metadata for systemd agent names that end in '@'
33afe3
- Use correct OCF 1.1 syntax in ocf:pacemaker:Stateful meta-data
33afe3
- Fix regression in displayed times in crm_mon's fence history
33afe3
- Resolves: rhbz2003151
33afe3
- Resolves: rhbz2027370
33afe3
- Resolves: rhbz2032027
33afe3
33afe3
* Tue Nov 30 2021 Ken Gaillot <kgaillot@redhat.com> - 2.1.2-1
33afe3
- Allow per-host fence delays for a single fence device
33afe3
- Use OCF 1.1 enum type in cluster option metadata for better validation
33afe3
- crm-resource --force-* now works with LSB resources
33afe3
- Allow spaces in pcmk_host_map
33afe3
- ACL group names are no longer restricted to a unique XML id
33afe3
- Rebase on upstream 2.1.2
33afe3
- Ensure upgrades get compatible Corosync libraries
33afe3
- Resolves: rhbz1082146
33afe3
- Resolves: rhbz1281463
33afe3
- Resolves: rhbz1346014
33afe3
- Resolves: rhbz1376538
33afe3
- Resolves: rhbz1384420
33afe3
- Resolves: rhbz2011973
33afe3
- Resolves: rhbz2027006
33afe3
7ac83c
* Fri Aug 20 2021 Ken Gaillot <kgaillot@redhat.com> - 2.1.0-8
7ac83c
- Fix XML issue in fence_watchdog meta-data
7ac83c
- Resolves: rhbz1443666
7ac83c
7ac83c
* Thu Aug 12 2021 Ken Gaillot <kgaillot@redhat.com> - 2.1.0-7
7ac83c
- Fix minor issue with crm_resource error message change
7ac83c
- Resolves: rhbz1447918
7ac83c
7ac83c
* Tue Aug 10 2021 Ken Gaillot <kgaillot@redhat.com> - 2.1.0-6
7ac83c
- Fix watchdog agent version information
7ac83c
- Ensure transient attributes are cleared when multiple nodes are lost
7ac83c
- Resolves: rhbz1443666
7ac83c
- Resolves: rhbz1986998
7ac83c
7ac83c
* Fri Aug 06 2021 Ken Gaillot <kgaillot@redhat.com> - 2.1.0-5
7ac83c
- Allow configuring specific nodes to use watchdog-only sbd for fencing
7ac83c
- Resolves: rhbz1443666
7ac83c
7ac83c
* Fri Jul 30 2021 Ken Gaillot <kgaillot@redhat.com> - 2.1.0-4
7ac83c
- Show better error messages in crm_resource with invalid resource types
7ac83c
- Avoid selecting wrong device when dynamic-list fencing is used with host map
7ac83c
- Do not schedule probes of unmanaged resources on pending nodes
54df86
- Fix argument handling regressions in crm_attribute and wrappers
7ac83c
- Resolves: rhbz1447918
7ac83c
- Resolves: rhbz1978010
7ac83c
- Resolves: rhbz1982453
7ac83c
- Resolves: rhbz1984120
7ac83c
7ac83c
* Tue Jun 22 2021 Ken Gaillot <kgaillot@redhat.com> - 2.1.0-3
7ac83c
- crm_resource now supports XML output from resource agent actions
7ac83c
- Correct output for crm_simulate --show-failcounts
7ac83c
- Avoid remote node unfencing loop
7ac83c
- Resolves: rhbz1644628
7ac83c
- Resolves: rhbz1686426
7ac83c
- Resolves: rhbz1961857
7ac83c
7ac83c
* Wed Jun 9 2021 Ken Gaillot <kgaillot@redhat.com> - 2.1.0-2
7ac83c
- Rebase on upstream 2.1.0 final release
7ac83c
- Correct schema for crm_resource XML output
7ac83c
- Resolves: rhbz1935464
7ac83c
- Resolves: rhbz1967087
7ac83c
7ac83c
* Thu May 20 2021 Ken Gaillot <kgaillot@redhat.com> - 2.1.0-1
7ac83c
- Add crm_simulate --show-attrs and --show-failcounts options
7ac83c
- Retry getting fence agent meta-data after initial failure
7ac83c
- Add debug option for more verbose ocf:pacemaker:ping logs
7ac83c
- Rebase on upstream 2.1.0-rc2 release
7ac83c
- Support OCF Resource Agent API 1.1 standard
7ac83c
- Fix crm_mon regression that could cause certain agents to fail at shutdown
7ac83c
- Allow setting OCF check level for crm_resource --validate and --force-check
7ac83c
- Resolves: rhbz1686426
7ac83c
- Resolves: rhbz1797579
7ac83c
- Resolves: rhbz1843177
7ac83c
- Resolves: rhbz1935464
7ac83c
- Resolves: rhbz1936696
7ac83c
- Resolves: rhbz1948620
7ac83c
- Resolves: rhbz1955792
7ac83c
a216ed
* Mon Feb 15 2021 Ken Gaillot <kgaillot@redhat.com> - 2.0.5-8
7ac83c
- Route cancellations through correct node when remote connection is moving
a216ed
- Resolves: rhbz1928762
a216ed
a216ed
* Fri Feb 12 2021 Ken Gaillot <kgaillot@redhat.com> - 2.0.5-7
a216ed
- Do not introduce regression in crm_resource --locate
a216ed
- Resolves: rhbz1925681
a216ed
a216ed
* Wed Feb 3 2021 Ken Gaillot <kgaillot@redhat.com> - 2.0.5-6
a216ed
- crm_mon --daemonize should reconnect if cluster restarts
a216ed
- crm_mon should show more informative messages when cluster is starting
a216ed
- crm_mon should show rest of status if fencing history is unavailable
a216ed
- cibsecret now works on remote nodes (as long as name can be reached via ssh)
a216ed
- Stop remote nodes correctly when connection history is later than node history
a216ed
- Resolves: rhbz1466875
a216ed
- Resolves: rhbz1872490
a216ed
- Resolves: rhbz1880426
a216ed
- Resolves: rhbz1881537
a216ed
- Resolves: rhbz1898457
a216ed
a216ed
* Thu Jan 14 2021 Ken Gaillot <kgaillot@redhat.com> - 2.0.5-5
a216ed
- Allow non-critical resources that stop rather than make another resource move
a216ed
- Support crm_resource --digests option for showing operation digests
a216ed
- Clean-up of all resources should work from remote nodes
a216ed
- Resolves: rhbz1371576
a216ed
- Resolves: rhbz1872376
a216ed
- Resolves: rhbz1907726
a216ed
a216ed
* Wed Dec 2 2020 Klaus Wenninger <kwenning@redhat.com> - 2.0.5-4
a216ed
- Rebase on upstream 2.0.5 release
a216ed
- Make waiting to be pinged by sbd via pacemakerd-api the default
a216ed
- Resolves: rhbz1885645
a216ed
- Resolves: rhbz1873138
a216ed
a216ed
* Wed Nov 18 2020 Ken Gaillot <kgaillot@redhat.com> - 2.0.5-3
a216ed
- Rebase on upstream 2.0.5-rc3 release
a216ed
- Resolves: rhbz1885645
a216ed
a216ed
* Wed Oct 28 2020 Ken Gaillot <kgaillot@redhat.com> - 2.0.5-2
a216ed
- Rebase on upstream 2.0.5-rc2 release
a216ed
- Prevent ACL bypass (CVE-2020-25654)
a216ed
- Resolves: rhbz1885645
a216ed
- Resolves: rhbz1889582
a216ed
a216ed
* Tue Oct 20 2020 Ken Gaillot <kgaillot@redhat.com> - 2.0.5-1
a216ed
- crm_mon --resource option to filter output by resource
a216ed
- Avoid filling /dev/shm after frequent corosync errors
a216ed
- Allow configurable permissions for log files
a216ed
- Ensure ACL write permission always supersedes read
a216ed
- Use fence device monitor timeout for starts and probes
a216ed
- Allow type="integer" in rule expressions
a216ed
- Avoid error messages when running crm_node inside bundles
a216ed
- Avoid situation where promotion is not scheduled until next transition
a216ed
- crm_mon should show more clearly when an entire group is disabled
a216ed
- Rebase on upstream 2.0.5-rc1 release
a216ed
- Resolves: rhbz1300597
a216ed
- Resolves: rhbz1614166
a216ed
- Resolves: rhbz1647136
a216ed
- Resolves: rhbz1833173
a216ed
- Resolves: rhbz1856015
a216ed
- Resolves: rhbz1866573
a216ed
- Resolves: rhbz1874391
a216ed
- Resolves: rhbz1835717
a216ed
- Resolves: rhbz1748139
a216ed
- Resolves: rhbz1885645
a216ed
a216ed
* Thu Aug 20 2020 Ken Gaillot <kgaillot@redhat.com> - 2.0.4-6
a216ed
- Fix cibsecret bug when node name is different from hostname
a216ed
- Resolves: rhbz1870873
a216ed
a216ed
* Fri Jul 24 2020 Ken Gaillot <kgaillot@redhat.com> - 2.0.4-5
a216ed
- Synchronize start-up and shutdown with SBD
a216ed
- Resolves: rhbz1718324
a216ed
a216ed
* Wed Jul 22 2020 Ken Gaillot <kgaillot@redhat.com> - 2.0.4-4
a216ed
- Allow crm_node -l/-p options to work from Pacemaker Remote nodes
a216ed
- Correct action timeout value listed in log message
a216ed
- Fix regression in crm_mon --daemonize with HTML output
a216ed
- Resolves: rhbz1796824
a216ed
- Resolves: rhbz1856035
a216ed
- Resolves: rhbz1857728
a216ed
e5c014
* Thu Jun 25 2020 Ken Gaillot <kgaillot@redhat.com> - 2.0.4-3
e5c014
- Allow resource and operation defaults per resource or operation type
e5c014
- Rebase on upstream 2.0.4 final release
e5c014
- Support on-fail="demote" and no-quorum-policy="demote" options
e5c014
- Remove incorrect comment from sysconfig file
e5c014
- Resolves: rhbz1628701
e5c014
- Resolves: rhbz1828488
e5c014
- Resolves: rhbz1837747
e5c014
- Resolves: rhbz1848789
e5c014
e5c014
* Wed Jun 10 2020 Ken Gaillot <kgaillot@redhat.com> - 2.0.4-2
e5c014
- Improve cibsecret help and clean up code per static analysis
e5c014
- Resolves: rhbz1793860
e5c014
e5c014
* Mon Jun 8 2020 Ken Gaillot <kgaillot@redhat.com> - 2.0.4-1
e5c014
- Clear leaving node's attributes if there is no DC
e5c014
- Add crm_mon --node option to limit display to particular node or tagged nodes
e5c014
- Add crm_mon --include/--exclude options to select what sections are shown
e5c014
- priority-fencing-delay option bases delay on where resources are active
e5c014
- Pending DC fencing gets 'stuck' in status display
e5c014
- crm_rule can now check rule expiration when "years" is specified
e5c014
- crm_mon now formats error messages better
e5c014
- Support for CIB secrets is enabled
e5c014
- Rebase on latest upstream Pacemaker release
e5c014
- Fix regression introduced in 8.2 so crm_node -n works on remote nodes
e5c014
- Avoid infinite loop when topology is removed while unfencing is in progress
e5c014
- Resolves: rhbz1300604
e5c014
- Resolves: rhbz1363907
e5c014
- Resolves: rhbz1784601
e5c014
- Resolves: rhbz1787751
e5c014
- Resolves: rhbz1790591
e5c014
- Resolves: rhbz1793653
e5c014
- Resolves: rhbz1793860
e5c014
- Resolves: rhbz1828488
e5c014
- Resolves: rhbz1830535
e5c014
- Resolves: rhbz1831775
e5c014
e5c014
* Mon Jan 27 2020 Ken Gaillot <kgaillot@redhat.com> - 2.0.3-5
e5c014
- Clear leaving node's attributes if there is no DC
e5c014
- Resolves: rhbz1791841
e5c014
e5c014
* Thu Jan 16 2020 Ken Gaillot <kgaillot@redhat.com> - 2.0.3-4
e5c014
- Implement shutdown-lock feature
e5c014
- Resolves: rhbz1712584
e5c014
14fe03
* Wed Nov 27 2019 Ken Gaillot <kgaillot@redhat.com> - 2.0.3-3
14fe03
- Rebase on Pacemaker-2.0.3 final release
14fe03
- Resolves: rhbz1752538
14fe03
14fe03
* Wed Nov 13 2019 Ken Gaillot <kgaillot@redhat.com> - 2.0.3-2
14fe03
- Rebase on Pacemaker-2.0.3-rc3
14fe03
- Resolves: rhbz1752538
14fe03
14fe03
* Thu Oct 31 2019 Ken Gaillot <kgaillot@redhat.com> - 2.0.3-1
14fe03
- Rebase on Pacemaker-2.0.3-rc2
14fe03
- Parse crm_mon --fence-history option correctly
14fe03
- Put timeout on controller waiting for scheduler response
14fe03
- Offer Pacemaker Remote option for bind address
14fe03
- Calculate cluster recheck interval dynamically
14fe03
- Clarify crm_resource help text
14fe03
- Reduce system calls after forking a child process
14fe03
- Resolves: rhbz1699978
14fe03
- Resolves: rhbz1725236
14fe03
- Resolves: rhbz1743377
14fe03
- Resolves: rhbz1747553
14fe03
- Resolves: rhbz1748805
14fe03
- Resolves: rhbz1752538
14fe03
- Resolves: rhbz1762025
14fe03
14fe03
* Mon Aug 26 2019 Ken Gaillot <kgaillot@redhat.com> - 2.0.2-3
14fe03
- Make pacemaker-cli require tar and bzip2
14fe03
- Resolves: rhbz#1741580
14fe03
14fe03
* Fri Jun 21 2019 Klaus Wenninger <kwenning@redhat.com> - 2.0.2-2
14fe03
- Synchronize fence-history on fenced-restart
14fe03
- Cleanup leftover pending-fence-actions when fenced is restarted
14fe03
- Improve fencing of remote-nodes
14fe03
- Resolves: rhbz#1708380
14fe03
- Resolves: rhbz#1708378
14fe03
- Resolves: rhbz#1721198
14fe03
- Resolves: rhbz#1695737
14fe03
305287
* Thu Jun 6 2019 Ken Gaillot <kgaillot@redhat.com> - 2.0.2-1
305287
- Add stonith_admin option to display XML output
305287
- Add new crm_rule tool to check date/time rules
305287
- List any constraints cleared by crm_resource --clear
305287
- crm_resource --validate can now get resource parameters from command line
305287
- Rebase on upstream version 2.0.2
305287
- Default concurrent-fencing to true
305287
- Resolves: rhbz#1555939
305287
- Resolves: rhbz#1572116
305287
- Resolves: rhbz#1631752
305287
- Resolves: rhbz#1637020
305287
- Resolves: rhbz#1695737
305287
- Resolves: rhbz#1715426
305287
305287
* Wed May 15 2019 Ken Gaillot <kgaillot@redhat.com> - 2.0.1-5
305287
- Add gating tests for CI
305287
- Restore correct behavior when live migration is interrupted
305287
- Improve clients' authentication of IPC servers (CVE-2018-16877)
305287
- Fix use-after-free with potential information disclosure (CVE-2019-3885)
305287
- Improve pacemakerd authentication of running subdaemons (CVE-2018-16878)
305287
- Resolves: rhbz#1682116
305287
- Resolves: rhbz#1684306
305287
- Resolves: rhbz#1694558
305287
- Resolves: rhbz#1694560
305287
- Resolves: rhbz#1694908
305287
305287
* Tue Jan 29 2019 Ken Gaillot <kgaillot@redhat.com> - 2.0.1-4
305287
- Remove duplicate fence history state listing in crm_mon XML output
305287
- Resolves: rhbz#1667191
305287
305287
* Thu Jan 10 2019 Ken Gaillot <kgaillot@redhat.com> - 2.0.1-3
305287
- Fix bundle recovery regression in 2.0.1-2
305287
- Resolves: rhbz#1660592
305287
305287
* Fri Dec 14 2018 Ken Gaillot <kgaillot@redhat.com> - 2.0.1-2
305287
- Move pacemaker-doc installed files to /usr/share/doc/pacemaker-doc
305287
  to avoid conflict with RHEL 8 location of pacemaker subpackage docs
305287
- Resolves: rhbz#1543494
305287
305287
* Thu Dec 13 2018 Ken Gaillot <kgaillot@redhat.com> - 2.0.1-1
305287
- Rebase on upstream commit 0eb799156489376e13fb79dca47ea9160e9d4595 (Pacemaker-2.0.1-rc1)
305287
- Follow upstream change of splitting XML schemas into separate package
305287
- Resolves: rhbz#1543494
305287
305287
* Fri Nov 16 2018 Ken Gaillot <kgaillot@redhat.com> - 2.0.0-11
305287
- Rebase on upstream commit efbf81b65931423b34c91cde7204a2d0a71e77e6
305287
- Resolves: rhbz#1543494
305287
305287
* Fri Sep 28 2018 Ken Gaillot <kgaillot@redhat.com> - 2.0.0-10
305287
- Rebase on upstream commit b67d8d0de9794e59719608d9b156b4a3c6556344
305287
- Update spec for Python macro changes
305287
- Resolves: rhbz#1543494
305287
- Resolves: rhbz#1633612
305287
305287
* Mon Sep 17 2018 Ken Gaillot <kgaillot@redhat.com> - 2.0.0-9
305287
- Rebase on upstream commit c4330b46bf1c3dcd3e367b436efb3bbf82ef51cd
305287
- Support podman as bundle container launcher
305287
- Ignore fence history in crm_mon when using CIB_file
305287
- Resolves: rhbz#1543494
305287
- Resolves: rhbz#1607898
305287
- Resolves: rhbz#1625231
305287
305287
* Thu Aug 30 2018 Ken Gaillot <kgaillot@redhat.com> - 2.0.0-8
305287
- Rebase on upstream commit dd6fd26f77945b9bb100d5a3134f149b27601552
305287
- Fixes (unreleased) API regression
305287
- Resolves: rhbz#1543494
305287
- Resolves: rhbz#1622969
305287
305287
* Mon Aug 13 2018 Ken Gaillot <kgaillot@redhat.com> - 2.0.0-7
54df86
- Include upstream main branch commits through 975347d4
305287
- Resolves: rhbz#1543494
305287
- Resolves: rhbz#1602650
305287
- Resolves: rhbz#1608369
305287
305287
* Mon Jul 30 2018 Florian Weimer <fweimer@redhat.com> - 2.0.0-6
305287
- Rebuild with fixed binutils
305287
305287
* Mon Jul 9 2018 Ken Gaillot <kgaillot@redhat.com> - 2.0.0-5
305287
- Rebase to upstream version 2.0.0 final
305287
- Resolves: rhbz#1543494
305287
305287
* Wed Jun 6 2018 Ken Gaillot <kgaillot@redhat.com> - 2.0.0-4
305287
- Rebase to upstream version 2.0.0-rc5
305287
- Resolves: rhbz#1543494
305287
305287
* Mon Apr 30 2018 Ken Gaillot <kgaillot@redhat.com> - 2.0.0-2
305287
- Rebase to upstream version 2.0.0-rc3
305287
- Resolves: rhbz#1543494
305287
305287
* Tue Apr 17 2018 Ken Gaillot <kgaillot@redhat.com> - 2.0.0-1
305287
- Rebase to upstream version 2.0.0-rc2 with later fixes
305287
- Resolves: rhbz#1543494
305287
305287
* Tue Apr 17 2018 Josh Boyer <jwboyer@redhat.com> - 1.1.17-3
305287
- Stop hard requiring nagios-plugins
305287
305287
* Wed Oct 18 2017 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 1.1.17-2
305287
- Rebuilt to fix libqb vs. ld.bfd/binutils-2.29 incompatibility making
305287
  some CLI executables unusable under some circumstances (rhbz#1503843)
305287
305287
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.17-1.2
305287
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
305287
305287
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.17-1.1
305287
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
305287
305287
* Fri Jul 07 2017 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 1.1.17-1
305287
- Update for new upstream tarball: Pacemaker-1.1.17,
305287
  for full details, see included ChangeLog file or
305287
  https://github.com/ClusterLabs/pacemaker/releases/tag/Pacemaker-1.1.17
305287
305287
* Thu Jun 22 2017 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 1.1.17-0.1.rc4
305287
- Update for new upstream tarball for release candidate: Pacemaker-1.1.17-rc4,
305287
  for full details, see included ChangeLog file or
305287
  https://github.com/ClusterLabs/pacemaker/releases/tag/Pacemaker-1.1.17-rc4
305287
- Add an imposed lower bound for glib2 BuildRequires
305287
305287
* Thu Jun 01 2017 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 1.1.17-0.1.rc3
305287
- Update for new upstream tarball for release candidate: Pacemaker-1.1.17-rc3,
305287
  for full details, see included ChangeLog file or
305287
  https://github.com/ClusterLabs/pacemaker/releases/tag/Pacemaker-1.1.17-rc3
305287
305287
* Wed May 24 2017 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 1.1.17-0.1.rc2
305287
- Update for new upstream tarball for release candidate: Pacemaker-1.1.17-rc2,
305287
  for full details, see included ChangeLog file or
305287
  https://github.com/ClusterLabs/pacemaker/releases/tag/Pacemaker-1.1.17-rc2
305287
305287
* Tue May 09 2017 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 1.1.17-0.1.rc1
305287
- Update for new upstream tarball for release candidate: Pacemaker-1.1.17-rc1,
305287
  for full details, see included ChangeLog file or
305287
  https://github.com/ClusterLabs/pacemaker/releases/tag/Pacemaker-1.1.17-rc1
305287
305287
* Mon Feb 06 2017 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 1.1.16-2.a39ea6491.git
305287
- Update for (slightly stabilized) snapshot beyond Pacemaker-1.1.16
305287
  (commit a39ea6491), including:
305287
  . prevent FTBFS with new GCC 7 (a7476dd96)
305287
- Adapt spec file more akin to upstream version including:
305287
  . better pre-release vs. tags logic (4581d4366)
305287
305287
* Fri Dec 02 2016 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 1.1.16-1
305287
- Update for new upstream tarball: Pacemaker-1.1.16,
305287
  for full details, see included ChangeLog file or
305287
  https://github.com/ClusterLabs/pacemaker/releases/tag/Pacemaker-1.1.16
305287
- Adapt spec file more akin to upstream version including:
305287
  . clarify licensing, especially for -doc (f01f734)
305287
  . fix pacemaker-remote upgrade (779e0e3)
305287
  . require python >= 2.6 (31ef7f0)
305287
  . older libqb is sufficient (based on 30fe1ce)
305287
  . remove openssl-devel and libselinux-devel as BRs (2e05c17)
305287
  . make systemd BR pkgconfig-driven (6285924)
305287
  . defines instead of some globals + error suppression (625d427)
305287
- Rectify -nagios-plugins-metadata declared license and install
305287
  also respective license text
305287
305287
* Thu Nov 03 2016 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 1.1.15-3
305287
- Apply fix for CVE-2016-7035 (improper IPC guarding)
305287
305287
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.15-2.1
305287
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
305287
305287
* Thu Jul 07 2016 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 1.1.15-2
305287
- Stop building with -fstack-protector-all using the upstream patches
305287
  overhauling toolchain hardening (Fedora natively uses
305287
  -fstack-protector-strong so this effectively relaxed stack protection
305287
  is the only effect as hardened flags are already used by default:
305287
  https://fedoraproject.org/wiki/Changes/Harden_All_Packages)
305287
305287
* Wed Jun 22 2016 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 1.1.15-1
305287
- Update for new upstream tarball: Pacemaker-1.1.15,
305287
  for full details, see included ChangeLog file or
305287
  https://github.com/ClusterLabs/pacemaker/releases/tag/Pacemaker-1.1.15
305287
- Adapt spec file more akin to upstream version:
305287
  . move xml schema files + PCMK-MIB.txt (81ef956), logrotate configuration
305287
    file (ce576cf; drop it from -remote package as well), attrd_updater
305287
    (aff80ae), the normal resource agents (1fc7287), and common directories
305287
    under /var/lib/pacemaker (3492794) from main package under -cli
305287
  . simplify docdir build parameter passing and drop as of now
305287
    redundant chmod invocations (e91769e)
305287
305287
* Fri May 27 2016 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 1.1.15-0.1.rc3
305287
- Update for new upstream tarball for release candidate: Pacemaker-1.1.15-rc3,
305287
  for full details, see included ChangeLog file or
305287
  https://github.com/ClusterLabs/pacemaker/releases/tag/Pacemaker-1.1.15-rc3
305287
- Drop fence_pcmk (incl. man page) from the package (no use where no CMAN)
305287
- Drop license macro emulation for cases when not supported natively
305287
  (several recent Fedora releases do not need that)
305287
305287
* Mon May 16 2016 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 1.1.15-0.1.rc2
305287
- Update for new upstream tarball for release candidate: Pacemaker-1.1.15-rc2,
305287
  for full details, see included ChangeLog file or
305287
  https://github.com/ClusterLabs/pacemaker/releases/tag/Pacemaker-1.1.15-rc2
305287
305287
* Tue Apr 26 2016 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 1.1.15-0.1.rc1
305287
- Update for new upstream tarball for release candidate: Pacemaker-1.1.15-rc1,
305287
  for full details, see included ChangeLog file or
305287
  https://github.com/ClusterLabs/pacemaker/releases/tag/Pacemaker-1.1.15-rc1
305287
- Adapt spec file more akin to upstream version (also to reflect recent
305287
  changes like ability to built explicitly without Publican-based docs)
305287
305287
* Thu Mar 31 2016 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 1.1.14-2.5a6cdd1.git
305287
- Update for currently stabilized snapshot beyond Pacemaker-1.1.14
305287
  (commit 5a6cdd1), but restore old-style notifications to the state at
305287
  Pacemaker-1.1.14 point release (disabled)
305287
- Definitely get rid of Corosync v1 (Flatiron) hypothetical support
305287
- Remove some of the spec file cruft, not required for years
305287
  (BuildRoot, AutoReqProv, "clean" scriptlet, etc.) and adapt the file
305287
  per https://github.com/ClusterLabs/pacemaker/pull/965
305287
305287
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.14-1.1
305287
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
305287
305287
* Mon Jan 18 2016 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 1.1.14-1
305287
- Update for new upstream tarball: Pacemaker-1.1.14,
305287
  for full details, see included ChangeLog file or
305287
  https://github.com/ClusterLabs/pacemaker/releases/tag/Pacemaker-1.1.14
305287
- Disable Fedora crypto policies conformance patch for now (rhbz#1179335)
305287
- Better align specfile with the upstream version (also fix issue with
305287
  crm_mon sysconfig file not being installed)
305287
- Further specfile modifications:
305287
  - drop unused gcc-c++ and repeatedly mentioned pkgconfig packages
305287
    from BuildRequires
305287
  - refer to python_sitearch macro first, if defined
305287
  - tolerate license macro not being defined (e.g., for EPEL rebuilds)
305287
- Prevent console mode not available in crm_mon due to curses library test
305287
  fragility of configure script in hardened build environment (rhbz#1297985)
305287
305287
* Tue Oct 20 2015 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 1.1.13-4
305287
- Adapt to follow Fedora crypto policies (rhbz#1179335)
305287
305287
* Wed Oct 14 2015 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 1.1.13-3
305287
- Update to Pacemaker-1.1.13 post-release + patches (sync)
305287
- Add nagios-plugins-metadata subpackage enabling support of selected
305287
  Nagios plugins as resources recognized by Pacemaker
305287
- Several specfile improvements: drop irrelevant stuff, rehash the
305287
  included/excluded files + dependencies, add check scriptlet,
305287
  reflect current packaging practice, do minor cleanups
305287
  (mostly adopted from another spec)
305287
305287
* Thu Aug 20 2015 Andrew Beekhof <abeekhof@redhat.com> - 1.1.13-2
305287
- Update for new upstream tarball: Pacemaker-1.1.13
54df86
- See included ChangeLog file or https://raw.github.com/ClusterLabs/pacemaker/main/ChangeLog for full details
305287
305287
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.12-2.1
305287
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
305287
305287
* Wed Nov 05 2014 Andrew Beekhof <abeekhof@redhat.com> - 1.1.12-2
305287
- Address incorrect use of the dbus API for interacting with systemd
305287
305287
* Tue Oct 28 2014 Andrew Beekhof <abeekhof@redhat.com> - 1.1.12-1
305287
- Update for new upstream tarball: Pacemaker-1.1.12+ (a9c8177)
54df86
- See included ChangeLog file or https://raw.github.com/ClusterLabs/pacemaker/main/ChangeLog for full details
305287
305287
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.11-1.2
305287
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
305287
305287
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.11-1.1
305287
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
305287
305287
* Tue Feb 18 2014 Andrew Beekhof <abeekhof@redhat.com> - 1.1.11-1
305287
- Update for new upstream tarball: Pacemaker-1.1.11 (9d39a6b)
54df86
- See included ChangeLog file or https://raw.github.com/ClusterLabs/pacemaker/main/ChangeLog for full details
305287
305287
* Thu Jun 20 2013 Andrew Beekhof <abeekhof@redhat.com> - 1.1.9-3
305287
- Update to upstream 7d8acec
54df86
- See included ChangeLog file or https://raw.github.com/ClusterLabs/pacemaker/main/ChangeLog for full details
305287
305287
  + Feature: Turn off auto-respawning of systemd services when the cluster starts them
305287
  + Fix: crmd: Ensure operations for cleaned up resources don't block recovery
305287
  + Fix: logging: If SIGTRAP is sent before tracing is turned on, turn it on instead of crashing
305287
305287
* Mon Jun 17 2013 Andrew Beekhof <abeekhof@redhat.com> - 1.1.9-2
305287
- Update for new upstream tarball: 781a388
54df86
- See included ChangeLog file or https://raw.github.com/ClusterLabs/pacemaker/main/ChangeLog for full details
305287
305287
* Wed May 12 2010 Andrew Beekhof <andrew@beekhof.net> - 1.1.2-1
305287
- Update the tarball from the upstream 1.1.2 release
54df86
- See included ChangeLog file or https://raw.github.com/ClusterLabs/pacemaker/main/ChangeLog for full details
305287
305287
* Tue Jul 14 2009 Andrew Beekhof <andrew@beekhof.net> - 1.0.4-1
305287
- Initial checkin