summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-cluster/gfs-kernel/ChangeLog8
-rw-r--r--sys-cluster/gfs-kernel/files/digest-gfs-kernel-1.02.00-r16
-rw-r--r--sys-cluster/gfs-kernel/files/gfs-kernel-1.02.00-20060714-cvs-compile.patch11
-rw-r--r--sys-cluster/gfs-kernel/gfs-kernel-1.02.00-r1.ebuild65
4 files changed, 89 insertions, 1 deletions
diff --git a/sys-cluster/gfs-kernel/ChangeLog b/sys-cluster/gfs-kernel/ChangeLog
index b1d2b01bc2b5..e21296bb7b80 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-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/gfs-kernel/ChangeLog,v 1.13 2006/07/13 11:04:29 xmerlin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/gfs-kernel/ChangeLog,v 1.14 2006/07/14 12:20:30 xmerlin Exp $
+
+*gfs-kernel-1.02.00-r1 (13 Jul 2006)
+
+ 13 Jul 2006; Christian Zoffoli <xmerlin@gentoo.org>
+ +gfs-kernel-1.02.00-r1.ebuild:
+ 1.02.00 updated to current stable.
13 Jul 2006; Christian Zoffoli <xmerlin@gentoo.org>
-gfs-kernel-1.00.00-r1.ebuild:
diff --git a/sys-cluster/gfs-kernel/files/digest-gfs-kernel-1.02.00-r1 b/sys-cluster/gfs-kernel/files/digest-gfs-kernel-1.02.00-r1
new file mode 100644
index 000000000000..9292298b6a0b
--- /dev/null
+++ b/sys-cluster/gfs-kernel/files/digest-gfs-kernel-1.02.00-r1
@@ -0,0 +1,6 @@
+MD5 131c34c8b66d8d7d74384839ed4091d0 cluster-1.02.00.tar.gz 1356451
+RMD160 e9c0cdd1f5a7542c8a4ea38ccf6d057767269dc5 cluster-1.02.00.tar.gz 1356451
+SHA256 de45885146f1481808f7a34af5e6b7e2042895a4e3844eaa6161f942345c7849 cluster-1.02.00.tar.gz 1356451
+MD5 578820bbc46d547ad82ce57f6c30c4fa gfs-kernel-1.02.00-20060714-cvs.patch.gz 5731
+RMD160 8bc62c94968fa018ca303f55495cc1e74d218298 gfs-kernel-1.02.00-20060714-cvs.patch.gz 5731
+SHA256 1e90dbc6e3e446efee520bf61e098a413f145347dfb120f63452de4570390487 gfs-kernel-1.02.00-20060714-cvs.patch.gz 5731
diff --git a/sys-cluster/gfs-kernel/files/gfs-kernel-1.02.00-20060714-cvs-compile.patch b/sys-cluster/gfs-kernel/files/gfs-kernel-1.02.00-20060714-cvs-compile.patch
new file mode 100644
index 000000000000..8d79c660c55e
--- /dev/null
+++ b/sys-cluster/gfs-kernel/files/gfs-kernel-1.02.00-20060714-cvs-compile.patch
@@ -0,0 +1,11 @@
+--- gfs-kernel/src/gfs/ops_inode.c.orig 2006-07-14 14:32:00.000000000 +0200
++++ gfs-kernel/src/gfs/ops_inode.c 2006-07-14 14:32:07.000000000 +0200
+@@ -24,7 +24,7 @@
+ #include <linux/mm.h>
+ #include <linux/xattr.h>
+ #include <linux/posix_acl.h>
+-#include <cluster/cnxman.h>
++#include <../dlm/cnxman.h>
+
+ #include "gfs.h"
+ #include "acl.h"
diff --git a/sys-cluster/gfs-kernel/gfs-kernel-1.02.00-r1.ebuild b/sys-cluster/gfs-kernel/gfs-kernel-1.02.00-r1.ebuild
new file mode 100644
index 000000000000..bd419c3ba570
--- /dev/null
+++ b/sys-cluster/gfs-kernel/gfs-kernel-1.02.00-r1.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/gfs-kernel/gfs-kernel-1.02.00-r1.ebuild,v 1.1 2006/07/14 12:20:30 xmerlin Exp $
+
+inherit eutils linux-mod
+
+CVS_RELEASE="20060714"
+MY_P="cluster-${PV}"
+
+DESCRIPTION="GFS kernel module"
+HOMEPAGE="http://sources.redhat.com/cluster/"
+SRC_URI="ftp://sources.redhat.com/pub/cluster/releases/${MY_P}.tar.gz
+ mirror://gentoo/${PN/headers/kernel}-${PV}-${CVS_RELEASE}-cvs.patch.gz
+ http://dev.gentoo.org/~xmerlin/gfs/${PN/headers/kernel}-${PV}-${CVS_RELEASE}-cvs.patch.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+IUSE=""
+
+DEPEND="|| (
+ >=sys-kernel/vanilla-sources-2.6.17
+ >=sys-kernel/gentoo-sources-2.6.17
+ )
+ >=sys-cluster/dlm-headers-1.02.00-r1
+ >=sys-cluster/cman-headers-1.02.00-r1"
+
+RDEPEND=""
+
+S="${WORKDIR}/${MY_P}/${PN}"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${WORKDIR}/${PN/headers/kernel}-${PV}-${CVS_RELEASE}-cvs.patch || die
+ epatch ${FILESDIR}/${PN/headers/kernel}-${PV}-${CVS_RELEASE}-cvs-compile.patch || die
+}
+
+pkg_setup() {
+ if kernel_is 2 4; then
+ die "${P} supports only 2.6 kernels"
+ 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
+ rm -f ${D}/usr/include/linux/* || die
+}
+
+pkg_postinst() {
+ linux-mod_pkg_postinst
+
+ einfo ""
+ einfo "Please remember to re-emerge ${PN} when you upgrade your kernel!"
+ einfo ""
+}