summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-03-04 17:52:39 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-03-04 17:52:39 +0100
commit7e2ccca948a513f888bdaad33c0f9aec571972f7 (patch)
tree2c9ac35b2e8c540797a66a36dfe40b864abf061c /package
parentddb8c72a40d69c786062e3f92c9a2155726a6ea4 (diff)
fix pacemaker and pacemaker-mgmt build
Diffstat (limited to 'package')
-rw-r--r--package/nspr/patches/patch-mozilla_nsprpub_configure11
-rw-r--r--package/openais/Makefile36
-rw-r--r--package/openais/files/openais.init32
-rw-r--r--package/openais/patches/patch-Makefile_in11
-rw-r--r--package/pacemaker-mgmt/Makefile (renamed from package/Pacemaker-Python-GUI/Makefile)0
-rw-r--r--package/pacemaker-mgmt/patches/patch-configure (renamed from package/Pacemaker-Python-GUI/patches/patch-configure)0
-rw-r--r--package/pacemaker-mgmt/patches/patch-mgmt_daemon_mgmt_crm_c (renamed from package/Pacemaker-Python-GUI/patches/patch-mgmt_daemon_mgmt_crm_c)0
-rw-r--r--package/pacemaker/patches/patch-cib_Makefile_in11
-rw-r--r--package/pacemaker/patches/patch-lrmd_Makefile_in19
-rw-r--r--package/pacemaker/patches/patch-mcp_Makefile_in11
-rw-r--r--package/pacemaker/patches/patch-tools_Makefile_in12
11 files changed, 64 insertions, 79 deletions
diff --git a/package/nspr/patches/patch-mozilla_nsprpub_configure b/package/nspr/patches/patch-mozilla_nsprpub_configure
new file mode 100644
index 000000000..70465b40f
--- /dev/null
+++ b/package/nspr/patches/patch-mozilla_nsprpub_configure
@@ -0,0 +1,11 @@
+--- nspr-4.9.5.orig/mozilla/nsprpub/configure 2012-12-19 20:21:31.000000000 +0100
++++ nspr-4.9.5/mozilla/nsprpub/configure 2013-02-27 16:43:20.000000000 +0100
+@@ -2848,7 +2849,7 @@ esac
+ if test "$cross_compiling" = "yes"; then
+ CROSS_COMPILE=1
+ else
+- CROSS_COMPILE=
++ CROSS_COMPILE=1
+ fi
+
+ echo $ac_n "checking for gcc -pipe support""... $ac_c" 1>&6
diff --git a/package/openais/Makefile b/package/openais/Makefile
deleted file mode 100644
index 102a7d5f6..000000000
--- a/package/openais/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-# This file is part of the OpenADK project. OpenADK is copyrighted
-# material, please see the LICENCE file in the top-level directory.
-
-include $(TOPDIR)/rules.mk
-
-PKG_NAME:= openais
-PKG_VERSION:= 1.1.4
-PKG_RELEASE:= 1
-PKG_MD5SUM:= e500ad3c49fdc45d8653f864e80ed82c
-PKG_DESCR:= AIS implementation
-PKG_SECTION:= ha
-PKG_BUILDDEP:= corosync
-PKG_DEPENDS:= corosync
-PKG_URL:= http://www.openais.org/
-PKG_SITES:= ftp://ftp:download@ftp.openais.org/downloads/openais-1.1.4/
-
-PKG_ARCH_DEPENDS:= !avr32
-
-include $(TOPDIR)/mk/package.mk
-
-$(eval $(call PKG_template,OPENAIS,openais,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-
-CONFIGURE_ENV+= ac_cv_func_fnmatch_works=yes
-
-openais-install:
- $(INSTALL_DIR) $(IDIR_OPENAIS)/usr/lib
- $(CP) $(WRKINST)/usr/lib/lib*.so* \
- $(IDIR_OPENAIS)/usr/lib
- $(INSTALL_DIR) $(IDIR_OPENAIS)/usr/sbin
- $(CP) $(WRKINST)/usr/sbin/* \
- $(IDIR_OPENAIS)/usr/sbin
- $(INSTALL_DIR) $(IDIR_OPENAIS)/usr/libexec
- $(CP) $(WRKINST)/usr/libexec/* \
- $(IDIR_OPENAIS)/usr/libexec
-
-include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/openais/files/openais.init b/package/openais/files/openais.init
deleted file mode 100644
index 25b2d8974..000000000
--- a/package/openais/files/openais.init
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/sh
-#PKG openais
-#INIT 80
-. /etc/rc.conf
-
-case $1 in
-autostop) ;;
-autostart)
- test x"${corosync:-NO}" = x"NO" && exit 0
- exec sh $0 start
- ;;
-start)
- [ -d /var/lib/corosync ] || mkdir -p /var/lib/corosync
- mkdir -p /var/lib/heartbeat/crm
- chown hacluster:haclient /var/lib/heartbeat/crm
- chmod 775 /var/lib/heartbeat/crm
- mkdir -p /var/lib/pengine
- chown hacluster /var/lib/pengine
- /usr/sbin/aisexec
- ;;
-stop)
- kill $(pgrep -f corosync)
- ;;
-restart)
- sh $0 stop
- sh $0 start
- ;;
-*)
- echo "usage: $0 {start | stop | restart}"
- ;;
-esac
-exit $?
diff --git a/package/openais/patches/patch-Makefile_in b/package/openais/patches/patch-Makefile_in
deleted file mode 100644
index ab7f536bb..000000000
--- a/package/openais/patches/patch-Makefile_in
+++ /dev/null
@@ -1,11 +0,0 @@
---- openais-1.1.4.orig/Makefile.in 2010-08-23 21:59:26.000000000 +0200
-+++ openais-1.1.4/Makefile.in 2011-06-25 22:04:16.722682552 +0200
-@@ -285,7 +285,7 @@ MAINTAINERCLEANFILES = Makefile.in acloc
- dist_doc_DATA = LICENSE README.amf AUTHORS
- corosysconfdir = ${COROSYSCONFDIR}
- corosysconf_DATA = conf/amf.conf.example
--SUBDIRS = include lib services test pkgconfig man init
-+SUBDIRS = include lib services test pkgconfig init
- RPMBUILDOPTS = --define "_sourcedir $(abs_builddir)" \
- --define "_specdir $(abs_builddir)" \
- --define "_builddir $(abs_builddir)" \
diff --git a/package/Pacemaker-Python-GUI/Makefile b/package/pacemaker-mgmt/Makefile
index 5a412863e..5a412863e 100644
--- a/package/Pacemaker-Python-GUI/Makefile
+++ b/package/pacemaker-mgmt/Makefile
diff --git a/package/Pacemaker-Python-GUI/patches/patch-configure b/package/pacemaker-mgmt/patches/patch-configure
index bfbf2ae69..bfbf2ae69 100644
--- a/package/Pacemaker-Python-GUI/patches/patch-configure
+++ b/package/pacemaker-mgmt/patches/patch-configure
diff --git a/package/Pacemaker-Python-GUI/patches/patch-mgmt_daemon_mgmt_crm_c b/package/pacemaker-mgmt/patches/patch-mgmt_daemon_mgmt_crm_c
index 1882093d5..1882093d5 100644
--- a/package/Pacemaker-Python-GUI/patches/patch-mgmt_daemon_mgmt_crm_c
+++ b/package/pacemaker-mgmt/patches/patch-mgmt_daemon_mgmt_crm_c
diff --git a/package/pacemaker/patches/patch-cib_Makefile_in b/package/pacemaker/patches/patch-cib_Makefile_in
new file mode 100644
index 000000000..c95cdf227
--- /dev/null
+++ b/package/pacemaker/patches/patch-cib_Makefile_in
@@ -0,0 +1,11 @@
+--- pacemaker-1.1.8.orig/cib/Makefile.in 2013-02-28 11:07:10.000000000 +0100
++++ pacemaker-1.1.8/cib/Makefile.in 2013-02-28 11:23:15.000000000 +0100
+@@ -450,6 +450,8 @@ hadir = $(sysconfdir)/ha.d
+ halibdir = $(CRM_DAEMON_DIR)
+ commmoddir = $(halibdir)/modules/comm
+ COMMONLIBS = $(top_builddir)/lib/common/libcrmcommon.la \
++ $(top_builddir)/lib/fencing/libstonithd.la \
++ $(top_builddir)/lib/pengine/libpe_rules.la \
+ $(top_builddir)/lib/cib/libcib.la
+
+ @BUILD_HELP_TRUE@man8_MANS =
diff --git a/package/pacemaker/patches/patch-lrmd_Makefile_in b/package/pacemaker/patches/patch-lrmd_Makefile_in
new file mode 100644
index 000000000..c30d80227
--- /dev/null
+++ b/package/pacemaker/patches/patch-lrmd_Makefile_in
@@ -0,0 +1,19 @@
+--- pacemaker-1.1.8.orig/lrmd/Makefile.in 2013-02-28 11:07:12.000000000 +0100
++++ pacemaker-1.1.8/lrmd/Makefile.in 2013-02-28 12:16:59.000000000 +0100
+@@ -455,11 +455,14 @@ lrmdlibdir = $(CRM_DAEMON_DIR)
+ lrmd_SOURCES = main.c lrmd.c tls_backend.c
+ lrmd_LDADD = $(top_builddir)/lib/common/libcrmcommon.la \
+ $(top_builddir)/lib/services/libcrmservice.la \
+- $(top_builddir)/lib/lrmd/liblrmd.la \
+- $(top_builddir)/lib/fencing/libstonithd.la
++ $(top_builddir)/lib/pengine/libpe_rules.la \
++ $(top_builddir)/lib/fencing/libstonithd.la \
++ $(top_builddir)/lib/lrmd/liblrmd.la
+
+ lrmd_test_SOURCES = test.c
+ lrmd_test_LDADD = $(top_builddir)/lib/common/libcrmcommon.la \
++ $(top_builddir)/lib/pengine/libpe_rules.la \
++ $(top_builddir)/lib/fencing/libstonithd.la \
+ $(top_builddir)/lib/lrmd/liblrmd.la \
+ $(top_builddir)/lib/cib/libcib.la \
+ $(top_builddir)/lib/services/libcrmservice.la \
diff --git a/package/pacemaker/patches/patch-mcp_Makefile_in b/package/pacemaker/patches/patch-mcp_Makefile_in
new file mode 100644
index 000000000..a3e72277e
--- /dev/null
+++ b/package/pacemaker/patches/patch-mcp_Makefile_in
@@ -0,0 +1,11 @@
+--- pacemaker-1.1.8.orig/mcp/Makefile.in 2013-02-28 11:07:13.000000000 +0100
++++ pacemaker-1.1.8/mcp/Makefile.in 2013-02-28 11:18:34.000000000 +0100
+@@ -456,7 +456,7 @@ MAINTAINERCLEANFILES = Makefile.in
+ @BUILD_CS_SUPPORT_TRUE@@HAVE_SYSTEMD_TRUE@systemdunit_DATA = pacemaker.service
+ @BUILD_CS_SUPPORT_TRUE@noinst_HEADERS =
+ @BUILD_CS_SUPPORT_TRUE@pacemakerd_SOURCES = pacemaker.c corosync.c
+-@BUILD_CS_SUPPORT_TRUE@pacemakerd_LDADD = $(top_builddir)/lib/cluster/libcrmcluster.la $(top_builddir)/lib/common/libcrmcommon.la
++@BUILD_CS_SUPPORT_TRUE@pacemakerd_LDADD = $(top_builddir)/lib/cluster/libcrmcluster.la $(top_builddir)/lib/common/libcrmcommon.la $(top_builddir)/lib/fencing/libstonithd.la
+ @BUILD_CS_SUPPORT_TRUE@pacemakerd_LDFLAGS = $(CLUSTERLIBS)
+ all: all-am
+
diff --git a/package/pacemaker/patches/patch-tools_Makefile_in b/package/pacemaker/patches/patch-tools_Makefile_in
new file mode 100644
index 000000000..36d72e3bd
--- /dev/null
+++ b/package/pacemaker/patches/patch-tools_Makefile_in
@@ -0,0 +1,12 @@
+--- pacemaker-1.1.8.orig/tools/Makefile.in 2013-02-28 11:07:13.000000000 +0100
++++ pacemaker-1.1.8/tools/Makefile.in 2013-02-28 12:28:59.000000000 +0100
+@@ -570,6 +570,9 @@ INCLUDES = -I$(top_builddir)/include -I$
+ COMMONLIBS = \
+ $(top_builddir)/lib/common/libcrmcommon.la \
+ $(top_builddir)/lib/cib/libcib.la \
++ $(top_builddir)/lib/pengine/libpe_rules.la \
++ $(top_builddir)/lib/fencing/libstonithd.la \
++ $(top_builddir)/lib/services/libcrmservice.la \
+ $(CURSESLIBS) $(CLUSTERLIBS)
+
+ headerdir = $(pkgincludedir)/crm