summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Zoffoli <xmerlin@gentoo.org>2005-03-19 16:52:33 +0000
committerChristian Zoffoli <xmerlin@gentoo.org>2005-03-19 16:52:33 +0000
commit3234485ce064facde4ddd5c13f42ecb968e1f657 (patch)
treed3e5a42dfa070d7ae54da02b11174346e093b055 /sys-cluster
parentfixed a little typo (diff)
downloadhistorical-3234485ce064facde4ddd5c13f42ecb968e1f657.tar.gz
historical-3234485ce064facde4ddd5c13f42ecb968e1f657.tar.bz2
historical-3234485ce064facde4ddd5c13f42ecb968e1f657.zip
gfs-kernel-2.6.9 updated to gfs-kernel-2.6.9-27
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/gfs-kernel/ChangeLog8
-rw-r--r--sys-cluster/gfs-kernel/files/digest-gfs-kernel-2.6.9-r11
-rw-r--r--sys-cluster/gfs-kernel/gfs-kernel-2.6.9-r1.ebuild58
3 files changed, 66 insertions, 1 deletions
diff --git a/sys-cluster/gfs-kernel/ChangeLog b/sys-cluster/gfs-kernel/ChangeLog
index 762fc57bfeb3..a638dec55696 100644
--- a/sys-cluster/gfs-kernel/ChangeLog
+++ b/sys-cluster/gfs-kernel/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-cluster/gfs-kernel
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/gfs-kernel/ChangeLog,v 1.3 2005/03/10 13:54:08 xmerlin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/gfs-kernel/ChangeLog,v 1.4 2005/03/19 16:52:33 xmerlin Exp $
+
+*gfs-kernel-2.6.9-r1 (19 Mar 2005)
+
+ 19 Mar 2005; Christian Zoffoli <xmerlin@gentoo.org>
+ +gfs-kernel-2.6.9-r1.ebuild:
+ gfs-kernel-2.6.9 updated to gfs-kernel-2.6.9-27
10 Mar 2005; Christian Zoffoli <xmerlin@gentoo.org> gfs-kernel-2.6.9.ebuild:
added sys-cluster/dlm-kernel to DEPEND
diff --git a/sys-cluster/gfs-kernel/files/digest-gfs-kernel-2.6.9-r1 b/sys-cluster/gfs-kernel/files/digest-gfs-kernel-2.6.9-r1
new file mode 100644
index 000000000000..fd961efe601e
--- /dev/null
+++ b/sys-cluster/gfs-kernel/files/digest-gfs-kernel-2.6.9-r1
@@ -0,0 +1 @@
+MD5 0c84d0e3b472a78527a5de11e3a63aa2 gfs-kernel-2.6.9-27.tar.gz 558273
diff --git a/sys-cluster/gfs-kernel/gfs-kernel-2.6.9-r1.ebuild b/sys-cluster/gfs-kernel/gfs-kernel-2.6.9-r1.ebuild
new file mode 100644
index 000000000000..12285d8ac2d1
--- /dev/null
+++ b/sys-cluster/gfs-kernel/gfs-kernel-2.6.9-r1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/gfs-kernel/gfs-kernel-2.6.9-r1.ebuild,v 1.1 2005/03/19 16:52:33 xmerlin Exp $
+
+inherit eutils linux-mod
+
+MY_PV="${PV}-27"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="GFS kernel module"
+HOMEPAGE="http://sources.redhat.com/cluster/"
+#SRC_URI="http://people.redhat.com/cfeist/cluster/tgz/${MY_P}.tar.gz"
+
+SRC_URI="mirror://gentoo/${MY_P}.tar.gz
+ http://dev.gentoo.org/~xmerlin/gfs/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+
+IUSE=""
+DEPEND="virtual/linux-sources
+ >=sys-cluster/dlm-kernel-2.6.9-r1
+ >=sys-cluster/cman-kernel-2.6.9-r1"
+
+RDEPEND=""
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_setup() {
+ if kernel_is 2 4; then
+ die "${P} supports only 2.6 kernels"
+ else
+ if ! kernel_is 2 6 9; then
+ die "${P} needs a 2.6.9 kernel"
+ fi
+ fi
+}
+
+src_compile() {
+ check_KV
+ set_arch_to_kernel
+
+ ./configure --kernel_src=${KERNEL_DIR} --verbose || die
+ emake || die
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+}
+
+pkg_postinst() {
+ linux-mod_pkg_postinst
+
+ einfo ""
+ einfo "Please remember to re-emerge ${PN} when you upgrade your kernel!"
+ einfo ""
+}