summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2009-01-22 18:20:25 +0000
committerPeter Volkov <pva@gentoo.org>2009-01-22 18:20:25 +0000
commitcc68a7625714c0ed7538aafeaa942e19c7aab96c (patch)
treeef5d4a2ff4ea8c96aecbcdd121e3824ea36e7c12 /net-wireless/iwl4965-ucode/iwl4965-ucode-228.57.2.23.ebuild
parentVersion bump (diff)
downloadhistorical-cc68a7625714c0ed7538aafeaa942e19c7aab96c.tar.gz
historical-cc68a7625714c0ed7538aafeaa942e19c7aab96c.tar.bz2
historical-cc68a7625714c0ed7538aafeaa942e19c7aab96c.zip
As it was suggested by PaX Team in bug #246045 die was bad idea. So merely warn user instead.
Package-Manager: portage-2.2_rc23/cvs/Linux i686
Diffstat (limited to 'net-wireless/iwl4965-ucode/iwl4965-ucode-228.57.2.23.ebuild')
-rw-r--r--net-wireless/iwl4965-ucode/iwl4965-ucode-228.57.2.23.ebuild21
1 files changed, 8 insertions, 13 deletions
diff --git a/net-wireless/iwl4965-ucode/iwl4965-ucode-228.57.2.23.ebuild b/net-wireless/iwl4965-ucode/iwl4965-ucode-228.57.2.23.ebuild
index aab8cb37e284..c85fdc5267ed 100644
--- a/net-wireless/iwl4965-ucode/iwl4965-ucode-228.57.2.23.ebuild
+++ b/net-wireless/iwl4965-ucode/iwl4965-ucode-228.57.2.23.ebuild
@@ -1,8 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/iwl4965-ucode/iwl4965-ucode-228.57.2.23.ebuild,v 1.2 2009/01/22 11:57:51 pva Exp $
-
-inherit linux-info
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/iwl4965-ucode/iwl4965-ucode-228.57.2.23.ebuild,v 1.3 2009/01/22 18:20:25 pva Exp $
MY_P=iwlwifi-4965-ucode-${PV}
@@ -20,16 +18,6 @@ RDEPEND="${DEPEND}"
S=${WORKDIR}/${MY_P}
-pkg_setup() {
- if kernel_is lt 2 6 27 ; then
- eerror "Due to ucode API change this version of ucode works only with kernels"
- eerror ">=2.6.27. Please either upgrade your kernel or mask"
- eerror "net-wireless/iwl4965-unicode:1. For more information take a"
- eerror "look at bugs.gentoo.org/235007"
- die "${PN} requires at least kernel 2.6.27."
- fi
-}
-
src_compile() {
true;
}
@@ -39,3 +27,10 @@ src_install() {
doins iwlwifi-4965-2.ucode || die
dodoc README* || die "dodoc failed"
}
+
+pkg_postinst() {
+ elog "Due to ucode API change this version of ucode works only with kernels"
+ elog ">=2.6.27. If you need ucode for older versions please install it with"
+ elog "emerge net-wireless/iwl4965-unicode:0"
+ elog "For more information take a look at bugs.gentoo.org/235007"
+}