Sophie

Sophie

distrib > Mandriva > 8.2 > i586 > media > main-src > by-pkgid > d3346148ea75932c2f8d5c33e25591ff > files > 6

heartbeat-0.4.9-1mdk.src.rpm

diff -ruN heartbeat-0.4.9.orig/heartbeat/hb_api.c heartbeat-0.4.9/heartbeat/hb_api.c
--- heartbeat-0.4.9.orig/heartbeat/hb_api.c	Sat Nov 11 21:05:50 2000
+++ heartbeat-0.4.9/heartbeat/hb_api.c	Tue Aug 28 16:32:26 2001
@@ -74,6 +74,7 @@
 #include <hb_api.h>
 #include <hb_api_core.h>
 #include <sys/stat.h>
+#include <time.h>
 #include <sys/time.h>
 #include <unistd.h>
 
diff -ruN heartbeat-0.4.9.orig/stonith/expect.c heartbeat-0.4.9/stonith/expect.c
--- heartbeat-0.4.9.orig/stonith/expect.c	Wed Nov 22 02:56:46 2000
+++ heartbeat-0.4.9/stonith/expect.c	Tue Aug 28 16:32:08 2001
@@ -36,6 +36,7 @@
 #include <unistd.h>
 #include <signal.h>
 #include <errno.h>
+#include <time.h>
 #include <sys/time.h>
 #include <sys/times.h>
 #ifdef _POSIX_PRIORITY_SCHEDULING
--- heartbeat-0.4.9.orig/heartbeat/Makefile.orig	Tue Aug 28 16:36:18 2001
+++ heartbeat-0.4.9/heartbeat/Makefile	Tue Aug 28 16:37:38 2001
@@ -178,7 +178,7 @@
 	SECGID=70
 	if grep '^$(APIGROUP):' /etc/group >/dev/null; then : OK; 	\
 	elif								\
-          [ -x /usr/sbin/groupadd ];					\
+          [ ! -x /usr/sbin/groupadd ];					\
         then								\
 	  if /usr/sbin/groupadd -g $(APIGID) $(APIGROUP);		\
           then : Group $(APIGID) added successfully;			\
--- heartbeat-0.4.9.orig/heartbeat/Makefile.orig	Tue Aug 28 16:40:56 2001
+++ heartbeat-0.4.9/heartbeat/Makefile	Tue Aug 28 16:40:24 2001
@@ -196,7 +196,7 @@
 	[ -p $(APIREG) ]    || mkfifo -m 620    $(APIREG)
 	[ -d $(APIDIR) ]    || mkdir  -m 755 -p $(APIDIR)
 	[ -d $(APICASUAL) ] || mkdir  -m 1770 -p $(APICASUAL)
-	chgrp $(APIGROUP) $(APICASUAL) $(APIREG)
+	echo chgrp $(APIGROUP) $(APICASUAL) $(APIREG)
 	$(INSTALL) -cm 755 $(LIBCMDS) $(LIBSCRIPTS) $(HALIB)
 	$(INSTALL) -cm 755 $(RCCMDS) $(HARCD)
 	$(INSTALL) -cm 755 $(RESOURCECMDS) $(RESOURCEDIR)