b73718d
#
b73718d
# All modifications and additions to the file contributed by third parties
b73718d
# remain the property of their copyright owners, unless otherwise agreed
b73718d
# upon. The license for this file, and modifications and additions to the
b73718d
# file, is the same license as for the pristine package itself (unless the
b73718d
# license for the pristine package is not an Open Source License, in which
b73718d
# case the license is the MIT License). An "Open Source License" is a
b73718d
# license that conforms to the Open Source Definition (Version 1.9)
b73718d
# published by the Open Source Initiative.
b73718d
#
b73718d
David Vossel 57aff16
# Below is the script used to generate a new source file
David Vossel 57aff16
# from the resource-agent upstream git repo.
David Vossel 57aff16
#
David Vossel 57aff16
# TAG=$(git log --pretty="format:%h" -n 1)
David Vossel 57aff16
# distdir="ClusterLabs-resource-agents-${TAG}"
David Vossel 57aff16
# TARFILE="${distdir}.tar.gz"
David Vossel 57aff16
# rm -rf $TARFILE $distdir
David Vossel 57aff16
# git archive --prefix=$distdir/ HEAD | gzip > $TARFILE
b73718d
#
b73718d
David Vossel ce546be
%global upstream_prefix ClusterLabs-resource-agents
3ec8f6b
%global upstream_version e697f43
David Vossel ce546be
b73718d
# SSLeay (required by ldirectord)
b73718d
%if 0%{?suse_version}
b73718d
%global SSLeay perl-Net_SSLeay
b73718d
%else
b73718d
%global SSLeay perl-Net-SSLeay
b73718d
%endif
b73718d
b73718d
# determine the ras-set to process based on configure invokation
David Vossel b2e101d
%bcond_with rgmanager
b73718d
%bcond_without linuxha
b73718d
b73718d
Name:		resource-agents
b73718d
Summary:	Open Source HA Reusable Cluster Resource Scripts
3ec8f6b
Version:	3.9.7
d6c8b9b
Release:	5%{?rcver:%{rcver}}%{?numcomm:.%{numcomm}}%{?alphatag:.%{alphatag}}%{?dirty:.%{dirty}}%{?dist}
b73718d
License:	GPLv2+ and LGPLv2+
David Vossel ce546be
URL:		https://github.com/ClusterLabs/resource-agents
b73718d
%if 0%{?fedora} || 0%{?centos_version} || 0%{?rhel}
b73718d
Group:		System Environment/Base
b73718d
%else
b73718d
Group:		Productivity/Clustering/HA
b73718d
%endif
David Vossel ce546be
Source0:	%{upstream_prefix}-%{upstream_version}.tar.gz
1d299fd
Patch1:		fix-non-executable-script-errors.patch
b73718d
Obsoletes:	heartbeat-resources <= %{version}
b73718d
Provides:	heartbeat-resources = %{version}
b73718d
b73718d
## Setup/build bits
b73718d
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
b73718d
b73718d
# Build dependencies
b73718d
BuildRequires: automake autoconf pkgconfig
ed7d39f
BuildRequires: perl perl-generators python-devel
b73718d
BuildRequires: libxslt glib2-devel
b73718d
BuildRequires: which
b73718d
b73718d
%if 0%{?fedora} || 0%{?centos_version} || 0%{?rhel}
8e47b30
#BuildRequires: cluster-glue-libs-devel
b73718d
BuildRequires: docbook-style-xsl docbook-dtds
b73718d
%if 0%{?rhel} == 0
b73718d
BuildRequires: libnet-devel
b73718d
%endif
b73718d
%endif
b73718d
b73718d
%if 0%{?suse_version}  
b73718d
%if 0%{?suse_version} >= 1140
b73718d
BuildRequires:  libnet1
b73718d
%else
b73718d
BuildRequires:  libnet
b73718d
%endif
b73718d
BuildRequires:  libglue-devel
b73718d
BuildRequires:  libxslt docbook_4 docbook-xsl-stylesheets
b73718d
%endif
bd974cd
bd974cd
## Runtime deps
b73718d
## These apply to rgmanager agents only to guarantee agents
b73718d
## are functional
b73718d
%if %{with rgmanager}
cfff991
# system tools shared by several agents
cfff991
Requires: /bin/bash /bin/grep /bin/sed /bin/gawk
d6c8b9b
Requires: /bin/ps /usr/bin/pkill /bin/hostname /bin/netstat
cfff991
Requires: /sbin/fuser
cfff991
Requires: /sbin/findfs /bin/mount
cfff991
cfff991
# fs.sh
cfff991
Requires: /sbin/quotaon /sbin/quotacheck
cfff991
Requires: /sbin/fsck
5054953
Requires: /usr/sbin/fsck.ext2 /usr/sbin/fsck.ext3 /usr/sbin/fsck.ext4
5054953
Requires: /usr/sbin/fsck.xfs
cfff991
cfff991
# ip.sh
cfff991
Requires: /sbin/ip /usr/sbin/ethtool
cfff991
Requires: /sbin/rdisc /usr/sbin/arping /bin/ping /bin/ping6
cfff991
cfff991
# lvm.sh
e082994
Requires: /usr/sbin/lvm
cfff991
cfff991
# netfs.sh
d7c2bc2
Requires: /sbin/mount.nfs /sbin/mount.nfs4 /usr/sbin/mount.cifs
cfff991
Requires: /usr/sbin/rpc.nfsd /sbin/rpc.statd /usr/sbin/rpc.mountd
b50a94c
%endif
bd974cd
5facebe
%description
5facebe
A set of scripts to interface with several services to operate in a
5facebe
High Availability environment for both Pacemaker and rgmanager
5facebe
service managers.
5facebe
b73718d
%if %{with linuxha}
5facebe
%package -n ldirectord
b73718d
License:	GPLv2+
b73718d
Summary:	A Monitoring Daemon for Maintaining High Availability Resources
b73718d
%if 0%{?fedora} || 0%{?centos_version} || 0%{?rhel}
b73718d
Group:		System Environment/Daemons
b73718d
%else
b73718d
Group:		Productivity/Clustering/HA
b73718d
%endif
b73718d
Obsoletes:	heartbeat-ldirectord <= %{version}
b73718d
Provides:	heartbeat-ldirectord = %{version}
David Vossel 9114766
%if 0%{?fedora} > 18 || 0%{?centos_version} > 6 || 0%{?rhel} > 6
David Vossel 8f82f70
BuildRequires: perl-podlators
David Vossel 8f82f70
%endif
b73718d
Requires:       %{SSLeay} perl-libwww-perl perl-MailTools
b73718d
Requires:       ipvsadm logrotate
b73718d
%if 0%{?fedora_version}
b73718d
Requires:	perl-Net-IMAP-Simple-SSL
b73718d
Requires(post):	/sbin/chkconfig
b73718d
Requires(preun):/sbin/chkconfig
b73718d
%endif
3ec8f6b
%if %{defined systemd_requires}
3ec8f6b
BuildRequires:  systemd
3ec8f6b
%{?systemd_requires}
3ec8f6b
%endif
5facebe
5facebe
%description -n ldirectord
b73718d
The Linux Director Daemon (ldirectord) was written by Jacob Rief.
b73718d
<jacob.rief@tiscover.com>
b73718d
b73718d
ldirectord is a stand alone daemon for monitoring the services on real
b73718d
servers. Currently, HTTP, HTTPS, and FTP services are supported.
b73718d
lditrecord is simple to install and works with the heartbeat code
b73718d
(http://www.linux-ha.org/).
b73718d
b73718d
See 'ldirectord -h' and linux-ha/doc/ldirectord for more information.
b50a94c
%endif
5facebe
dedd4aa
%prep
b73718d
%if 0%{?suse_version} == 0 && 0%{?fedora} == 0 && 0%{?centos_version} == 0 && 0%{?rhel} == 0
b73718d
%{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.}
b73718d
exit 1
b73718d
%endif
David Vossel ce546be
%setup -q -n %{upstream_prefix}-%{upstream_version}
1d299fd
%autopatch -p1
b73718d
b73718d
%build
b73718d
if [ ! -f configure ]; then
b73718d
	./autogen.sh
b73718d
fi
b73718d
b73718d
%if 0%{?fedora} >= 11 || 0%{?centos_version} > 5 || 0%{?rhel} > 5
b73718d
CFLAGS="$(echo '%{optflags}')"
b73718d
%global conf_opt_fatal "--enable-fatal-warnings=no"
b73718d
%else
b73718d
CFLAGS="${CFLAGS} ${RPM_OPT_FLAGS}"
b73718d
%global conf_opt_fatal "--enable-fatal-warnings=yes"
b73718d
%endif
dedd4aa
b73718d
%if %{with rgmanager}
b73718d
%global rasset rgmanager
b73718d
%endif
b73718d
%if %{with linuxha}
b73718d
%global rasset linux-ha
b73718d
%endif
b73718d
%if %{with rgmanager} && %{with linuxha}
b73718d
%global rasset all
b73718d
%endif
bd974cd
b73718d
export CFLAGS
dedd4aa
b73718d
%configure \
b73718d
	%{conf_opt_fatal} \
3ec8f6b
%if %{defined _unitdir}
3ec8f6b
    --with-systemdsystemunitdir=%{_unitdir} \
3ec8f6b
%endif
b73718d
	--with-pkg-name=%{name} \
b73718d
	--with-ras-set=%{rasset}
b73718d
b73718d
%if %{defined jobs}
b73718d
JFLAGS="$(echo '-j%{jobs}')"
b73718d
%else
b73718d
JFLAGS="$(echo '%{_smp_mflags}')"
b73718d
%endif
b73718d
b73718d
make $JFLAGS
bd974cd
bd974cd
%install
8da1d6b
rm -rf %{buildroot}
a6d684c
make install DESTDIR=%{buildroot}
dedd4aa
b73718d
## tree fixup
b73718d
# remove docs (there is only one and they should come from doc sections in files)
b73718d
rm -rf %{buildroot}/usr/share/doc/resource-agents
bd974cd
b73718d
%if %{with linuxha}
b73718d
%if 0%{?suse_version}
b73718d
test -d %{buildroot}/sbin || mkdir %{buildroot}/sbin
f70cb59
(
b73718d
  cd %{buildroot}/sbin
b73718d
  ln -sf /%{_sysconfdir}/init.d/ldirectord rcldirectord 
b73718d
) || true
b73718d
%endif
b50a94c
%endif
a6d684c
bd974cd
%clean
8da1d6b
rm -rf %{buildroot}
bd974cd
b73718d
%files
b73718d
%defattr(-,root,root)
9f513d3
%doc AUTHORS COPYING COPYING.GPLv3 COPYING.LGPL ChangeLog
b73718d
%if %{with linuxha}
b73718d
%doc doc/README.webapps
b73718d
%doc %{_datadir}/%{name}/ra-api-1.dtd
b50a94c
%endif
bd974cd
b73718d
%if %{with rgmanager}
bd974cd
%{_datadir}/cluster
b73718d
%{_sbindir}/rhev-check.sh
b73718d
%endif
bd974cd
b73718d
%if %{with linuxha}
9f513d3
%dir %{_usr}/lib/ocf
9f513d3
%dir %{_usr}/lib/ocf/resource.d
9f513d3
%dir %{_usr}/lib/ocf/lib
b73718d
9f513d3
%{_usr}/lib/ocf/lib/heartbeat
b73718d
9f513d3
%{_usr}/lib/ocf/resource.d/heartbeat
b73718d
%if %{with rgmanager}
9f513d3
%{_usr}/lib/ocf/resource.d/redhat
b73718d
%endif
b73718d
b73718d
%dir %{_datadir}/%{name}
b73718d
%dir %{_datadir}/%{name}/ocft
b73718d
%{_datadir}/%{name}/ocft/configs
b73718d
%{_datadir}/%{name}/ocft/caselib
b73718d
%{_datadir}/%{name}/ocft/README
b73718d
%{_datadir}/%{name}/ocft/README.zh_CN
3ec8f6b
%{_datadir}/%{name}/ocft/helpers.sh
1d299fd
%exclude %{_datadir}/%{name}/ocft/runocft
1d299fd
%exclude %{_datadir}/%{name}/ocft/runocft.prereq
b73718d
dedd4aa
%{_sbindir}/ocf-tester
b73718d
%{_sbindir}/ocft
e85d211
#%{_sbindir}/sfex_init
e85d211
#%{_sbindir}/sfex_stat
dedd4aa
b73718d
%{_includedir}/heartbeat
b73718d
7b81861
%{_mandir}/man7/*.7*
b73718d
%{_mandir}/man8/ocf-tester.8*
e85d211
#%{_mandir}/man8/sfex_init.8*
dedd4aa
b73718d
# For compatability with pre-existing agents
51f002d
%dir %{_sysconfdir}/ha.d
51f002d
%{_sysconfdir}/ha.d/shellfuncs
51f002d
David Vossel 57aff16
%{_libexecdir}/heartbeat
b73718d
96e58bc
%if %{with rgmanager}
96e58bc
%post -n resource-agents
96e58bc
ccs_update_schema > /dev/null 2>&1 ||:
96e58bc
%endif
96e58bc
b73718d
%if 0%{?suse_version}
b73718d
%preun -n ldirectord
b73718d
%stop_on_removal ldirectord
b73718d
%postun -n ldirectord
b73718d
%insserv_cleanup
b73718d
%endif
b73718d
b73718d
%if 0%{?fedora}
b73718d
%preun -n ldirectord
3ec8f6b
%if %{defined _unitdir}
3ec8f6b
%systemd_preun ldirectord.service
3ec8f6b
%else
b73718d
/sbin/chkconfig --del ldirectord
3ec8f6b
%endif
3ec8f6b
%postun -n ldirectord
3ec8f6b
/sbin/ldconfig
3ec8f6b
%if %{defined _unitdir}
3ec8f6b
%systemd_postun_with_restart ldirectord.service
3ec8f6b
%endif
b73718d
%post -n ldirectord
3ec8f6b
%if %{defined _unitdir}
3ec8f6b
%systemd_post ldirectord.service
3ec8f6b
%else
b73718d
/sbin/chkconfig --add ldirectord
b73718d
%endif
David Vossel 8f82f70
%endif
3ec8f6b
%endif
dedd4aa
David Vossel 8f82f70
%if %{with linuxha}
5facebe
%files -n ldirectord
b73718d
%defattr(-,root,root)
5facebe
%{_sbindir}/ldirectord
b73718d
%doc ldirectord/ldirectord.cf COPYING
b73718d
%{_mandir}/man8/ldirectord.8*
5facebe
%config(noreplace) %{_sysconfdir}/logrotate.d/ldirectord
b73718d
%dir %{_sysconfdir}/ha.d
b73718d
%dir %{_sysconfdir}/ha.d/resource.d
5facebe
%{_sysconfdir}/ha.d/resource.d/ldirectord
3ec8f6b
%if %{defined _unitdir}
3ec8f6b
%{_unitdir}/ldirectord.service
3ec8f6b
%exclude %{_sysconfdir}/init.d/ldirectord
3ec8f6b
%else
b73718d
%{_sysconfdir}/init.d/ldirectord
3ec8f6b
%endif
b73718d
%if 0%{?suse_version}
b73718d
/sbin/rcldirectord
b73718d
%endif
b73718d
%if 0%{?fedora}
9f513d3
%{_usr}/lib/ocf/resource.d/heartbeat/ldirectord
b50a94c
%endif
b73718d
%endif
5facebe
bd974cd
%changelog
d6c8b9b
* Fri Dec  9 2016 Oyvind Albrigtsen <oalbrigt@redhat.com> - 3.9.7-5
d6c8b9b
- Add netstat dependency
d6c8b9b
fdc19e4
* Tue Feb  9 2016 Oyvind Albrigtsen <oalbrigt@redhat.com> - 3.9.7-4
3ec8f6b
- Rebase to resource-agents 3.9.7 upstream release.
3ec8f6b
2481a11
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.9.6-2.2
2481a11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
2481a11
21369e6
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.9.6-2.1
21369e6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
21369e6
David Vossel 6a1769e
* Mon Apr 20 2015 David Vossel <dvossel@redhat.com> - 3.9.6-2
David Vossel 6a1769e
- Rebase to latest upstream code in order to pull in rabbitmq-cluster agent
David Vossel 6a1769e
David Vossel ec5fdeb
* Fri Feb 13 2015 David Vossel <dvossel@redhat.com> - 3.9.6-1
David Vossel ec5fdeb
- Rebase to resource-agents 3.9.6 upstream release.
David Vossel ec5fdeb
b205f7a
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.9.5-12.2
b205f7a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
b205f7a
4faf607
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.9.5-12.1
4faf607
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
4faf607
David Vossel 2372027
* Wed Apr 30 2014 David Vossel <dvossel@redhat.com> - 3.9.5-12
David Vossel 2372027
- Sync with latest upstream.
David Vossel 2372027
David Vossel 57aff16
* Thu Jan 2 2014 David Vossel <dvossel@redhat.com> - 3.9.5-11
David Vossel 57aff16
- Sync with latest upstream.
David Vossel 57aff16
David Vossel 8a4aae5
* Wed Oct 20 2013 David Vossel <dvossel@redhat.com> - 3.9.5-10
David Vossel 8a4aae5
- Fix build system for rawhide.
David Vossel 8a4aae5
David Vossel b2e101d
* Wed Oct 16 2013 David Vossel <dvossel@redhat.com> - 3.9.5-9
David Vossel b2e101d
- Remove rgmanager agents from build. 
David Vossel b2e101d
3dd7ccc
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.9.5-8
3dd7ccc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
3dd7ccc
ad3cefd
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 3.9.5-7
ad3cefd
- Perl 5.18 rebuild
ad3cefd
David Vossel 8b70287
* Tue Jun 18 2013 David Vossel <dvossel@redhat.com> - 3.9.5-6
David Vossel 8b70287
- Restores rsctmp directory to upstream default.
David Vossel 8b70287
David Vossel ce546be
* Tue Jun 18 2013 David Vossel <dvossel@redhat.com> - 3.9.5-5
David Vossel ce546be
- Merges redhat provider into heartbeat provider. Remove
David Vossel ce546be
  rgmanager's redhat provider.
David Vossel ce546be
David Vossel ce546be
  Resolves: rhbz#917681
David Vossel ce546be
  Resolves: rhbz#928890
David Vossel ce546be
  Resolves: rhbz#952716
David Vossel ce546be
  Resolves: rhbz#960555
David Vossel ce546be
David Vossel 9114766
* Tue Mar 12 2013 David Vossel <dvossel@redhat.com> - 3.9.5-3
David Vossel 9114766
- Fixes build system error with conditional logic involving
David Vossel 9114766
  IPv6addr and updates spec file to build against rhel 7 as
David Vossel 9114766
  well as fedora 19.
David Vossel 9114766
David Vossel 8021fba
* Mon Mar 11 2013 David Vossel <dvossel@redhat.com> - 3.9.5-2
David Vossel 8021fba
- Resolves rhbz#915050
David Vossel 8f82f70
David Vossel 8f82f70
* Mon Mar 11 2013 David Vossel <dvossel@redhat.com> - 3.9.5-1
David Vossel 8f82f70
- New upstream release.
David Vossel 8f82f70
David Vossel 8f82f70
* Fri Jan 25 2013 Kevin Fenzi <kevin@scrye.com> - 3.9.2-5
d7c2bc2
- Fix cifs mount requires
d7c2bc2
921ac73
* Mon Nov 12 2012 Chris Feist <cfeist@redhat.com> - 3.9.2-4
921ac73
- Removed version number after dist
921ac73
e85d211
* Mon Oct 29 2012 Chris Feist <cfeist@redhat.com> - 3.9.2-3.8
8e47b30
- Remove cluster-glue-libs-devel
e85d211
- Disable IPv6addr & sfex to fix deps on libplumgpl & libplum (due to
e85d211
  disappearance of cluster-glue in F18)
5118985
18ad73d
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.9.2-3.5
18ad73d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
18ad73d
e082994
* Thu Jul 05 2012 Chris Feist <cfeist@redhat.com> - 3.9.2-3.4
e082994
- Fix location of lvm (change from /sbin to /usr/sbin)
e082994
5054953
* Tue Apr 04 2012 Jon Ciesla <limburgher@gmail.com> - 3.9.2-3.3
5054953
- Rebuilt to fix rawhide dependency issues (caused by move of fsck from
5054953
  /sbin to /usr/sbin).
5054953
f82b97d
* Fri Mar 30 2012 Jon Ciesla <limburgher@gmail.com> - 3.9.2-3.1
f82b97d
- libnet rebuild.
f82b97d
b6b5b5f
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.9.2-2.1
b6b5b5f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
b6b5b5f
96e58bc
* Fri Jul  8 2011 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.9.2-2
96e58bc
- add post call to resource-agents to integrate with cluster 3.1.4
96e58bc
1a4e91c
* Thu Jun 30 2011 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.9.2-1
1a4e91c
- new upstream release
1a4e91c
- fix 2 regressions from 3.9.1
1a4e91c
b73718d
* Mon Jun 20 2011 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.9.1-1
b73718d
- new upstream release
b73718d
- import spec file from upstream
b73718d
f70cb59
* Tue Mar  1 2011 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.1.1-1
f70cb59
- new upstream release 3.1.1 and 1.0.4
f70cb59
9edcf62
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.0-2
9edcf62
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
9edcf62
a6d684c
* Thu Dec  2 2010 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.1.0-1
a6d684c
- new upstream release
a6d684c
- spec file update:
a6d684c
  Update upstream URL
a6d684c
  Update source URL
a6d684c
  use standard configure macro
a6d684c
  use standard make invokation
a6d684c
f5796f2
* Thu Oct  7 2010 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.17-1
f5796f2
- new upstream release
f5796f2
  Resolves: rhbz#632595, rhbz#633856, rhbz#632385, rhbz#628013
f5796f2
  Resolves: rhbz#621313, rhbz#595383, rhbz#580492, rhbz#605733
f5796f2
  Resolves: rhbz#636243, rhbz#591003, rhbz#637913, rhbz#634718
f5796f2
  Resolves: rhbz#617247, rhbz#617247, rhbz#617234, rhbz#631943
f5796f2
  Resolves: rhbz#639018
f5796f2
f5796f2
* Thu Oct  7 2010 Andrew Beekhof <andrew@beekhof.net> - 3.0.16-2
09501d1
- new upstream release of the Pacemaker agents: 71b1377f907c
09501d1
057f7d9
* Thu Sep  2 2010 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.16-1
057f7d9
- new upstream release
057f7d9
  Resolves: rhbz#619096, rhbz#614046, rhbz#620679, rhbz#619680
057f7d9
  Resolves: rhbz#621562, rhbz#621694, rhbz#608887, rhbz#622844
057f7d9
  Resolves: rhbz#623810, rhbz#617306, rhbz#623816, rhbz#624691
057f7d9
  Resolves: rhbz#622576
057f7d9
09a41c3
* Thu Jul 29 2010 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.14-1
09a41c3
- new upstream release
09a41c3
  Resolves: rhbz#553383, rhbz#557563, rhbz#578625, rhbz#591003
09a41c3
  Resolves: rhbz#593721, rhbz#593726, rhbz#595455, rhbz#595547
09a41c3
  Resolves: rhbz#596918, rhbz#601315, rhbz#604298, rhbz#606368
09a41c3
  Resolves: rhbz#606470, rhbz#606480, rhbz#606754, rhbz#606989
09a41c3
  Resolves: rhbz#607321, rhbz#608154, rhbz#608887, rhbz#609181
09a41c3
  Resolves: rhbz#609866, rhbz#609978, rhbz#612097, rhbz#612110
09a41c3
  Resolves: rhbz#612165, rhbz#612941, rhbz#614127, rhbz#614356
09a41c3
  Resolves: rhbz#614421, rhbz#614457, rhbz#614961, rhbz#615202
09a41c3
  Resolves: rhbz#615203, rhbz#615255, rhbz#617163, rhbz#617566
09a41c3
  Resolves: rhbz#618534, rhbz#618703, rhbz#618806, rhbz#618814
09a41c3
9b8d500
* Mon Jun  7 2010 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.13-1
9b8d500
- new upstream release
9b8d500
  Resolves: rhbz#592103, rhbz#593108, rhbz#578617, rhbz#594626
9b8d500
  Resolves: rhbz#594511, rhbz#596046, rhbz#594111, rhbz#597002
9b8d500
  Resolves: rhbz#599643
9b8d500
b50a94c
* Tue May 18 2010 Andrew Beekhof <andrew@beekhof.net> - 3.0.12-2
b50a94c
- libnet is not available on RHEL
b50a94c
- Do not package ldirectord on RHEL
b50a94c
  Resolves: rhbz#577264
b50a94c
6fdba4d
* Mon May 10 2010 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.12-1
6fdba4d
- new upstream release
6fdba4d
  Resolves: rhbz#585217, rhbz#586100, rhbz#581533, rhbz#582753
6fdba4d
  Resolves: rhbz#582754, rhbz#585083, rhbz#587079, rhbz#588890
6fdba4d
  Resolves: rhbz#588925, rhbz#583789, rhbz#589131, rhbz#588010
6fdba4d
  Resolves: rhbz#576871, rhbz#576871, rhbz#590000, rhbz#589823
6fdba4d
6fdba4d
* Mon May 10 2010 Andrew Beekhof <andrew@beekhof.net> - 3.0.12-1
5978649
- New pacemaker agents upstream release: a7c0f35916bf
5978649
  + High: pgsql: properly implement pghost parameter
5978649
  + High: RA: mysql: fix syntax error
5978649
  + High: SAPInstance RA: do not rely on op target rc when monitoring clones (lf#2371)
5978649
  + High: set the HA_RSCTMP directory to /var/run/resource-agents (lf#2378)
5978649
  + Medium: IPaddr/IPaddr2: add a description of the assumption in meta-data
5978649
  + Medium: IPaddr: return the correct code if interface delete failed
5978649
  + Medium: nfsserver: rpc.statd as the notify cmd does not work with -v (thanks to Carl Lewis)
5978649
  + Medium: oracle: reduce output from sqlplus to the last line for queries (bnc#567815)
5978649
  + Medium: pgsql: implement "config" parameter
5978649
  + Medium: RA: iSCSITarget: follow changed IET access policy
5978649
cfff991
* Wed Apr 21 2010 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.11-1
cfff991
- new upstream release
cfff991
  Resolves: rhbz#583945, rhbz#581047, rhbz#576330, rhbz#583017
cfff991
  Resolves: rhbz#583019, rhbz#583948, rhbz#584003, rhbz#582017
cfff991
  Resolves: rhbz#555901, rhbz#582754, rhbz#582573, rhbz#581533
cfff991
- Switch to file based Requires.
cfff991
  Also address several other problems related to missing runtime
cfff991
  components in different agents.
cfff991
  With the current Requires: set, we guarantee all basic functionalities
cfff991
  out of the box for lvm/fs/clusterfs/netfs/networking.
cfff991
  Resolves: rhbz#570008
cfff991
2d8e1d4
* Sat Apr 17 2010 Andrew Beekhof <andrew@beekhof.net> - 3.0.10-2
2d8e1d4
- New pacemaker agents upstream release
2d8e1d4
  + High: RA: vmware: fix set_environment() invocation (LF 2342)
2d8e1d4
  + High: RA: vmware: update to version 0.2
2d8e1d4
  + Medium: Filesystem: prefer /proc/mounts to /etc/mtab for non-bind mounts (lf#2388)
2d8e1d4
  + Medium: IPaddr2: don't bring the interface down on stop (thanks to Lars Ellenberg)
2d8e1d4
  + Medium: IPsrcaddr: modify the interface route (lf#2367)
2d8e1d4
  + Medium: ldirectord: Allow multiple email addresses (LF 2168)
2d8e1d4
  + Medium: ldirectord: fix setting defaults for configfile and ldirectord (lf#2328)
2d8e1d4
  + Medium: meta-data: improve timeouts in most resource agents
2d8e1d4
  + Medium: nfsserver: use default values (lf#2321)
2d8e1d4
  + Medium: ocf-shellfuncs: don't log but print to stderr if connected to a terminal
2d8e1d4
  + Medium: ocf-shellfuncs: don't output to stderr if using syslog
2d8e1d4
  + Medium: oracle/oralsnr: improve exit codes if the environment isn't valid
2d8e1d4
  + Medium: RA: iSCSILogicalUnit: fix monitor for STGT
2d8e1d4
  + Medium: RA: make sure that OCF_RESKEY_CRM_meta_interval is always defined (LF 2284)
2d8e1d4
  + Medium: RA: ManageRAID: require bash
2d8e1d4
  + Medium: RA: ManageRAID: require bash
2d8e1d4
  + Medium: RA: VirtualDomain: bail out early if config file can't be read during probe (Novell 593988)
2d8e1d4
  + Medium: RA: VirtualDomain: fix incorrect use of __OCF_ACTION
2d8e1d4
  + Medium: RA: VirtualDomain: improve error messages
2d8e1d4
  + Medium: RA: VirtualDomain: spin on define until we definitely have a domain name
2d8e1d4
  + Medium: Route: add route table parameter (lf#2335)
2d8e1d4
  + Medium: sfex: don't use pid file (lf#2363,bnc#585416)
2d8e1d4
  + Medium: sfex: exit with success on stop if sfex has never been started (bnc#585416)
2d8e1d4
4c37a8a
* Fri Apr  9 2010 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.10-1
4c37a8a
- New rgmanager resource agents upstream release
4c37a8a
  Resolves: rhbz#519491, rhbz#570525, rhbz#571806, rhbz#574027
4c37a8a
  Resolves: rhbz#574215, rhbz#574886, rhbz#576322, rhbz#576335
4c37a8a
  Resolves: rhbz#575103, rhbz#577856, rhbz#577874, rhbz#578249
4c37a8a
  Resolves: rhbz#578625, rhbz#578626, rhbz#578628, rhbz#578626
4c37a8a
  Resolves: rhbz#579621, rhbz#579623, rhbz#579625, rhbz#579626
4c37a8a
  Resolves: rhbz#579059
4c37a8a
9e4d306
* Wed Mar 24 2010 Andrew Beekhof <andrew@beekhof.net> - 3.0.9-2
9e4d306
- Resolves: rhbz#572993 - Patched build process to correctly generate ldirectord man page
9e4d306
- Resolves: rhbz#574732 - Add libnet-devel as a dependancy to ensure IPaddrv6 is built
9e4d306
5310bd5
* Mon Mar  1 2010 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.9-1
5310bd5
- New rgmanager resource agents upstream release
5310bd5
  Resolves: rhbz#455300, rhbz#568446, rhbz#561862, rhbz#536902
5310bd5
  Resolves: rhbz#512171, rhbz#519491
5310bd5
20a62bb
* Mon Feb 22 2010 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.8-1
20a62bb
- New rgmanager resource agents upstream release
20a62bb
  Resolves: rhbz#548133, rhbz#565907, rhbz#545602, rhbz#555901
20a62bb
  Resolves: rhbz#564471, rhbz#515717, rhbz#557128, rhbz#536157
20a62bb
  Resolves: rhbz#455300, rhbz#561416, rhbz#562237, rhbz#537201
20a62bb
  Resolves: rhbz#536962, rhbz#553383, rhbz#556961, rhbz#555363
20a62bb
  Resolves: rhbz#557128, rhbz#455300, rhbz#557167, rhbz#459630
20a62bb
  Resolves: rhbz#532808, rhbz#556603, rhbz#554968, rhbz#555047
20a62bb
  Resolves: rhbz#554968, rhbz#555047
20a62bb
- spec file update:
20a62bb
  * update spec file copyright date
20a62bb
  * use bz2 tarball
20a62bb
f476a0e
* Fri Jan 15 2010 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.7-2
f476a0e
- Add python as BuildRequires
f476a0e
39ad74e
* Mon Jan 11 2010 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.7-1
39ad74e
- New rgmanager resource agents upstream release
39ad74e
  Resolves: rhbz#526286, rhbz#533461
39ad74e
1880889
* Mon Jan 11 2010 Andrew Beekhof <andrew@beekhof.net> - 3.0.6-2
1880889
- Update Pacameker agents to upstream version: c76b4a6eb576
1880889
  + High: RA: VirtualDomain: fix forceful stop (LF 2283)
1880889
  + High: apache: monitor operation of depth 10 for web applications (LF 2234)
1880889
  + Medium: IPaddr2: CLUSTERIP/iptables rule not always inserted on failed monitor (LF 2281)
1880889
  + Medium: RA: Route: improve validate (LF 2232)
1880889
  + Medium: mark obsolete RAs as deprecated (LF 2244)
1880889
  + Medium: mysql: escalate stop to KILL if regular shutdown doesn't work
1880889
5662127
* Mon Dec 7 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.6-1
5662127
- New rgmanager resource agents upstream release
5662127
- spec file update:
5662127
  * use global instead of define
5662127
  * use new Source0 url
5662127
  * use %name macro more aggressively
5662127
7b81861
* Mon Dec 7 2009 Andrew Beekhof <andrew@beekhof.net> - 3.0.5-2
7b81861
- Update Pacameker agents to upstream version: bc00c0b065d9
7b81861
  + High: RA: introduce OCF_FUNCTIONS_DIR, allow it to be overridden (LF2239)
7b81861
  + High: doc: add man pages for all RAs (LF2237)
7b81861
  + High: syslog-ng: new RA
7b81861
  + High: vmware: make meta-data work and several cleanups (LF 2212)
7b81861
  + Medium: .ocf-shellfuncs: add ocf_is_probe function
7b81861
  + Medium: Dev: make RAs executable (LF2239)
7b81861
  + Medium: IPv6addr: ifdef out the ip offset hack for libnet v1.1.4 (LF 2034)
7b81861
  + Medium: add mercurial repository version information to .ocf-shellfuncs
7b81861
  + Medium: build: add perl-MailTools runtime dependency to ldirectord package (LF 1469)
7b81861
  + Medium: iSCSITarget, iSCSILogicalUnit: support LIO
7b81861
  + Medium: nfsserver: use check_binary properly in validate (LF 2211)
7b81861
  + Medium: nfsserver: validate should not check if nfs_shared_infodir exists (thanks to eelco@procolix.com) (LF 2219)
7b81861
  + Medium: oracle/oralsnr: export variables properly
7b81861
  + Medium: pgsql: remove the previous backup_label if it exists
7b81861
  + Medium: postfix: fix double stop (thanks to Dinh N. Quoc)
7b81861
  + RA: LVM: Make monitor operation quiet in logs (bnc#546353)
7b81861
  + RA: Xen: Remove instance_attribute "allow_migrate" (bnc#539968)
7b81861
  + ldirectord: OCF agent: overhaul
7b81861
43f6088
* Fri Nov 20 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.5-1
43f6088
- New rgmanager resource agents upstream release
43f6088
- Allow pacemaker to use rgmanager resource agents
43f6088
815019e
* Wed Oct 28 2009 Andrew Beekhof <andrew@beekhof.net> - 3.0.4-2
815019e
- Update Pacameker agents to upstream version: e2338892f59f
815019e
  + High: send_arp - turn on unsolicited mode for compatibilty with the libnet version's exit codes
815019e
  + High: Trap sigterm for compatibility with the libnet version of send_arp
815019e
  + Medium: Bug - lf#2147: IPaddr2: behave if the interface is down
815019e
  + Medium: IPv6addr: recognize network masks properly
815019e
  + Medium: RA: VirtualDomain: avoid needlessly invoking "virsh define"
815019e
4099e3f
* Wed Oct 21 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.4-1
4099e3f
- New rgmanager resource agents upstream release
4099e3f
51f002d
* Mon Oct 12 2009 Andrew Beekhof <andrew@beekhof.net> - 3.0.3-3
51f002d
- Update Pacameker agents to upstream version: 099c0e5d80db
51f002d
  + Add the ha_parameter function back into .ocf-shellfuncs.
51f002d
  + Bug bnc#534803 - Provide a default for MAILCMD
51f002d
  + Fix use of undefined macro @HA_NOARCHDATAHBDIR@
51f002d
  + High (LF 2138): IPsrcaddr: replace 0/0 with proper ip prefix (thanks to Michael Ricordeau and Michael Schwartzkopff)
51f002d
  + Import shellfuncs from heartbeat as badly written RAs use it
51f002d
  + Medium (LF 2173): nfsserver: exit properly in nfsserver_validate
51f002d
  + Medium: RA: Filesystem: implement monitor operation
51f002d
  + Medium: RA: VirtualDomain: loop on status if libvirtd is unreachable
51f002d
  + Medium: RA: VirtualDomain: loop on status if libvirtd is unreachable (addendum)
51f002d
  + Medium: RA: iSCSILogicalUnit: use a 16-byte default SCSI ID
51f002d
  + Medium: RA: iSCSITarget: be more persistent deleting targets on stop
51f002d
  + Medium: RA: portblock: add per-IP filtering capability
51f002d
  + Medium: mysql-proxy: log_level and keepalive parameters
51f002d
  + Medium: oracle: drop spurious output from sqlplus
51f002d
  + RA: Filesystem: allow configuring smbfs mounts as clones
51f002d
15e4673
* Wed Sep 23 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.3-1
15e4673
- New rgmanager resource agents upstream release
15e4673
e89d49e
* Thu Aug 20 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.1-1
e89d49e
- New rgmanager resource agents upstream release
e89d49e
5facebe
* Tue Aug 18 2009 Andrew Beekhof <andrew@beekhof.net> - 3.0.0-16
5facebe
- Create an ldirectord package
5facebe
- Update Pacameker agents to upstream version: 2198dc90bec4
5facebe
  + Build: Import ldirectord.
5facebe
  + Ensure HA_VARRUNDIR has a value to substitute
5facebe
  + High: Add findif tool (mandatory for IPaddr/IPaddr2)
5facebe
  + High: IPv6addr: new nic and cidr_netmask parameters
5facebe
  + High: postfix: new resource agent
5facebe
  + Include license information
5facebe
  + Low (LF 2159): Squid: make the regexp match more precisely output of netstat
5facebe
  + Low: configure: Fix package name.
5facebe
  + Low: ldirectord: add dependency on $remote_fs.
5facebe
  + Low: ldirectord: add mandatory required header to init script.
5facebe
  + Medium (LF 2165): IPaddr2: remove all colons from the mac address before passing it to send_arp
5facebe
  + Medium: VirtualDomain: destroy domain shortly before timeout expiry
5facebe
  + Medium: shellfuncs: Make the mktemp wrappers work.
5facebe
  + Remove references to Echo function
5facebe
  + Remove references to heartbeat shellfuncs.
5facebe
  + Remove useless path lookups
5facebe
  + findif: actually include the right header. Simplify configure.
5facebe
  + ldirectord: Remove superfluous configure artifact.
5facebe
  + ocf-tester: Fix package reference and path to DTD.
5facebe
bd554ab
* Tue Aug 11 2009 Ville Skyttä <ville.skytta@iki.fi> - 3.0.0-15
bd554ab
- Use bzipped upstream hg tarball.
bd554ab
dedd4aa
* Wed Jul 29 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.0-14
dedd4aa
- Merge Pacemaker cluster resource agents:
dedd4aa
  * Add Source1.
dedd4aa
  * Drop noarch. We have real binaries now.
dedd4aa
  * Update BuildRequires.
dedd4aa
  * Update all relevant prep/build/install/files/description sections.
dedd4aa
874d942
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.0-13
874d942
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
874d942
d5afd52
* Wed Jul  8 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.0-12
dedd4aa
- spec file updates:
d5afd52
  * Update copyright header
d5afd52
  * final release.. undefine alphatag
d5afd52
9edb429
* Thu Jul  2 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.0-11.rc4
9edb429
- New upstream release.
9edb429
cbea272
* Sat Jun 20 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.0-10.rc3
cbea272
- New upstream release.
cbea272
70abb4c
* Wed Jun 10 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.0-9.rc2
70abb4c
- New upstream release + git94df30ca63e49afb1e8aeede65df8a3e5bcd0970
70abb4c
8da1d6b
* Tue Mar 24 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.0-8.rc1
8da1d6b
- New upstream release.
8da1d6b
- Update BuildRoot usage to preferred versions/names
8da1d6b
8eed883
* Mon Mar  9 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.0-7.beta1
8eed883
- New upstream release.
8eed883
dd09b6c
* Fri Mar  6 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.0-6.alpha7
dd09b6c
- New upstream release.
dd09b6c
904a40a
* Tue Mar  3 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.0-5.alpha6
904a40a
- New upstream release.
904a40a
6eef531
* Tue Feb 24 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.0-4.alpha5
6eef531
- Drop Conflicts with rgmanager.
6eef531
bd974cd
* Mon Feb 23 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.0-3.alpha5
bd974cd
- New upstream release.
bd974cd
bd974cd
* Thu Feb 19 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.0-2.alpha4
bd974cd
- Add comments on how to build this package.
bd974cd
bd974cd
* Thu Feb  5 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.0-1.alpha4
bd974cd
- New upstream release.
bd974cd
- Fix datadir/cluster directory ownership.
bd974cd
bd974cd
* Tue Jan 27 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.0-1.alpha3
bd974cd
  - Initial packaging