@@ -0,0 +1,2191 @@
+--- whitetank-svn/Makefile 2008-08-13 22:38:16.000000000 +0200
++++ whitetank-dev/Makefile 2008-11-19 11:54:17.000000000 +0100
+@@ -29,30 +29,30 @@
+ # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ # THE POSSIBILITY OF SUCH DAMAGE.
+
+-DESTDIR=/usr/local
+-SBINDIR=/usr/sbin
+-INCLUDEDIR=/usr/include/openais
+-INCLUDEDIR_TOTEM=/usr/include/openais/totem
+-INCLUDEDIR_LCR=/usr/include/openais/lcr
+-INCLUDEDIR_SERVICE=/usr/include/openais/service
+-MANDIR=/usr/share/man
++include Makefile.inc
++
++SBINDIR=$(PREFIX)/sbin
++INCLUDEDIR=$(PREFIX)/include/openais
++INCLUDEDIR_TOTEM=$(PREFIX)/include/openais/totem
++INCLUDEDIR_LCR=$(PREFIX)/include/openais/lcr
++INCLUDEDIR_SERVICE=$(PREFIX)/include/openais/service
++MANDIR=$(PREFIX)/share/man
+ ETCDIR=/etc/ais
+-LCRSODIR=/usr/libexec/lcrso
+ ARCH=$(shell uname -p)
+
+ ifeq (,$(findstring 64,$(ARCH)))
+-LIBDIR=/usr/lib/openais
++LIBDIR=$(PREFIX)/lib/openais
+ else
+-LIBDIR=/usr/lib64/openais
++LIBDIR=$(PREFIX)/lib64/openais
+ endif
+ ifeq (s390,$(ARCH))
+-LIBDIR=/usr/lib/openais
++LIBDIR=$(PREFIX)/lib/openais
+ endif
+ ifeq (s390x,$(ARCH))
+-LIBDIR=/usr/lib64/openais
++LIBDIR=$(PREFIX)/lib64/openais
+ endif
+ ifeq (ia64,$(ARCH))
+-LIBDIR=/usr/lib/openais
++LIBDIR=$(PREFIX)/lib/openais
+ endif
+
+ all:
+@@ -106,29 +106,29 @@ install:
+ ln -sf libcfg.so.2.0.0 lib/libcfg.so.2
+ ln -sf libtotem_pg.so.2.0.0 exec/libtotem_pg.so.2
+
+- cp -a lib/libais.so $(DESTDIR)$(LIBDIR)
+- cp -a lib/libSaAmf.so $(DESTDIR)$(LIBDIR)
+- cp -a lib/libSaClm.so $(DESTDIR)$(LIBDIR)
+- cp -a lib/libSaCkpt.so $(DESTDIR)$(LIBDIR)
+- cp -a lib/libSaEvt.so $(DESTDIR)$(LIBDIR)
+- cp -a lib/libSaLck.so $(DESTDIR)$(LIBDIR)
+- cp -a lib/libSaMsg.so $(DESTDIR)$(LIBDIR)
+- cp -a lib/libevs.so $(DESTDIR)$(LIBDIR)
+- cp -a lib/libcpg.so $(DESTDIR)$(LIBDIR)
+- cp -a lib/libcfg.so $(DESTDIR)$(LIBDIR)
+- cp -a exec/libtotem_pg.so $(DESTDIR)$(LIBDIR)
+-
+- cp -a lib/libais.so.2 $(DESTDIR)$(LIBDIR)
+- cp -a lib/libSaAmf.so.2 $(DESTDIR)$(LIBDIR)
+- cp -a lib/libSaClm.so.2 $(DESTDIR)$(LIBDIR)
+- cp -a lib/libSaCkpt.so.2 $(DESTDIR)$(LIBDIR)
+- cp -a lib/libSaEvt.so.2 $(DESTDIR)$(LIBDIR)
+- cp -a lib/libSaLck.so.2 $(DESTDIR)$(LIBDIR)
+- cp -a lib/libSaMsg.so.2 $(DESTDIR)$(LIBDIR)
+- cp -a lib/libevs.so.2 $(DESTDIR)$(LIBDIR)
+- cp -a lib/libcpg.so.2 $(DESTDIR)$(LIBDIR)
+- cp -a lib/libcfg.so.2 $(DESTDIR)$(LIBDIR)
+- cp -a exec/libtotem_pg.so.2 $(DESTDIR)$(LIBDIR)
++ $(CP) -a lib/libais.so $(DESTDIR)$(LIBDIR)
++ $(CP) -a lib/libSaAmf.so $(DESTDIR)$(LIBDIR)
++ $(CP) -a lib/libSaClm.so $(DESTDIR)$(LIBDIR)
++ $(CP) -a lib/libSaCkpt.so $(DESTDIR)$(LIBDIR)
++ $(CP) -a lib/libSaEvt.so $(DESTDIR)$(LIBDIR)
++ $(CP) -a lib/libSaLck.so $(DESTDIR)$(LIBDIR)
++ $(CP) -a lib/libSaMsg.so $(DESTDIR)$(LIBDIR)
++ $(CP) -a lib/libevs.so $(DESTDIR)$(LIBDIR)
++ $(CP) -a lib/libcpg.so $(DESTDIR)$(LIBDIR)
++ $(CP) -a lib/libcfg.so $(DESTDIR)$(LIBDIR)
++ $(CP) -a exec/libtotem_pg.so $(DESTDIR)$(LIBDIR)
++
++ $(CP) -a lib/libais.so.2 $(DESTDIR)$(LIBDIR)
++ $(CP) -a lib/libSaAmf.so.2 $(DESTDIR)$(LIBDIR)
++ $(CP) -a lib/libSaClm.so.2 $(DESTDIR)$(LIBDIR)
++ $(CP) -a lib/libSaCkpt.so.2 $(DESTDIR)$(LIBDIR)
++ $(CP) -a lib/libSaEvt.so.2 $(DESTDIR)$(LIBDIR)
++ $(CP) -a lib/libSaLck.so.2 $(DESTDIR)$(LIBDIR)
++ $(CP) -a lib/libSaMsg.so.2 $(DESTDIR)$(LIBDIR)
++ $(CP) -a lib/libevs.so.2 $(DESTDIR)$(LIBDIR)
++ $(CP) -a lib/libcpg.so.2 $(DESTDIR)$(LIBDIR)
++ $(CP) -a lib/libcfg.so.2 $(DESTDIR)$(LIBDIR)
++ $(CP) -a exec/libtotem_pg.so.2 $(DESTDIR)$(LIBDIR)
+
+ install -m 755 lib/libais.so.2.* $(DESTDIR)$(LIBDIR)
+ install -m 755 lib/libSaAmf.so.2.* $(DESTDIR)$(LIBDIR)
+@@ -158,7 +158,7 @@ ifneq "NO" "$(STATICLIBS)"
+ install -m 755 exec/libtotem_pg.a $(DESTDIR)$(LIBDIR)
+ endif
+
+- echo $(LIBDIR) > $(DESTDIR)/etc/ld.so.conf.d/openais-$(ARCH).conf
++ echo $(LIBDIR) > "$(DESTDIR)/etc/ld.so.conf.d/openais-$(ARCH).conf"
+
+ install -m 755 exec/*lcrso $(DESTDIR)$(LCRSODIR)
+
+--- whitetank-svn/Makefile.inc 2008-08-13 22:38:16.000000000 +0200
++++ whitetank-dev/Makefile.inc 2008-11-19 11:54:17.000000000 +0100
+@@ -29,12 +29,17 @@
+ # THE POSSIBILITY OF SUCH DAMAGE.
+ # Basic OS detection
+ #
++CP=cp
++DESTDIR=
++PREFIX=/usr/local
+ UNAME=$(shell uname)
++LCRSODIR=$(PREFIX)/libexec/lcrso
+
+ ifeq "$(UNAME)" "Linux"
+ OPENAIS_COMPAT=LINUX
+ endif
+ ifeq "$(UNAME)" "Darwin"
++ CP=rsync
+ OPENAIS_COMPAT=DARWIN
+ endif
+ ifneq "" "$(findstring BSD,$(UNAME))"
+--- whitetank-svn/conf/openais.conf 2008-08-13 22:38:15.000000000 +0200
++++ whitetank-dev/conf/openais.conf 2008-11-19 11:54:17.000000000 +0100
+@@ -1,22 +1,66 @@
+ # Please read the openais.conf.5 manual page
+
++aisexec {
++ # Run as root - this is necessary to be able to manage resources with Pacemaker
++ user: root
++ group: root
++}
++
++service {
++ # Load the Pacemaker Cluster Resource Manager
++ name: pacemaker
++ ver: 0
++}
++
+ totem {
+ version: 2
++
++ # How long before declaring a token lost (ms)
++ token: 10000
++
++ # How many token retransmits before forming a new configuration
++ token_retransmits_before_loss_const: 20
++
++ # How long to wait for join messages in the membership protocol (ms)
++ join: 60
++
++ # How long to wait for consensus to be achieved before starting a new round of membership configuration (ms)
++ consensus: 4800
++
++ # Turn off the virtual synchrony filter
++ vsftype: none
++
++ # Number of messages that may be sent by one processor on receipt of the token
++ max_messages: 20
++
++ # Limit generated nodeids to 31-bits (positive signed integers)
++ clear_node_high_bit: yes
++
++ # Disable encryption
+ secauth: off
++
++ # How many threads to use for encryption/decryption
+ threads: 0
++
++ # Optionally assign a fixed node id (integer)
++ # nodeid: 1234
++
+ interface {
+ ringnumber: 0
+- bindnetaddr: 192.168.2.0
+- mcastaddr: 226.94.1.1
+- mcastport: 5405
++
++ # The following values need to be set based on your environment
++ #bindnetaddr: 192.168.2.0
++ #mcastaddr: 226.94.1.1
++ #mcastport: 5405
+ }
+ }
+
+ logging {
+- to_stderr: yes
+- to_file: yes
+- logfile: /tmp/ais
+ debug: off
++ fileline: off
++ to_syslog: yes
++ to_stderr: yes
|