package created using the webbuild interface [release 1.0.9-1mamba;Tue May 27 2014]

This commit is contained in:
Silvan Calarco 2024-01-05 23:09:24 +01:00
parent 4061942804
commit 02472b9fc7
4 changed files with 301 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# glue
Cluster Glue is a set of libraries, tools and utilities suitable for the Heartbeat/Pacemaker cluster stack. In essence, Glue is everything that is not the cluster messaging layer (Heartbeat), nor the cluster resource manager (Pacemaker), nor a Resource Agent.

11
glue-1.0.9-gcc-4.9.patch Normal file
View File

@ -0,0 +1,11 @@
--- Reusable-Cluster-Components-glue--glue-1.0.9/lib/clplumbing/md5.c 2014-05-27 22:03:37.204519175 +0200
+++ Reusable-Cluster-Components-glue--glue-1.0.9.orig/lib/clplumbing/md5.c 2014-05-27 22:04:36.908200750 +0200
@@ -166,7 +166,7 @@
byteSwap(ctx->buf, 16);
memcpy(digest, ctx->buf, 16);
- memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */
+ memset(ctx, 0, sizeof(*ctx)); /* In case it's sensitive */
}
/* The four core functions - F1 is optimized somewhat */

View File

@ -0,0 +1,13 @@
Index: Reusable-Cluster-Components-glue--glue-1.0.9/include/clplumbing/cl_uuid.h
===================================================================
--- Reusable-Cluster-Components-glue--glue-1.0.9.orig/include/clplumbing/cl_uuid.h
+++ Reusable-Cluster-Components-glue--glue-1.0.9/include/clplumbing/cl_uuid.h
@@ -16,7 +16,7 @@
#ifndef _CL_UUID_H_
#define _CL_UUID_H_
-#include <glib/gtypes.h>
+#include <glib.h>
typedef struct cl_uuid_s{
unsigned char uuid[16];

275
glue.spec Normal file
View File

@ -0,0 +1,275 @@
Name: glue
Version: 1.0.9
Release: 1mamba
Summary: A set of libraries, tools and utilities suitable for the Heartbeat/Pacemaker cluster stack
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://linux-ha.org/wiki/Cluster_Glue
Source: http://hg.linux-ha.org/glue/archive/glue-%{version}.tar.bz2
Patch0: glue-1.0.9-glib-2.32.patch
Patch1: glue-1.0.9-gcc-4.9.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libbzip2-devel
BuildRequires: libcares-devel
BuildRequires: libcurl-devel
BuildRequires: libgcrypt-devel
BuildRequires: libglib-devel
BuildRequires: libgpg-error-devel
BuildRequires: libgss-devel
BuildRequires: libidn-devel
BuildRequires: libltdl-devel
BuildRequires: liblzma-devel
BuildRequires: libnetsnmp-devel
BuildRequires: libopenldap-devel
BuildRequires: libopenssl-devel
BuildRequires: librtmp-devel
BuildRequires: libsasl-devel
BuildRequires: libssh2-devel
BuildRequires: libuuid-devel
BuildRequires: libxml2-devel
BuildRequires: libz-devel
BuildRequires: perl-devel
## AUTOBUILDREQ-END
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Cluster Glue is a set of libraries, tools and utilities suitable for the Heartbeat/Pacemaker cluster stack. In essence, Glue is everything that is not the cluster messaging layer (Heartbeat), nor the cluster resource manager (Pacemaker), nor a Resource Agent.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n lib%{name}
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q -n Reusable-Cluster-Components-%{name}--glue-%{version}
%patch0 -p1
%patch1 -p1
%build
./autogen.sh
%configure \
CFLAGS="-Wno-error=suggest-attribute=format -Wno-error=deprecated-declarations"
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_sysconfdir}/init.d/logd
%{_sbindir}/cibsecret
%{_sbindir}/ha_logger
%{_sbindir}/hb_report
%{_sbindir}/lrmadmin
%{_sbindir}/meatclient
%{_sbindir}/sbd
%{_sbindir}/stonith
%{_datadir}/cluster-glue/combine-logs.pl
%{_datadir}/cluster-glue/ha_cf_support.sh
%{_datadir}/cluster-glue/ha_log.sh
%{_datadir}/cluster-glue/lrmtest/LRMBasicSanityCheck
%{_datadir}/cluster-glue/lrmtest/README.regression
%{_datadir}/cluster-glue/lrmtest/defaults
%{_datadir}/cluster-glue/lrmtest/descriptions
%{_datadir}/cluster-glue/lrmtest/evaltest.sh
%{_datadir}/cluster-glue/lrmtest/language
%{_datadir}/cluster-glue/lrmtest/lrmadmin-interface
%{_datadir}/cluster-glue/lrmtest/lrmregtest
%{_datadir}/cluster-glue/lrmtest/lrmregtest-heartbeat
%{_datadir}/cluster-glue/lrmtest/lrmregtest-lsb
%{_datadir}/cluster-glue/lrmtest/regression.sh
%{_datadir}/cluster-glue/lrmtest/testcases/BSC
%{_datadir}/cluster-glue/lrmtest/testcases/basicset
%{_datadir}/cluster-glue/lrmtest/testcases/common.filter
%{_datadir}/cluster-glue/lrmtest/testcases/metadata
%{_datadir}/cluster-glue/lrmtest/testcases/metadata.exp
%{_datadir}/cluster-glue/lrmtest/testcases/ra-list.sh
%{_datadir}/cluster-glue/lrmtest/testcases/rscexec
%{_datadir}/cluster-glue/lrmtest/testcases/rscexec.exp
%{_datadir}/cluster-glue/lrmtest/testcases/rscmgmt
%{_datadir}/cluster-glue/lrmtest/testcases/rscmgmt.exp
%{_datadir}/cluster-glue/lrmtest/testcases/rscmgmt.log_filter
%{_datadir}/cluster-glue/lrmtest/testcases/stonith
%{_datadir}/cluster-glue/lrmtest/testcases/stonith.exp
%{_datadir}/cluster-glue/lrmtest/testcases/xmllint.sh
%{_datadir}/cluster-glue/openais_conf_support.sh
%{_datadir}/cluster-glue/utillib.sh
%{_mandir}/man1/ha_logger.1*
%{_mandir}/man8/ha_logd.8*
%{_mandir}/man8/hb_report.8*
%{_mandir}/man8/lrmadmin.8*
%{_mandir}/man8/meatclient.8*
%{_mandir}/man8/stonith.8*
%doc COPYING
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/liblrm.so.*
%{_libdir}/libpils.so.*
%{_libdir}/libplumb.so.*
%{_libdir}/libplumbgpl.so.*
%{_libdir}/libstonith.so.*
%dir %{_libdir}/heartbeat
%{_libdir}/heartbeat/base64_md5_test
%{_libdir}/heartbeat/ha_logd
%{_libdir}/heartbeat/ipctest
%{_libdir}/heartbeat/ipctransientclient
%{_libdir}/heartbeat/ipctransientserver
%{_libdir}/heartbeat/logtest
%{_libdir}/heartbeat/lrmd
%dir %{_libdir}/heartbeat/plugins
%{_libdir}/heartbeat/plugins/InterfaceMgr/generic.a
%{_libdir}/heartbeat/plugins/InterfaceMgr/generic.la
%{_libdir}/heartbeat/plugins/InterfaceMgr/generic.so
%{_libdir}/heartbeat/plugins/RAExec/heartbeat.a
%{_libdir}/heartbeat/plugins/RAExec/heartbeat.la
%{_libdir}/heartbeat/plugins/RAExec/heartbeat.so
%{_libdir}/heartbeat/plugins/RAExec/lsb.a
%{_libdir}/heartbeat/plugins/RAExec/lsb.la
%{_libdir}/heartbeat/plugins/RAExec/lsb.so
%{_libdir}/heartbeat/plugins/RAExec/ocf.a
%{_libdir}/heartbeat/plugins/RAExec/ocf.la
%{_libdir}/heartbeat/plugins/RAExec/ocf.so
%{_libdir}/heartbeat/plugins/test/test.a
%{_libdir}/heartbeat/plugins/test/test.la
%{_libdir}/heartbeat/plugins/test/test.so
%{_libdir}/heartbeat/transient-test.sh
%dir %{_libdir}/stonith
%dir %{_libdir}/stonith/plugins
%{_libdir}/stonith/plugins/external/drac5
%{_libdir}/stonith/plugins/external/dracmc-telnet
%{_libdir}/stonith/plugins/external/hetzner
%{_libdir}/stonith/plugins/external/hmchttp
%{_libdir}/stonith/plugins/external/ibmrsa
%{_libdir}/stonith/plugins/external/ibmrsa-telnet
%{_libdir}/stonith/plugins/external/ipmi
%{_libdir}/stonith/plugins/external/ippower9258
%{_libdir}/stonith/plugins/external/kdumpcheck
%{_libdir}/stonith/plugins/external/libvirt
%{_libdir}/stonith/plugins/external/nut
%{_libdir}/stonith/plugins/external/rackpdu
%{_libdir}/stonith/plugins/external/riloe
%{_libdir}/stonith/plugins/external/sbd
%{_libdir}/stonith/plugins/external/ssh
%{_libdir}/stonith/plugins/external/vcenter
%{_libdir}/stonith/plugins/external/vmware
%{_libdir}/stonith/plugins/external/xen0
%{_libdir}/stonith/plugins/external/xen0-ha
%{_libdir}/stonith/plugins/stonith2/apcmaster.a
%{_libdir}/stonith/plugins/stonith2/apcmaster.la
%{_libdir}/stonith/plugins/stonith2/apcmaster.so
%{_libdir}/stonith/plugins/stonith2/apcmastersnmp.a
%{_libdir}/stonith/plugins/stonith2/apcmastersnmp.la
%{_libdir}/stonith/plugins/stonith2/apcmastersnmp.so
%{_libdir}/stonith/plugins/stonith2/apcsmart.a
%{_libdir}/stonith/plugins/stonith2/apcsmart.la
%{_libdir}/stonith/plugins/stonith2/apcsmart.so
%{_libdir}/stonith/plugins/stonith2/baytech.a
%{_libdir}/stonith/plugins/stonith2/baytech.la
%{_libdir}/stonith/plugins/stonith2/baytech.so
%{_libdir}/stonith/plugins/stonith2/cyclades.a
%{_libdir}/stonith/plugins/stonith2/cyclades.la
%{_libdir}/stonith/plugins/stonith2/cyclades.so
%{_libdir}/stonith/plugins/stonith2/drac3.a
%{_libdir}/stonith/plugins/stonith2/drac3.la
%{_libdir}/stonith/plugins/stonith2/drac3.so
%{_libdir}/stonith/plugins/stonith2/external.a
%{_libdir}/stonith/plugins/stonith2/external.la
%{_libdir}/stonith/plugins/stonith2/external.so
%{_libdir}/stonith/plugins/stonith2/ibmhmc.a
%{_libdir}/stonith/plugins/stonith2/ibmhmc.la
%{_libdir}/stonith/plugins/stonith2/ibmhmc.so
%{_libdir}/stonith/plugins/stonith2/meatware.a
%{_libdir}/stonith/plugins/stonith2/meatware.la
%{_libdir}/stonith/plugins/stonith2/meatware.so
%{_libdir}/stonith/plugins/stonith2/null.a
%{_libdir}/stonith/plugins/stonith2/null.la
%{_libdir}/stonith/plugins/stonith2/null.so
%{_libdir}/stonith/plugins/stonith2/nw_rpc100s.a
%{_libdir}/stonith/plugins/stonith2/nw_rpc100s.la
%{_libdir}/stonith/plugins/stonith2/nw_rpc100s.so
%{_libdir}/stonith/plugins/stonith2/rcd_serial.a
%{_libdir}/stonith/plugins/stonith2/rcd_serial.la
%{_libdir}/stonith/plugins/stonith2/rcd_serial.so
%{_libdir}/stonith/plugins/stonith2/rhcs.a
%{_libdir}/stonith/plugins/stonith2/rhcs.la
%{_libdir}/stonith/plugins/stonith2/rhcs.so
%{_libdir}/stonith/plugins/stonith2/ribcl.py
%{_libdir}/stonith/plugins/stonith2/rps10.a
%{_libdir}/stonith/plugins/stonith2/rps10.la
%{_libdir}/stonith/plugins/stonith2/rps10.so
%{_libdir}/stonith/plugins/stonith2/ssh.a
%{_libdir}/stonith/plugins/stonith2/ssh.la
%{_libdir}/stonith/plugins/stonith2/ssh.so
%{_libdir}/stonith/plugins/stonith2/suicide.a
%{_libdir}/stonith/plugins/stonith2/suicide.la
%{_libdir}/stonith/plugins/stonith2/suicide.so
%{_libdir}/stonith/plugins/stonith2/wti_mpc.a
%{_libdir}/stonith/plugins/stonith2/wti_mpc.la
%{_libdir}/stonith/plugins/stonith2/wti_mpc.so
%{_libdir}/stonith/plugins/stonith2/wti_nps.a
%{_libdir}/stonith/plugins/stonith2/wti_nps.la
%{_libdir}/stonith/plugins/stonith2/wti_nps.so
%{_libdir}/stonith/plugins/xen0-ha-dom0-stonith-helper
%doc AUTHORS COPYING.LIB
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/clplumbing
%{_includedir}/clplumbing/*.h
%dir %{_includedir}/heartbeat
%{_includedir}/heartbeat/*.h
%dir %{_includedir}/heartbeat/lrm
%{_includedir}/heartbeat/lrm/*.h
%dir %{_includedir}/pils
%{_includedir}/pils/*.h
%dir %{_includedir}/stonith
%{_includedir}/stonith/*.h
%{_libdir}/liblrm.a
%{_libdir}/liblrm.la
%{_libdir}/liblrm.so
%{_libdir}/libpils.a
%{_libdir}/libpils.la
%{_libdir}/libpils.so
%{_libdir}/libplumb.a
%{_libdir}/libplumb.la
%{_libdir}/libplumb.so
%{_libdir}/libplumbgpl.a
%{_libdir}/libplumbgpl.la
%{_libdir}/libplumbgpl.so
%{_libdir}/libstonith.a
%{_libdir}/libstonith.la
%{_libdir}/libstonith.so
%dir %{_datadir}/doc/cluster-glue
%dir %{_datadir}/doc/cluster-glue/stonith/
%{_datadir}/doc/cluster-glue/stonith/*
%doc ChangeLog NEWS README
%changelog
* Tue May 27 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.9-1mamba
- package created using the webbuild interface