Skip to contentSkip to conversation

Cluster Project branch, master, updated. cluster-2.99.05-18-g39d39c6

Cluster-devel [email protected] 1 participant 1 message Jun 25, 2008

lore
Share & tools
lore
#0 lore raw

This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Cluster Project".

http://sources.redhat.com/git/gitweb.cgi?p=cluster.git;a=commitdiff;h=39d39c61e694e7d7f0869c477392e532e8088a1d

The branch, master has been updated

       via  39d39c61e694e7d7f0869c477392e532e8088a1d (commit)
       via  6f456d1989c82da80d1d028954c2cd9db35e9ccc (commit)
       via  b69b0d50c941306180f00812c38414fe5bb2cfce (commit)
      from  e91380a6f2743ad3ddd6f1fec1cde5a1688f1b0c (commit)

Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.

- Log ----------------------------------------------------------------- commit 39d39c61e694e7d7f0869c477392e532e8088a1d

Author: Fabio M. Di Nitto <[email protected]>
Date:   Wed Jun 25 10:25:57 2008 +0200

[CONFIG] Add cluster.conf direct loader

This pluing allows to load cluster.conf directly into the objdb for configuration.
With this plugin there is no need to have ccsd running.

To use:

make sure that all nodes have the same cluster.conf

form the cluster with:

cman_tool <usual_options> -C xmlconfig join

commit 6f456d1989c82da80d1d028954c2cd9db35e9ccc

Author: Fabio M. Di Nitto <[email protected]>
Date:   Wed Jun 25 10:24:48 2008 +0200

[CONFIG] Make sure to reset xml index in not in list mode

commit b69b0d50c941306180f00812c38414fe5bb2cfce

Author: Fabio M. Di Nitto <[email protected]>
Date:   Wed Jun 25 09:09:41 2008 +0200

[CCS] Remove duplicate header

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

Summary of changes:

 ccs/daemon/misc.c                           |    1 -
 config/Makefile                             |    2 +-
 config/libs/libccsconfdb/libccs.c           |    2 +
 {bindings/perl => config/plugins}/Makefile  |    2 +-
 {ccs/ccsais => config/plugins/xml}/Makefile |   13 +-
 config/plugins/xml/config.c                 |  295 +++++++++++++++++++++++++++
 6 files changed, 304 insertions(+), 11 deletions(-)
 copy {bindings/perl => config/plugins}/Makefile (85%)
 copy {ccs/ccsais => config/plugins/xml}/Makefile (65%)
 create mode 100644 config/plugins/xml/config.c
ccs/daemon/misc.c +0 -1
index 96a7867..57eb601 100644
@@ -11,7 +11,6 @@
 #include <sys/socket.h>
 #include <sys/ioctl.h>
 #include <errno.h>
-#include <libxml/parser.h>
 #include <errno.h>
 #include <libxml/parser.h>
 #include <libxml/tree.h>
config/Makefile +1 -1
index b244f90..366c241 100644
@@ -1,4 +1,4 @@
 include ../make/defines.mk
 include $(OBJDIR)/make/passthrough.mk
 
-SUBDIRS=libs tools
+SUBDIRS=libs plugins tools
config/libs/libccsconfdb/libccs.c +2 -0
index 63b65d1..ea67f8b 100644
@@ -594,6 +594,8 @@ int _ccs_get_fullxpath(int desc, const char *query, char **rtn, int list)
 
 	if (list && !strcmp(query, previous_query))
 		xmllistindex++;
+	else
+		xmllistindex = 0;
 
 	memset(realquery, 0, PATH_MAX + 16);
 	snprintf(realquery, PATH_MAX + 16 - 1, "/objdbmaindoc%s", query);
config/plugins/Makefile renamed from bindings/perl/Makefile +1 -1
similarity index 85%
copy from bindings/perl/Makefile
copy to config/plugins/Makefile
index 810b2d4..1305555 100644
@@ -1,4 +1,4 @@
 include ../../make/defines.mk
 include $(OBJDIR)/make/passthrough.mk
 
-SUBDIRS=
+SUBDIRS=xml
config/plugins/xml/Makefile renamed from ccs/ccsais/Makefile +5 -8
similarity index 65%
copy from ccs/ccsais/Makefile
copy to config/plugins/xml/Makefile
index f3eacc7..9274336 100644
@@ -1,30 +1,27 @@
-TARGET= config_ccs.lcrso
+TARGET= config_xml.lcrso
 
 LCRSOT=$(TARGET)
 
-all: depends ${TARGET}
+all: ${TARGET}
 
-include ../../make/defines.mk
+include ../../../make/defines.mk
 include $(OBJDIR)/make/cobj.mk
 include $(OBJDIR)/make/clean.mk
 include $(OBJDIR)/make/install.mk
 include $(OBJDIR)/make/uninstall.mk
 
 CFLAGS += -fPIC
-CFLAGS += -I$(S)/../libccscompat
+CFLAGS += `xml2-config --cflags`
 CFLAGS += -I${cmanincdir}/../daemon
 CFLAGS += -I${incdir}
 
-LDFLAGS += -L../libccscompat -lccscompat
+LDFLAGS += `xml2-config --libs`
 
 OBJS=	config.o
 
 ${TARGET}: ${OBJS}
 	$(CC) -shared -Wl,-soname,$@ -o $@ $^ $(LDFLAGS)
 
-depends:
-	$(MAKE) -C ../libccscompat all
-
 clean: generalclean 
 
 -include $(OBJS:.o=.d)
config/plugins/xml/config.c new file +295 -0

295 lines not on this page · raw message

hooks/post-receive
--
Cluster Project