Version bump.
authorChristian Zoffoli <xmerlin@gentoo.org>
Fri, 9 Mar 2007 11:03:33 +0000 (11:03 +0000)
committerChristian Zoffoli <xmerlin@gentoo.org>
Fri, 9 Mar 2007 11:03:33 +0000 (11:03 +0000)
Package-Manager: portage-2.1.2-r9

sys-cluster/cman-kernel/ChangeLog
sys-cluster/cman-kernel/cman-kernel-1.04.00.ebuild [new file with mode: 0644]
sys-cluster/cman-kernel/files/digest-cman-kernel-1.04.00 [new file with mode: 0644]
sys-cluster/cman/ChangeLog
sys-cluster/cman/cman-1.02.00-r1.ebuild
sys-cluster/cman/cman-1.03.00.ebuild
sys-cluster/cman/cman-1.04.00.ebuild [new file with mode: 0644]
sys-cluster/cman/files/digest-cman-1.04.00 [new file with mode: 0644]

index 06c55a2971d351048c7d5982b0c2b158a1421b95..4c39b14a3734054ecad25e04ede0f2c566fd60af 100644 (file)
@@ -1,6 +1,12 @@
 # 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:
diff --git a/sys-cluster/cman-kernel/cman-kernel-1.04.00.ebuild b/sys-cluster/cman-kernel/cman-kernel-1.04.00.ebuild
new file mode 100644 (file)
index 0000000..16fd874
--- /dev/null
@@ -0,0 +1,51 @@
+# 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 ""
+}
diff --git a/sys-cluster/cman-kernel/files/digest-cman-kernel-1.04.00 b/sys-cluster/cman-kernel/files/digest-cman-kernel-1.04.00
new file mode 100644 (file)
index 0000000..2f86eed
--- /dev/null
@@ -0,0 +1,3 @@
+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
index 0960d7e900ee6836d02ed6a7ba2b33c92b8f2415..8c28eafba8afa3c6358628fa1f11c747e785d7e2 100644 (file)
@@ -1,6 +1,16 @@
 # 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:
index 54518da35be948c4232ac44aff14bad8da865f1b..23ed11eb398e7662a74c6fb163cf4ef2d10052f7 100644 (file)
@@ -1,11 +1,12 @@
-# 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/"
@@ -18,10 +19,10 @@ SLOT="0"
 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}"
 
@@ -41,4 +42,12 @@ src_install() {
 
        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 ""
 }
index ab45bd8e3f84e23f556ec45244ea2af20b980a09..cb6232c22d32749d3ac63b8ed34b2d68bb1f45b3 100644 (file)
@@ -1,10 +1,11 @@
-# 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/"
@@ -15,10 +16,10 @@ SLOT="0"
 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}"
 
@@ -39,4 +40,12 @@ src_install() {
 
        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 ""
 }
diff --git a/sys-cluster/cman/cman-1.04.00.ebuild b/sys-cluster/cman/cman-1.04.00.ebuild
new file mode 100644 (file)
index 0000000..9e0ec5a
--- /dev/null
@@ -0,0 +1,51 @@
+# 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 ""
+}
diff --git a/sys-cluster/cman/files/digest-cman-1.04.00 b/sys-cluster/cman/files/digest-cman-1.04.00
new file mode 100644 (file)
index 0000000..2f86eed
--- /dev/null
@@ -0,0 +1,3 @@
+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