summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-wireless/iwlwifi/ChangeLog8
-rw-r--r--net-wireless/iwlwifi/files/digest-iwlwifi-1.2.223
-rw-r--r--net-wireless/iwlwifi/iwlwifi-1.2.22.ebuild60
3 files changed, 70 insertions, 1 deletions
diff --git a/net-wireless/iwlwifi/ChangeLog b/net-wireless/iwlwifi/ChangeLog
index d3aa3c7a9c86..cfdbcfa5f3a2 100644
--- a/net-wireless/iwlwifi/ChangeLog
+++ b/net-wireless/iwlwifi/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-wireless/iwlwifi
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/iwlwifi/ChangeLog,v 1.12 2007/11/22 21:04:28 compnerd Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/iwlwifi/ChangeLog,v 1.13 2007/12/12 02:58:56 compnerd Exp $
+
+*iwlwifi-1.2.22 (12 Dec 2007)
+
+ 12 Dec 2007; Saleem Abdulrasool <compnerd@gentoo.org>
+ +iwlwifi-1.2.22.ebuild:
+ Version bump from upstream
22 Nov 2007; Saleem Abdulrasool <compnerd@gentoo.org>
iwlwifi-1.1.21-r1.ebuild:
diff --git a/net-wireless/iwlwifi/files/digest-iwlwifi-1.2.22 b/net-wireless/iwlwifi/files/digest-iwlwifi-1.2.22
new file mode 100644
index 000000000000..cae5f87fbc66
--- /dev/null
+++ b/net-wireless/iwlwifi/files/digest-iwlwifi-1.2.22
@@ -0,0 +1,3 @@
+MD5 f6bf537a83431b006a7c16ee05cdc5fb iwlwifi-1.2.22.tgz 360780
+RMD160 9222cfe2e285f880b02212cbfd2f93ede1eba3b0 iwlwifi-1.2.22.tgz 360780
+SHA256 4f2117739c7d2c02143d330ac6c99483fa1f7f918ae927a1b9c03444457e38d7 iwlwifi-1.2.22.tgz 360780
diff --git a/net-wireless/iwlwifi/iwlwifi-1.2.22.ebuild b/net-wireless/iwlwifi/iwlwifi-1.2.22.ebuild
new file mode 100644
index 000000000000..5426770a1193
--- /dev/null
+++ b/net-wireless/iwlwifi/iwlwifi-1.2.22.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/iwlwifi/iwlwifi-1.2.22.ebuild,v 1.1 2007/12/12 02:58:56 compnerd Exp $
+
+inherit eutils linux-mod
+
+DESCRIPTION="Intel (R) PRO/Wireless 3945ABG Network Drivers"
+HOMEPAGE="http://intellinuxwireless.org/?p=iwlwifi"
+SRC_URI="http://intellinuxwireless.org/${PN}/downloads/${P//_p/-}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="ipw3945 ipw4965"
+
+DEPEND="|| ( =virtual/linux-sources-2.6.22* =virtual/linux-sources-2.6.23* )"
+RDEPEND="ipw3945? ( =net-wireless/iwl3945-ucode-2.14.1.5 )
+ ipw4965? ( =net-wireless/iwl4965-ucode-4.44.1.18 )
+ !ipw3945? ( !ipw4965? ( =net-wireless/iwl3945-ucode-2.14.1.5 =net-wireless/iwl4965-ucode-4.44.1.18 ) )"
+
+pkg_setup() {
+ if kernel_is lt 2 6 22 ; then
+ eerror "iwlwifi requires a kernel >=2.6.22."
+ eerror "Please set your /usr/src/linux symlink accordingly."
+ die "invalid /usr/src/linux symlink"
+ else
+ CONFIG_CHECK="MAC80211"
+ fi
+
+ if kernel_is gt 2 6 23 ; then
+ eerror "iwlwifi is included in 2.6.24, this ebuild is not guaranteed to"
+ eerror "build against the newer kernel."
+ die "invalid /usr/src/linux symlink"
+ fi
+
+ BUILD_TARGETS="all"
+ BUILD_PARAMS="KSRC=${KV_DIR} M=${S}"
+
+ linux-mod_pkg_setup
+
+ if use ipw3945 ; then
+ MODULE_NAMES="iwl3945(net/wireless:${S}/compatible)"
+ if ! use ipw4965 ; then
+ BUILD_PARAMS="${BUILD_PARAMS} CONFIG_IWL4965=n"
+ fi
+ fi
+
+ if use ipw4965 ; then
+ MODULE_NAMES="${MODULE_NAMES} iwl4965(net/wireless:${S}/compatible)"
+ if ! use ipw3945 ; then
+ BUILD_PARAMS="${BUILD_PARAMS} CONFIG_IWL3945=n"
+ fi
+ fi
+
+ if ! use ipw3945 && ! use ipw4965 ; then
+ einfo "Wireless card not selected, building all modules"
+ MODULE_NAMES="iwl3945(net/wireless:${S}/compatible) iwl4965(net/wireless:${S}/compatible)"
+ BUILD_PARAMS="${BUILD_PARAMS} CONFIG_IWL3945=m CONFIG_IWL4965=m"
+ fi
+}