[fence-agents/f20] New upstream release
Marek GrĂ¡c
marx at fedoraproject.org
Tue Jul 1 12:49:46 UTC 2014
commit 4a7525dc6daf4c1aa8335d4aa29981c4ab6a73fa
Author: Marek 'marx' Grac <mgrac at redhat.com>
Date: Tue Jul 1 14:49:34 2014 +0200
New upstream release
.gitignore | 1 +
fence-agents.spec | 30 ++++++++---
scsi_check.patch | 151 +++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 2 +-
4 files changed, 175 insertions(+), 9 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 21560fb..f632443 100644
--- a/.gitignore
+++ b/.gitignore
@@ -24,3 +24,4 @@ fence-agents-3.0.14.tar.bz2
/fence-agents-4.0.7.tar.xz
/fence-agents-4.0.8.tar.xz
/fence-agents-4.0.9.tar.xz
+/fence-agents-4.0.10.tar.xz
diff --git a/fence-agents.spec b/fence-agents.spec
index 05fc510..227eee9 100644
--- a/fence-agents.spec
+++ b/fence-agents.spec
@@ -15,17 +15,19 @@
Name: fence-agents
Summary: Fence Agents for Red Hat Cluster
-Version: 4.0.9
+Version: 4.0.10
Release: 1%{?alphatag:.%{alphatag}}%{?dist}
License: GPLv2+ and LGPLv2+
Group: System Environment/Base
URL: http://sourceware.org/cluster/wiki/
Source0: https://fedorahosted.org/releases/f/e/fence-agents/%{name}-%{version}.tar.xz
+Patch0: scsi_check.patch
+
%if 0%{?fedora}
-%global supportedagents alom amt apc apc_snmp bladecenter brocade cisco_mds cisco_ucs drac5 eaton_snmp eps hpblade ibmblade ifmib ilo ilo_mp intelmodular ipdu ipmilan kdump ldom lpar netio ovh pve rhevm rsa rsb scsi vmware_soap wti
+%global supportedagents alom amt apc apc_snmp bladecenter brocade cisco_mds cisco_ucs docker drac5 eaton_snmp eps hpblade ibmblade ifmib ilo ilo_mp intelmodular ipdu ipmilan kdump ldom lpar netio ovh pve rhevm rsa rsb scsi vmware_soap wti
%global testagents virsh raritan
-%global allfenceagents fence-agents-alom fence-agents-amt fence-agents-apc fence-agents-apc-snmp fence-agents-bladecenter fence-agents-brocade fence-agents-cisco-mds fence-agents-cisco-ucs fence-agents-drac5 fence-agents-eaton-snmp fence-agents-eps fence-agents-hpblade fence-agents-ibmblade fence-agents-ifmib fence-agents-ilo2 fence-agents-ilo-mp fence-agents-intelmodular fence-agents-ipdu fence-agents-ipmilan fence-agents-kdump fence-agents-ldom fence-agents-lpar fence-agents-netio fence-agents-ovh fence-agents-rhevm fence-agents-rsa fence-agents-rsb fence-agents-scsi fence-agents-vmware-soap fence-agents-wti
+%global allfenceagents fence-agents-alom fence-agents-amt fence-agents-apc fence-agents-apc-snmp fence-agents-bladecenter fence-agents-brocade fence-agents-cisco-mds fence-agents-cisco-ucs fence-agents-docker fence-agents-drac5 fence-agents-eaton-snmp fence-agents-eps fence-agents-hpblade fence-agents-ibmblade fence-agents-ifmib fence-agents-ilo2 fence-agents-ilo-mp fence-agents-intelmodular fence-agents-ipdu fence-agents-ipmilan fence-agents-kdump fence-agents-ldom fence-agents-lpar fence-agents-netio fence-agents-ovh fence-agents-rhevm fence-agents-rsa fence-agents-rsb fence-agents-scsi fence-agents-vmware-soap fence-agents-wti
%endif
## Setup/build bits
@@ -33,16 +35,14 @@ Source0: https://fedorahosted.org/releases/f/e/fence-agents/%{name}-%{version}.t
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
# Build dependencies
-BuildRequires: perl
BuildRequires: glibc-devel
BuildRequires: gnutls-utils
BuildRequires: libxslt
BuildRequires: python pexpect python-pycurl python-suds
-BuildRequires: perl(Net::Telnet) net-snmp-utils
-BuildRequires: perl(Pod::MinimumVersion)
%prep
%setup -q -n %{name}-%{version}
+%patch0 -p1
%build
%{configure} --with-agents='%{supportedagents} %{testagents}'
@@ -209,6 +209,20 @@ The fence-agents-cisco-ucs package contains a fence agent for Cisco UCS series d
%{_sbindir}/fence_cisco_ucs
%{_mandir}/man8/fence_cisco_ucs.8*
+%package docker
+License: GPLv2+ and LGPLv2+
+Group: System Environment/Base
+Summary: Fence agent for Docker
+Requires: pycurl
+Requires: fence-agents-common = %{version}-%{release}
+Obsoletes: fence-agents
+%description docker
+The fence-agents-docker package contains a fence agent for Docker images that are accessed over HTTP.
+%files docker
+%defattr(-,root,root,-)
+%{_sbindir}/fence_docker
+%{_mandir}/man8/fence_docker.8*
+
%package drac5
License: GPLv2+ and LGPLv2+
Group: System Environment/Base
@@ -542,14 +556,14 @@ The fence-agents-sanbox2 package contains a fence agent for QLogic SANBox2 switc
License: GPLv2+ and LGPLv2+
Group: System Environment/Base
Summary: Fence agent for SCSI persisent reservations
-Requires: perl sg3_utils
+Requires: sg3_utils
Obsoletes: fence-agents
%description scsi
The fence-agents-scsi package contains fence agent for SCSI persisent reservations
%files scsi
%defattr(-,root,root,-)
%{_sbindir}/fence_scsi
-%{_datadir}/cluster/fence_scsi_check.pl
+%{_datadir}/cluster/fence_scsi_check
%{_mandir}/man8/fence_scsi.8*
%package virsh
diff --git a/scsi_check.patch b/scsi_check.patch
new file mode 100644
index 0000000..ab03ecf
--- /dev/null
+++ b/scsi_check.patch
@@ -0,0 +1,151 @@
+diff -urN fence-agents-4.0.10/fence/agents/scsi/Makefile.am fence-agents-4.0.10.new/fence/agents/scsi/Makefile.am
+--- fence-agents-4.0.10/fence/agents/scsi/Makefile.am 2014-07-01 12:53:45.000000000 +0200
++++ fence-agents-4.0.10.new/fence/agents/scsi/Makefile.am 2014-07-01 14:35:25.000000000 +0200
+@@ -4,16 +4,20 @@
+
+ SRC = $(TARGET).py
+
+-EXTRA_DIST = $(SRC)
++EXTRA_DIST = $(SRC) \
++ fence_scsi_check
+
+-sbin_SCRIPTS = $(TARGET) fence_scsi_check
++scsidatadir = $(CLUSTERDATA)
++scsidata_SCRIPTS = fence_scsi_check
++
++sbin_SCRIPTS = $(TARGET)
+
+ man_MANS = $(TARGET).8
+
+ FENCE_TEST_ARGS = -k 1
+
+ fence_scsi_check: $(TARGET)
+- cp -s $^ $@
++ cp $^ $@
+
+ include $(top_srcdir)/make/fencebuild.mk
+ include $(top_srcdir)/make/fenceman.mk
+diff -urN fence-agents-4.0.10/fence/agents/scsi/Makefile.in fence-agents-4.0.10.new/fence/agents/scsi/Makefile.in
+--- fence-agents-4.0.10/fence/agents/scsi/Makefile.in 2014-07-01 13:29:55.000000000 +0200
++++ fence-agents-4.0.10.new/fence/agents/scsi/Makefile.in 2014-07-01 14:35:36.000000000 +0200
+@@ -121,8 +121,9 @@
+ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
+ $(am__cd) "$$dir" && rm -f $$files; }; \
+ }
+-am__installdirs = "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(man8dir)"
+-SCRIPTS = $(sbin_SCRIPTS)
++am__installdirs = "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(scsidatadir)" \
++ "$(DESTDIR)$(man8dir)"
++SCRIPTS = $(sbin_SCRIPTS) $(scsidata_SCRIPTS)
+ AM_V_P = $(am__v_P_ at AM_V@)
+ am__v_P_ = $(am__v_P_ at AM_DEFAULT_V@)
+ am__v_P_0 = false
+@@ -284,8 +285,12 @@
+ MAINTAINERCLEANFILES = Makefile.in
+ TARGET = fence_scsi
+ SRC = $(TARGET).py
+-EXTRA_DIST = $(SRC)
+-sbin_SCRIPTS = $(TARGET) fence_scsi_check
++EXTRA_DIST = $(SRC) \
++ fence_scsi_check
++
++scsidatadir = $(CLUSTERDATA)
++scsidata_SCRIPTS = fence_scsi_check
++sbin_SCRIPTS = $(TARGET)
+ man_MANS = $(TARGET).8
+ FENCE_TEST_ARGS = -k 1
+ TEMPFILE := $(shell mktemp)
+@@ -359,6 +364,41 @@
+ files=`for p in $$list; do echo "$$p"; done | \
+ sed -e 's,.*/,,;$(transform)'`; \
+ dir='$(DESTDIR)$(sbindir)'; $(am__uninstall_files_from_dir)
++install-scsidataSCRIPTS: $(scsidata_SCRIPTS)
++ @$(NORMAL_INSTALL)
++ @list='$(scsidata_SCRIPTS)'; test -n "$(scsidatadir)" || list=; \
++ if test -n "$$list"; then \
++ echo " $(MKDIR_P) '$(DESTDIR)$(scsidatadir)'"; \
++ $(MKDIR_P) "$(DESTDIR)$(scsidatadir)" || exit 1; \
++ fi; \
++ for p in $$list; do \
++ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
++ if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
++ done | \
++ sed -e 'p;s,.*/,,;n' \
++ -e 'h;s|.*|.|' \
++ -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
++ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
++ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
++ if ($$2 == $$4) { files[d] = files[d] " " $$1; \
++ if (++n[d] == $(am__install_max)) { \
++ print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
++ else { print "f", d "/" $$4, $$1 } } \
++ END { for (d in files) print "f", d, files[d] }' | \
++ while read type dir files; do \
++ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
++ test -z "$$files" || { \
++ echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(scsidatadir)$$dir'"; \
++ $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(scsidatadir)$$dir" || exit $$?; \
++ } \
++ ; done
++
++uninstall-scsidataSCRIPTS:
++ @$(NORMAL_UNINSTALL)
++ @list='$(scsidata_SCRIPTS)'; test -n "$(scsidatadir)" || exit 0; \
++ files=`for p in $$list; do echo "$$p"; done | \
++ sed -e 's,.*/,,;$(transform)'`; \
++ dir='$(DESTDIR)$(scsidatadir)'; $(am__uninstall_files_from_dir)
+
+ mostlyclean-libtool:
+ -rm -f *.lo
+@@ -449,7 +489,7 @@
+ check: check-am
+ all-am: Makefile $(SCRIPTS) $(MANS)
+ installdirs:
+- for dir in "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(man8dir)"; do \
++ for dir in "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(scsidatadir)" "$(DESTDIR)$(man8dir)"; do \
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+ done
+ install: install-am
+@@ -503,7 +543,7 @@
+
+ info-am:
+
+-install-data-am: install-man
++install-data-am: install-man install-scsidataSCRIPTS
+
+ install-dvi: install-dvi-am
+
+@@ -547,7 +587,8 @@
+
+ ps-am:
+
+-uninstall-am: uninstall-man uninstall-sbinSCRIPTS
++uninstall-am: uninstall-man uninstall-sbinSCRIPTS \
++ uninstall-scsidataSCRIPTS
+
+ uninstall-man: uninstall-man8
+
+@@ -560,16 +601,16 @@
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-man8 install-pdf install-pdf-am install-ps \
+- install-ps-am install-sbinSCRIPTS install-strip installcheck \
+- installcheck-am installdirs maintainer-clean \
+- maintainer-clean-generic mostlyclean mostlyclean-generic \
+- mostlyclean-libtool pdf pdf-am ps ps-am tags-am uninstall \
+- uninstall-am uninstall-man uninstall-man8 \
+- uninstall-sbinSCRIPTS
++ install-ps-am install-sbinSCRIPTS install-scsidataSCRIPTS \
++ install-strip installcheck installcheck-am installdirs \
++ maintainer-clean maintainer-clean-generic mostlyclean \
++ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
++ tags-am uninstall uninstall-am uninstall-man uninstall-man8 \
++ uninstall-sbinSCRIPTS uninstall-scsidataSCRIPTS
+
+
+ fence_scsi_check: $(TARGET)
+- cp -s $^ $@
++ cp $^ $@
+ $(TARGET): $(SRC)
+ bash $(top_srcdir)/scripts/fenceparse \
+ $(top_srcdir)/make/copyright.cf REDHAT_COPYRIGHT \
diff --git a/sources b/sources
index 698442e..2109457 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-3fe0b42e3d0dc691866940c695ccbf7d fence-agents-4.0.9.tar.xz
+3e7466a507f10cc5d2c3e49da84946f9 fence-agents-4.0.10.tar.xz
More information about the scm-commits
mailing list