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
%global sap_script_prefix sap_cluster_connector
05afe3
%global sap_script_hash 0015fe2
05afe3
05afe3
%global saphana_prefix SAPHanaSR
05afe3
%global saphana_hash 2067519
05afe3
05afe3
# bundles
05afe3
%global bundled_lib_dir		bundled
05afe3
## google cloud
05afe3
# google-cloud-sdk bundle
05afe3
%global googlecloudsdk		google-cloud-sdk
05afe3
%global googlecloudsdk_version	206.0.0
05afe3
%global googlecloudsdk_dir	%{bundled_lib_dir}/gcp/%{googlecloudsdk}
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-jmespath bundle
05afe3
%global jmespath		jmespath
05afe3
%global jmespath_version	0.7.1
05afe3
%global jmespath_dir		%{bundled_lib_dir}/aliyun/%{jmespath}
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
05afe3
%global aliyunsdkcore_version	2.8.5
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
05afe3
Release:	17%{?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
05afe3
Source1:	%{sap_script_prefix}-%{sap_script_hash}.tar.gz
05afe3
Source2:	%{saphana_prefix}-%{saphana_hash}.tar.gz
05afe3
Source3:	%{googlecloudsdk}-%{googlecloudsdk_version}-linux-x86_64.tar.gz
05afe3
Source4:	%{pyroute2}-%{pyroute2_version}.tar.gz
05afe3
Source5:	%{colorama}-%{colorama_version}.tar.gz
05afe3
Source6:	%{jmespath}-%{jmespath_version}.tar.gz
05afe3
Source7:	%{pycryptodome}-%{pycryptodome_version}.tar.gz
05afe3
Source8:	%{aliyunsdkcore}-%{aliyunsdkcore_version}.tar.gz
05afe3
Source9:	%{aliyunsdkecs}-%{aliyunsdkecs_version}.tar.gz
05afe3
Source10:	%{aliyunsdkvpc}-%{aliyunsdkvpc_version}.tar.gz
05afe3
Source11:	%{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
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
05afe3
Patch1004:	aliyun-vpc-move-ip-4-bundled.patch
05afe3
Patch1005:	python3-syntax-fixes.patch
05afe3
05afe3
Obsoletes:	heartbeat-resources <= %{version}
05afe3
Provides:	heartbeat-resources = %{version}
05afe3
05afe3
# Build dependencies
05afe3
BuildRequires: automake autoconf gcc
05afe3
BuildRequires: perl-interpreter perl-generators python-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
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}
05afe3
# python-colorama bundle
05afe3
Provides:	bundled(python-%{colorama}) = %{colorama_version}
05afe3
# python-jmespath bundle
05afe3
Provides:	bundled(python-jmespath) = %{jmespath_version}
05afe3
Requires:	python3-dateutil >= 1.4
05afe3
Requires:	python3-docutils >= 0.10
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}
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
%ifarch x86_64 ppc64le
05afe3
%package sap
05afe3
License:	GPLv2+
05afe3
Summary:	SAP cluster resource agents and connector script
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}
05afe3
Requires:	perl
05afe3
05afe3
%description sap
05afe3
The SAP resource agents and connector script interface with
05afe3
Pacemaker to allow SAP instances to be managed in a cluster
05afe3
environment.
05afe3
%endif
05afe3
05afe3
%ifarch x86_64 ppc64le
05afe3
%package sap-hana
05afe3
License:	GPLv2+
05afe3
Summary:	SAP HANA cluster 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}
05afe3
Requires:	perl
05afe3
05afe3
%description sap-hana
05afe3
The SAP HANA resource agents interface with  Pacemaker to allow
05afe3
SAP 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
%setup -T -D -a 1 -n %{upstream_prefix}-%{upstream_version}
05afe3
%setup -T -D -a 2 -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
05afe3
05afe3
chmod 755 heartbeat/nova-compute-wait
05afe3
chmod 755 heartbeat/NovaEvacuate
05afe3
05afe3
# add SAPHana agents to Makefile.am
05afe3
mv %{saphana_prefix}-%{saphana_hash}/SAPHana/ra/SAPHana* heartbeat
05afe3
sed -i -e '/			SAPInstance		\\/a\			SAPHana			\\\n			SAPHanaTopology		\\' heartbeat/Makefile.am
05afe3
sed -i -e '/                          ocf_heartbeat_SAPInstance.7 \\/a\                          ocf_heartbeat_SAPHana.7 \\\n                          ocf_heartbeat_SAPHanaTopology.7 \\' doc/man/Makefile.am
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
05afe3
tar -xzf %SOURCE3 -C %{bundled_lib_dir}/gcp
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
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}
05afe3
# remove Python 3 code
05afe3
rm -rf %{googlecloudsdk_dir}/lib/third_party/*/python3
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
05afe3
cp %{googlecloudsdk_dir}/lib/third_party/httplib2/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/typing/LICENSE %{googlecloudsdk}_typing_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
cp %{googlecloudsdk_dir}/lib/third_party/prompt_toolkit/LICENSE %{googlecloudsdk}_prompt_toolkit_LICENSE
05afe3
05afe3
# python-pyroute2 bundle
05afe3
tar -xzf %SOURCE4 -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
05afe3
tar -xzf %SOURCE5 -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-jmespath bundle
05afe3
tar -xzf %SOURCE6 -C %{bundled_lib_dir}/aliyun
05afe3
mv %{bundled_lib_dir}/aliyun/jmespath.py-%{jmespath_version} %{jmespath_dir}
05afe3
cp %{jmespath_dir}/LICENSE.txt %{jmespath}_LICENSE.txt
05afe3
cp %{jmespath_dir}/README.rst %{jmespath}_README.rst
05afe3
05afe3
pushd %{jmespath_dir}
05afe3
rm -rf jmespath.egg-info
05afe3
popd
05afe3
05afe3
# python-pycryptodome bundle
05afe3
tar -xzf %SOURCE7 -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
05afe3
tar -xzf %SOURCE8 -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
05afe3
tar -xzf %SOURCE9 -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
05afe3
tar -xzf %SOURCE10 -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
05afe3
tar -xzf %SOURCE11 -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
05afe3
%patch1004 -p1
05afe3
05afe3
# aliyun Python 3 fixes
05afe3
%patch1005 -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
05afe3
# python-pyroute2 bundle
05afe3
%ifarch x86_64
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-jmespath bundle
05afe3
pushd %{jmespath_dir}
05afe3
CFLAGS="%{optflags}" %{__python3} setup.py %{?py_setup_args} build --executable="%{__python3} -s"
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
05afe3
mv %{sap_script_prefix}-%{sap_script_hash}/redhat/sap_redhat_cluster_connector %{buildroot}/%{_sbindir}
05afe3
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
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-jmespath bundle
05afe3
pushd %{jmespath_dir}
05afe3
CFLAGS="%{optflags}" %{__python3} setup.py %{?py_setup_args} install -O1 --skip-build --root %{buildroot} --install-lib /usr/lib/%{name}/%{bundled_lib_dir}/aliyun
05afe3
popd
05afe3
rm %{buildroot}/%{_bindir}/jp.py
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
05afe3
sed -i -e "/^import sys/asys.path.insert(0, '/usr/lib/%{name}/%{bundled_lib_dir}/aliyun')" %{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
###
05afe3
%exclude %{_sbindir}/sap_redhat_cluster_connector
05afe3
%exclude /usr/lib/ocf/resource.d/heartbeat/SAP*
05afe3
%exclude /usr/lib/ocf/lib/heartbeat/sap*
05afe3
%exclude %{_mandir}/man7/*SAP*
05afe3
%exclude /usr/lib/ocf/resource.d/heartbeat/gcp*
05afe3
%exclude %{_mandir}/man7/*gcp*
05afe3
%exclude /usr/lib/%{name}/%{bundled_lib_dir}
05afe3
05afe3
###
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/aws-vpc-route53
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
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_aws-vpc-route53.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
05afe3
%doc %{aliyuncli}_README.rst %{colorama}_README.rst %{jmespath}_README.rst %{pycryptodome}_README.rst aliyun*_README*
05afe3
%license %{aliyuncli}_LICENSE %{colorama}_LICENSE.txt %{jmespath}_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*
05afe3
# bundle
05afe3
%{_bindir}/gcloud-ra
05afe3
%dir /usr/lib/%{name}
05afe3
/usr/lib/%{name}/%{bundled_lib_dir}/gcp
05afe3
%endif
05afe3
05afe3
%ifarch x86_64 ppc64le
05afe3
%files sap
05afe3
%defattr(-,root,root)
05afe3
%{_sbindir}/sap_redhat_cluster_connector
05afe3
/usr/lib/ocf/resource.d/heartbeat/SAP*
05afe3
/usr/lib/ocf/lib/heartbeat/sap*
05afe3
%{_mandir}/man7/*SAP*
05afe3
%exclude %{_mandir}/man7/*SAPHana*
05afe3
%exclude /usr/lib/ocf/resource.d/heartbeat/SAPHana*
05afe3
%endif
05afe3
05afe3
%ifarch x86_64 ppc64le
05afe3
%files sap-hana
05afe3
%defattr(-,root,root)
05afe3
/usr/lib/ocf/resource.d/heartbeat/SAPHana*
05afe3
%{_mandir}/man7/*SAPHana*
05afe3
%endif
05afe3
05afe3
%changelog
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