Blame SPECS/resource-agents.spec

05afe3
#
05afe3
# All modifications and additions to the file contributed by third parties
05afe3
# remain the property of their copyright owners, unless otherwise agreed
05afe3
# upon. The license for this file, and modifications and additions to the
05afe3
# file, is the same license as for the pristine package itself (unless the
05afe3
# license for the pristine package is not an Open Source License, in which
05afe3
# case the license is the MIT License). An "Open Source License" is a
05afe3
# license that conforms to the Open Source Definition (Version 1.9)
05afe3
# published by the Open Source Initiative.
05afe3
#
05afe3
05afe3
# Below is the script used to generate a new source file
05afe3
# from the resource-agent upstream git repo.
05afe3
#
05afe3
# TAG=$(git log --pretty="format:%h" -n 1)
05afe3
# distdir="ClusterLabs-resource-agents-${TAG}"
05afe3
# TARFILE="${distdir}.tar.gz"
05afe3
# rm -rf $TARFILE $distdir
05afe3
# git archive --prefix=$distdir/ HEAD | gzip > $TARFILE
05afe3
#
05afe3
05afe3
%global upstream_prefix ClusterLabs-resource-agents
05afe3
%global upstream_version e711383f
05afe3
05afe3
# bundles
05afe3
%global bundled_lib_dir		bundled
05afe3
## google cloud
05afe3
# google-cloud-sdk bundle
05afe3
%global googlecloudsdk		google-cloud-sdk
4d1913
%global googlecloudsdk_version	241.0.0
05afe3
%global googlecloudsdk_dir	%{bundled_lib_dir}/gcp/%{googlecloudsdk}
02ddf4
# python-httplib2 bundle
02ddf4
%global httplib2		httplib2
02ddf4
%global httplib2_version	0.18.1
02ddf4
%global httplib2_dir		%{bundled_lib_dir}/gcp/%{httplib2}
05afe3
# python-pyroute2 bundle
05afe3
%global pyroute2		pyroute2
05afe3
%global pyroute2_version	0.4.13
05afe3
%global pyroute2_dir		%{bundled_lib_dir}/gcp/%{pyroute2}
05afe3
## alibaba cloud
05afe3
# python-colorama bundle
05afe3
%global colorama		colorama
05afe3
%global colorama_version	0.3.3
05afe3
%global colorama_dir		%{bundled_lib_dir}/aliyun/%{colorama}
05afe3
# python-pycryptodome bundle
05afe3
%global pycryptodome		pycryptodome
05afe3
%global pycryptodome_version	3.6.4
05afe3
%global pycryptodome_dir	%{bundled_lib_dir}/aliyun/%{pycryptodome}
05afe3
# python-aliyun-sdk-core bundle
05afe3
%global aliyunsdkcore		aliyun-python-sdk-core
4d1913
%global aliyunsdkcore_version	2.13.1
05afe3
%global aliyunsdkcore_dir	%{bundled_lib_dir}/aliyun/%{aliyunsdkcore}
05afe3
# python-aliyun-sdk-ecs bundle
05afe3
%global aliyunsdkecs		aliyun-python-sdk-ecs
05afe3
%global aliyunsdkecs_version	4.9.3
05afe3
%global aliyunsdkecs_dir	%{bundled_lib_dir}/aliyun/%{aliyunsdkecs}
05afe3
# python-aliyun-sdk-vpc bundle
05afe3
%global aliyunsdkvpc		aliyun-python-sdk-vpc
05afe3
%global aliyunsdkvpc_version	3.0.2
05afe3
%global aliyunsdkvpc_dir	%{bundled_lib_dir}/aliyun/%{aliyunsdkvpc}
05afe3
# aliyuncli bundle
05afe3
%global aliyuncli		aliyun-cli
05afe3
%global aliyuncli_version	2.1.10
05afe3
%global aliyuncli_dir		%{bundled_lib_dir}/aliyun/%{aliyuncli}
05afe3
05afe3
# determine the ras-set to process based on configure invokation
05afe3
%bcond_with rgmanager
05afe3
%bcond_without linuxha
05afe3
05afe3
Name:		resource-agents
05afe3
Summary:	Open Source HA Reusable Cluster Resource Scripts
05afe3
Version:	4.1.1
02ddf4
Release:	68%{?rcver:%{rcver}}%{?numcomm:.%{numcomm}}%{?alphatag:.%{alphatag}}%{?dirty:.%{dirty}}%{?dist}
05afe3
License:	GPLv2+ and LGPLv2+
05afe3
URL:		https://github.com/ClusterLabs/resource-agents
05afe3
%if 0%{?fedora} || 0%{?centos_version} || 0%{?rhel}
05afe3
Group:		System Environment/Base
05afe3
%else
05afe3
Group:		Productivity/Clustering/HA
05afe3
%endif
05afe3
Source0:	%{upstream_prefix}-%{upstream_version}.tar.gz
914f09
Source1:	%{googlecloudsdk}-%{googlecloudsdk_version}-linux-x86_64.tar.gz
02ddf4
Source2:	%{httplib2}-%{httplib2_version}.tar.gz
02ddf4
Source3:	%{pyroute2}-%{pyroute2_version}.tar.gz
02ddf4
Source4:	%{colorama}-%{colorama_version}.tar.gz
02ddf4
Source5:	%{pycryptodome}-%{pycryptodome_version}.tar.gz
02ddf4
Source6:	%{aliyunsdkcore}-%{aliyunsdkcore_version}.tar.gz
02ddf4
Source7:	%{aliyunsdkecs}-%{aliyunsdkecs_version}.tar.gz
02ddf4
Source8:	%{aliyunsdkvpc}-%{aliyunsdkvpc_version}.tar.gz
02ddf4
Source9:	%{aliyuncli}-%{aliyuncli_version}.tar.gz
05afe3
Patch0:		nova-compute-wait-NovaEvacuate.patch
05afe3
Patch1:		LVM-volume_group_check_only.patch
05afe3
Patch2:		bz1552330-vdo-vol.patch
05afe3
Patch3:		IPaddr2-monitor_retries.patch
05afe3
Patch4:		VirtualDomain-stateless-support.patch
05afe3
Patch5:		1-configure-add-python-path-detection.patch
05afe3
Patch6:		2-ci-skip-python-agents-in-shellcheck.patch
05afe3
Patch7:		3-gcp-vpc-move-vip.patch
05afe3
Patch8:		4-gcp-vpc-move-route.patch
05afe3
Patch9:		5-python-library.patch
05afe3
Patch10:	dont-use-ocf_attribute_target-for-metadata.patch
05afe3
Patch11:	LVM-activate-fix-issue-with-dashes.patch
05afe3
Patch12:	6-gcp-move-vip-filter-aggregatedlist.patch
05afe3
Patch13:	aliyun-vpc-move-ip-1.patch
05afe3
Patch14:	aliyun-vpc-move-ip-2-fixes.patch
05afe3
Patch15:	aliyun-vpc-move-ip-3-fix-manpage.patch
05afe3
Patch16:	build-add-missing-manpages.patch
05afe3
Patch17:	findif-only-match-lines-with-netmasks.patch
05afe3
Patch18:	7-gcp-stackdriver-logging-note.patch
05afe3
Patch19:	LVM-fix-missing-dash.patch
05afe3
Patch20:	lvmlockd-add-cmirrord-support.patch
05afe3
Patch21:	LVM-activate-1-warn-vg_access_mode.patch
05afe3
Patch22:	bz1607607-podman.patch
05afe3
Patch23:	aliyun-vpc-move-ip-5-improve-metadata-manpage.patch
05afe3
Patch24:	aws-vpc-move-ip-1-avoid-false-positive-monitor.patch
05afe3
Patch25:	aws-vpc-move-ip-2-avoid-false-positive-monitor.patch
05afe3
Patch26:	LVM-activate-2-parameters-access-mode-fixes.patch
05afe3
Patch27:	timeout-interval-add-s-suffix.patch
05afe3
Patch28:	metadata-add-missing-s-suffix.patch
05afe3
Patch29:	bz1631291-systemd-tmpfiles-configurable-path.patch
05afe3
Patch30:	nfsserver-mount-rpc_pipefs.patch
05afe3
Patch31:	bz1635785-redis-pidof-basename.patch
05afe3
Patch32:	bz1642027-nfsserver-var-lib-nfs-fix.patch
05afe3
Patch33:	bz1662466-vdo-vol-fix-monitor-action.patch
05afe3
Patch34:	bz1643307-LVM-activate-dont-fail-initial-probe.patch
05afe3
Patch35:	bz1658664-LVM-activate-dont-require-locking_type.patch
914f09
Patch36:	bz1689184-Squid-1-fix-pidfile-issue.patch
914f09
Patch37:	bz1667414-1-LVM-activate-support-LVs-from-same-VG.patch
914f09
Patch38:	bz1667414-2-LVM-activate-only-count-volumes.patch
914f09
Patch39:	bz1666691-tomcat-use-systemd-when-catalina.sh-unavailable.patch
914f09
Patch40:	bz1693662-aws-vpc-move-ip-avoid-possible-race-condition.patch
914f09
Patch41:	bz1695656-gcp-vpc-move-route-vip-fix-python3-encoding.patch
914f09
Patch42:	bz1697559-aws-vpc-move-ip-1-multi-route-table-support.patch
914f09
Patch43:	bz1697559-aws-vpc-move-ip-2-fix-route-update-multi-NICs.patch
914f09
Patch44:	bz1669140-Route-make-family-parameter-optional.patch
914f09
Patch45:	bz1683548-redis-mute-password-warning.patch
914f09
Patch46:	bz1692413-1-iSCSITarget-create-iqn-when-it-doesnt-exist.patch
914f09
Patch47:	bz1689184-Squid-2-dont-run-pgrep-without-PID.patch
914f09
Patch48:	bz1707969-1-ocf_log-do-not-log-debug-when-HA_debug-unset.patch
914f09
Patch49:	bz1707969-2-ocf_is_true-add-True-to-regexp.patch
914f09
Patch50:	bz1717759-Filesystem-remove-notify-action-from-metadata.patch
914f09
Patch51:	bz1719684-dhcpd-keep-SELinux-context-chroot.patch
914f09
Patch52:	bz1718219-podman-1-avoid-double-inspect-call.patch
914f09
Patch53:	bz1718219-podman-2-improve-monitor-action.patch
914f09
Patch54:	bz1718219-podman-3-remove-docker-remnant.patch
914f09
Patch55:	bz1718219-podman-4-use-exec-to-avoid-performance-issues.patch
914f09
Patch56:	bz1730455-LVM-activate-fix-monitor-hang.patch
914f09
Patch57:	bz1732867-CTDB-1-explicitly-use-bash-shell.patch
914f09
Patch58:	bz1732867-CTDB-2-add-ctdb_max_open_files-parameter.patch
914f09
Patch59:	bz1732867-CTDB-3-fixes.patch
914f09
Patch60:	bz1732867-CTDB-4-add-v4.9-support.patch
914f09
Patch61:	bz1692413-2-iSCSILogicalUnit-create-acls-fix.patch
914f09
Patch62:	bz1736746-podman-drop-in-support.patch
914f09
Patch63:	bz1692960-mysql-galera-runuser-su-to-avoid-dac_override.patch
914f09
Patch64:	bz1745713-rabbitmq-cluster-1-monitor-mnesia-status.patch
914f09
Patch65:	bz1745713-rabbitmq-cluster-2-fail-when-in-minority-partition.patch
914f09
Patch66:	bz1745713-rabbitmq-cluster-3-fix-stop-regression.patch
914f09
Patch67:	bz1745713-rabbitmq-cluster-4-retry-start-cluster-join-fails.patch
914f09
Patch68:	bz1745713-rabbitmq-cluster-5-ensure-node-attribures-removed.patch
914f09
Patch69:	bz1745713-rabbitmq-cluster-6-debug-log-mnesia-query-fails.patch
914f09
Patch70:	bz1745713-rabbitmq-cluster-7-suppress-additional-output.patch
9cf66a
Patch71:	bz1695039-LVM-activate-return-NOT_RUNNING-rejoin-cluster.patch
9cf66a
Patch72:	bz1738428-LVM-activate-detect-volume-without-reboot.patch
9cf66a
Patch73:	bz1744103-Filesystem-1-monitor-symlink-support.patch
9cf66a
Patch74:	bz1744103-Filesystem-2-add-symlink-support.patch
9cf66a
Patch75:	bz1744103-Filesystem-3-fix-umount-disk-failure.patch
9cf66a
Patch76:	bz1744103-Filesystem-4-fix-readlink-issue.patch
9cf66a
Patch77:	bz1744140-Filesystem-1-avoid-corrupt-mount-list.patch
9cf66a
Patch78:	bz1744140-Filesystem-2-prevent-killing-bind-mount.patch
9cf66a
Patch79:	bz1744140-Filesystem-3-improved-bind-mount-check.patch
9cf66a
Patch80:	bz1757837-IPsrcaddr-fix-regression-without-NetworkManager.patch
9cf66a
Patch81:	bz1744224-IPsrcaddr-1-add-destination-and-table-parameters.patch
9cf66a
Patch82:	bz1748768-docker-fix-stop-issues.patch
9cf66a
Patch83:	bz1750261-Route-1-dont-fence-when-parameters-not-set.patch
9cf66a
Patch84:	bz1750352-rabbitmq-cluster-restore-users-single-node-mode.patch
9cf66a
Patch85:	bz1751700-IPaddr2-1-sanitize-IPv6-IPs.patch
9cf66a
Patch86:	bz1751700-IPaddr2-2-return-empty-when-sanitation-fails.patch
9cf66a
Patch87:	bz1751962-nfsserver-1-systemd-perf-improvements.patch
9cf66a
Patch88:	bz1751962-nfsserver-2-systemd-use-no-legend.patch
9cf66a
Patch89:	bz1755760-NovaEvacuate-evacuate_delay.patch
9cf66a
Patch90:	bz1750261-Route-2-validate-start-validate-all.patch
9cf66a
Patch91:	bz1741843-LVM-activate-partial-activation.patch
9cf66a
Patch92:	bz1764888-exportfs-allow-same-fsid.patch
9cf66a
Patch93:	bz1765128-mysql-galera-fix-incorrect-rc.patch
9cf66a
Patch94:	bz1741042-IPaddr2-add-noprefixroute-parameter.patch
9cf66a
Patch95:	bz1744224-IPsrcaddr-2-local-rule-destination-fixes.patch
9cf66a
Patch96:	bz1788889-podman-improve-image-exist-check.patch
9cf66a
Patch97:	bz1744224-IPsrcaddr-3-fix-probe-issues.patch
9cf66a
Patch98:	bz1767916-IPaddr2-clusterip-not-supported.patch
9cf66a
Patch99:	bz1777381-Filesystem-1-refresh-UUID.patch
9cf66a
Patch100:	bz1777381-Filesystem-2-udev-settle.patch
9cf66a
Patch101:	bz1744224-IPsrcaddr-4-fix-hardcoded-device.patch
9cf66a
Patch102:	bz1792196-rabbitmq-cluster-delete-nodename-when-stop-fails.patch
9cf66a
Patch103:	bz1808468-1-lvmlockd-fix-conditionals.patch
9cf66a
Patch104:	bz1808468-2-remove-locking_type.patch
02ddf4
Patch105:	bz1759115-aws-vpc-route53-1-update.patch
02ddf4
Patch106:	bz1804658-azure-lb-1-remove-status-metadata.patch
02ddf4
Patch107:	bz1804658-azure-lb-2-add-socat-support.patch
02ddf4
Patch108:	bz1810466-aws-vpc-move-ip-1-add-routing_table_role.patch
02ddf4
Patch109:	bz1810466-aws-vpc-move-ip-2-update-metadata.patch
02ddf4
Patch110:	bz1792237-redis-1-fix-validate-all.patch
02ddf4
Patch111:	bz1792237-redis-2-run-validate-during-start.patch
02ddf4
Patch112:	bz1817432-use-safe-temp-file-location.patch
02ddf4
Patch113:	bz1817598-ocf_is_clone-1-fix-clone-max-can-be-0.patch
02ddf4
Patch114:	bz1817598-ocf_is_clone-2-update-comment.patch
02ddf4
Patch115:	bz1819021-aws-vpc-move-ip-delete-remaining-route-entries.patch
02ddf4
Patch116:	bz1759115-aws-vpc-route53-2-add-public-and-secondary-ip-support.patch
02ddf4
Patch117:	bz1633251-gcp-pd-move-1.patch
02ddf4
Patch118:	bz1633251-gcp-pd-move-2-use-OCF_FUNCTIONS_DIR.patch
02ddf4
Patch119:	bz1633251-gcp-pd-move-3-add-stackdriver_logging-to-metadata.patch
02ddf4
Patch120:	bz1819965-1-ocf.py-update.patch
02ddf4
Patch121:	bz1819965-2-azure-events.patch
02ddf4
Patch122:	bz1759115-aws-vpc-route53-3-awscli-property.patch
02ddf4
Patch123:	bz1744190-pgsql-1-set-primary-standby-initial-score.patch
02ddf4
Patch124:	bz1744190-pgsql-2-improve-start-checks.patch
02ddf4
Patch125:	bz1820523-exportfs-1-add-symlink-support.patch
02ddf4
Patch126:	bz1832321-rabbitmq-cluster-increase-wait-timeout.patch
02ddf4
Patch127:	bz1818997-nfsserver-1-fix-nfsv4-only-support.patch
02ddf4
Patch128:	bz1830716-NovaEvacuate-suppress-expected-error.patch
02ddf4
Patch129:	bz1836945-db2-hadr-promote-standby-node.patch
02ddf4
Patch130:	bz1633251-gcp-pd-move-4-fixes-and-improvements.patch
02ddf4
Patch131:	bz1633251-gcp-pd-move-5-bundle.patch
02ddf4
Patch132:	bz1839721-podman-force-rm-container-if-rm-fails.patch
02ddf4
Patch133:	bz1820523-exportfs-2-fix-monitor-action.patch
02ddf4
Patch134:	bz1843999-aliyun-vpc-move-ip-log-output-when-failing.patch
02ddf4
Patch135:	bz1845574-azure-events-1-handle-exceptions-in-urlopen.patch
02ddf4
Patch136:	bz1845581-nfsserver-dont-log-error-message-file-doesnt-exist.patch
02ddf4
Patch137:	bz1845583-exportfs-1-describe-clientspec-format-in-metadata.patch
02ddf4
Patch138:	bz1845583-exportfs-2-fix-typo.patch
02ddf4
Patch139:	bz1814896-Filesystem-fast_stop-default-to-no-for-GFS2.patch
02ddf4
Patch140:	bz1836186-pgsql-support-Pacemaker-v2.03-output.patch
02ddf4
Patch141:	bz1819965-3-azure-events-decode-when-type-not-str.patch
02ddf4
Patch142:	bz1818997-nfsserver-2-stop-nfsdcld-if-present.patch
02ddf4
Patch143:	bz1818997-3-nfsserver-nfsnotify-fix-selinux-label-issue.patch
02ddf4
Patch144:	bz1845574-azure-events-2-import-urlerror-encode-postdata.patch
02ddf4
Patch145:	bz1846733-gcp-vpc-move-vip-1-support-multiple-alias-ips.patch
02ddf4
Patch146:	bz1846733-gcp-vpc-move-vip-2-fix-list-sort.patch
02ddf4
Patch147:	bz1850778-azure-lb-fix-redirect-issue.patch
9cf66a
05afe3
# bundle patches
05afe3
Patch1000:	7-gcp-bundled.patch
05afe3
Patch1001:	8-google-cloud-sdk-fixes.patch
05afe3
Patch1002:	9-google-cloud-sdk-oauth2client-python-rsa-to-cryptography.patch
05afe3
Patch1003:	10-gcloud-support-info.patch
914f09
Patch1004:	bz1691456-gcloud-dont-detect-python2.patch
4d1913
Patch1005:	aliyun-vpc-move-ip-4-bundled.patch
4d1913
Patch1006:	python3-syntax-fixes.patch
4d1913
Patch1007:	aliyuncli-python3-fixes.patch
05afe3
05afe3
Obsoletes:	heartbeat-resources <= %{version}
05afe3
Provides:	heartbeat-resources = %{version}
05afe3
05afe3
# Build dependencies
05afe3
BuildRequires: automake autoconf gcc
4d1913
BuildRequires: perl-interpreter python3-devel
05afe3
BuildRequires: libxslt glib2-devel
05afe3
BuildRequires: systemd
05afe3
BuildRequires: which
05afe3
05afe3
%if 0%{?fedora} || 0%{?centos_version} || 0%{?rhel}
05afe3
#BuildRequires: cluster-glue-libs-devel
05afe3
BuildRequires: docbook-style-xsl docbook-dtds
05afe3
%if 0%{?rhel} == 0
05afe3
BuildRequires: libnet-devel
05afe3
%endif
05afe3
%endif
05afe3
05afe3
## Runtime deps
05afe3
# system tools shared by several agents
05afe3
Requires: /bin/bash /usr/bin/grep /bin/sed /bin/gawk
05afe3
Requires: /bin/ps /usr/bin/pkill /usr/bin/hostname /usr/bin/netstat
05afe3
Requires: /usr/sbin/fuser /bin/mount
05afe3
05afe3
# Filesystem / fs.sh / netfs.sh
05afe3
Requires: /sbin/fsck
05afe3
Requires: /usr/sbin/fsck.ext2 /usr/sbin/fsck.ext3 /usr/sbin/fsck.ext4
05afe3
Requires: /usr/sbin/fsck.xfs
05afe3
Requires: /sbin/mount.nfs /sbin/mount.nfs4 /usr/sbin/mount.cifs
05afe3
05afe3
# IPaddr2
05afe3
Requires: /sbin/ip
05afe3
05afe3
# LVM / lvm.sh
05afe3
Requires: /usr/sbin/lvm
05afe3
05afe3
# nfsserver / netfs.sh
05afe3
Requires: /usr/sbin/rpc.nfsd /sbin/rpc.statd /usr/sbin/rpc.mountd
05afe3
914f09
# ocf.py
914f09
Requires: python3
914f09
05afe3
# rgmanager
05afe3
%if %{with rgmanager}
05afe3
# ip.sh
05afe3
Requires: /usr/sbin/ethtool
05afe3
Requires: /sbin/rdisc /usr/sbin/arping /bin/ping /bin/ping6
05afe3
05afe3
# nfsexport.sh
05afe3
Requires: /sbin/findfs
05afe3
Requires: /sbin/quotaon /sbin/quotacheck
05afe3
%endif
05afe3
05afe3
%description
05afe3
A set of scripts to interface with several services to operate in a
05afe3
High Availability environment for both Pacemaker and rgmanager
05afe3
service managers.
05afe3
05afe3
%ifarch x86_64
05afe3
%package aliyun
05afe3
License:	GPLv2+ and LGPLv2+ and ASL 2.0 and BSD and MIT
05afe3
Summary:	Alibaba Cloud (Aliyun) resource agents
05afe3
%if 0%{?fedora} || 0%{?centos_version} || 0%{?rhel}
05afe3
Group:		System Environment/Base
05afe3
%else
05afe3
Group:		Productivity/Clustering/HA
05afe3
%endif
05afe3
Requires:	%{name} = %{version}-%{release}
4d1913
Requires:	python3-jmespath >= 0.9.0
4d1913
Requires:	python3-urllib3
05afe3
# python-colorama bundle
05afe3
Provides:	bundled(python-%{colorama}) = %{colorama_version}
05afe3
# python-pycryptodome bundle
05afe3
Provides:	bundled(python-%{pycryptodome}) = %{pycryptodome_version}
05afe3
# python-aliyun-sdk-core bundle
05afe3
Provides:	bundled(python-aliyun-sdk-core) = %{aliyunsdkcore_version}
05afe3
# python-aliyun-sdk-ecs bundle
05afe3
Provides:	bundled(python-aliyun-sdk-ecs) = %{aliyunsdkecs_version}
05afe3
# python-aliyun-sdk-vpc bundle
05afe3
Provides:	bundled(python-aliyun-sdk-vpc) = %{aliyunsdkvpc_version}
05afe3
# aliyuncli bundle
05afe3
Provides:	bundled(aliyuncli) = %{aliyuncli_version}
05afe3
05afe3
%description aliyun
05afe3
Alibaba Cloud (Aliyun) resource agents allows Alibaba Cloud
05afe3
(Aliyun) instances to be managed in a cluster environment.
05afe3
%endif
05afe3
05afe3
%ifarch x86_64
05afe3
%package gcp
05afe3
License:	GPLv2+ and LGPLv2+ and BSD and ASL 2.0 and MIT and Python
05afe3
Summary:	Google Cloud Platform resource agents
05afe3
%if 0%{?fedora} || 0%{?centos_version} || 0%{?rhel}
05afe3
Group:		System Environment/Base
05afe3
%else
05afe3
Group:		Productivity/Clustering/HA
05afe3
%endif
05afe3
Requires:	%{name} = %{version}-%{release}
4d1913
Requires:	python3-google-api-client
05afe3
# google-cloud-sdk bundle
05afe3
Requires:	python3-cryptography >= 1.7.2
05afe3
Requires:	python3-dateutil >= 2.6.0
05afe3
Provides:	bundled(%{googlecloudsdk}) = %{googlecloudsdk_version}
05afe3
Provides:	bundled(python-antlr3) = 3.1.1
05afe3
Provides:	bundled(python-appdirs) = 1.4.0
05afe3
Provides:	bundled(python-argparse) = 1.2.1
05afe3
Provides:	bundled(python-chardet) = 2.3.0
05afe3
Provides:	bundled(python-dulwich) = 0.10.2
05afe3
Provides:	bundled(python-ipaddress) = 1.0.16
05afe3
Provides:	bundled(python-ipaddr) = 2.1.11
05afe3
Provides:	bundled(python-mako) = 1.0.7
05afe3
Provides:	bundled(python-oauth2client) = 3.0.0
05afe3
Provides:	bundled(python-prompt_toolkit) = 1.0.13
05afe3
Provides:	bundled(python-pyasn1) = 0.4.2
05afe3
Provides:	bundled(python-pyasn1_modules) = 0.2.1
05afe3
Provides:	bundled(python-pygments) = 2.2.0
05afe3
Provides:	bundled(python-pyparsing) = 2.1.10
05afe3
Provides:	bundled(python-requests) = 2.10.0
05afe3
Provides:	bundled(python-six) = 1.11.0
05afe3
Provides:	bundled(python-uritemplate) = 3.0.0
05afe3
Provides:	bundled(python-urllib3) = 1.15.1
05afe3
Provides:	bundled(python-websocket) = 0.47.0
05afe3
Provides:	bundled(python-yaml) = 3.12
05afe3
# python-pyroute2 bundle
05afe3
Provides:	bundled(%{pyroute2}) = %{pyroute2_version}
05afe3
05afe3
%description gcp
05afe3
The Google Cloud Platform resource agents allows Google Cloud
05afe3
Platform instances to be managed in a cluster environment.
05afe3
%endif
05afe3
05afe3
%prep
05afe3
%if 0%{?suse_version} == 0 && 0%{?fedora} == 0 && 0%{?centos_version} == 0 && 0%{?rhel} == 0
05afe3
%{error:Unable to determine the distribution/version. This is generally caused by missing /etc/rpm/macros.dist. Please install the correct build packages or define the required macros manually.}
05afe3
exit 1
05afe3
%endif
05afe3
%setup -q -n %{upstream_prefix}-%{upstream_version}
05afe3
%patch0 -p1
05afe3
%patch1 -p1
05afe3
%patch2 -p1
05afe3
%patch3 -p1
05afe3
%patch4 -p1
05afe3
%patch5 -p1
05afe3
%patch6 -p1
05afe3
%patch7 -p1
05afe3
%patch8 -p1
05afe3
%patch9 -p1
05afe3
%patch10 -p1
05afe3
%patch11 -p1
05afe3
%patch12 -p1
05afe3
%patch13 -p1
05afe3
%patch14 -p1
05afe3
%patch15 -p1
05afe3
%patch16 -p1
05afe3
%patch17 -p1
05afe3
%patch18 -p1
05afe3
%patch19 -p1
05afe3
%patch20 -p1
05afe3
%patch21 -p1
05afe3
%patch22 -p1
05afe3
%patch23 -p1
05afe3
%patch24 -p1
05afe3
%patch25 -p1
05afe3
%patch26 -p1
05afe3
%patch27 -p1
05afe3
%patch28 -p1
05afe3
%patch29 -p1
05afe3
%patch30 -p1
05afe3
%patch31 -p1
05afe3
%patch32 -p1
05afe3
%patch33 -p1
05afe3
%patch34 -p1
05afe3
%patch35 -p1
4d1913
%patch36 -p1
4d1913
%patch37 -p1
914f09
%patch38 -p1
4d1913
%patch39 -p1
914f09
%patch40 -p1 -F2
4d1913
%patch41 -p1
a89620
%patch42 -p1
a89620
%patch43 -p1
a89620
%patch44 -p1
a89620
%patch45 -p1
a89620
%patch46 -p1
a89620
%patch47 -p1
a89620
%patch48 -p1
914f09
%patch49 -p1
914f09
%patch50 -p1
a89620
%patch51 -p1
a89620
%patch52 -p1
a89620
%patch53 -p1
a89620
%patch54 -p1
a89620
%patch55 -p1
a89620
%patch56 -p1
a89620
%patch57 -p1
a89620
%patch58 -p1
914f09
%patch59 -p1
914f09
%patch60 -p1 -F1
914f09
%patch61 -p1
914f09
%patch62 -p1 -F2
914f09
%patch63 -p1
914f09
%patch64 -p1
914f09
%patch65 -p1
914f09
%patch66 -p1
914f09
%patch67 -p1
914f09
%patch68 -p1
914f09
%patch69 -p1
914f09
%patch70 -p1
9cf66a
%patch71 -p1
9cf66a
%patch72 -p1
9cf66a
%patch73 -p1
9cf66a
%patch74 -p1
9cf66a
%patch75 -p1
9cf66a
%patch76 -p1
9cf66a
%patch77 -p1
9cf66a
%patch78 -p1
9cf66a
%patch79 -p1
9cf66a
%patch80 -p1
9cf66a
%patch81 -p1
9cf66a
%patch82 -p1
9cf66a
%patch83 -p1
9cf66a
%patch84 -p1
9cf66a
%patch85 -p1
9cf66a
%patch86 -p1
9cf66a
%patch87 -p1
9cf66a
%patch88 -p1
9cf66a
%patch89 -p1
9cf66a
%patch90 -p1
9cf66a
%patch91 -p1
9cf66a
%patch92 -p1
9cf66a
%patch93 -p1
9cf66a
%patch94 -p1 -F2
9cf66a
%patch95 -p1
9cf66a
%patch96 -p1
9cf66a
%patch97 -p1
9cf66a
%patch98 -p1
9cf66a
%patch99 -p1
9cf66a
%patch100 -p1
9cf66a
%patch101 -p1
9cf66a
%patch102 -p1
9cf66a
%patch103 -p1
9cf66a
%patch104 -p1
ca2037
%patch105 -p1
c321fa
%patch106 -p1
83967c
%patch107 -p1
83967c
%patch108 -p1
83967c
%patch109 -p1
02ddf4
%patch110 -p1
02ddf4
%patch111 -p1
02ddf4
%patch112 -p1
02ddf4
%patch113 -p1
02ddf4
%patch114 -p1
02ddf4
%patch115 -p1
02ddf4
%patch116 -p1
02ddf4
%patch117 -p1
02ddf4
%patch118 -p1
02ddf4
%patch119 -p1
02ddf4
%patch120 -p1
02ddf4
%patch121 -p1
02ddf4
%patch122 -p1
02ddf4
%patch123 -p1
02ddf4
%patch124 -p1
02ddf4
%patch125 -p1
02ddf4
%patch126 -p1
02ddf4
%patch127 -p1
02ddf4
%patch128 -p1 -F2
02ddf4
%patch129 -p1
02ddf4
%patch130 -p1
02ddf4
%patch131 -p1
02ddf4
%patch132 -p1
02ddf4
%patch133 -p1
02ddf4
%patch134 -p1
02ddf4
%patch135 -p1
02ddf4
%patch136 -p1
02ddf4
%patch137 -p1
02ddf4
%patch138 -p1
02ddf4
%patch139 -p1
02ddf4
%patch140 -p1
02ddf4
%patch141 -p1
02ddf4
%patch142 -p1
02ddf4
%patch143 -p1
02ddf4
%patch144 -p1
02ddf4
%patch145 -p1
02ddf4
%patch146 -p1
02ddf4
%patch147 -p1
05afe3
05afe3
chmod 755 heartbeat/nova-compute-wait
05afe3
chmod 755 heartbeat/NovaEvacuate
05afe3
05afe3
# bundles
05afe3
mkdir -p %{bundled_lib_dir}/gcp
05afe3
mkdir -p %{bundled_lib_dir}/aliyun
05afe3
05afe3
# google-cloud-sdk bundle
05afe3
%ifarch x86_64
914f09
tar -xzf %SOURCE1 -C %{bundled_lib_dir}/gcp
02ddf4
## upgrade httplib2 to fix CVE-2020-11078
02ddf4
pushd %{googlecloudsdk_dir}
02ddf4
rm -rf lib/third_party/httplib2
02ddf4
popd
02ddf4
02ddf4
# python-httplib2 bundle
02ddf4
tar -xzf %SOURCE2 -C %{bundled_lib_dir}
02ddf4
mv %{bundled_lib_dir}/%{httplib2}-%{httplib2_version} %{httplib2_dir}
02ddf4
05afe3
# gcp*: append bundled-directory to search path, gcloud-ra
05afe3
%patch1000 -p1
05afe3
# google-cloud-sdk fixes
05afe3
%patch1001 -p1
05afe3
# replace python-rsa with python-cryptography
05afe3
%patch1002 -p1
05afe3
# gcloud support info
05afe3
%patch1003 -p1
4d1913
# gcloud remove python 2 detection
4d1913
%patch1004 -p1
05afe3
# rename gcloud
05afe3
mv %{googlecloudsdk_dir}/bin/gcloud %{googlecloudsdk_dir}/bin/gcloud-ra
05afe3
# keep googleapiclient
05afe3
mv %{googlecloudsdk_dir}/platform/bq/third_party/googleapiclient %{googlecloudsdk_dir}/lib/third_party
05afe3
# only keep gcloud
05afe3
rm -rf %{googlecloudsdk_dir}/bin/{bootstrapping,bq,dev_appserver.py,docker-credential-gcloud,endpointscfg.py,git-credential-gcloud.sh,gsutil,java_dev_appserver.sh} %{googlecloudsdk_dir}/{completion.*,deb,install.*,path.*,platform,properties,RELEASE_NOTES,rpm,VERSION}
4d1913
# remove Python 2 code
4d1913
rm -rf %{googlecloudsdk_dir}/lib/third_party/*/python2
05afe3
# remove python-rsa
05afe3
rm -rf %{googlecloudsdk_dir}/lib/third_party/rsa
05afe3
# remove grpc
05afe3
rm -rf %{googlecloudsdk_dir}/lib/third_party/grpc
05afe3
# remove dateutil
05afe3
rm -rf %{googlecloudsdk_dir}/lib/third_party/dateutil
05afe3
# docs/licenses
05afe3
cp %{googlecloudsdk_dir}/README %{googlecloudsdk}_README
05afe3
cp %{googlecloudsdk_dir}/lib/third_party/argparse/README.txt %{googlecloudsdk}_argparse_README.txt
05afe3
cp %{googlecloudsdk_dir}/LICENSE %{googlecloudsdk}_LICENSE
02ddf4
cp %{httplib2_dir}/LICENSE %{googlecloudsdk}_httplib2_LICENSE
05afe3
cp %{googlecloudsdk_dir}/lib/third_party/contextlib2/LICENSE %{googlecloudsdk}_contextlib2_LICENSE
05afe3
cp %{googlecloudsdk_dir}/lib/third_party/concurrent/LICENSE %{googlecloudsdk}_concurrent_LICENSE
05afe3
cp %{googlecloudsdk_dir}/lib/third_party/yaml/LICENSE %{googlecloudsdk}_yaml_LICENSE
05afe3
cp %{googlecloudsdk_dir}/lib/third_party/pyu2f/LICENSE %{googlecloudsdk}_pyu2f_LICENSE
05afe3
cp %{googlecloudsdk_dir}/lib/third_party/ml_sdk/LICENSE %{googlecloudsdk}_ml_sdk_LICENSE
05afe3
cp %{googlecloudsdk_dir}/lib/third_party/ml_sdk/pkg/LICENSE %{googlecloudsdk}_pkg_LICENSE
05afe3
cp %{googlecloudsdk_dir}/lib/third_party/ipaddr/LICENSE %{googlecloudsdk}_ipaddr_LICENSE
05afe3
cp %{googlecloudsdk_dir}/lib/third_party/urllib3/LICENSE %{googlecloudsdk}_urllib3_LICENSE
05afe3
cp %{googlecloudsdk_dir}/lib/third_party/ipaddress/LICENSE %{googlecloudsdk}_ipaddress_LICENSE
05afe3
cp %{googlecloudsdk_dir}/lib/third_party/requests/LICENSE %{googlecloudsdk}_requests_LICENSE
05afe3
cp %{googlecloudsdk_dir}/lib/third_party/docker/LICENSE %{googlecloudsdk}_docker_LICENSE
05afe3
cp %{googlecloudsdk_dir}/lib/third_party/monotonic/LICENSE %{googlecloudsdk}_monotonic_LICENSE
05afe3
cp %{googlecloudsdk_dir}/lib/third_party/websocket/LICENSE %{googlecloudsdk}_websocket_LICENSE
05afe3
cp %{googlecloudsdk_dir}/lib/third_party/fasteners/LICENSE %{googlecloudsdk}_fasteners_LICENSE
05afe3
cp %{googlecloudsdk_dir}/lib/third_party/wcwidth/LICENSE %{googlecloudsdk}_wcwidth_LICENSE
05afe3
cp %{googlecloudsdk_dir}/lib/third_party/pygments/LICENSE %{googlecloudsdk}_pygments_LICENSE
05afe3
cp %{googlecloudsdk_dir}/lib/third_party/oauth2client/LICENSE %{googlecloudsdk}_oauth2client_LICENSE
05afe3
cp %{googlecloudsdk_dir}/lib/third_party/uritemplate/LICENSE %{googlecloudsdk}_uritemplate_LICENSE
05afe3
cp %{googlecloudsdk_dir}/lib/third_party/dulwich/LICENSE %{googlecloudsdk}_dulwich_LICENSE
05afe3
cp %{googlecloudsdk_dir}/lib/third_party/mako/LICENSE %{googlecloudsdk}_mako_LICENSE
05afe3
cp %{googlecloudsdk_dir}/lib/third_party/packaging/LICENSE %{googlecloudsdk}_packaging_LICENSE
05afe3
cp %{googlecloudsdk_dir}/lib/third_party/socks/LICENSE %{googlecloudsdk}_socks_LICENSE
05afe3
cp %{googlecloudsdk_dir}/lib/third_party/antlr3/LICENSE %{googlecloudsdk}_antlr3_LICENSE
05afe3
cp %{googlecloudsdk_dir}/lib/third_party/argparse/LICENSE.txt %{googlecloudsdk}_argparse_LICENSE.txt
05afe3
cp %{googlecloudsdk_dir}/lib/third_party/chardet/LICENSE %{googlecloudsdk}_chardet_LICENSE
05afe3
cp %{googlecloudsdk_dir}/lib/third_party/ruamel/LICENSE %{googlecloudsdk}_ruamel_LICENSE
05afe3
cp %{googlecloudsdk_dir}/lib/third_party/appdirs/LICENSE %{googlecloudsdk}_appdirs_LICENSE
05afe3
cp %{googlecloudsdk_dir}/lib/third_party/argcomplete/LICENSE %{googlecloudsdk}_argcomplete_LICENSE
05afe3
cp %{googlecloudsdk_dir}/lib/third_party/pyasn1_modules/LICENSE %{googlecloudsdk}_pyasn1_modules_LICENSE
05afe3
cp %{googlecloudsdk_dir}/lib/third_party/setuptools/LICENSE %{googlecloudsdk}_setuptools_LICENSE
05afe3
cp %{googlecloudsdk_dir}/lib/third_party/google/LICENSE %{googlecloudsdk}_google_LICENSE
05afe3
cp %{googlecloudsdk_dir}/lib/third_party/google/protobuf/LICENSE %{googlecloudsdk}_protobuf_LICENSE
05afe3
cp %{googlecloudsdk_dir}/lib/third_party/six/LICENSE %{googlecloudsdk}_six_LICENSE
05afe3
cp %{googlecloudsdk_dir}/lib/third_party/dns/LICENSE %{googlecloudsdk}_dns_LICENSE
05afe3
cp %{googlecloudsdk_dir}/lib/third_party/enum/LICENSE %{googlecloudsdk}_enum_LICENSE
05afe3
cp %{googlecloudsdk_dir}/lib/third_party/gae_ext_runtime/LICENSE %{googlecloudsdk}_gae_ext_runtime_LICENSE
05afe3
cp %{googlecloudsdk_dir}/lib/third_party/fancy_urllib/LICENSE %{googlecloudsdk}_fancy_urllib_LICENSE
05afe3
cp %{googlecloudsdk_dir}/lib/third_party/pyasn1/LICENSE %{googlecloudsdk}_pyasn1_LICENSE
05afe3
cp %{googlecloudsdk_dir}/lib/third_party/apitools/LICENSE %{googlecloudsdk}_apitools_LICENSE
05afe3
cp %{googlecloudsdk_dir}/lib/third_party/containerregistry/LICENSE %{googlecloudsdk}_containerregistry_LICENSE
05afe3
05afe3
# python-pyroute2 bundle
02ddf4
tar -xzf %SOURCE3 -C %{bundled_lib_dir}/gcp
05afe3
mv %{bundled_lib_dir}/gcp/%{pyroute2}-%{pyroute2_version} %{pyroute2_dir}
05afe3
cp %{pyroute2_dir}/README.md %{pyroute2}_README.md
05afe3
cp %{pyroute2_dir}/README.license.md %{pyroute2}_README.license.md
05afe3
cp %{pyroute2_dir}/LICENSE.Apache.v2 %{pyroute2}_LICENSE.Apache.v2
05afe3
cp %{pyroute2_dir}/LICENSE.GPL.v2 %{pyroute2}_LICENSE.GPL.v2
05afe3
05afe3
# python-colorama bundle
02ddf4
tar -xzf %SOURCE4 -C %{bundled_lib_dir}/aliyun
05afe3
mv %{bundled_lib_dir}/aliyun/%{colorama}-%{colorama_version} %{colorama_dir}
05afe3
cp %{colorama_dir}/LICENSE.txt %{colorama}_LICENSE.txt
05afe3
cp %{colorama_dir}/README.rst %{colorama}_README.rst
05afe3
05afe3
pushd %{colorama_dir}
05afe3
# remove bundled egg-info
05afe3
rm -rf *.egg-info
05afe3
popd
05afe3
05afe3
# python-pycryptodome bundle
02ddf4
tar -xzf %SOURCE5 -C %{bundled_lib_dir}/aliyun
05afe3
mv %{bundled_lib_dir}/aliyun/%{pycryptodome}-%{pycryptodome_version} %{pycryptodome_dir}
05afe3
cp %{pycryptodome_dir}/README.rst %{pycryptodome}_README.rst
05afe3
cp %{pycryptodome_dir}/LICENSE.rst %{pycryptodome}_LICENSE.rst
05afe3
05afe3
# python-aliyun-sdk-core bundle
02ddf4
tar -xzf %SOURCE6 -C %{bundled_lib_dir}/aliyun
05afe3
mv %{bundled_lib_dir}/aliyun/%{aliyunsdkcore}-%{aliyunsdkcore_version} %{aliyunsdkcore_dir}
05afe3
cp %{aliyunsdkcore_dir}/README.rst %{aliyunsdkcore}_README.rst
05afe3
05afe3
# python-aliyun-sdk-ecs bundle
02ddf4
tar -xzf %SOURCE7 -C %{bundled_lib_dir}/aliyun
05afe3
mv %{bundled_lib_dir}/aliyun/%{aliyunsdkecs}-%{aliyunsdkecs_version} %{aliyunsdkecs_dir}
05afe3
cp %{aliyunsdkecs_dir}/README.rst %{aliyunsdkecs}_README.rst
05afe3
05afe3
# python-aliyun-sdk-vpc bundle
02ddf4
tar -xzf %SOURCE8 -C %{bundled_lib_dir}/aliyun
05afe3
mv %{bundled_lib_dir}/aliyun/%{aliyunsdkvpc}-%{aliyunsdkvpc_version} %{aliyunsdkvpc_dir}
05afe3
cp %{aliyunsdkvpc_dir}/README.rst %{aliyunsdkvpc}_README.rst
05afe3
05afe3
# aliyuncli bundle
02ddf4
tar -xzf %SOURCE9 -C %{bundled_lib_dir}/aliyun
05afe3
mv %{bundled_lib_dir}/aliyun/%{aliyuncli}-%{aliyuncli_version} %{aliyuncli_dir}
05afe3
cp %{aliyuncli_dir}/README.rst %{aliyuncli}_README.rst
05afe3
cp %{aliyuncli_dir}/LICENSE %{aliyuncli}_LICENSE
05afe3
# aliyun*: use bundled libraries
4d1913
%patch1005 -p1
05afe3
05afe3
# aliyun Python 3 fixes
4d1913
%patch1006 -p1
4d1913
%patch1007 -p1
05afe3
%endif
05afe3
05afe3
%build
05afe3
if [ ! -f configure ]; then
05afe3
	./autogen.sh
05afe3
fi
05afe3
05afe3
%if 0%{?fedora} >= 11 || 0%{?centos_version} > 5 || 0%{?rhel} > 5
05afe3
CFLAGS="$(echo '%{optflags}')"
05afe3
%global conf_opt_fatal "--enable-fatal-warnings=no"
05afe3
%else
05afe3
CFLAGS="${CFLAGS} ${RPM_OPT_FLAGS}"
05afe3
%global conf_opt_fatal "--enable-fatal-warnings=yes"
05afe3
%endif
05afe3
05afe3
%if %{with rgmanager}
05afe3
%global rasset rgmanager
05afe3
%endif
05afe3
%if %{with linuxha}
05afe3
%global rasset linux-ha
05afe3
%endif
05afe3
%if %{with rgmanager} && %{with linuxha}
05afe3
%global rasset all
05afe3
%endif
05afe3
05afe3
export CFLAGS
05afe3
05afe3
%configure BASH_SHELL="/bin/bash" \
05afe3
	PYTHON="%{__python3}" \
05afe3
	%{conf_opt_fatal} \
05afe3
%if %{defined _unitdir}
05afe3
    --with-systemdsystemunitdir=%{_unitdir} \
05afe3
%endif
05afe3
%if %{defined _tmpfilesdir}
05afe3
    --with-systemdtmpfilesdir=%{_tmpfilesdir} \
05afe3
    --with-rsctmpdir=/run/resource-agents \
05afe3
%endif
05afe3
	--with-pkg-name=%{name} \
05afe3
	--with-ras-set=%{rasset}
05afe3
05afe3
%if %{defined jobs}
05afe3
JFLAGS="$(echo '-j%{jobs}')"
05afe3
%else
05afe3
JFLAGS="$(echo '%{_smp_mflags}')"
05afe3
%endif
05afe3
05afe3
make $JFLAGS
05afe3
02ddf4
# python-httplib2 bundle
05afe3
%ifarch x86_64
02ddf4
pushd %{httplib2_dir}
02ddf4
%{__python3} setup.py build
02ddf4
popd
02ddf4
02ddf4
# python-pyroute2 bundle
05afe3
pushd %{pyroute2_dir}
05afe3
%{__python3} setup.py build
05afe3
popd
05afe3
05afe3
# python-colorama bundle
05afe3
pushd %{colorama_dir}
05afe3
%{__python3} setup.py build
05afe3
popd
05afe3
05afe3
# python-pycryptodome bundle
05afe3
pushd %{pycryptodome_dir}
05afe3
%{__python3} setup.py build
05afe3
popd
05afe3
05afe3
# python-aliyun-sdk-core bundle
05afe3
pushd %{aliyunsdkcore_dir}
05afe3
%{__python3} setup.py build
05afe3
popd
05afe3
05afe3
# python-aliyun-sdk-ecs bundle
05afe3
pushd %{aliyunsdkecs_dir}
05afe3
%{__python3} setup.py build
05afe3
popd
05afe3
05afe3
# python-aliyun-sdk-vpc bundle
05afe3
pushd %{aliyunsdkvpc_dir}
05afe3
%{__python3} setup.py build
05afe3
popd
05afe3
05afe3
# aliyuncli bundle
05afe3
pushd %{aliyuncli_dir}
05afe3
%{__python3} setup.py build
05afe3
popd
05afe3
%endif
05afe3
05afe3
%install
05afe3
rm -rf %{buildroot}
05afe3
make install DESTDIR=%{buildroot}
05afe3
4d1913
# byte compile ocf.py
4d1913
%py_byte_compile %{__python3} %{buildroot}%{_usr}/lib/ocf/lib/heartbeat
4d1913
05afe3
# google-cloud-sdk bundle
05afe3
%ifarch x86_64
05afe3
pushd %{googlecloudsdk_dir}
05afe3
mkdir -p %{buildroot}/usr/lib/%{name}/%{googlecloudsdk_dir}
05afe3
cp -a bin data lib %{buildroot}/usr/lib/%{name}/%{googlecloudsdk_dir}
05afe3
mkdir %{buildroot}/%{_bindir}
05afe3
ln -s /usr/lib/%{name}/%{googlecloudsdk_dir}/bin/gcloud-ra %{buildroot}/%{_bindir}
05afe3
popd
05afe3
02ddf4
# python-httplib2 bundle
02ddf4
pushd %{httplib2_dir}
02ddf4
%{__python3} setup.py install -O1 --skip-build --root %{buildroot} --install-lib /usr/lib/%{name}/%{googlecloudsdk_dir}/lib/third_party
02ddf4
popd
02ddf4
05afe3
# python-pyroute2 bundle
05afe3
pushd %{pyroute2_dir}
05afe3
%{__python3} setup.py install -O1 --skip-build --root %{buildroot} --install-lib /usr/lib/%{name}/%{bundled_lib_dir}/gcp
05afe3
popd
05afe3
05afe3
# python-colorama bundle
05afe3
pushd %{colorama_dir}
05afe3
%{__python3} setup.py install -O1 --skip-build --root %{buildroot} --install-lib /usr/lib/%{name}/%{bundled_lib_dir}/aliyun
05afe3
popd
05afe3
05afe3
# python-pycryptodome bundle
05afe3
pushd %{pycryptodome_dir}
05afe3
%{__python3} setup.py install -O1 --skip-build --root %{buildroot} --install-lib /usr/lib/%{name}/%{bundled_lib_dir}/aliyun
05afe3
popd
05afe3
05afe3
# python-aliyun-sdk-core bundle
05afe3
pushd %{aliyunsdkcore_dir}
05afe3
%{__python3} setup.py install -O1 --skip-build --root %{buildroot} --install-lib /usr/lib/%{name}/%{bundled_lib_dir}/aliyun
05afe3
popd
05afe3
05afe3
# python-aliyun-sdk-ecs bundle
05afe3
pushd %{aliyunsdkecs_dir}
05afe3
%{__python3} setup.py install -O1 --skip-build --root %{buildroot} --install-lib /usr/lib/%{name}/%{bundled_lib_dir}/aliyun
05afe3
popd
05afe3
05afe3
# python-aliyun-sdk-vpc bundle
05afe3
pushd %{aliyunsdkvpc_dir}
05afe3
%{__python3} setup.py install -O1 --skip-build --root %{buildroot} --install-lib /usr/lib/%{name}/%{bundled_lib_dir}/aliyun
05afe3
popd
05afe3
05afe3
# aliyuncli bundle
05afe3
pushd %{aliyuncli_dir}
05afe3
%{__python3} setup.py install -O1 --skip-build --root %{buildroot} --install-lib /usr/lib/%{name}/%{bundled_lib_dir}/aliyun
4d1913
sed -i -e "/^import sys/asys.path.insert(0, '/usr/lib/%{name}/%{bundled_lib_dir}/aliyun')\nsys.path.insert(1, '/usr/lib/%{name}/%{bundled_lib_dir}/aliyun/aliyuncli')" %{buildroot}/%{_bindir}/aliyuncli
05afe3
mv %{buildroot}/%{_bindir}/aliyuncli %{buildroot}/%{_bindir}/aliyuncli-ra
05afe3
# aliyun_completer / aliyun_zsh_complete.sh
05afe3
rm %{buildroot}/%{_bindir}/aliyun_*
05afe3
popd
05afe3
%endif
05afe3
05afe3
## tree fixup
05afe3
# remove docs (there is only one and they should come from doc sections in files)
05afe3
rm -rf %{buildroot}/usr/share/doc/resource-agents
05afe3
05afe3
##
05afe3
# Create symbolic link between IPAddr and IPAddr2
05afe3
##
05afe3
rm -f %{buildroot}/usr/lib/ocf/resource.d/heartbeat/IPaddr
05afe3
ln -s /usr/lib/ocf/resource.d/heartbeat/IPaddr2 %{buildroot}/usr/lib/ocf/resource.d/heartbeat/IPaddr
05afe3
05afe3
%clean
05afe3
rm -rf %{buildroot}
05afe3
05afe3
%files
05afe3
%defattr(-,root,root)
05afe3
%doc AUTHORS COPYING COPYING.GPLv3 COPYING.LGPL ChangeLog
05afe3
%if %{with linuxha}
05afe3
%doc heartbeat/README.galera
05afe3
%doc doc/README.webapps
05afe3
%doc %{_datadir}/%{name}/ra-api-1.dtd
05afe3
%doc %{_datadir}/%{name}/metadata.rng
05afe3
%endif
05afe3
05afe3
%if %{with rgmanager}
05afe3
%{_datadir}/cluster
05afe3
%{_sbindir}/rhev-check.sh
05afe3
%endif
05afe3
05afe3
%if %{with linuxha}
05afe3
%dir %{_usr}/lib/ocf
05afe3
%dir %{_usr}/lib/ocf/resource.d
05afe3
%dir %{_usr}/lib/ocf/lib
05afe3
05afe3
%{_usr}/lib/ocf/lib/heartbeat
05afe3
05afe3
%{_usr}/lib/ocf/resource.d/heartbeat
05afe3
%{_usr}/lib/ocf/resource.d/openstack
05afe3
%if %{with rgmanager}
05afe3
%{_usr}/lib/ocf/resource.d/redhat
05afe3
%endif
05afe3
05afe3
%if %{defined _unitdir}
05afe3
%{_unitdir}/resource-agents-deps.target
05afe3
%endif
05afe3
%if %{defined _tmpfilesdir}
05afe3
%{_tmpfilesdir}/%{name}.conf
05afe3
%endif
05afe3
05afe3
%dir %{_datadir}/%{name}
05afe3
%dir %{_datadir}/%{name}/ocft
05afe3
%{_datadir}/%{name}/ocft/configs
05afe3
%{_datadir}/%{name}/ocft/caselib
05afe3
%{_datadir}/%{name}/ocft/README
05afe3
%{_datadir}/%{name}/ocft/README.zh_CN
05afe3
%{_datadir}/%{name}/ocft/helpers.sh
05afe3
%exclude %{_datadir}/%{name}/ocft/runocft
05afe3
%exclude %{_datadir}/%{name}/ocft/runocft.prereq
05afe3
05afe3
%{_sbindir}/ocft
05afe3
05afe3
%{_includedir}/heartbeat
05afe3
05afe3
%if %{defined _tmpfilesdir}
05afe3
%dir %attr (1755, root, root)	/run/resource-agents
05afe3
%else
05afe3
%dir %attr (1755, root, root)	%{_var}/run/resource-agents
05afe3
%endif
05afe3
05afe3
%{_mandir}/man7/*.7*
05afe3
05afe3
###
05afe3
# Supported, but in another sub package
05afe3
###
914f09
%exclude /usr/lib/ocf/resource.d/heartbeat/aliyun-vpc-move-ip*
914f09
%exclude %{_mandir}/man7/*aliyun-vpc-move-ip*
05afe3
%exclude /usr/lib/ocf/resource.d/heartbeat/gcp*
05afe3
%exclude %{_mandir}/man7/*gcp*
05afe3
%exclude /usr/lib/%{name}/%{bundled_lib_dir}
05afe3
05afe3
###
914f09
# Moved to separate packages
914f09
###
914f09
%exclude /usr/lib/ocf/resource.d/heartbeat/SAP*
914f09
%exclude /usr/lib/ocf/lib/heartbeat/sap*
914f09
%exclude %{_mandir}/man7/*SAP*
914f09
914f09
###
05afe3
# Unsupported
05afe3
###
05afe3
%exclude /usr/lib/ocf/resource.d/heartbeat/clvm
05afe3
%exclude /usr/lib/ocf/resource.d/heartbeat/LVM
05afe3
%exclude /usr/lib/ocf/resource.d/heartbeat/AoEtarget
05afe3
%exclude /usr/lib/ocf/resource.d/heartbeat/AudibleAlarm
05afe3
%exclude /usr/lib/ocf/resource.d/heartbeat/ClusterMon
05afe3
%exclude /usr/lib/ocf/resource.d/heartbeat/EvmsSCC
05afe3
%exclude /usr/lib/ocf/resource.d/heartbeat/Evmsd
05afe3
%exclude /usr/lib/ocf/resource.d/heartbeat/ICP
05afe3
%exclude /usr/lib/ocf/resource.d/heartbeat/LinuxSCSI
05afe3
%exclude /usr/lib/ocf/resource.d/heartbeat/ManageRAID
05afe3
%exclude /usr/lib/ocf/resource.d/heartbeat/ManageVE
05afe3
%exclude /usr/lib/ocf/resource.d/heartbeat/Pure-FTPd
05afe3
%exclude /usr/lib/ocf/resource.d/heartbeat/Raid1
05afe3
%exclude /usr/lib/ocf/resource.d/heartbeat/ServeRAID
05afe3
%exclude /usr/lib/ocf/resource.d/heartbeat/SphinxSearchDaemon
05afe3
%exclude /usr/lib/ocf/resource.d/heartbeat/Stateful
05afe3
%exclude /usr/lib/ocf/resource.d/heartbeat/SysInfo
05afe3
%exclude /usr/lib/ocf/resource.d/heartbeat/VIPArip
05afe3
%exclude /usr/lib/ocf/resource.d/heartbeat/WAS
05afe3
%exclude /usr/lib/ocf/resource.d/heartbeat/WAS6
05afe3
%exclude /usr/lib/ocf/resource.d/heartbeat/WinPopup
05afe3
%exclude /usr/lib/ocf/resource.d/heartbeat/Xen
05afe3
%exclude /usr/lib/ocf/resource.d/heartbeat/anything
05afe3
%exclude /usr/lib/ocf/resource.d/heartbeat/asterisk
05afe3
%exclude /usr/lib/ocf/resource.d/heartbeat/dnsupdate
05afe3
%exclude /usr/lib/ocf/resource.d/heartbeat/eDir88
05afe3
%exclude /usr/lib/ocf/resource.d/heartbeat/fio
05afe3
%exclude /usr/lib/ocf/resource.d/heartbeat/ids
05afe3
%exclude /usr/lib/ocf/resource.d/heartbeat/iface-bridge
05afe3
%exclude /usr/lib/ocf/resource.d/heartbeat/ipsec
05afe3
%exclude /usr/lib/ocf/resource.d/heartbeat/jira
05afe3
%exclude /usr/lib/ocf/resource.d/heartbeat/kamailio
05afe3
%exclude /usr/lib/ocf/resource.d/heartbeat/lxd-info
05afe3
%exclude /usr/lib/ocf/resource.d/heartbeat/machine-info
05afe3
%exclude /usr/lib/ocf/resource.d/heartbeat/mariadb
05afe3
%exclude /usr/lib/ocf/resource.d/heartbeat/minio
05afe3
%exclude /usr/lib/ocf/resource.d/heartbeat/mpathpersist
05afe3
%exclude /usr/lib/ocf/resource.d/heartbeat/iscsi
05afe3
%exclude /usr/lib/ocf/resource.d/heartbeat/jboss
05afe3
%exclude /usr/lib/ocf/resource.d/heartbeat/ldirectord
05afe3
%exclude /usr/lib/ocf/resource.d/heartbeat/lxc
05afe3
%exclude /usr/lib/ocf/resource.d/heartbeat/openstack-cinder-volume
05afe3
%exclude /usr/lib/ocf/resource.d/heartbeat/openstack-floating-ip
05afe3
%exclude /usr/lib/ocf/resource.d/heartbeat/openstack-info
05afe3
%exclude /usr/lib/ocf/resource.d/heartbeat/ovsmonitor
05afe3
%exclude /usr/lib/ocf/resource.d/heartbeat/pgagent
05afe3
%exclude /usr/lib/ocf/resource.d/heartbeat/pingd
05afe3
%exclude /usr/lib/ocf/resource.d/heartbeat/pound
05afe3
%exclude /usr/lib/ocf/resource.d/heartbeat/proftpd
05afe3
%exclude /usr/lib/ocf/resource.d/heartbeat/rkt
05afe3
%exclude /usr/lib/ocf/resource.d/heartbeat/scsi2reservation
05afe3
%exclude /usr/lib/ocf/resource.d/heartbeat/sfex
05afe3
%exclude /usr/lib/ocf/resource.d/heartbeat/sg_persist
05afe3
%exclude /usr/lib/ocf/resource.d/heartbeat/syslog-ng
05afe3
%exclude /usr/lib/ocf/resource.d/heartbeat/varnish
05afe3
%exclude /usr/lib/ocf/resource.d/heartbeat/vmware
05afe3
%exclude /usr/lib/ocf/resource.d/heartbeat/zabbixserver
05afe3
%exclude /usr/lib/ocf/resource.d/heartbeat/mysql-proxy
05afe3
%exclude /usr/lib/ocf/resource.d/heartbeat/rsyslog
05afe3
%exclude /usr/lib/ocf/resource.d/heartbeat/vsftpd
05afe3
%exclude /usr/lib/ocf/resource.d/heartbeat/ZFS
9cf66a
%exclude %{_mandir}/man7/ocf_heartbeat_clvm.7.gz
9cf66a
%exclude %{_mandir}/man7/ocf_heartbeat_LVM.7.gz
05afe3
%exclude %{_mandir}/man7/ocf_heartbeat_AoEtarget.7.gz
05afe3
%exclude %{_mandir}/man7/ocf_heartbeat_AudibleAlarm.7.gz
05afe3
%exclude %{_mandir}/man7/ocf_heartbeat_ClusterMon.7.gz
05afe3
%exclude %{_mandir}/man7/ocf_heartbeat_EvmsSCC.7.gz
05afe3
%exclude %{_mandir}/man7/ocf_heartbeat_Evmsd.7.gz
05afe3
%exclude %{_mandir}/man7/ocf_heartbeat_ICP.7.gz
05afe3
%exclude %{_mandir}/man7/ocf_heartbeat_IPaddr.7.gz
05afe3
%exclude %{_mandir}/man7/ocf_heartbeat_LinuxSCSI.7.gz
05afe3
%exclude %{_mandir}/man7/ocf_heartbeat_ManageRAID.7.gz
05afe3
%exclude %{_mandir}/man7/ocf_heartbeat_ManageVE.7.gz
05afe3
%exclude %{_mandir}/man7/ocf_heartbeat_Pure-FTPd.7.gz
05afe3
%exclude %{_mandir}/man7/ocf_heartbeat_Raid1.7.gz
05afe3
%exclude %{_mandir}/man7/ocf_heartbeat_ServeRAID.7.gz
05afe3
%exclude %{_mandir}/man7/ocf_heartbeat_SphinxSearchDaemon.7.gz
05afe3
%exclude %{_mandir}/man7/ocf_heartbeat_Stateful.7.gz
05afe3
%exclude %{_mandir}/man7/ocf_heartbeat_SysInfo.7.gz
05afe3
%exclude %{_mandir}/man7/ocf_heartbeat_VIPArip.7.gz
05afe3
%exclude %{_mandir}/man7/ocf_heartbeat_WAS.7.gz
05afe3
%exclude %{_mandir}/man7/ocf_heartbeat_WAS6.7.gz
05afe3
%exclude %{_mandir}/man7/ocf_heartbeat_WinPopup.7.gz
05afe3
%exclude %{_mandir}/man7/ocf_heartbeat_Xen.7.gz
05afe3
%exclude %{_mandir}/man7/ocf_heartbeat_anything.7.gz
05afe3
%exclude %{_mandir}/man7/ocf_heartbeat_asterisk.7.gz
05afe3
%exclude %{_mandir}/man7/ocf_heartbeat_dnsupdate.7.gz
05afe3
%exclude %{_mandir}/man7/ocf_heartbeat_eDir88.7.gz
05afe3
%exclude %{_mandir}/man7/ocf_heartbeat_fio.7.gz
05afe3
%exclude %{_mandir}/man7/ocf_heartbeat_ids.7.gz
05afe3
%exclude %{_mandir}/man7/ocf_heartbeat_iface-bridge.7.gz
05afe3
%exclude %{_mandir}/man7/ocf_heartbeat_ipsec.7.gz
05afe3
%exclude %{_mandir}/man7/ocf_heartbeat_iscsi.7.gz
05afe3
%exclude %{_mandir}/man7/ocf_heartbeat_jboss.7.gz
05afe3
%exclude %{_mandir}/man7/ocf_heartbeat_jira.7.gz
05afe3
%exclude %{_mandir}/man7/ocf_heartbeat_kamailio.7.gz
05afe3
%exclude %{_mandir}/man7/ocf_heartbeat_lxc.7.gz
05afe3
%exclude %{_mandir}/man7/ocf_heartbeat_lxd-info.7.gz
05afe3
%exclude %{_mandir}/man7/ocf_heartbeat_machine-info.7.gz
05afe3
%exclude %{_mandir}/man7/ocf_heartbeat_mariadb.7.gz
05afe3
%exclude %{_mandir}/man7/ocf_heartbeat_minio.7.gz
05afe3
%exclude %{_mandir}/man7/ocf_heartbeat_mpathpersist.7.gz
05afe3
%exclude %{_mandir}/man7/ocf_heartbeat_openstack-cinder-volume.7.gz
05afe3
%exclude %{_mandir}/man7/ocf_heartbeat_openstack-floating-ip.7.gz
05afe3
%exclude %{_mandir}/man7/ocf_heartbeat_openstack-info.7.gz
05afe3
%exclude %{_mandir}/man7/ocf_heartbeat_ovsmonitor.7.gz
05afe3
%exclude %{_mandir}/man7/ocf_heartbeat_pgagent.7.gz
05afe3
%exclude %{_mandir}/man7/ocf_heartbeat_pingd.7.gz
05afe3
%exclude %{_mandir}/man7/ocf_heartbeat_pound.7.gz
05afe3
%exclude %{_mandir}/man7/ocf_heartbeat_proftpd.7.gz
05afe3
%exclude %{_mandir}/man7/ocf_heartbeat_rkt.7.gz
05afe3
%exclude %{_mandir}/man7/ocf_heartbeat_scsi2reservation.7.gz
05afe3
%exclude %{_mandir}/man7/ocf_heartbeat_sfex.7.gz
05afe3
%exclude %{_mandir}/man7/ocf_heartbeat_sg_persist.7.gz
05afe3
%exclude %{_mandir}/man7/ocf_heartbeat_syslog-ng.7.gz
05afe3
%exclude %{_mandir}/man7/ocf_heartbeat_varnish.7.gz
05afe3
%exclude %{_mandir}/man7/ocf_heartbeat_vmware.7.gz
05afe3
%exclude %{_mandir}/man7/ocf_heartbeat_vsftpd.7.gz
05afe3
%exclude %{_mandir}/man7/ocf_heartbeat_zabbixserver.7.gz
05afe3
%exclude %{_mandir}/man7/ocf_heartbeat_mysql-proxy.7.gz
05afe3
%exclude %{_mandir}/man7/ocf_heartbeat_rsyslog.7.gz
05afe3
%exclude %{_mandir}/man7/ocf_heartbeat_ZFS.7.gz
05afe3
05afe3
###
05afe3
# Other excluded files.
05afe3
###
05afe3
# This tool has to be updated for the new pacemaker lrmd.
05afe3
%exclude %{_sbindir}/ocf-tester
05afe3
%exclude %{_mandir}/man8/ocf-tester.8*
05afe3
# ldirectord is not supported
05afe3
%exclude /etc/ha.d/resource.d/ldirectord
05afe3
%exclude /etc/init.d/ldirectord
05afe3
%exclude %{_unitdir}/ldirectord.service
05afe3
%exclude /etc/logrotate.d/ldirectord
05afe3
%exclude /usr/sbin/ldirectord
05afe3
%exclude %{_mandir}/man8/ldirectord.8.gz
05afe3
05afe3
# For compatability with pre-existing agents
05afe3
%dir %{_sysconfdir}/ha.d
05afe3
%{_sysconfdir}/ha.d/shellfuncs
05afe3
05afe3
%{_libexecdir}/heartbeat
05afe3
%endif
05afe3
05afe3
%if %{with rgmanager}
05afe3
%post -n resource-agents
05afe3
ccs_update_schema > /dev/null 2>&1 ||:
05afe3
%endif
05afe3
05afe3
%ifarch x86_64
05afe3
%files aliyun
9cf66a
%doc aliyun*_README* %{colorama}_README.rst %{pycryptodome}_README.rst
4d1913
%license %{aliyuncli}_LICENSE %{colorama}_LICENSE.txt %{pycryptodome}_LICENSE.rst
05afe3
%defattr(-,root,root)
05afe3
/usr/lib/ocf/resource.d/heartbeat/aliyun-vpc-move-ip*
05afe3
%{_mandir}/man7/*aliyun-vpc-move-ip*
05afe3
# bundle
05afe3
%{_bindir}/aliyuncli-ra
05afe3
%dir /usr/lib/%{name}
05afe3
/usr/lib/%{name}/%{bundled_lib_dir}/aliyun
05afe3
%endif
05afe3
05afe3
%ifarch x86_64
05afe3
%files gcp
05afe3
%doc %{googlecloudsdk}_*README*
05afe3
%license %{googlecloudsdk}_*LICENSE*
05afe3
%doc %{pyroute2}_README*
05afe3
%license %{pyroute2}_LICENSE*
05afe3
%defattr(-,root,root)
05afe3
/usr/lib/ocf/resource.d/heartbeat/gcp-vpc-move-vip*
05afe3
%{_mandir}/man7/*gcp-vpc-move-vip*
05afe3
/usr/lib/ocf/resource.d/heartbeat/gcp-vpc-move-route*
05afe3
%{_mandir}/man7/*gcp-vpc-move-route*
02ddf4
/usr/lib/ocf/resource.d/heartbeat/gcp-pd-move*
02ddf4
%{_mandir}/man7/*gcp-pd-move*
05afe3
# bundle
05afe3
%{_bindir}/gcloud-ra
05afe3
%dir /usr/lib/%{name}
05afe3
/usr/lib/%{name}/%{bundled_lib_dir}/gcp
05afe3
%endif
05afe3
05afe3
%changelog
02ddf4
* Thu Aug 20 2020 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.1.1-68
02ddf4
- azure-lb: fix redirect issue
02ddf4
02ddf4
  Resolves: rhbz#1850778
02ddf4
02ddf4
* Wed Aug 19 2020 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.1.1-67
83967c
- gcp-vpc-move-vip: add support for multiple alias IPs
83967c
02ddf4
  Resolves: rhbz#1846733
02ddf4
02ddf4
* Thu Jul 30 2020 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.1.1-65
02ddf4
- azure-events: handle exceptions in urlopen
83967c
02ddf4
  Resolves: rhbz#1845574
02ddf4
02ddf4
* Mon Jul 27 2020 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.1.1-64
02ddf4
- nfsserver: fix NFSv4-only support
02ddf4
- azure-events: new resource agent for Azure
02ddf4
02ddf4
  Resolves: rhbz#1818997
02ddf4
  Resolves: rhbz#1819965
02ddf4
02ddf4
* Thu Jun 25 2020 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.1.1-60
02ddf4
- Upgrade bundled python-httplib2 to fix CVE-2020-11078
02ddf4
02ddf4
  Resolves: rhbz#1850990
02ddf4
02ddf4
* Wed Jun 17 2020 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.1.1-59
02ddf4
- pgsql: support Pacemaker v2.03+ output
02ddf4
02ddf4
  Resolves: rhbz#1836186
02ddf4
02ddf4
* Thu Jun 11 2020 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.1.1-56
02ddf4
- Filesystem: set "fast_stop" default to "no" for GFS2 filesystems
02ddf4
02ddf4
  Resolves: rhbz#1814896
02ddf4
02ddf4
* Wed Jun 10 2020 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.1.1-55
02ddf4
- nfsserver: dont log error message when /etc/sysconfig/nfs does not exist
02ddf4
- exportfs: describe clientspec format in metadata
02ddf4
02ddf4
  Resolves: rhbz#1845581
02ddf4
  Resolves: rhbz#1845583
02ddf4
02ddf4
* Tue Jun  9 2020 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.1.1-54
02ddf4
- exportfs: add symlink support
02ddf4
- aliyun-vpc-move-ip: log output when failing
02ddf4
02ddf4
  Resolves: rhbz#1820523
02ddf4
  Resolves: rhbz#1843999
02ddf4
02ddf4
* Tue Jun  2 2020 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.1.1-53
83967c
- podman: force remove container if remove fails
83967c
02ddf4
  Resolves: rhbz#1839721
02ddf4
02ddf4
* Thu May 28 2020 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.1.1-52
02ddf4
- gcp-pd-move: new resource agent for Google Cloud
02ddf4
02ddf4
  Resolves: rhbz#1633251
83967c
02ddf4
* Wed May 27 2020 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.1.1-51
02ddf4
- NovaEvacuate: suppress expected initial error message
02ddf4
- db2 (HADR): promote standby node when master node disappears
02ddf4
02ddf4
  Resolves: rhbz#1830716
02ddf4
  Resolves: rhbz#1836945
02ddf4
02ddf4
* Thu May  7 2020 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.1.1-50
c321fa
- rabbitmq-cluster: increase rabbitmqctl wait timeout during start
c321fa
02ddf4
  Resolves: rhbz#1832321
02ddf4
02ddf4
* Tue Apr 28 2020 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.1.1-49
02ddf4
- aws-vpc-route53: new resource agent for AWS
02ddf4
- pgsql: improve checks to prevent incorrect status, and set initial
02ddf4
  score for primary and hot standby
c321fa
02ddf4
  Resolves: rhbz#1759115
02ddf4
  Resolves: rhbz#1744190
02ddf4
02ddf4
* Mon Apr  6 2020 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.1.1-47
ca2037
- aws-vpc-move-ip: delete remaining route entries
ca2037
02ddf4
  Resolves: rhbz#1819021
02ddf4
02ddf4
* Fri Mar 27 2020 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.1.1-46
02ddf4
- use safe temp file location
02ddf4
- ocf-shellfuncs: ocf_is_clone(): fix to return true when clone-max
02ddf4
  is set to 0
02ddf4
02ddf4
  Resolves: rhbz#1817432
02ddf4
  Resolves: rhbz#1817598
02ddf4
02ddf4
* Wed Mar 18 2020 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.1.1-45
02ddf4
- azure-lb: support using socat instead of nc
02ddf4
- aws-vpc-move-ip: add "routing_table_role" parameter
02ddf4
- redis: fix validate-all action and run it during start
02ddf4
02ddf4
  Resolves: rhbz#1804658
02ddf4
  Resolves: rhbz#1810466
02ddf4
  Resolves: rhbz#1792237
ca2037
9cf66a
* Fri Mar  6 2020 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.1.1-44
9cf66a
- lvmlockd: automatically remove locking_type from lvm.conf for LVM
9cf66a
  v2.03+
9cf66a
9cf66a
  Resolves: rhbz#1808468
9cf66a
9cf66a
* Tue Jan 28 2020 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.1.1-43
9cf66a
- rabbitmq-cluster: delete nodename when stop fails
9cf66a
9cf66a
  Resolves: rhbz#1792196
9cf66a
9cf66a
* Thu Jan 23 2020 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.1.1-42
9cf66a
- IPsrcaddr: add destination and table parameters
9cf66a
9cf66a
  Resolves: rhbz#1744224
9cf66a
9cf66a
* Mon Jan 13 2020 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.1.1-40
9cf66a
- podman: improve image exist check
9cf66a
- IPaddr2: add CLUSTERIP not supported info to metadata/manpage
9cf66a
- Filesystem: refresh UUID if block device doesnt exist
9cf66a
9cf66a
  Resolves: rhbz#1788889
9cf66a
  Resolves: rhbz#1767916
9cf66a
  Resolves: rhbz#1777381
9cf66a
9cf66a
* Wed Nov 27 2019 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.1.1-38
9cf66a
- IPaddr2: add noprefixroute parameter
9cf66a
9cf66a
  Resolves: rhbz#1741042
9cf66a
9cf66a
* Wed Nov 13 2019 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.1.1-36
9cf66a
- exportfs: allow multiple exports with same fsid
9cf66a
- mysql/galera: fix incorrect rc
9cf66a
9cf66a
  Resolves: rhbz#1764888
9cf66a
  Resolves: rhbz#1765128
9cf66a
9cf66a
* Mon Oct 14 2019 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.1.1-35
9cf66a
- Route: dont fence when parameters not set
9cf66a
- LVM-activate: add partial-activation support
9cf66a
9cf66a
  Resolves: rhbz#1750261
9cf66a
  Resolves: rhbz#1741843
9cf66a
9cf66a
* Wed Oct  2 2019 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.1.1-34
9cf66a
- LVM/clvm: remove manpages for excluded agents
9cf66a
- LVM-activate: return NOT_RUNNING when node rejoins cluster
9cf66a
- LVM-activate: detect systemid volume without reboot
9cf66a
- Filesystem: add symlink support
9cf66a
- Filesystem: avoid corrupt mount-list and dont kill incorrect processes
9cf66a
  for bind-mounts
9cf66a
- IPsrcaddr: make proto optional to fix regression when used without
9cf66a
  NetworkManager
9cf66a
- docker: fix stop issues
9cf66a
- rabbitmq-cluster: also restore users in single node mode
9cf66a
- IPaddr2: sanitize compressed IPv6 IPs
9cf66a
- nfsserver: systemd performance improvements
9cf66a
- NovaEvacuate: add "evacuate_delay" parameter
9cf66a
9cf66a
  Resolves: rhbz#1694392
9cf66a
  Resolves: rhbz#1695039
9cf66a
  Resolves: rhbz#1738428
9cf66a
  Resolves: rhbz#1744103
9cf66a
  Resolves: rhbz#1744140
9cf66a
  Resolves: rhbz#1757837
9cf66a
  Resolves: rhbz#1748768
9cf66a
  Resolves: rhbz#1750352
9cf66a
  Resolves: rhbz#1751700
9cf66a
  Resolves: rhbz#1751962
9cf66a
  Resolves: rhbz#1755760
9cf66a
914f09
* Tue Aug 27 2019 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.1.1-33
a89620
- rabbitmq-cluster: fail monitor when node is in minority partition,
a89620
  fix stop regression, retry start when cluster join fails, ensure
a89620
  node attributes are removed
a89620
914f09
  Resolves: rhbz#1745713
914f09
914f09
* Mon Aug 12 2019 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.1.1-32
914f09
- mysql/galera: use runuser/su to avoid using DAC_OVERRIDE
a89620
914f09
  Resolves: rhbz#1692960
914f09
914f09
* Wed Aug  7 2019 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.1.1-31
a89620
- podman: add drop-in dependency support
a89620
914f09
  Resolves: rhbz#1736746
914f09
914f09
* Wed Jul 31 2019 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.1.1-30
914f09
- iSCSITarget/iSCSILogicalUnit: only create iqn/acls when it doesnt
914f09
  exist
914f09
914f09
  Resolves: rhbz#1692413
914f09
914f09
* Tue Jul 30 2019 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.1.1-29
914f09
- CTDB: add support for v4.9+
914f09
914f09
  Resolves: rhbz#1732867
a89620
914f09
* Tue Jul 23 2019 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.1.1-28
a89620
- podman: fixes to avoid bundle resources restarting when probing
a89620
  takes too long
914f09
- LVM-activate: fix monitor to avoid hang caused by validate-all call
914f09
914f09
  Resolves: rhbz#1718219
914f09
  Resolves: rhbz#1730455
914f09
914f09
* Wed Jun 19 2019 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.1.1-27
914f09
- ocf_log: do not log debug messages when HA_debug unset
914f09
- Filesystem: remove notify-action from metadata
914f09
- dhcpd keep SELinux context in chroot
914f09
914f09
  Resolves: rhbz#1707969
914f09
  Resolves: rhbz#1717759
914f09
  Resolves: rhbz#1719684
914f09
914f09
* Tue Jun 11 2019 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.1.1-26
914f09
- sap/sap-hana: split subpackages into separate packages
a89620
914f09
  Resolves: rhbz#1705767
a89620
914f09
* Wed May 29 2019 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.1.1-24
4d1913
- Squid: fix PID file issue
4d1913
914f09
  Resolves: rhbz#1689184
4d1913
914f09
* Tue May 28 2019 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.1.1-23
914f09
- Route: make family parameter optional
914f09
- redis: mute password warning
914f09
914f09
  Resolves: rhbz#1669140
914f09
  Resolves: rhbz#1683548
914f09
914f09
* Thu May 23 2019 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.1.1-22
4d1913
- aws-vpc-move-ip: add multi route-table support and fix issue
4d1913
  w/multiple NICs
4d1913
914f09
  Resolves: rhbz#1697559
4d1913
914f09
* Fri Apr  5 2019 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.1.1-21
914f09
- gcp-vpc-move-route/gcp-vpc-move-vip: fix Python 3 encoding issue
914f09
914f09
  Resolves: rhbz#1695656
914f09
914f09
* Mon Apr  1 2019 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.1.1-20
914f09
- aws-vpc-move-ip: use "--query" to avoid a possible race condition
4d1913
- gcloud-ra: fix Python 3 issue and remove Python 2 detection
914f09
914f09
  Resolves: rhbz#1693662
914f09
  Resolves: rhbz#1691456
914f09
914f09
* Thu Mar 21 2019 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.1.1-19
914f09
- Add CI gating tests
914f09
- LVM-activate: support LVs from same VG
914f09
- tomcat: use systemd when catalina.sh is unavailable
914f09
- Fixed python-devel/perl build dependencies
914f09
914f09
  Resolves: rhbz#1682136
914f09
  Resolves: rhbz#1667414
914f09
  Resolves: rhbz#1666691
914f09
  Resolves: rhbz#1595854
914f09
914f09
* Thu Mar  7 2019 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.1.1-18
914f09
- aliyun-vpc-move-ip: exclude from main package
4d1913
- aliyuncli-ra: upgrade bundled python-aliyun-sdk-core and fix Python 3 issues
914f09
- ocf.py: byte compile
4d1913
914f09
  Resolves: rhbz#1677204
914f09
  Resolves: rhbz#1677981
914f09
  Resolves: rhbz#1678874
4d1913
05afe3
* Tue Feb  5 2019 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.1.1-17
05afe3
- LVM-activate: dont require locking_type
05afe3
05afe3
  Resolves: rhbz#1658664
05afe3
05afe3
* Fri Jan 11 2019 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.1.1-16
05afe3
- vdo-vol: fix monitor-action
05afe3
- LVM-activate: dont fail initial probe
05afe3
05afe3
  Resolves: rhbz#1662466
05afe3
  Resolves: rhbz#1643307
05afe3
05afe3
* Tue Oct 23 2018 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.1.1-15
05afe3
- nfsserver: fix start-issues when nfs_shared_infodir parameter is
05afe3
  changed
05afe3
05afe3
  Resolves: rhbz#1642027
05afe3
05afe3
* Mon Oct  8 2018 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.1.1-14
05afe3
- redis: use basename in pidof to avoid issues in containers
05afe3
05afe3
  Resolves: rhbz#1635785
05afe3
05afe3
* Wed Sep 26 2018 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.1.1-11
05afe3
- Remove grpc from bundle
05afe3
05afe3
  Resolves: rhbz#1630627
05afe3
05afe3
* Fri Sep 21 2018 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.1.1-10
05afe3
- systemd-tmpfiles: change path to /run/resource-agents
05afe3
05afe3
  Resolves: rhbz#1631291
05afe3
05afe3
* Fri Aug 24 2018 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.1.1-9
05afe3
- podman: new resource agent
05afe3
05afe3
  Resolves: rhbz#1607607
05afe3
05afe3
* Wed Aug 22 2018 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.1.1-8
05afe3
- LVM: fix missing dash in activate_options
05afe3
- LVM-activate: warn about incorrect vg_access_mode
05afe3
- lvmlockd: add cmirrord support
05afe3
05afe3
* Wed Aug  1 2018 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.1.1-7
05afe3
- findif: only match lines containing netmasks
05afe3
05afe3
* Mon Jul 30 2018 Florian Weimer <fweimer@redhat.com> - 4.1.1-6
05afe3
- Rebuild with fixed binutils
05afe3
05afe3
* Fri Jul 27 2018 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.1.1-5
05afe3
- vdo-vol: new resource agent
05afe3
05afe3
  Resolves: rhbz#1552330
05afe3
05afe3
* Wed Jul  4 2018 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.1.1-4
05afe3
- VirtualDomain: add stateless support
05afe3
- Exclude unsupported agents
05afe3
05afe3
* Thu Jun 28 2018 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.1.1-3
05afe3
- Added SAPHana and OpenStack agents
05afe3
05afe3
* Fri May 25 2018 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.1.1-2
05afe3
- Remove unsupported clvm and LVM agents
05afe3
05afe3
* Tue Mar 13 2018 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.1.1-1
05afe3
- Rebase to resource-agents 4.1.1 upstream release.
05afe3
05afe3
* Mon Feb 19 2018 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.1.0-2
05afe3
- Add gcc to BuildRequires
05afe3
05afe3
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.1.0-1.1
05afe3
- Escape macros in %%changelog
05afe3
05afe3
* Wed Jan 10 2018 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.1.0-1
05afe3
- Rebase to resource-agents 4.1.0 upstream release.
05afe3
05afe3
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.1-1.3
05afe3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
05afe3
05afe3
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.1-1.2
05afe3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
05afe3
05afe3
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.1-1.1
05afe3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
05afe3
05afe3
* Thu Feb  2 2017 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.0.1-1
05afe3
- Rebase to resource-agents 4.0.1 upstream release.
05afe3
05afe3
* Wed Feb  1 2017 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.0.0-2
05afe3
- galera: remove "long SST monitoring" support due to corner-case issues
05afe3
05afe3
* Tue Jan 31 2017 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.0.0-1
05afe3
- Rebase to resource-agents 4.0.0 upstream release.
05afe3
05afe3
* Thu Dec 15 2016 Oyvind Albrigtsen <oalbrigt@redhat.com> - 3.9.7-6
05afe3
- Add netstat dependency
05afe3
05afe3
* Tue Feb  9 2016 Oyvind Albrigtsen <oalbrigt@redhat.com> - 3.9.7-4
05afe3
- Rebase to resource-agents 3.9.7 upstream release.
05afe3
05afe3
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.9.6-2.2
05afe3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
05afe3
05afe3
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.9.6-2.1
05afe3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
05afe3
05afe3
* Mon Apr 20 2015 David Vossel <dvossel@redhat.com> - 3.9.6-2
05afe3
- Rebase to latest upstream code in order to pull in rabbitmq-cluster agent
05afe3
05afe3
* Fri Feb 13 2015 David Vossel <dvossel@redhat.com> - 3.9.6-1
05afe3
- Rebase to resource-agents 3.9.6 upstream release.
05afe3
05afe3
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.9.5-12.2
05afe3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
05afe3
05afe3
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.9.5-12.1
05afe3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
05afe3
05afe3
* Wed Apr 30 2014 David Vossel <dvossel@redhat.com> - 3.9.5-12
05afe3
- Sync with latest upstream.
05afe3
05afe3
* Thu Jan 2 2014 David Vossel <dvossel@redhat.com> - 3.9.5-11
05afe3
- Sync with latest upstream.
05afe3
05afe3
* Sun Oct 20 2013 David Vossel <dvossel@redhat.com> - 3.9.5-10
05afe3
- Fix build system for rawhide.
05afe3
05afe3
* Wed Oct 16 2013 David Vossel <dvossel@redhat.com> - 3.9.5-9
05afe3
- Remove rgmanager agents from build. 
05afe3
05afe3
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.9.5-8
05afe3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
05afe3
05afe3
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 3.9.5-7
05afe3
- Perl 5.18 rebuild
05afe3
05afe3
* Tue Jun 18 2013 David Vossel <dvossel@redhat.com> - 3.9.5-6
05afe3
- Restores rsctmp directory to upstream default.
05afe3
05afe3
* Tue Jun 18 2013 David Vossel <dvossel@redhat.com> - 3.9.5-5
05afe3
- Merges redhat provider into heartbeat provider. Remove
05afe3
  rgmanager's redhat provider.
05afe3
05afe3
  Resolves: rhbz#917681
05afe3
  Resolves: rhbz#928890
05afe3
  Resolves: rhbz#952716
05afe3
  Resolves: rhbz#960555
05afe3
05afe3
* Tue Mar 12 2013 David Vossel <dvossel@redhat.com> - 3.9.5-3
05afe3
- Fixes build system error with conditional logic involving
05afe3
  IPv6addr and updates spec file to build against rhel 7 as
05afe3
  well as fedora 19.
05afe3
05afe3
* Mon Mar 11 2013 David Vossel <dvossel@redhat.com> - 3.9.5-2
05afe3
- Resolves rhbz#915050
05afe3
05afe3
* Mon Mar 11 2013 David Vossel <dvossel@redhat.com> - 3.9.5-1
05afe3
- New upstream release.
05afe3
05afe3
* Fri Jan 25 2013 Kevin Fenzi <kevin@scrye.com> - 3.9.2-5
05afe3
- Fix cifs mount requires
05afe3
05afe3
* Mon Nov 12 2012 Chris Feist <cfeist@redhat.com> - 3.9.2-4
05afe3
- Removed version number after dist
05afe3
05afe3
* Mon Oct 29 2012 Chris Feist <cfeist@redhat.com> - 3.9.2-3.8
05afe3
- Remove cluster-glue-libs-devel
05afe3
- Disable IPv6addr & sfex to fix deps on libplumgpl & libplum (due to
05afe3
  disappearance of cluster-glue in F18)
05afe3
05afe3
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.9.2-3.5
05afe3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
05afe3
05afe3
* Thu Jul 05 2012 Chris Feist <cfeist@redhat.com> - 3.9.2-3.4
05afe3
- Fix location of lvm (change from /sbin to /usr/sbin)
05afe3
05afe3
* Wed Apr 04 2012 Jon Ciesla <limburgher@gmail.com> - 3.9.2-3.3
05afe3
- Rebuilt to fix rawhide dependency issues (caused by move of fsck from
05afe3
  /sbin to /usr/sbin).
05afe3
05afe3
* Fri Mar 30 2012 Jon Ciesla <limburgher@gmail.com> - 3.9.2-3.1
05afe3
- libnet rebuild.
05afe3
05afe3
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.9.2-2.1
05afe3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
05afe3
05afe3
* Fri Jul  8 2011 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.9.2-2
05afe3
- add post call to resource-agents to integrate with cluster 3.1.4
05afe3
05afe3
* Thu Jun 30 2011 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.9.2-1
05afe3
- new upstream release
05afe3
- fix 2 regressions from 3.9.1
05afe3
05afe3
* Mon Jun 20 2011 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.9.1-1
05afe3
- new upstream release
05afe3
- import spec file from upstream
05afe3
05afe3
* Tue Mar  1 2011 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.1.1-1
05afe3
- new upstream release 3.1.1 and 1.0.4
05afe3
05afe3
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.0-2
05afe3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
05afe3
05afe3
* Thu Dec  2 2010 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.1.0-1
05afe3
- new upstream release
05afe3
- spec file update:
05afe3
  Update upstream URL
05afe3
  Update source URL
05afe3
  use standard configure macro
05afe3
  use standard make invokation
05afe3
05afe3
* Thu Oct  7 2010 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.17-1
05afe3
- new upstream release
05afe3
  Resolves: rhbz#632595, rhbz#633856, rhbz#632385, rhbz#628013
05afe3
  Resolves: rhbz#621313, rhbz#595383, rhbz#580492, rhbz#605733
05afe3
  Resolves: rhbz#636243, rhbz#591003, rhbz#637913, rhbz#634718
05afe3
  Resolves: rhbz#617247, rhbz#617247, rhbz#617234, rhbz#631943
05afe3
  Resolves: rhbz#639018
05afe3
05afe3
* Thu Oct  7 2010 Andrew Beekhof <andrew@beekhof.net> - 3.0.16-2
05afe3
- new upstream release of the Pacemaker agents: 71b1377f907c
05afe3
05afe3
* Thu Sep  2 2010 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.16-1
05afe3
- new upstream release
05afe3
  Resolves: rhbz#619096, rhbz#614046, rhbz#620679, rhbz#619680
05afe3
  Resolves: rhbz#621562, rhbz#621694, rhbz#608887, rhbz#622844
05afe3
  Resolves: rhbz#623810, rhbz#617306, rhbz#623816, rhbz#624691
05afe3
  Resolves: rhbz#622576
05afe3
05afe3
* Thu Jul 29 2010 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.14-1
05afe3
- new upstream release
05afe3
  Resolves: rhbz#553383, rhbz#557563, rhbz#578625, rhbz#591003
05afe3
  Resolves: rhbz#593721, rhbz#593726, rhbz#595455, rhbz#595547
05afe3
  Resolves: rhbz#596918, rhbz#601315, rhbz#604298, rhbz#606368
05afe3
  Resolves: rhbz#606470, rhbz#606480, rhbz#606754, rhbz#606989
05afe3
  Resolves: rhbz#607321, rhbz#608154, rhbz#608887, rhbz#609181
05afe3
  Resolves: rhbz#609866, rhbz#609978, rhbz#612097, rhbz#612110
05afe3
  Resolves: rhbz#612165, rhbz#612941, rhbz#614127, rhbz#614356
05afe3
  Resolves: rhbz#614421, rhbz#614457, rhbz#614961, rhbz#615202
05afe3
  Resolves: rhbz#615203, rhbz#615255, rhbz#617163, rhbz#617566
05afe3
  Resolves: rhbz#618534, rhbz#618703, rhbz#618806, rhbz#618814
05afe3
05afe3
* Mon Jun  7 2010 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.13-1
05afe3
- new upstream release
05afe3
  Resolves: rhbz#592103, rhbz#593108, rhbz#578617, rhbz#594626
05afe3
  Resolves: rhbz#594511, rhbz#596046, rhbz#594111, rhbz#597002
05afe3
  Resolves: rhbz#599643
05afe3
05afe3
* Tue May 18 2010 Andrew Beekhof <andrew@beekhof.net> - 3.0.12-2
05afe3
- libnet is not available on RHEL
05afe3
- Do not package ldirectord on RHEL
05afe3
  Resolves: rhbz#577264
05afe3
05afe3
* Mon May 10 2010 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.12-1
05afe3
- new upstream release
05afe3
  Resolves: rhbz#585217, rhbz#586100, rhbz#581533, rhbz#582753
05afe3
  Resolves: rhbz#582754, rhbz#585083, rhbz#587079, rhbz#588890
05afe3
  Resolves: rhbz#588925, rhbz#583789, rhbz#589131, rhbz#588010
05afe3
  Resolves: rhbz#576871, rhbz#576871, rhbz#590000, rhbz#589823
05afe3
05afe3
* Mon May 10 2010 Andrew Beekhof <andrew@beekhof.net> - 3.0.12-1
05afe3
- New pacemaker agents upstream release: a7c0f35916bf
05afe3
  + High: pgsql: properly implement pghost parameter
05afe3
  + High: RA: mysql: fix syntax error
05afe3
  + High: SAPInstance RA: do not rely on op target rc when monitoring clones (lf#2371)
05afe3
  + High: set the HA_RSCTMP directory to /var/run/resource-agents (lf#2378)
05afe3
  + Medium: IPaddr/IPaddr2: add a description of the assumption in meta-data
05afe3
  + Medium: IPaddr: return the correct code if interface delete failed
05afe3
  + Medium: nfsserver: rpc.statd as the notify cmd does not work with -v (thanks to Carl Lewis)
05afe3
  + Medium: oracle: reduce output from sqlplus to the last line for queries (bnc#567815)
05afe3
  + Medium: pgsql: implement "config" parameter
05afe3
  + Medium: RA: iSCSITarget: follow changed IET access policy
05afe3
05afe3
* Wed Apr 21 2010 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.11-1
05afe3
- new upstream release
05afe3
  Resolves: rhbz#583945, rhbz#581047, rhbz#576330, rhbz#583017
05afe3
  Resolves: rhbz#583019, rhbz#583948, rhbz#584003, rhbz#582017
05afe3
  Resolves: rhbz#555901, rhbz#582754, rhbz#582573, rhbz#581533
05afe3
- Switch to file based Requires.
05afe3
  Also address several other problems related to missing runtime
05afe3
  components in different agents.
05afe3
  With the current Requires: set, we guarantee all basic functionalities
05afe3
  out of the box for lvm/fs/clusterfs/netfs/networking.
05afe3
  Resolves: rhbz#570008
05afe3
05afe3
* Sat Apr 17 2010 Andrew Beekhof <andrew@beekhof.net> - 3.0.10-2
05afe3
- New pacemaker agents upstream release
05afe3
  + High: RA: vmware: fix set_environment() invocation (LF 2342)
05afe3
  + High: RA: vmware: update to version 0.2
05afe3
  + Medium: Filesystem: prefer /proc/mounts to /etc/mtab for non-bind mounts (lf#2388)
05afe3
  + Medium: IPaddr2: don't bring the interface down on stop (thanks to Lars Ellenberg)
05afe3
  + Medium: IPsrcaddr: modify the interface route (lf#2367)
05afe3
  + Medium: ldirectord: Allow multiple email addresses (LF 2168)
05afe3
  + Medium: ldirectord: fix setting defaults for configfile and ldirectord (lf#2328)
05afe3
  + Medium: meta-data: improve timeouts in most resource agents
05afe3
  + Medium: nfsserver: use default values (lf#2321)
05afe3
  + Medium: ocf-shellfuncs: don't log but print to stderr if connected to a terminal
05afe3
  + Medium: ocf-shellfuncs: don't output to stderr if using syslog
05afe3
  + Medium: oracle/oralsnr: improve exit codes if the environment isn't valid
05afe3
  + Medium: RA: iSCSILogicalUnit: fix monitor for STGT
05afe3
  + Medium: RA: make sure that OCF_RESKEY_CRM_meta_interval is always defined (LF 2284)
05afe3
  + Medium: RA: ManageRAID: require bash
05afe3
  + Medium: RA: ManageRAID: require bash
05afe3
  + Medium: RA: VirtualDomain: bail out early if config file can't be read during probe (Novell 593988)
05afe3
  + Medium: RA: VirtualDomain: fix incorrect use of __OCF_ACTION
05afe3
  + Medium: RA: VirtualDomain: improve error messages
05afe3
  + Medium: RA: VirtualDomain: spin on define until we definitely have a domain name
05afe3
  + Medium: Route: add route table parameter (lf#2335)
05afe3
  + Medium: sfex: don't use pid file (lf#2363,bnc#585416)
05afe3
  + Medium: sfex: exit with success on stop if sfex has never been started (bnc#585416)
05afe3
05afe3
* Fri Apr  9 2010 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.10-1
05afe3
- New rgmanager resource agents upstream release
05afe3
  Resolves: rhbz#519491, rhbz#570525, rhbz#571806, rhbz#574027
05afe3
  Resolves: rhbz#574215, rhbz#574886, rhbz#576322, rhbz#576335
05afe3
  Resolves: rhbz#575103, rhbz#577856, rhbz#577874, rhbz#578249
05afe3
  Resolves: rhbz#578625, rhbz#578626, rhbz#578628, rhbz#578626
05afe3
  Resolves: rhbz#579621, rhbz#579623, rhbz#579625, rhbz#579626
05afe3
  Resolves: rhbz#579059
05afe3
05afe3
* Wed Mar 24 2010 Andrew Beekhof <andrew@beekhof.net> - 3.0.9-2
05afe3
- Resolves: rhbz#572993 - Patched build process to correctly generate ldirectord man page
05afe3
- Resolves: rhbz#574732 - Add libnet-devel as a dependancy to ensure IPaddrv6 is built
05afe3
05afe3
* Mon Mar  1 2010 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.9-1
05afe3
- New rgmanager resource agents upstream release
05afe3
  Resolves: rhbz#455300, rhbz#568446, rhbz#561862, rhbz#536902
05afe3
  Resolves: rhbz#512171, rhbz#519491
05afe3
05afe3
* Mon Feb 22 2010 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.8-1
05afe3
- New rgmanager resource agents upstream release
05afe3
  Resolves: rhbz#548133, rhbz#565907, rhbz#545602, rhbz#555901
05afe3
  Resolves: rhbz#564471, rhbz#515717, rhbz#557128, rhbz#536157
05afe3
  Resolves: rhbz#455300, rhbz#561416, rhbz#562237, rhbz#537201
05afe3
  Resolves: rhbz#536962, rhbz#553383, rhbz#556961, rhbz#555363
05afe3
  Resolves: rhbz#557128, rhbz#455300, rhbz#557167, rhbz#459630
05afe3
  Resolves: rhbz#532808, rhbz#556603, rhbz#554968, rhbz#555047
05afe3
  Resolves: rhbz#554968, rhbz#555047
05afe3
- spec file update:
05afe3
  * update spec file copyright date
05afe3
  * use bz2 tarball
05afe3
05afe3
* Fri Jan 15 2010 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.7-2
05afe3
- Add python as BuildRequires
05afe3
05afe3
* Mon Jan 11 2010 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.7-1
05afe3
- New rgmanager resource agents upstream release
05afe3
  Resolves: rhbz#526286, rhbz#533461
05afe3
05afe3
* Mon Jan 11 2010 Andrew Beekhof <andrew@beekhof.net> - 3.0.6-2
05afe3
- Update Pacameker agents to upstream version: c76b4a6eb576
05afe3
  + High: RA: VirtualDomain: fix forceful stop (LF 2283)
05afe3
  + High: apache: monitor operation of depth 10 for web applications (LF 2234)
05afe3
  + Medium: IPaddr2: CLUSTERIP/iptables rule not always inserted on failed monitor (LF 2281)
05afe3
  + Medium: RA: Route: improve validate (LF 2232)
05afe3
  + Medium: mark obsolete RAs as deprecated (LF 2244)
05afe3
  + Medium: mysql: escalate stop to KILL if regular shutdown doesn't work
05afe3
05afe3
* Mon Dec 7 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.6-1
05afe3
- New rgmanager resource agents upstream release
05afe3
- spec file update:
05afe3
  * use global instead of define
05afe3
  * use new Source0 url
05afe3
  * use %%name macro more aggressively
05afe3
05afe3
* Mon Dec 7 2009 Andrew Beekhof <andrew@beekhof.net> - 3.0.5-2
05afe3
- Update Pacameker agents to upstream version: bc00c0b065d9
05afe3
  + High: RA: introduce OCF_FUNCTIONS_DIR, allow it to be overridden (LF2239)
05afe3
  + High: doc: add man pages for all RAs (LF2237)
05afe3
  + High: syslog-ng: new RA
05afe3
  + High: vmware: make meta-data work and several cleanups (LF 2212)
05afe3
  + Medium: .ocf-shellfuncs: add ocf_is_probe function
05afe3
  + Medium: Dev: make RAs executable (LF2239)
05afe3
  + Medium: IPv6addr: ifdef out the ip offset hack for libnet v1.1.4 (LF 2034)
05afe3
  + Medium: add mercurial repository version information to .ocf-shellfuncs
05afe3
  + Medium: build: add perl-MailTools runtime dependency to ldirectord package (LF 1469)
05afe3
  + Medium: iSCSITarget, iSCSILogicalUnit: support LIO
05afe3
  + Medium: nfsserver: use check_binary properly in validate (LF 2211)
05afe3
  + Medium: nfsserver: validate should not check if nfs_shared_infodir exists (thanks to eelco@procolix.com) (LF 2219)
05afe3
  + Medium: oracle/oralsnr: export variables properly
05afe3
  + Medium: pgsql: remove the previous backup_label if it exists
05afe3
  + Medium: postfix: fix double stop (thanks to Dinh N. Quoc)
05afe3
  + RA: LVM: Make monitor operation quiet in logs (bnc#546353)
05afe3
  + RA: Xen: Remove instance_attribute "allow_migrate" (bnc#539968)
05afe3
  + ldirectord: OCF agent: overhaul
05afe3
05afe3
* Fri Nov 20 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.5-1
05afe3
- New rgmanager resource agents upstream release
05afe3
- Allow pacemaker to use rgmanager resource agents
05afe3
05afe3
* Wed Oct 28 2009 Andrew Beekhof <andrew@beekhof.net> - 3.0.4-2
05afe3
- Update Pacameker agents to upstream version: e2338892f59f
05afe3
  + High: send_arp - turn on unsolicited mode for compatibilty with the libnet version's exit codes
05afe3
  + High: Trap sigterm for compatibility with the libnet version of send_arp
05afe3
  + Medium: Bug - lf#2147: IPaddr2: behave if the interface is down
05afe3
  + Medium: IPv6addr: recognize network masks properly
05afe3
  + Medium: RA: VirtualDomain: avoid needlessly invoking "virsh define"
05afe3
05afe3
* Wed Oct 21 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.4-1
05afe3
- New rgmanager resource agents upstream release
05afe3
05afe3
* Mon Oct 12 2009 Andrew Beekhof <andrew@beekhof.net> - 3.0.3-3
05afe3
- Update Pacameker agents to upstream version: 099c0e5d80db
05afe3
  + Add the ha_parameter function back into .ocf-shellfuncs.
05afe3
  + Bug bnc#534803 - Provide a default for MAILCMD
05afe3
  + Fix use of undefined macro @HA_NOARCHDATAHBDIR@
05afe3
  + High (LF 2138): IPsrcaddr: replace 0/0 with proper ip prefix (thanks to Michael Ricordeau and Michael Schwartzkopff)
05afe3
  + Import shellfuncs from heartbeat as badly written RAs use it
05afe3
  + Medium (LF 2173): nfsserver: exit properly in nfsserver_validate
05afe3
  + Medium: RA: Filesystem: implement monitor operation
05afe3
  + Medium: RA: VirtualDomain: loop on status if libvirtd is unreachable
05afe3
  + Medium: RA: VirtualDomain: loop on status if libvirtd is unreachable (addendum)
05afe3
  + Medium: RA: iSCSILogicalUnit: use a 16-byte default SCSI ID
05afe3
  + Medium: RA: iSCSITarget: be more persistent deleting targets on stop
05afe3
  + Medium: RA: portblock: add per-IP filtering capability
05afe3
  + Medium: mysql-proxy: log_level and keepalive parameters
05afe3
  + Medium: oracle: drop spurious output from sqlplus
05afe3
  + RA: Filesystem: allow configuring smbfs mounts as clones
05afe3
05afe3
* Wed Sep 23 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.3-1
05afe3
- New rgmanager resource agents upstream release
05afe3
05afe3
* Thu Aug 20 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.1-1
05afe3
- New rgmanager resource agents upstream release
05afe3
05afe3
* Tue Aug 18 2009 Andrew Beekhof <andrew@beekhof.net> - 3.0.0-16
05afe3
- Create an ldirectord package
05afe3
- Update Pacameker agents to upstream version: 2198dc90bec4
05afe3
  + Build: Import ldirectord.
05afe3
  + Ensure HA_VARRUNDIR has a value to substitute
05afe3
  + High: Add findif tool (mandatory for IPaddr/IPaddr2)
05afe3
  + High: IPv6addr: new nic and cidr_netmask parameters
05afe3
  + High: postfix: new resource agent
05afe3
  + Include license information
05afe3
  + Low (LF 2159): Squid: make the regexp match more precisely output of netstat
05afe3
  + Low: configure: Fix package name.
05afe3
  + Low: ldirectord: add dependency on $remote_fs.
05afe3
  + Low: ldirectord: add mandatory required header to init script.
05afe3
  + Medium (LF 2165): IPaddr2: remove all colons from the mac address before passing it to send_arp
05afe3
  + Medium: VirtualDomain: destroy domain shortly before timeout expiry
05afe3
  + Medium: shellfuncs: Make the mktemp wrappers work.
05afe3
  + Remove references to Echo function
05afe3
  + Remove references to heartbeat shellfuncs.
05afe3
  + Remove useless path lookups
05afe3
  + findif: actually include the right header. Simplify configure.
05afe3
  + ldirectord: Remove superfluous configure artifact.
05afe3
  + ocf-tester: Fix package reference and path to DTD.
05afe3
05afe3
* Tue Aug 11 2009 Ville Skyttä <ville.skytta@iki.fi> - 3.0.0-15
05afe3
- Use bzipped upstream hg tarball.
05afe3
05afe3
* Wed Jul 29 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.0-14
05afe3
- Merge Pacemaker cluster resource agents:
05afe3
  * Add Source1.
05afe3
  * Drop noarch. We have real binaries now.
05afe3
  * Update BuildRequires.
05afe3
  * Update all relevant prep/build/install/files/description sections.
05afe3
05afe3
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.0-13
05afe3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
05afe3
05afe3
* Wed Jul  8 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.0-12
05afe3
- spec file updates:
05afe3
  * Update copyright header
05afe3
  * final release.. undefine alphatag
05afe3
05afe3
* Thu Jul  2 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.0-11.rc4
05afe3
- New upstream release.
05afe3
05afe3
* Sat Jun 20 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.0-10.rc3
05afe3
- New upstream release.
05afe3
05afe3
* Wed Jun 10 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.0-9.rc2
05afe3
- New upstream release + git94df30ca63e49afb1e8aeede65df8a3e5bcd0970
05afe3
05afe3
* Tue Mar 24 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.0-8.rc1
05afe3
- New upstream release.
05afe3
- Update BuildRoot usage to preferred versions/names
05afe3
05afe3
* Mon Mar  9 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.0-7.beta1
05afe3
- New upstream release.
05afe3
05afe3
* Fri Mar  6 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.0-6.alpha7
05afe3
- New upstream release.
05afe3
05afe3
* Tue Mar  3 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.0-5.alpha6
05afe3
- New upstream release.
05afe3
05afe3
* Tue Feb 24 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.0-4.alpha5
05afe3
- Drop Conflicts with rgmanager.
05afe3
05afe3
* Mon Feb 23 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.0-3.alpha5
05afe3
- New upstream release.
05afe3
05afe3
* Thu Feb 19 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.0-2.alpha4
05afe3
- Add comments on how to build this package.
05afe3
05afe3
* Thu Feb  5 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.0-1.alpha4
05afe3
- New upstream release.
05afe3
- Fix datadir/cluster directory ownership.
05afe3
05afe3
* Tue Jan 27 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.0-1.alpha3
05afe3
  - Initial packaging