[-]
[+]
|
Deleted |
heartbeat.spec
|
@@ -1,1495 +0,0 @@
-%define ENABLE_SNMP_SUBAGENT 0
-%define ENABLE_MGMT 1
-%define uid 24
-%define gname haclient
-%define uname hacluster
-Summary: Heartbeat subsystem for High-Availability Linux
-Name: heartbeat
-Version: 2.1.4
-Release: 12%{?dist}
-License: GPLv2 and LGPLv2+
-URL: http://linux-ha.org/
-Group: System Environment/Daemons
-Source0: http://hg.linux-ha.org/lha-2.1/archive/STABLE-%{version}.tar.bz2
-Patch0: heartbeat-fedora-pam.patch
-Patch1: heartbeat-2.1.4-default-init.patch
-Patch2: heartbeat-2.1.4-duplicate-drbd.patch
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: glib2-devel
-BuildRequires: iputils
-BuildRequires: libnet-devel
-BuildRequires: libtool-ltdl-devel
-BuildRequires: net-snmp-devel >= 5.4
-BuildRequires: bzip2-devel
-BuildRequires: ncurses-devel
-BuildRequires: openssl-devel
-BuildRequires: libtool
-BuildRequires: libxml2-devel
-BuildRequires: gettext
-BuildRequires: bison
-BuildRequires: flex
-BuildRequires: zlib-devel
-BuildRequires: mailx
-BuildRequires: autoconf, gcc, make, automake, gcc-c++
-%if %{ENABLE_MGMT}
-BuildRequires: gnutls-devel
-BuildRequires: pam-devel
-BuildRequires: python-devel
-BuildRequires: swig
-%endif
-Requires: PyXML
-Requires(pre): shadow-utils
-Requires(post): /sbin/chkconfig
-Requires(preun): /sbin/chkconfig
-%if %{ENABLE_MGMT}
-Requires: gettext
-%endif
-
-%description
-heartbeat is a basic high-availability subsystem for Linux-HA.
-It will run scripts at initialization, and when machines go up or down.
-This version will also perform IP address takeover using gratuitous ARPs.
-It supports "n-node" clusters with significant capabilities for managing
-resources and dependencies.
-
-In addition it continues to support the older release 1 style of
-2-node clustering.
-
-It implements the following kinds of heartbeats:
- - Serial ports
- - UDP/IP multicast (ethernet, etc)
- - UDP/IP broadcast (ethernet, etc)
- - UDP/IP heartbeats
- - "ping" heartbeats (for routers, switches, etc.)
- (to be used for breaking ties in 2-node systems)
-
-%package ldirectord
-Summary: Monitor daemon for maintaining high availability resources
-Group: System Environment/Daemons
-Requires: ipvsadm
-Requires(post): /sbin/chkconfig
-Requires(preun): /sbin/chkconfig
-Provides: ldirectord = %{version}-%{release}
-Obsoletes: ldirectord < 2.1.4-5
-Requires: ldirectord = %{version}-%{release}
-# removed for now until it's in Fedora
-#Requires: perl(Net::IMAP::Simple::SSL)
-
-%description ldirectord
-ldirectord is a stand-alone daemon to monitor services of real
-for virtual services provided by The Linux Virtual Server
-(http://www.linuxvirtualserver.org/). It is simple to install
-and works with the heartbeat code (http://www.linux-ha.org/).
-
-%package stonith
-Requires: net-snmp-libs
-Summary: Provides an interface to Shoot The Other Node In The Head
-Group: System Environment/Daemons
-Provides: stonith = %{version}-%{release}
-Obsoletes: stonith < 2.1.4-5
-
-%description stonith
-The STONITH module (a.k.a. STONITH) provides an extensible interface
-for remotely powering down a node in the cluster. The idea is quite simple:
-When the software running on one machine wants to make sure another
-machine in the cluster is not using a resource, pull the plug on the other
-machine. It's simple and reliable, albeit admittedly brutal.
-
-%package pils
-Summary: Provides a general plugin and interface loading library
-Group: System Environment/Daemons
-Provides: pils = %{version}-%{release}
-Obsoletes: pils < 2.1.4-5
-
-%description pils
-PILS is an generalized and portable open source Plugin and Interface Loading
-System. PILS was developed as part of the Open Cluster Framework reference
-implementation, and is designed to be directly usable by a wide variety of
-other applications.
-PILS manages both plugins (loadable objects), and the interfaces these plugins
-implement. PILS is designed to support any number of plugins implementing any
-number of interfaces.
-
-%package devel
-Summary: Heartbeat development package
-Group: System Environment/Daemons
-Requires: heartbeat = %{version}-%{release}
-
-%description devel
-Heartbeat development package
-
-%package gui
-Summary: Provides a gui interface to manage heartbeat clusters
-Group: System Environment/Daemons
-Requires: heartbeat = %{version}-%{release}
-Requires: PyXML
-Requires: pygtk2-libglade
-
-%description gui
-GUI client for Heartbeat clusters
-
-%prep
-%setup -q -n Heartbeat-STABLE-2-1-STABLE-%{version}
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
-
-%build
-#./bootstrap
-#autoconf
-# disable-fatal-warnings flag used to disable gcc4.x warnings of 'difference in signedness'
-CFLAGS=${RPM_OPT_FLAGS} \
-./configure \
- --with-ocf-root=%{_datadir}/ocf \
- --disable-fatal-warnings \
- --disable-static \
-%if %{ENABLE_MGMT}
- --enable-mgmt
-%else
- --disable-mgmt
-%endif
-
-# get rid of rpath
-sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
-sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
-
-make %{?_smp_mflags}
-
-%install
-rm -rf $RPM_BUILD_ROOT
-mkdir -p $RPM_BUILD_ROOT
-make DESTDIR=$RPM_BUILD_ROOT install
-
-# cleanup
-[ -d $RPM_BUILD_ROOT/usr/man ] && rm -rf $RPM_BUILD_ROOT/usr/man
-[ -d $RPM_BUILD_ROOT/usr/share/libtool ] && rm -rf $RPM_BUILD_ROOT/usr/share/libtool
-find $RPM_BUILD_ROOT -type f -name *.la -exec rm -f {} ';'
-
-sed -i -e '1i# -*-Shell-script-*-' $RPM_BUILD_ROOT/%{_libdir}/heartbeat/ocf-shellfuncs
-sed -i -e '1i# -*-Shell-script-*-' $RPM_BUILD_ROOT/%{_sysconfdir}/ha.d/shellfuncs
-chmod -x $RPM_BUILD_ROOT/%{_libdir}/heartbeat/ocf-shellfuncs
-chmod -x $RPM_BUILD_ROOT/%{_sysconfdir}/ha.d/shellfuncs
-chmod -x $RPM_BUILD_ROOT/%{_libdir}/heartbeat-gui/pymgmt.py
-
-# fix some wrong line endings issues
-sed -i 's/\r//' $RPM_BUILD_ROOT/%{_datadir}/ocf/resource.d/heartbeat/SAPDatabase
-sed -i 's/\r//' $RPM_BUILD_ROOT/%{_datadir}/ocf/resource.d/heartbeat/SAPInstance
-
-%find_lang haclient
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%pre
-getent group %{gname} >/dev/null || groupadd -r %{gname}
-getent passwd %{uname} >/dev/null || \
-useradd -r -g %{gname} -d /var/lib/heartbeat/cores/hacluster -s /sbin/nologin \
--c "heartbeat user" %{uname}
-exit 0
-
-%post
-/sbin/ldconfig
-/sbin/chkconfig --add heartbeat
-
-%postun -p /sbin/ldconfig
-
-%preun
-if [ $1 = 0 ] ; then
- /sbin/service heartbeat stop
- /sbin/chkconfig --del heartbeat
|
[-]
[+]
|
Deleted |
heartbeat-2.1.4-default-init.patch
^
|
@@ -1,12 +0,0 @@
-diff -Nur Heartbeat-STABLE-2-1-STABLE-2.1.4.orig/heartbeat/init.d/heartbeat.in Heartbeat-STABLE-2-1-STABLE-2.1.4/heartbeat/init.d/heartbeat.in
---- Heartbeat-STABLE-2-1-STABLE-2.1.4.orig/heartbeat/init.d/heartbeat.in 2008-08-18 06:32:19.000000000 -0600
-+++ Heartbeat-STABLE-2-1-STABLE-2.1.4/heartbeat/init.d/heartbeat.in 2008-12-01 20:23:23.000000000 -0700
-@@ -12,7 +12,7 @@
- # We don't hate anyone, and like for everyone to use
- # our software, no matter what OS or distribution you're using.
- #
--# chkconfig: 2345 @HB_INITSTARTPRI@ @HB_INITSTOPPRI@
-+# chkconfig: - @HB_INITSTARTPRI@ @HB_INITSTOPPRI@
- # description: Startup script high-availability services.
- # processname: heartbeat
- # pidfile: @localstatedir@/run/heartbeat.pid
|
[-]
[+]
|
Deleted |
heartbeat-2.1.4-duplicate-drbd.patch
^
|
@@ -1,11 +0,0 @@
-diff -Nur Heartbeat-STABLE-2-1-STABLE-2.1.4.orig/resources/OCF/Makefile.am Heartbeat-STABLE-2-1-STABLE-2.1.4/resources/OCF/Makefile.am
---- Heartbeat-STABLE-2-1-STABLE-2.1.4.orig/resources/OCF/Makefile.am 2008-08-18 06:32:19.000000000 -0600
-+++ Heartbeat-STABLE-2-1-STABLE-2.1.4/resources/OCF/Makefile.am 2009-06-11 22:49:52.000000000 -0600
-@@ -51,7 +51,6 @@
- AudibleAlarm \
- db2 \
- Delay \
-- drbd \
- eDir88 \
- EvmsSCC \
- Evmsd \
|
[-]
[+]
|
Deleted |
heartbeat-fedora-pam.patch
^
|
@@ -1,15 +0,0 @@
-diff -Nur heartbeat-2.0.5.orig/mgmt/daemon/mgmtd.pam heartbeat-2.0.5/mgmt/daemon/mgmtd.pam
---- heartbeat-2.0.5.orig/mgmt/daemon/mgmtd.pam 2005-12-30 09:35:27.000000000 +0100
-+++ heartbeat-2.0.5/mgmt/daemon/mgmtd.pam 2006-04-27 20:36:29.000000000 +0200
-@@ -1,3 +1,8 @@
--auth required pam_unix.so
--account required pam_unix.so
--
-+#%PAM-1.0
-+auth sufficient pam_rootok.so
-+auth sufficient pam_timestamp.so
-+auth required pam_stack.so service=system-auth
-+session required pam_permit.so
-+session optional pam_xauth.so
-+session optional pam_timestamp.so
-+account required pam_permit.so
|
|
Deleted |
STABLE-2.1.4.tar.bz2
^
|