diff options
author | Alin Năstac <mrness@gentoo.org> | 2006-03-26 17:32:20 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2006-03-26 17:32:20 +0000 |
commit | 3227b48558f5f8e67697448b78a2c6f25cb559f4 (patch) | |
tree | 113e79692751aed7b1cf799aa7143f5eb93481c1 /net-dialup | |
parent | Mark 3.4.3 stable on ia64 (diff) | |
download | gentoo-2-3227b48558f5f8e67697448b78a2c6f25cb559f4.tar.gz gentoo-2-3227b48558f5f8e67697448b78a2c6f25cb559f4.tar.bz2 gentoo-2-3227b48558f5f8e67697448b78a2c6f25cb559f4.zip |
Bail out in pkg_setup if kernel version is >=2.6.16. This kernel version contains a driver for eagle-usb ADSL modems (#127528).
(Portage version: 2.0.54)
Diffstat (limited to 'net-dialup')
-rw-r--r-- | net-dialup/eagle-usb/ChangeLog | 7 | ||||
-rw-r--r-- | net-dialup/eagle-usb/eagle-usb-2.3.2.ebuild | 12 | ||||
-rw-r--r-- | net-dialup/eagle-usb/eagle-usb-2.3.3.ebuild | 12 |
3 files changed, 28 insertions, 3 deletions
diff --git a/net-dialup/eagle-usb/ChangeLog b/net-dialup/eagle-usb/ChangeLog index d7a8bd903d7f..a5a27904871e 100644 --- a/net-dialup/eagle-usb/ChangeLog +++ b/net-dialup/eagle-usb/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-dialup/eagle-usb # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/eagle-usb/ChangeLog,v 1.7 2006/03/12 10:34:51 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/eagle-usb/ChangeLog,v 1.8 2006/03/26 17:32:20 mrness Exp $ + + 26 Mar 2006; Alin Nastac <mrness@gentoo.org> eagle-usb-2.3.2.ebuild, + eagle-usb-2.3.3.ebuild: + Bail out in pkg_setup if kernel version is >=2.6.16. This kernel version + contains a driver for eagle-usb ADSL modems (#127528). *eagle-usb-2.3.3 (12 Mar 2006) diff --git a/net-dialup/eagle-usb/eagle-usb-2.3.2.ebuild b/net-dialup/eagle-usb/eagle-usb-2.3.2.ebuild index d8fb78a802e5..6dacc7912b2d 100644 --- a/net-dialup/eagle-usb/eagle-usb-2.3.2.ebuild +++ b/net-dialup/eagle-usb/eagle-usb-2.3.2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/eagle-usb/eagle-usb-2.3.2.ebuild,v 1.2 2006/03/12 10:34:51 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/eagle-usb/eagle-usb-2.3.2.ebuild,v 1.3 2006/03/26 17:32:20 mrness Exp $ inherit linux-mod eutils @@ -20,6 +20,16 @@ CONFIG_CHECK="!IPV6 USB" BUILD_TARGETS=" " BUILD_PARAMS="KERNELSRC='${KV_DIR}'" +pkg_setup() { + if kernel_is ge 2 6 16; then + eerror "This driver should be used only with kernel versions less than 2.6.16." + eerror "Please install and use the driver included in your kernel instead." + eerror "The kernel option that enables the driver is CONFIG_USB_UEAGLEATM." + die "unsupported kernel version" + fi + linux-mod_pkg_setup +} + src_unpack() { unpack ${A} diff --git a/net-dialup/eagle-usb/eagle-usb-2.3.3.ebuild b/net-dialup/eagle-usb/eagle-usb-2.3.3.ebuild index eb314bf40de3..9dd4235371ce 100644 --- a/net-dialup/eagle-usb/eagle-usb-2.3.3.ebuild +++ b/net-dialup/eagle-usb/eagle-usb-2.3.3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/eagle-usb/eagle-usb-2.3.3.ebuild,v 1.1 2006/03/12 10:34:51 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/eagle-usb/eagle-usb-2.3.3.ebuild,v 1.2 2006/03/26 17:32:20 mrness Exp $ inherit linux-mod eutils @@ -20,6 +20,16 @@ CONFIG_CHECK="!IPV6 USB" BUILD_TARGETS=" " BUILD_PARAMS="KERNELSRC='${KV_DIR}'" +pkg_setup() { + if kernel_is ge 2 6 16; then + eerror "This driver should be used only with kernel versions less than 2.6.16." + eerror "Please install and use the driver included in your kernel instead." + eerror "The kernel option that enables the driver is CONFIG_USB_UEAGLEATM." + die "unsupported kernel version" + fi + linux-mod_pkg_setup +} + src_unpack() { unpack ${A} |