From 1d3b9b87c6bbd111eda6018bb3ffdb4e073970d1 Mon Sep 17 00:00:00 2001 From: Roman I Khimov Date: Mon, 24 May 2010 12:40:00 +0400 Subject: corosync: update to version 1.2.3 * bug fix release, considered as safe upgrade * remove init file installed by default (we have our own) Signed-off-by: Roman I Khimov --- recipes/corosync/corosync_1.2.1.bb | 37 ------------------------------------ recipes/corosync/corosync_1.2.3.bb | 39 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+), 37 deletions(-) delete mode 100644 recipes/corosync/corosync_1.2.1.bb create mode 100644 recipes/corosync/corosync_1.2.3.bb (limited to 'recipes/corosync') diff --git a/recipes/corosync/corosync_1.2.1.bb b/recipes/corosync/corosync_1.2.1.bb deleted file mode 100644 index 9ebea888c6..0000000000 --- a/recipes/corosync/corosync_1.2.1.bb +++ /dev/null @@ -1,37 +0,0 @@ -DESCRIPTION = "OSI Certified implementation of a complete cluster engine" -LICENSE = "BSD" - -PR = "r0" - -SRC_URI = " \ - ftp://ftp@corosync.org/downloads/corosync-${PV}/corosync-${PV}.tar.gz;name=tar \ - file://fix-lcrso-linkage.patch \ - file://init \ - file://corosync.conf \ - file://volatiles \ - " -SRC_URI[tar.md5sum] = "cba5eb5da41630f53e54b90c449c056d" -SRC_URI[tar.sha256sum] = "d919d9817c4cde9e3d38e6f79731d9e1cd53485c6160bd253d888fa58a87a43d" - -inherit autotools_stage update-rc.d - -INITSCRIPT_NAME = "corosync-daemon" - -EXTRA_OECONF = "--disable-nss" - -FILES_${PN}-dbg += "${libexecdir}/lcrso/.debug" - -do_install_append() { - install -d ${D}/${sysconfdir}/init.d - install -d ${D}${sysconfdir}/default/volatiles - install -m 0755 ${WORKDIR}/init ${D}/${sysconfdir}/init.d/corosync-daemon - install -m 0644 ${WORKDIR}/corosync.conf ${D}/${sysconfdir}/corosync/corosync.conf.example - install -m 0644 ${WORKDIR}/volatiles ${D}${sysconfdir}/default/volatiles/05_corosync -} - -pkg_postinst_${PN} () { - set -e - grep haclient /etc/group || addgroup haclient - grep hacluster /etc/passwd || adduser --disabled-password --home=/var/lib/heartbeat --ingroup haclient -g "HA cluster" hacluster - /etc/init.d/populate-volatile.sh update -} diff --git a/recipes/corosync/corosync_1.2.3.bb b/recipes/corosync/corosync_1.2.3.bb new file mode 100644 index 0000000000..9aa1528163 --- /dev/null +++ b/recipes/corosync/corosync_1.2.3.bb @@ -0,0 +1,39 @@ +DESCRIPTION = "OSI Certified implementation of a complete cluster engine" +LICENSE = "BSD" + +PR = "r0" + +SRC_URI = " \ + ftp://ftp@corosync.org/downloads/corosync-${PV}/corosync-${PV}.tar.gz \ + file://fix-lcrso-linkage.patch \ + file://init \ + file://corosync.conf \ + file://volatiles \ + " +SRC_URI[md5sum] = "03b8cc311619c07ae1a84a5d59f13d0b" +SRC_URI[sha256sum] = "4dd2aa43d82bb22c9bfed146da4ea2e07134d413a42f164dff86da9f34719fc9" + +inherit autotools_stage update-rc.d + +INITSCRIPT_NAME = "corosync-daemon" + +EXTRA_OECONF = "--disable-nss" + +FILES_${PN}-dbg += "${libexecdir}/lcrso/.debug" + +do_install_append() { + install -d ${D}/${sysconfdir}/init.d + install -d ${D}${sysconfdir}/default/volatiles + # Original init script is too bashy + rm -f ${D}/${sysconfdir}/init.d/corosync + install -m 0755 ${WORKDIR}/init ${D}/${sysconfdir}/init.d/corosync-daemon + install -m 0644 ${WORKDIR}/corosync.conf ${D}/${sysconfdir}/corosync/corosync.conf.example + install -m 0644 ${WORKDIR}/volatiles ${D}${sysconfdir}/default/volatiles/05_corosync +} + +pkg_postinst_${PN} () { + set -e + grep haclient /etc/group || addgroup haclient + grep hacluster /etc/passwd || adduser --disabled-password --home=/var/lib/heartbeat --ingroup haclient -g "HA cluster" hacluster + /etc/init.d/populate-volatile.sh update +} -- cgit v1.2.3