# ChangeLog for sys-cluster/cman-kernel
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/cman-kernel/ChangeLog,v 1.24 2007/01/13 01:56:48 marineam Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/cman-kernel/ChangeLog,v 1.25 2007/03/09 11:03:33 xmerlin Exp $
+
+*cman-kernel-1.04.00 (03 Mar 2007)
+
+ 03 Mar 2007; Christian Zoffoli <xmerlin@gentoo.org>
+ +cman-kernel-1.04.00.ebuild:
+ Version bump.
13 Jan 2007; Michael Marineau <marineam@gentoo.org>
cman-kernel-1.02.00-r1.ebuild, cman-kernel-1.03.00.ebuild:
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/cman-kernel/cman-kernel-1.04.00.ebuild,v 1.1 2007/03/09 11:03:33 xmerlin Exp $
+
+inherit linux-mod linux-info
+
+MY_P="cluster-${PV}"
+
+DESCRIPTION="CMAN cluster kernel module"
+HOMEPAGE="http://sources.redhat.com/cluster/"
+SRC_URI="ftp://sources.redhat.com/pub/cluster/releases/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+IUSE=""
+DEPEND="|| (
+ >=sys-kernel/vanilla-sources-2.6.16
+ >=sys-kernel/gentoo-sources-2.6.16
+ )"
+RDEPEND=""
+
+S="${WORKDIR}/${MY_P}/${PN}"
+
+pkg_setup() {
+ linux-mod_pkg_setup
+ case ${KV_FULL} in
+ 2.2.*|2.4.*) die "${P} supports only 2.6 kernels";;
+ esac
+}
+
+src_compile() {
+ set_arch_to_kernel
+
+ ./configure --kernel_src=${KERNEL_DIR} --verbose || die "configure error"
+ emake || die "compile error"
+}
+
+src_install() {
+ emake DESTDIR=${D} module_dir=${D}/lib/modules/${KV_FULL} install || die "install error"
+ rm -f ${D}/usr/include/cluster/*
+}
+
+pkg_postinst() {
+ linux-mod_pkg_postinst
+
+ einfo ""
+ einfo "Please remember to re-emerge ${PN} when you upgrade your kernel!"
+ einfo ""
+}
--- /dev/null
+MD5 d1a0363109d0188959ec35b7d6ebfb67 cluster-1.04.00.tar.gz 1663798
+RMD160 5b241f38123c9ad65faf2a9eda7aa3e2dabee839 cluster-1.04.00.tar.gz 1663798
+SHA256 6f4b48e67383681ea6ad6e2907b56e755049816186375c4f2bcb9482da31c2c2 cluster-1.04.00.tar.gz 1663798
# ChangeLog for sys-cluster/cman
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/cman/ChangeLog,v 1.30 2006/10/14 17:45:38 xmerlin Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/cman/ChangeLog,v 1.31 2007/03/09 11:01:30 xmerlin Exp $
+
+*cman-1.04.00 (03 Mar 2007)
+
+ 03 Mar 2007; Christian Zoffoli <xmerlin@gentoo.org>
+ cman-1.02.00-r1.ebuild, cman-1.03.00.ebuild, +cman-1.04.00.ebuild:
+ Version bump.
+
+ 20 Oct 2006; Christian Zoffoli <xmerlin@gentoo.org>
+ cman-1.02.00-r1.ebuild, cman-1.03.00.ebuild:
+ Added fence RDEPEND.
14 Oct 2006; Christian Zoffoli <xmerlin@gentoo.org> -cman-1.01.00.ebuild,
-cman-1.02.00.ebuild, cman-1.02.00-r1.ebuild, cman-1.03.00.ebuild:
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/cman/cman-1.02.00-r1.ebuild,v 1.4 2006/10/14 17:45:38 xmerlin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/cman/cman-1.02.00-r1.ebuild,v 1.5 2007/03/09 11:01:30 xmerlin Exp $
inherit eutils
+CLUSTER_RELEASE="1.02.00"
+MY_P="cluster-${CLUSTER_RELEASE}"
CVS_RELEASE="20060713"
-MY_P="cluster-${PV}"
DESCRIPTION="general-purpose symmetric cluster manager"
HOMEPAGE="http://sources.redhat.com/cluster/"
KEYWORDS="~amd64 ~ia64 ~ppc ppc64 x86"
IUSE=""
-DEPEND=">=sys-cluster/ccs-1.02.00-r1
- >=sys-cluster/cman-headers-1.02.00-r1"
+DEPEND="=sys-cluster/ccs-${CLUSTER_RELEASE}*
+ =sys-cluster/cman-headers-${CLUSTER_RELEASE}*"
-RDEPEND="virtual/libc"
+RDEPEND=""
S="${WORKDIR}/${MY_P}/${PN}"
newinitd ${FILESDIR}/${PN}.rc ${PN} || die
newconfd ${FILESDIR}/${PN}.conf ${PN} || die
+
+ keepdir /etc/cluster || die
+}
+
+pkg_postinst() {
+ einfo ""
+ einfo "Please add a cluster.conf in /etc/cluster ."
+ einfo ""
}
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/cman/cman-1.03.00.ebuild,v 1.2 2006/10/14 17:45:38 xmerlin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/cman/cman-1.03.00.ebuild,v 1.3 2007/03/09 11:01:30 xmerlin Exp $
inherit eutils
-MY_P="cluster-${PV}"
+CLUSTER_RELEASE="1.03.00"
+MY_P="cluster-${CLUSTER_RELEASE}"
DESCRIPTION="general-purpose symmetric cluster manager"
HOMEPAGE="http://sources.redhat.com/cluster/"
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86"
IUSE=""
-DEPEND=">=sys-cluster/ccs-1.03.00
- >=sys-cluster/cman-headers-1.03.00"
+DEPEND="=sys-cluster/ccs-${CLUSTER_RELEASE}*
+ =sys-cluster/cman-headers-${CLUSTER_RELEASE}*"
-RDEPEND="virtual/libc"
+RDEPEND=""
S="${WORKDIR}/${MY_P}/${PN}"
newinitd ${FILESDIR}/${PN}.rc ${PN} || die
newconfd ${FILESDIR}/${PN}.conf ${PN} || die
+
+ keepdir /etc/cluster || die
+}
+
+pkg_postinst() {
+ einfo ""
+ einfo "Please add a cluster.conf in /etc/cluster ."
+ einfo ""
}
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/cman/cman-1.04.00.ebuild,v 1.1 2007/03/09 11:01:30 xmerlin Exp $
+
+inherit eutils
+
+CLUSTER_RELEASE="1.04.00"
+MY_P="cluster-${CLUSTER_RELEASE}"
+
+DESCRIPTION="general-purpose symmetric cluster manager"
+HOMEPAGE="http://sources.redhat.com/cluster/"
+SRC_URI="ftp://sources.redhat.com/pub/cluster/releases/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+DEPEND="=sys-cluster/ccs-${CLUSTER_RELEASE}*
+ =sys-cluster/cman-headers-${CLUSTER_RELEASE}*"
+
+RDEPEND=""
+
+S="${WORKDIR}/${MY_P}/${PN}"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/cman-1.03.00-compile-hack.patch || die
+}
+
+
+src_compile() {
+ ./configure || die "configure problem"
+ emake -j1 || die "compile problem"
+}
+
+src_install() {
+ emake DESTDIR=${D} install || die "install problem"
+
+ newinitd ${FILESDIR}/${PN}.rc ${PN} || die
+ newconfd ${FILESDIR}/${PN}.conf ${PN} || die
+
+ keepdir /etc/cluster || die
+}
+
+pkg_postinst() {
+ einfo ""
+ einfo "Please add a cluster.conf in /etc/cluster ."
+ einfo ""
+}
--- /dev/null
+MD5 d1a0363109d0188959ec35b7d6ebfb67 cluster-1.04.00.tar.gz 1663798
+RMD160 5b241f38123c9ad65faf2a9eda7aa3e2dabee839 cluster-1.04.00.tar.gz 1663798
+SHA256 6f4b48e67383681ea6ad6e2907b56e755049816186375c4f2bcb9482da31c2c2 cluster-1.04.00.tar.gz 1663798