Browse Source

Merge branch 'master' of git+ssh://openadk.org/git/openadk

Waldemar Brodkorb 12 years ago
parent
commit
9b6a74781e

+ 11 - 0
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

+ 0 - 36
package/openais/Makefile

@@ -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

+ 0 - 32
package/openais/files/openais.init

@@ -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 $?

+ 0 - 11
package/openais/patches/patch-Makefile_in

@@ -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)" \

+ 0 - 0
package/Pacemaker-Python-GUI/Makefile → package/pacemaker-mgmt/Makefile


+ 0 - 0
package/Pacemaker-Python-GUI/patches/patch-configure → package/pacemaker-mgmt/patches/patch-configure


+ 0 - 0
package/Pacemaker-Python-GUI/patches/patch-mgmt_daemon_mgmt_crm_c → package/pacemaker-mgmt/patches/patch-mgmt_daemon_mgmt_crm_c


+ 11 - 0
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 = 

+ 19 - 0
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 \

+ 11 - 0
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
+ 

+ 12 - 0
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