summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRenato Caldas (seventhguardian) <seventhguardian@gmail.com>2007-07-06 17:56:37 +0000
committerRenato Caldas (seventhguardian) <seventhguardian@gmail.com>2007-07-06 17:56:37 +0000
commit96fab4d4519568423195ecffacce9ff11461c4fc (patch)
tree74737aed464a2b6af658ee867faecc744e22be1f /net-wireless
parentx11-themes: Version bump (diff)
downloadsunrise-96fab4d4519568423195ecffacce9ff11461c4fc.tar.gz
sunrise-96fab4d4519568423195ecffacce9ff11461c4fc.tar.bz2
sunrise-96fab4d4519568423195ecffacce9ff11461c4fc.zip
net-wireless/iwlwifi: New version
svn path=/sunrise/; revision=4169
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/iwlwifi/ChangeLog4
-rw-r--r--net-wireless/iwlwifi/Manifest4
-rw-r--r--net-wireless/iwlwifi/iwlwifi-0.0.35.ebuild58
3 files changed, 65 insertions, 1 deletions
diff --git a/net-wireless/iwlwifi/ChangeLog b/net-wireless/iwlwifi/ChangeLog
index 45358440e..e65b1f29f 100644
--- a/net-wireless/iwlwifi/ChangeLog
+++ b/net-wireless/iwlwifi/ChangeLog
@@ -2,6 +2,10 @@
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 06 Jul 2007; Renato Caldas (seventhguardian) <seventhguardian@gmail.com>
+ +iwlwifi-0.0.35.ebuild:
+ New version
+
05 Jul 2007; Jakub Moc <jakub@gentoo.org> iwlwifi-0.0.34-r1.ebuild:
Another attempt on solving the built-it/external MAC80211 mess
diff --git a/net-wireless/iwlwifi/Manifest b/net-wireless/iwlwifi/Manifest
index dcfea70b6..2e8eee754 100644
--- a/net-wireless/iwlwifi/Manifest
+++ b/net-wireless/iwlwifi/Manifest
@@ -1,4 +1,6 @@
DIST iwlwifi-0.0.34.tgz 210172 RMD160 c74e39439a946bc032fc60cbc4e3e441fe106b47 SHA1 3250e93351c845658a231ae1decca6fac25dabd6 SHA256 e459741edfbb544e076b68c0cc9c228f4498a445475d6a9e521cfa62fe06d191
+DIST iwlwifi-0.0.35.tgz 210176 RMD160 bc37bf37103ba54bbee2cf0548e71eef921dda1d SHA1 b5c1abe81638fb277de936501ed20e0462ff70f5 SHA256 e418bab09d7bf248e678b667ec35f22d459604da3189f1d7b5375b39f3a89005
EBUILD iwlwifi-0.0.34-r1.ebuild 2095 RMD160 733e1a7e99ecd29c8db16b1ed82031ce084a34d0 SHA1 2deef4bc9508d9d9e687c41e03f45d5efeda246d SHA256 b7dab86a0fbc3fbacbbda620a3d4afadb3f48c44f9566d899b56bd45f541b346
-MISC ChangeLog 2049 RMD160 59aaae03731bd2badc92584772e2e8a8f06d1a02 SHA1 a26c6a6f8e961d8d70dbd0309b9c3b1764c7a202 SHA256 71662d07956c24b9349861f5b1d4c5158dc7b208578767425931b9afe3186077
+EBUILD iwlwifi-0.0.35.ebuild 1837 RMD160 57464598d732302f149f3ca9aa4aeee7bb4e4df1 SHA1 88dd0eb01b304fd904afc0ba9133e7fdf089d7f0 SHA256 670c4dc6249ab928b9365da3bf17f4ef1b668a8e58f215ae02f4d662dc9e8ee1
+MISC ChangeLog 2165 RMD160 e3795ef63d218a8d361764ec05feb54f0bc715d8 SHA1 57516966593e49e0529e3a4f019c3904f5aa22d6 SHA256 0e8ca097bb42001634ed401902adc0ad6355266f02736bf668f2d9c4ee28d23b
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
diff --git a/net-wireless/iwlwifi/iwlwifi-0.0.35.ebuild b/net-wireless/iwlwifi/iwlwifi-0.0.35.ebuild
new file mode 100644
index 000000000..90c4a2c2f
--- /dev/null
+++ b/net-wireless/iwlwifi/iwlwifi-0.0.35.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit linux-mod
+
+DESCRIPTION="Intel (R) PRO/Wireless 3945ABG Network Connection"
+HOMEPAGE="http://intellinuxwireless.org/?p=iwlwifi"
+SRC_URI="http://intellinuxwireless.org/${PN}/downloads/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+DEPEND="|| ( >=virtual/linux-sources-2.6.22_rc1 net-wireless/mac80211 )"
+RDEPEND="net-wireless/iwlwifi-ucode"
+
+S="${WORKDIR}/${P}/compatible"
+
+MODULE_NAMES="iwl3945(net/wireless)"
+BUILD_TARGETS="modules"
+
+pkg_setup() {
+ if kernel_is ge 2 6 22 ; then
+ if has_version net-wireless/mac80211 ; then
+ CONFIG_CHECK="!MAC80211"
+ ERROR_MAC80211="MAC80211 support already enabled in kernel. Unmerge net-wireless/mac80211 or disable MAC80211 in kernel."
+ MY_INCLUDE="/usr/include/mac80211"
+ MY_HEADERS="MAC80211_INC=/usr/include/mac80211/net/"
+ else
+ CONFIG_CHECK="MAC80211"
+ ERROR_MAC80211="MAC80211 support disabled in kernel. Emerge net-wireless/mac80211 or enable MAC80211 in kernel."
+ MY_INCLUDE="/usr/src/linux/"
+ MY_HEADERS=""
+ fi
+ elif has_version net-wireless/mac80211 ; then
+ MY_INCLUDE="/usr/include/mac80211"
+ MY_HEADERS="MAC80211_INC=/usr/include/mac80211/net/"
+ else
+ eerror "This ebuild requires kernel >=2.6.22_rc1."
+ die "Set your /usr/src/linux symlink accordingly."
+ fi
+
+ linux-mod_pkg_setup
+ BUILD_PARAMS="-C ${KV_DIR} M=${S} CONFIG_IWL3945=m"
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${WORKDIR}/${P}"
+ sed -i -e 's/\(.*chmod\)/#\1/' Makefile
+ make compatible/kversion KSRC="${KV_DIR}" \
+ ${MY_HEADERS} || die "make unmodified failed"
+ sed -i -e 's%\.\./\(net/mac80211/\)%\1%' "${S}"/*.c "${S}"/*.h
+ echo "CFLAGS += -I${MY_INCLUDE} -DCONFIG_IWLWIFI_DEBUG=y" \
+ "-DCONFIG_IWLWIFI_SPECTRUM_MEASUREMENT=y" >> "${S}"/Makefile
+}