summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Zoffoli <xmerlin@gentoo.org>2006-10-15 13:20:33 +0000
committerChristian Zoffoli <xmerlin@gentoo.org>2006-10-15 13:20:33 +0000
commit7246913b49dcc53545340b7ee6dd3840bd75a05f (patch)
treefbe9e09aeb0c21b238bcc283d1832bc7adfaa3a5 /sys-cluster/gfs-kernel
parentsetting myself as maintainer and marking stable on amd64 (diff)
downloadgentoo-2-7246913b49dcc53545340b7ee6dd3840bd75a05f.tar.gz
gentoo-2-7246913b49dcc53545340b7ee6dd3840bd75a05f.tar.bz2
gentoo-2-7246913b49dcc53545340b7ee6dd3840bd75a05f.zip
recommit
(Portage version: 2.1-r1)
Diffstat (limited to 'sys-cluster/gfs-kernel')
-rw-r--r--sys-cluster/gfs-kernel/ChangeLog6
-rw-r--r--sys-cluster/gfs-kernel/gfs-kernel-1.02.00-r1.ebuild20
-rw-r--r--sys-cluster/gfs-kernel/gfs-kernel-1.03.00.ebuild12
3 files changed, 19 insertions, 19 deletions
diff --git a/sys-cluster/gfs-kernel/ChangeLog b/sys-cluster/gfs-kernel/ChangeLog
index 0a9d1993040c..c7105a69a143 100644
--- a/sys-cluster/gfs-kernel/ChangeLog
+++ b/sys-cluster/gfs-kernel/ChangeLog
@@ -1,6 +1,10 @@
# 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.19 2006/10/14 18:15:26 xmerlin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/gfs-kernel/ChangeLog,v 1.20 2006/10/15 13:20:33 xmerlin Exp $
+
+ 15 Oct 2006; Christian Zoffoli <xmerlin@gentoo.org>
+ gfs-kernel-1.02.00-r1.ebuild, gfs-kernel-1.03.00.ebuild:
+ Improved ebuild
14 Oct 2006; Christian Zoffoli <xmerlin@gentoo.org>
-gfs-kernel-1.01.00.ebuild, -gfs-kernel-1.02.00.ebuild,
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
index 0711b47d246f..5e70e1b224a3 100644
--- a/sys-cluster/gfs-kernel/gfs-kernel-1.02.00-r1.ebuild
+++ b/sys-cluster/gfs-kernel/gfs-kernel-1.02.00-r1.ebuild
@@ -1,8 +1,8 @@
# 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.5 2006/10/14 18:15:26 xmerlin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/gfs-kernel/gfs-kernel-1.02.00-r1.ebuild,v 1.6 2006/10/15 13:20:33 xmerlin Exp $
-inherit eutils linux-mod
+inherit eutils linux-mod linux-info
CVS_RELEASE="20060714"
MY_P="cluster-${PV}"
@@ -33,6 +33,13 @@ 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_unpack() {
unpack ${A}
cd ${S}
@@ -46,16 +53,7 @@ src_unpack() {
epatch ${FILESDIR}/${PN/headers/kernel}-${PV}-${CVS_RELEASE}-cvs-compile.patch || die
}
-pkg_setup() {
- linux-mod_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 "configure problem"
diff --git a/sys-cluster/gfs-kernel/gfs-kernel-1.03.00.ebuild b/sys-cluster/gfs-kernel/gfs-kernel-1.03.00.ebuild
index e2afa203ee9f..4f6ad3ff0bb4 100644
--- a/sys-cluster/gfs-kernel/gfs-kernel-1.03.00.ebuild
+++ b/sys-cluster/gfs-kernel/gfs-kernel-1.03.00.ebuild
@@ -1,8 +1,8 @@
# 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.03.00.ebuild,v 1.3 2006/10/14 18:15:26 xmerlin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/gfs-kernel/gfs-kernel-1.03.00.ebuild,v 1.4 2006/10/15 13:20:33 xmerlin Exp $
-inherit eutils linux-mod
+inherit eutils linux-mod linux-info
MY_P="cluster-${PV}"
@@ -29,10 +29,9 @@ S="${WORKDIR}/${MY_P}/${PN}"
pkg_setup() {
linux-mod_pkg_setup
-
- if kernel_is 2 4; then
- die "${P} supports only 2.6 kernels"
- fi
+ case ${KV_FULL} in
+ 2.2.*|2.4.*) die "${P} supports only 2.6 kernels";;
+ esac
}
src_unpack() {
@@ -47,7 +46,6 @@ src_unpack() {
}
src_compile() {
- check_KV
set_arch_to_kernel
./configure --kernel_src=${KERNEL_DIR} --verbose || die "configure problem"