diff options
author | Christian Zoffoli <xmerlin@gentoo.org> | 2008-11-21 22:45:38 +0000 |
---|---|---|
committer | Christian Zoffoli <xmerlin@gentoo.org> | 2008-11-21 22:45:38 +0000 |
commit | 03b01a61dba48c219d3e3dc2a95dc6d9417f922b (patch) | |
tree | 0cbe8c563a158d839ab910e00aa5aa91934366e0 /sys-cluster | |
parent | Block dev-lang/mercury. Closes #247070. (diff) | |
download | gentoo-2-03b01a61dba48c219d3e3dc2a95dc6d9417f922b.tar.gz gentoo-2-03b01a61dba48c219d3e3dc2a95dc6d9417f922b.tar.bz2 gentoo-2-03b01a61dba48c219d3e3dc2a95dc6d9417f922b.zip |
Ebuild cleanup, version bump, fixed homepage
(Portage version: 2.1.4.4)
Diffstat (limited to 'sys-cluster')
-rw-r--r-- | sys-cluster/gnbd-kernel/ChangeLog | 12 | ||||
-rw-r--r-- | sys-cluster/gnbd-kernel/files/gnbd-kernel-1.03.00-compile-fix-kernel-post-2.6.18.patch | 32 | ||||
-rw-r--r-- | sys-cluster/gnbd-kernel/files/gnbd-kernel-1.04.00-compile-fix-kernel-pre-2.6.19.patch | 32 | ||||
-rw-r--r-- | sys-cluster/gnbd-kernel/files/gnbd-kernel-2.02.00-compile-fix-kernel-pre-2.6.24.diff | 118 | ||||
-rw-r--r-- | sys-cluster/gnbd-kernel/files/gnbd-kernel-remove-devfs-support.patch | 43 | ||||
-rw-r--r-- | sys-cluster/gnbd-kernel/gnbd-kernel-1.02.00-r1.ebuild | 73 | ||||
-rw-r--r-- | sys-cluster/gnbd-kernel/gnbd-kernel-1.03.00.ebuild | 69 | ||||
-rw-r--r-- | sys-cluster/gnbd-kernel/gnbd-kernel-1.04.00.ebuild | 67 | ||||
-rw-r--r-- | sys-cluster/gnbd-kernel/gnbd-kernel-2.03.09.ebuild (renamed from sys-cluster/gnbd-kernel/gnbd-kernel-2.02.00.ebuild) | 8 |
9 files changed, 14 insertions, 440 deletions
diff --git a/sys-cluster/gnbd-kernel/ChangeLog b/sys-cluster/gnbd-kernel/ChangeLog index 35c547e040e3..a31ce995b5e8 100644 --- a/sys-cluster/gnbd-kernel/ChangeLog +++ b/sys-cluster/gnbd-kernel/ChangeLog @@ -1,6 +1,16 @@ # ChangeLog for sys-cluster/gnbd-kernel # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/gnbd-kernel/ChangeLog,v 1.25 2008/03/21 01:52:13 xmerlin Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/gnbd-kernel/ChangeLog,v 1.26 2008/11/21 22:45:37 xmerlin Exp $ + + 13 Nov 2008; Christian Zoffoli <xmerlin@gentoo.org> + -files/gnbd-kernel-1.03.00-compile-fix-kernel-post-2.6.18.patch, + -files/gnbd-kernel-1.04.00-compile-fix-kernel-pre-2.6.19.patch, + -files/gnbd-kernel-2.02.00-compile-fix-kernel-pre-2.6.24.diff, + -files/gnbd-kernel-remove-devfs-support.patch, + -gnbd-kernel-1.02.00-r1.ebuild, -gnbd-kernel-1.03.00.ebuild, + -gnbd-kernel-1.04.00.ebuild, -gnbd-kernel-2.02.00.ebuild, + +gnbd-kernel-2.03.09.ebuild: + Ebuild cleanup, version bump, fixed homepage. 21 Mar 2008; Christian Zoffoli <xmerlin@gentoo.org> +files/gnbd-kernel-2.02.00-compile-fix-kernel-pre-2.6.24.diff, diff --git a/sys-cluster/gnbd-kernel/files/gnbd-kernel-1.03.00-compile-fix-kernel-post-2.6.18.patch b/sys-cluster/gnbd-kernel/files/gnbd-kernel-1.03.00-compile-fix-kernel-post-2.6.18.patch deleted file mode 100644 index 8b0f20beaf7e..000000000000 --- a/sys-cluster/gnbd-kernel/files/gnbd-kernel-1.03.00-compile-fix-kernel-post-2.6.18.patch +++ /dev/null @@ -1,32 +0,0 @@ -diff -uNr cluster-1.03.00/gnbd-kernel/src/gnbd.c cluster-1.04.00/gnbd-kernel/src/gnbd.c ---- cluster-1.03.00/gnbd-kernel/src/gnbd.c 2006-07-12 19:34:29.000000000 +0200 -+++ cluster-1.04.00/gnbd-kernel/src/gnbd.c 2007-02-07 16:25:05.000000000 +0100 -@@ -578,10 +577,10 @@ - struct gnbd_device *dev; - - blkdev_dequeue_request(req); -- dprintk(DBG_BLKDEV, "%s: request %p: dequeued (flags=%lx)\n", -- req->rq_disk->disk_name, req, req->flags); -+ dprintk(DBG_BLKDEV, "%s: request %p: dequeued (flags=%x)\n", -+ req->rq_disk->disk_name, req, req->cmd_type); - -- if (!(req->flags & REQ_CMD)) -+ if (!blk_fs_request(req)) - goto error_out; - - dev = req->rq_disk->private_data; -@@ -890,12 +888,12 @@ - printk(KERN_CRIT "gnbd: sizeof gnbd_request needs to be 28 in order to work!\n" ); - return -EIO; - } -- shutdown_req.flags = REQ_SPECIAL; -+ shutdown_req.cmd_type = REQ_TYPE_SPECIAL; - gnbd_cmd(&shutdown_req) = GNBD_CMD_DISC; - shutdown_req.sector = 0; - shutdown_req.nr_sectors = 0; - -- ping_req.flags = REQ_SPECIAL; -+ ping_req.cmd_type = REQ_TYPE_SPECIAL; - gnbd_cmd(&ping_req) = GNBD_CMD_PING; - ping_req.sector = 0; - ping_req.nr_sectors = 0; diff --git a/sys-cluster/gnbd-kernel/files/gnbd-kernel-1.04.00-compile-fix-kernel-pre-2.6.19.patch b/sys-cluster/gnbd-kernel/files/gnbd-kernel-1.04.00-compile-fix-kernel-pre-2.6.19.patch deleted file mode 100644 index 9ed4302776ee..000000000000 --- a/sys-cluster/gnbd-kernel/files/gnbd-kernel-1.04.00-compile-fix-kernel-pre-2.6.19.patch +++ /dev/null @@ -1,32 +0,0 @@ -diff -uNr cluster-1.04.00.orig/gnbd-kernel/src/gnbd.c cluster-1.04.00/gnbd-kernel/src/gnbd.c ---- cluster-1.04.00.orig/gnbd-kernel/src/gnbd.c 2007-02-07 16:25:05.000000000 +0100 -+++ cluster-1.04.00/gnbd-kernel/src/gnbd.c 2006-07-12 19:34:29.000000000 +0200 -@@ -577,10 +578,10 @@ - struct gnbd_device *dev; - - blkdev_dequeue_request(req); -- dprintk(DBG_BLKDEV, "%s: request %p: dequeued (flags=%x)\n", -- req->rq_disk->disk_name, req, req->cmd_type); -+ dprintk(DBG_BLKDEV, "%s: request %p: dequeued (flags=%lx)\n", -+ req->rq_disk->disk_name, req, req->flags); - -- if (!blk_fs_request(req)) -+ if (!(req->flags & REQ_CMD)) - goto error_out; - - dev = req->rq_disk->private_data; -@@ -888,12 +890,12 @@ - printk(KERN_CRIT "gnbd: sizeof gnbd_request needs to be 28 in order to work!\n" ); - return -EIO; - } -- shutdown_req.cmd_type = REQ_TYPE_SPECIAL; -+ shutdown_req.flags = REQ_SPECIAL; - gnbd_cmd(&shutdown_req) = GNBD_CMD_DISC; - shutdown_req.sector = 0; - shutdown_req.nr_sectors = 0; - -- ping_req.cmd_type = REQ_TYPE_SPECIAL; -+ ping_req.flags = REQ_SPECIAL; - gnbd_cmd(&ping_req) = GNBD_CMD_PING; - ping_req.sector = 0; - ping_req.nr_sectors = 0; diff --git a/sys-cluster/gnbd-kernel/files/gnbd-kernel-2.02.00-compile-fix-kernel-pre-2.6.24.diff b/sys-cluster/gnbd-kernel/files/gnbd-kernel-2.02.00-compile-fix-kernel-pre-2.6.24.diff deleted file mode 100644 index 8cd1fc77c227..000000000000 --- a/sys-cluster/gnbd-kernel/files/gnbd-kernel-2.02.00-compile-fix-kernel-pre-2.6.24.diff +++ /dev/null @@ -1,118 +0,0 @@ -diff -uNr cluster-2.02.00.orig/gnbd-kernel/src/gnbd.c cluster-2.02.00/gnbd-kernel/src/gnbd.c ---- cluster-2.02.00.orig/gnbd-kernel/src/gnbd.c 2008-02-26 16:37:43.000000000 +0100 -+++ cluster-2.02.00/gnbd-kernel/src/gnbd.c 2008-03-21 02:40:52.000000000 +0100 -@@ -168,7 +168,7 @@ - - if (down_trylock(&dev->do_it_lock)) - return -EBUSY; -- res = sscanf(buf, "%Lu\n", (unsigned long long int *)&size); -+ res = sscanf(buf, "%Lu\n", &size); - if (res != 1){ - up(&dev->do_it_lock); - return -EINVAL; -@@ -267,7 +267,7 @@ - static void gnbd_end_request(struct request *req) - { - int uptodate = (req->errors == 0) ? 1 : 0; -- struct request_queue *q = req->q; -+ request_queue_t *q = req->q; - unsigned long flags; - - dprintk(DBG_BLKDEV, "%s: request %p: %s\n", req->rq_disk->disk_name, -@@ -369,7 +369,7 @@ - int __gnbd_send_req(struct gnbd_device *dev, struct socket *sock, - struct request *req, int can_signal) - { -- int result, flags; -+ int result, i, flags; - struct gnbd_request request; - unsigned long size = req->nr_sectors << 9; - -@@ -403,26 +403,28 @@ - } - - if (gnbd_cmd(req) == GNBD_CMD_WRITE) { -- struct req_iterator iter; -- struct bio_vec *bvec; -+ struct bio *bio; - /* - * we are really probing at internals to determine - * whether to set MSG_MORE or not... - */ -- rq_for_each_segment(bvec, req, iter) { -- flags = 0; -- if (!rq_iter_last(req, iter)) -- flags = MSG_MORE; -- dprintk(DBG_TX, "%s: request %p: sending %d bytes data\n", -- dev->disk->disk_name, req, -- bvec->bv_len); -- result = sock_send_bvec(sock, bvec, flags, -- can_signal); -- if (result < 0) { -- printk(KERN_ERR "%s: Send data failed (result %d)\n", -- dev->disk->disk_name, -- result); -- goto error_out; -+ rq_for_each_bio(bio, req) { -+ struct bio_vec *bvec; -+ bio_for_each_segment(bvec, bio, i) { -+ flags = 0; -+ if ((i < (bio->bi_vcnt - 1)) || bio->bi_next) -+ flags = MSG_MORE; -+ dprintk(DBG_TX, "%s: request %p: sending %d bytes data\n", -+ dev->disk->disk_name, req, -+ bvec->bv_len); -+ result = sock_send_bvec(sock, bvec, flags, -+ can_signal); -+ if (result < 0) { -+ printk(KERN_ERR "%s: Send data failed (result %d)\n", -+ dev->disk->disk_name, -+ result); -+ goto error_out; -+ } - } - } - } -@@ -462,19 +464,21 @@ - int gnbd_recv_req(struct gnbd_device *dev, struct request *req) - { - int result; -- struct bio_vec *bvec; -- struct req_iterator iter; -- -- rq_for_each_segment(bvec, req, iter) { -- result = sock_recv_bvec(dev->sock, bvec); -- if (result < 0) { -- printk(KERN_ERR "%s: Receive data failed (result %d)\n", -- dev->disk->disk_name, -- result); -- return result; -+ int i; -+ struct bio *bio; -+ rq_for_each_bio(bio, req) { -+ struct bio_vec *bvec; -+ bio_for_each_segment(bvec, bio, i) { -+ result = sock_recv_bvec(dev->sock, bvec); -+ if (result < 0) { -+ printk(KERN_ERR "%s: Receive data failed (result %d)\n", -+ dev->disk->disk_name, -+ result); -+ return result; -+ } -+ dprintk(DBG_RX, "%s: request %p: got %d bytes data\n", -+ dev->disk->disk_name, req, bvec->bv_len); - } -- dprintk(DBG_RX, "%s: request %p: got %d bytes data\n", -- dev->disk->disk_name, req, bvec->bv_len); - } - return 0; - } -@@ -561,7 +565,7 @@ - * { printk( "Warning: Ignoring result!\n"); gnbd_end_request( req ); } - */ - --static void do_gnbd_request(struct request_queue *q) -+static void do_gnbd_request(request_queue_t * q) - { - int err; - struct request *req; diff --git a/sys-cluster/gnbd-kernel/files/gnbd-kernel-remove-devfs-support.patch b/sys-cluster/gnbd-kernel/files/gnbd-kernel-remove-devfs-support.patch deleted file mode 100644 index be105ea7a495..000000000000 --- a/sys-cluster/gnbd-kernel/files/gnbd-kernel-remove-devfs-support.patch +++ /dev/null @@ -1,43 +0,0 @@ -diff -uNr cluster-1.03.00.orig/gnbd-kernel/src/gnbd.c cluster-1.03.00/gnbd-kernel/src/gnbd.c ---- cluster-1.03.00.orig/gnbd-kernel/src/gnbd.c 2006-07-12 19:34:29.000000000 +0200 -+++ cluster-1.03.00/gnbd-kernel/src/gnbd.c 2007-03-03 01:18:40.000000000 +0100 -@@ -30,7 +30,6 @@ - #include <linux/buffer_head.h> - #include <linux/miscdevice.h> - #include <linux/moduleparam.h> --#include <linux/devfs_fs_kernel.h> - - #include <asm/uaccess.h> - #include <asm/types.h> -@@ -845,7 +844,6 @@ - { - .minor = MISC_DYNAMIC_MINOR, - .name = "gnbd_ctl", -- .devfs_name = "gnbd_ctl", - .fops = &_gnbd_ctl_fops - }; - -@@ -926,7 +924,6 @@ - printk(KERN_INFO "gnbd: registered device at major %d\n", major_nr); - dprintk(DBG_INIT, "gnbd: debugflags=0x%x\n", debugflags); - -- devfs_mk_dir("gnbd_minor"); - err = class_register(&gnbd_class); - if (err) - goto out_unregister; -@@ -982,7 +979,6 @@ - disk->fops = &gnbd_fops; - disk->private_data = &gnbd_dev[i]; - sprintf(disk->disk_name, "gnbd%d", i); -- sprintf(disk->devfs_name, "gnbd_minor/%d", i); - set_capacity(disk, 0); - add_disk(disk); - if(sysfs_create_link(&gnbd_dev[i].class_dev.kobj, -@@ -1036,7 +1032,6 @@ - kfree(gnbd_dev[i].server_name); - } - class_unregister(&gnbd_class); -- devfs_remove("gnbd"); - unregister_blkdev(major_nr, "gnbd"); - printk(KERN_INFO "gnbd: unregistered device at major %d\n", major_nr); - } diff --git a/sys-cluster/gnbd-kernel/gnbd-kernel-1.02.00-r1.ebuild b/sys-cluster/gnbd-kernel/gnbd-kernel-1.02.00-r1.ebuild deleted file mode 100644 index 9ec6e3c33ac5..000000000000 --- a/sys-cluster/gnbd-kernel/gnbd-kernel-1.02.00-r1.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/gnbd-kernel/gnbd-kernel-1.02.00-r1.ebuild,v 1.15 2008/03/17 17:05:35 xmerlin Exp $ - -inherit eutils linux-mod linux-info - -CLUSTER_RELEASE="1.02.00" -MY_P="cluster-${CLUSTER_RELEASE}" -CVS_RELEASE="20060713" - -DESCRIPTION="GFS Network Block Devices module" -HOMEPAGE="http://sources.redhat.com/cluster/" -SRC_URI="ftp://sources.redhat.com/pub/cluster/releases/${MY_P}.tar.gz - mirror://gentoo/${PN}-${PV}-${CVS_RELEASE}-cvs.patch.gz - http://dev.gentoo.org/~xmerlin/gfs/${PN}-${PV}-${CVS_RELEASE}-cvs.patch.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc x86" -IUSE="" - -DEPEND=">=virtual/linux-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_unpack() { - unpack ${A} - cd "${S}" - epatch "${WORKDIR}"/${PN}-${PV}-${CVS_RELEASE}-cvs.patch || die - - if kernel_is 2 6; then - if [ "$KV_PATCH" -ge "18" ] ; then - epatch "${FILESDIR}"/${PN}-remove-devfs-support.patch || die - - sed -i \ - -e 's|version.h|utsrelease.h|g' \ - configure \ - || die "sed failed" - fi - - if [ "$KV_PATCH" -ge "19" ] ; then - epatch "${FILESDIR}"/${PN}-1.03.00-compile-fix-kernel-post-2.6.18.patch || die - fi - fi -} - -src_compile() { - set_arch_to_kernel - - ./configure --kernel_src=${KERNEL_DIR} --verbose || die "configure problem" - emake || die "compile problem" -} - -src_install() { - emake DESTDIR="${D}" install || die "install problem" - rm -f "${D}"/usr/include/linux/gnbd.h || die -} - -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/gnbd-kernel/gnbd-kernel-1.03.00.ebuild b/sys-cluster/gnbd-kernel/gnbd-kernel-1.03.00.ebuild deleted file mode 100644 index 778c64f38023..000000000000 --- a/sys-cluster/gnbd-kernel/gnbd-kernel-1.03.00.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/gnbd-kernel/gnbd-kernel-1.03.00.ebuild,v 1.14 2008/03/17 17:05:35 xmerlin Exp $ - -inherit linux-mod linux-info - -CLUSTER_RELEASE="1.03.00" -MY_P="cluster-${CLUSTER_RELEASE}" - -DESCRIPTION="GFS Network Block Devices 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=">=virtual/linux-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_unpack() { - unpack ${A} - cd "${S}" - - if kernel_is 2 6; then - if [ "$KV_PATCH" -ge "18" ] ; then - epatch "${FILESDIR}"/${PN}-remove-devfs-support.patch || die - - sed -i \ - -e 's|version.h|utsrelease.h|g' \ - configure \ - || die "sed failed" - fi - - if [ "$KV_PATCH" -ge "19" ] ; then - epatch "${FILESDIR}"/${P}-compile-fix-kernel-post-2.6.18.patch || die - fi - fi -} - -src_compile() { - set_arch_to_kernel - - ./configure --kernel_src=${KERNEL_DIR} --verbose || die "configure problem" - emake || die "compile problem" -} - -src_install() { - emake DESTDIR="${D}" install || die "install problem" - rm -f "${D}"/usr/include/linux/gnbd.h || die -} - -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/gnbd-kernel/gnbd-kernel-1.04.00.ebuild b/sys-cluster/gnbd-kernel/gnbd-kernel-1.04.00.ebuild deleted file mode 100644 index 19e75e7505fd..000000000000 --- a/sys-cluster/gnbd-kernel/gnbd-kernel-1.04.00.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/gnbd-kernel/gnbd-kernel-1.04.00.ebuild,v 1.4 2008/03/17 17:05:35 xmerlin Exp $ - -inherit linux-mod linux-info - -CLUSTER_RELEASE="1.04.00" -MY_P="cluster-${CLUSTER_RELEASE}" - -DESCRIPTION="GFS Network Block Devices 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=">=virtual/linux-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_unpack() { - unpack ${A} - cd "${S}" - - if kernel_is 2 6; then - if [ "$KV_PATCH" -lt "18" ] ; then - sed -i \ - -e 's|utsrelease.h|version.h|g' \ - configure \ - || die "sed failed" - fi - - if [ "$KV_PATCH" -lt "19" ] ; then - epatch "${FILESDIR}"/${P}-compile-fix-kernel-pre-2.6.19.patch || die - fi - fi -} - -src_compile() { - set_arch_to_kernel - - ./configure --kernel_src=${KERNEL_DIR} --verbose || die "configure problem" - emake || die "compile problem" -} - -src_install() { - emake DESTDIR="${D}" install || die "install problem" - rm -f "${D}"/usr/include/linux/gnbd.h || die -} - -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/gnbd-kernel/gnbd-kernel-2.02.00.ebuild b/sys-cluster/gnbd-kernel/gnbd-kernel-2.03.09.ebuild index a6ace8d7129b..31e0eeb93f03 100644 --- a/sys-cluster/gnbd-kernel/gnbd-kernel-2.02.00.ebuild +++ b/sys-cluster/gnbd-kernel/gnbd-kernel-2.03.09.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/gnbd-kernel/gnbd-kernel-2.02.00.ebuild,v 1.2 2008/03/21 01:52:13 xmerlin Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/gnbd-kernel/gnbd-kernel-2.03.09.ebuild,v 1.1 2008/11/21 22:45:37 xmerlin Exp $ inherit eutils linux-mod linux-info versionator @@ -11,7 +11,7 @@ MAJ_PV="$(get_major_version)" MIN_PV="$(get_version_component_range 2).$(get_version_component_range 3)" DESCRIPTION="GFS Network Block Devices module" -HOMEPAGE="http://sources.redhat.com/cluster/" +HOMEPAGE="http://sources.redhat.com/cluster/wiki/" SRC_URI="ftp://sources.redhat.com/pub/cluster/releases/${MY_P}.tar.gz" LICENSE="GPL-2" @@ -19,7 +19,7 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" -DEPEND=">=virtual/linux-sources-2.6.20" +DEPEND=">=virtual/linux-sources-2.6.27" RDEPEND="${DEPEND}" S="${WORKDIR}/${MY_P}/${PN}" @@ -51,8 +51,6 @@ src_compile() { --cflags="-Wall" \ --kernel_src=${KERNEL_DIR} \ --disable_kernel_check \ - --release_major="$MAJ_PV" \ - --release_minor="$MIN_PV" \ ) || die "configure problem" (cd "${S}"/src; |