[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freewrt-commits
Subject:    [FreeWRT-commits] r3660 - in trunk/freewrt/package: . heartbeat
From:       n0-1 () freewrt ! org
Date:       2007-12-07 18:58:01
Message-ID: 20071207185801.10F131C008 () frozenfish ! freewrt ! org
[Download RAW message or body]

Author: n0-1
Date: 2007-12-07 19:58:00 +0100 (Fri, 07 Dec 2007)
New Revision: 3660

Added:
   trunk/freewrt/package/heartbeat/
   trunk/freewrt/package/heartbeat/Config.in
   trunk/freewrt/package/heartbeat/Makefile
   trunk/freewrt/package/heartbeat/ipkg/
   trunk/freewrt/package/heartbeat/ipkg/heartbeat.control
   trunk/freewrt/package/heartbeat/patches/
Modified:
   trunk/freewrt/package/Config.in
   trunk/freewrt/package/Depends.mk
   trunk/freewrt/package/Makefile
Log:
initial checkin of heartbeat version 1

the port is still not perfect:
* default configs are missing entirely
* users haclient, hacluster and groups with the same names have to be added manually
* maybe some other stuff is missing in the installation
* likely there is unnecessary stuff being installed
* run-time testing was done only in a very minimalistic way
  (/usr/lib/heartbeat could finally be executed without errors)


Modified: trunk/freewrt/package/Config.in
===================================================================
--- trunk/freewrt/package/Config.in	2007-12-06 00:40:32 UTC (rev 3659)
+++ trunk/freewrt/package/Config.in	2007-12-07 18:58:00 UTC (rev 3660)
@@ -481,6 +481,7 @@
 source "package/sysstat/Config.in"
 source "package/udev/Config.in"
 source "package/watchdog/Config.in"
+source "package/heartbeat/Config.in"
 endmenu
 
 menu "FileSystems related"

Modified: trunk/freewrt/package/Depends.mk
===================================================================
--- trunk/freewrt/package/Depends.mk	2007-12-06 00:40:32 UTC (rev 3659)
+++ trunk/freewrt/package/Depends.mk	2007-12-07 18:58:00 UTC (rev 3660)
@@ -51,6 +51,7 @@
 gmediaserver-compile: id3lib-compile libupnp-compile
 gnutls-compile: libgcrypt-compile liblzo-compile libtasn1-compile opencdk-compile zlib-compile
 gpsd-compile: ncurses-compile uclibc++-compile
+heartbeat-compile: gnutls-compile glib-compile libnet-compile
 httping-compile: openssl-compile
 icecast-compile: curl-compile libvorbisidec-compile libxml2-compile libxslt-compile
 id3lib-compile: uclibc++-compile zlib-compile

Modified: trunk/freewrt/package/Makefile
===================================================================
--- trunk/freewrt/package/Makefile	2007-12-06 00:40:32 UTC (rev 3659)
+++ trunk/freewrt/package/Makefile	2007-12-07 18:58:00 UTC (rev 3660)
@@ -104,6 +104,7 @@
 package-$(FWRT_COMPILE_GSM) += gsm
 package-$(FWRT_PACKAGE_HASERL) += haserl
 package-$(FWRT_PACKAGE_HDPARM) += hdparm
+package-$(FWRT_PACKAGE_HEARTBEAT) += heartbeat
 package-$(FWRT_PACKAGE_HEYU) += heyu
 package-$(FWRT_PACKAGE_HOSTAP_UTILS) += hostap-utils
 package-$(FWRT_COMPILE_HOSTAPD) += hostapd


Property changes on: trunk/freewrt/package/heartbeat
___________________________________________________________________
Name: svn:ignore
   + info.mk


Added: trunk/freewrt/package/heartbeat/Config.in
===================================================================
--- trunk/freewrt/package/heartbeat/Config.in	                        (rev 0)
+++ trunk/freewrt/package/heartbeat/Config.in	2007-12-07 18:58:00 UTC (rev 3660)
@@ -0,0 +1,12 @@
+config FWRT_PACKAGE_HEARTBEAT
+	prompt "heartbeat......................... LinuxHA Heartbeat Application"
+	tristate
+	default n
+	select FWRT_PACKAGE_GETTEXT
+	select FWRT_PACKAGE_LIBNET
+	select FWRT_PACKAGE_GLIB1
+	select FWRT_PACKAGE_LIBGNUTLS
+	select FWRT_PACKAGE_E2FSPROGS
+	help
+	  Heartbeat is the first piece of software which was written for the Linux-HA project.
+	  It performs death-of-node detection, communications and cluster management in one process.

Added: trunk/freewrt/package/heartbeat/Makefile
===================================================================
--- trunk/freewrt/package/heartbeat/Makefile	                        (rev 0)
+++ trunk/freewrt/package/heartbeat/Makefile	2007-12-07 18:58:00 UTC (rev 3660)
@@ -0,0 +1,40 @@
+# $FreeWRT$
+#-
+# This file is part of the FreeWRT project. FreeWRT is copyrighted
+# material, please see the LICENCE file in the top-level directory
+# or at http://www.freewrt.org/licence for details.
+
+include ${TOPDIR}/rules.mk
+
+PKG_NAME=		heartbeat
+#PKG_VERSION=		2.1.1
+PKG_VERSION=		1.2.5
+PKG_RELEASE=		1
+PKG_MD5SUM=		d59b021af0e1cbaba56345cc67f6ef12
+MASTER_SITES=		http://linux-ha.org/download/
+DISTFILES=		${PKG_NAME}-${PKG_VERSION}.tar.gz
+#WRKDIST=		${WRKDIR}/Heartbeat-Dev-b0639ee14ba3
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,HEARTBEAT,heartbeat,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+
+CONFIGURE_STYLE=	gnu
+# mgmt and crm need python
+#CONFIGURE_ARGS+=	--disable-mgmt \
+#			--disable-crm
+# dgettext usage throws warnings
+CONFIGURE_ARGS+=	--disable-fatal-warnings
+BUILD_STYLE=		auto
+INSTALL_STYLE=		auto
+#XAKE_FLAGS+=		GNUTLSHEAD="-I${STAGING_DIR}/usr/include" \
+#			GNUTLSLIBS="-L${STAGING_DIR}/usr/lib -lgnutls"
+
+post-install:
+	${INSTALL_DIR} ${IDIR_HEARTBEAT}/usr/{bin,lib,sbin}
+	${INSTALL_BIN} ${WRKINST}/usr/bin/cl_status ${IDIR_HEARTBEAT}/usr/bin/
+	${INSTALL_BIN} ${WRKINST}/usr/sbin/{meatclient,stonith} ${IDIR_HEARTBEAT}/usr/sbin/
+#	${PCP} ${WRKINST}/usr/lib ${IDIR_HEARTBEAT}/usr/
+	cp -a ${WRKINST}/usr/lib ${IDIR_HEARTBEAT}/usr/
+
+include ${TOPDIR}/mk/pkg-bottom.mk

Added: trunk/freewrt/package/heartbeat/ipkg/heartbeat.control
===================================================================
--- trunk/freewrt/package/heartbeat/ipkg/heartbeat.control	                        (rev 0)
+++ trunk/freewrt/package/heartbeat/ipkg/heartbeat.control	2007-12-07 18:58:00 UTC (rev 3660)
@@ -0,0 +1,5 @@
+Package: heartbeat
+Priority: optional
+Section: sys
+Depends: libgnutls glib1 libnet
+Description: LinuxHA Heartbeat Application

_______________________________________________
freewrt-commits mailing list
freewrt-commits@freewrt.org
https://www.freewrt.org/lists/listinfo/freewrt-commits
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic