Malcolm Locke wrote:
Hello,

For the information of anyone who needs to, here is a patch to the spec
file of heartbeat-2.0.4-1.src.rpm to allow building on Fedora Core 5.
I'm afraid I haven't tested the resulting packages extensively, but they
do at least build.

Malc


------------------------------------------------------------------------

--- heartbeat.spec.orig 2006-03-31 11:16:33.000000000 -0500
+++ heartbeat.spec      2006-03-31 11:18:07.000000000 -0500
@@ -13,7 +13,7 @@
 Packager: Alan Robertson <[EMAIL PROTECTED]>
 Source: http://linux-ha.org/download/heartbeat-2.0.4.tar.gz
 BuildRoot: %{_tmppath}/%{name}-%{version}-build
-BuildPrereq: glib-devel, , perl, iputils, /usr/bin/ssh, openssl-devel, libnet
+BuildPrereq: glib-devel, , perl, iputils, /usr/bin/ssh, openssl-devel, 
libnet10, glib2-devel,  gnutls-devel, pam-devel, python-devel
 # libnet available from www.ultramonkey.org and others
 Requires: sysklogd, heartbeat-stonith = %{version}-%{release}, heartbeat-pils 
= %{version}-%{release}
@@ -1099,7 +1099,7 @@
 #
 #CFLAGS="${RPM_OPT_FLAGS}" \
 #  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
-./configure '--prefix=/usr' '--sysconfdir=/etc' '--localstatedir=/var' 
'--with-group-id=90' '--with-ccmuser-id=90' '--libexecdir=/usr/lib64' 
'--libdir=/usr/lib64' '--disable-ansi' '--enable-mgmt' '--enable-snmp-subagent' 
'CFLAGS= -fno-unit-at-a-time' --enable-ltdl-convenience
+./configure '--prefix=/usr' '--sysconfdir=/etc' '--localstatedir=/var' 
'--with-group-id=90' '--with-ccmuser-id=90' '--libexecdir=/usr/lib64' 
'--libdir=/usr/lib64' '--disable-ansi' '--enable-mgmt' '--enable-snmp-subagent' 
'CFLAGS= -fno-unit-at-a-time' --enable-ltdl-convenience --disable-fatal-warnings
 make
###########################################################



Hi Malcolm,

Thanks for the patch.

We don't actually want libnet10. We prefer libnet1.1. I think we need libnet >= 1.1 for ipv6 support. And, I think the package name libnet10 is not standard across distributions.

We don't need both glib-devel and glib2-devel. We definitely need gnutls-devel, pam-devel, and python-devel. I think those might be in CVS now...

FYI: The disable-fatal-warnings flag is something we won't ever incorporate.

Someone needs to fix the real problems. David Lee started to point them out in an earlier email. He created bugzilla 1179 for this problem. Feel free to CC yourself to that bug.

If a stable package passes BasicSanityCheck, it's probably pretty good...

FYI: Heartbeat is now part of Fedora extras.

--
    Alan Robertson <[EMAIL PROTECTED]>

"Openness is the foundation and preservative of friendship... Let me claim from you at all times your undisguised opinions." - William Wilberforce
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to