summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Brix Andersen <brix@gentoo.org>2006-04-21 22:48:18 +0000
committerHenrik Brix Andersen <brix@gentoo.org>2006-04-21 22:48:18 +0000
commitb0e8d031154593e54cdcf01ab58badcae21a49de (patch)
tree1702b0e9ecf727761ffee18f8d5e492bf9bfaa06 /net-wireless
parentMark 0.4 x86 stable. (diff)
downloadgentoo-2-b0e8d031154593e54cdcf01ab58badcae21a49de.tar.gz
gentoo-2-b0e8d031154593e54cdcf01ab58badcae21a49de.tar.bz2
gentoo-2-b0e8d031154593e54cdcf01ab58badcae21a49de.zip
Version bump. Fixes bug #130438.
(Portage version: 2.0.54)
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/ipw3945/ChangeLog7
-rw-r--r--net-wireless/ipw3945/Manifest4
-rw-r--r--net-wireless/ipw3945/files/digest-ipw3945-1.0.11
-rw-r--r--net-wireless/ipw3945/ipw3945-1.0.1.ebuild89
4 files changed, 99 insertions, 2 deletions
diff --git a/net-wireless/ipw3945/ChangeLog b/net-wireless/ipw3945/ChangeLog
index cdfe16a54112..3ed069d64256 100644
--- a/net-wireless/ipw3945/ChangeLog
+++ b/net-wireless/ipw3945/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-wireless/ipw3945
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw3945/ChangeLog,v 1.1 2006/04/13 21:33:19 brix Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw3945/ChangeLog,v 1.2 2006/04/21 22:48:18 brix Exp $
+
+*ipw3945-1.0.1 (21 Apr 2006)
+
+ 21 Apr 2006; Henrik Brix Andersen <brix@gentoo.org> +ipw3945-1.0.1.ebuild:
+ Version bump. Fixes bug #130438.
*ipw3945-0.0.74 (13 Apr 2006)
diff --git a/net-wireless/ipw3945/Manifest b/net-wireless/ipw3945/Manifest
index 591b786e1274..e8c1fddaeb5e 100644
--- a/net-wireless/ipw3945/Manifest
+++ b/net-wireless/ipw3945/Manifest
@@ -1,4 +1,6 @@
-MD5 b4da5d5a7f8aa48dde75433ddc606113 ChangeLog 456
+MD5 4baf6440e9bcb2389695e4ae92e188f3 ChangeLog 599
MD5 4975d1c9d861e3564b8487bc3f14916f files/digest-ipw3945-0.0.74 63
+MD5 19551db172b84b0de5d6560eb114ffa0 files/digest-ipw3945-1.0.1 62
MD5 284f821ba4132d66cc0c058fdc89d54b ipw3945-0.0.74.ebuild 2589
+MD5 09679a76946db4f43b91f62bb0388d3a ipw3945-1.0.1.ebuild 2508
MD5 b280eebc74d70d85e664debf1adce2c3 metadata.xml 255
diff --git a/net-wireless/ipw3945/files/digest-ipw3945-1.0.1 b/net-wireless/ipw3945/files/digest-ipw3945-1.0.1
new file mode 100644
index 000000000000..3f72cc1df009
--- /dev/null
+++ b/net-wireless/ipw3945/files/digest-ipw3945-1.0.1
@@ -0,0 +1 @@
+MD5 b22bb2f163bb4cab357790640d3eaf44 ipw3945-1.0.1.tgz 172056
diff --git a/net-wireless/ipw3945/ipw3945-1.0.1.ebuild b/net-wireless/ipw3945/ipw3945-1.0.1.ebuild
new file mode 100644
index 000000000000..d7844e6e7211
--- /dev/null
+++ b/net-wireless/ipw3945/ipw3945-1.0.1.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw3945/ipw3945-1.0.1.ebuild,v 1.1 2006/04/21 22:48:18 brix Exp $
+
+inherit linux-mod
+
+# The following works with both pre-releases and releases
+MY_P=${P/_/-}
+S=${WORKDIR}/${MY_P}
+
+IEEE80211_VERSION="1.1.13"
+UCODE_VERSION="1.13"
+DAEMON_VERSION="1.7.18"
+
+DESCRIPTION="Driver for the Intel PRO/Wireless 3945ABG miniPCI express adapter"
+HOMEPAGE="http://ipw3945.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+
+IUSE="debug"
+DEPEND=">=net-wireless/ieee80211-${IEEE80211_VERSION}
+ sys-apps/sed"
+RDEPEND=">=net-wireless/ieee80211-${IEEE80211_VERSION}
+ >=net-wireless/ipw3945-ucode-${UCODE_VERSION}
+ >=net-wireless/ipw3945d-${DAEMON_VERSION}"
+
+BUILD_TARGETS="all"
+MODULE_NAMES="ipw3945(net/wireless:)"
+MODULESD_IPW3945_DOCS="README.ipw3945"
+
+CONFIG_CHECK="NET_RADIO FW_LOADER !IPW3945"
+ERROR_NET_RADIO="${P} requires support for Wireless LAN drivers (non-hamradio) & Wireless Extensions (CONFIG_NET_RADIO)."
+ERROR_FW_LOADER="${P} requires Hotplug firmware loading support (CONFIG_FW_LOADER)."
+ERROR_IPW3945="${P} requires the in-kernel version of the IPW3945 driver to be disabled (CONFIG_IPW3945)"
+
+pkg_setup() {
+ linux-mod_pkg_setup
+
+ if kernel_is 2 4; then
+ die "${P} does not support building against kernel 2.4.x"
+ fi
+
+ if [[ ! -f ${ROOT}/lib/modules/${KV_FULL}/net/ieee80211/ieee80211.${KV_OBJ} ]]; then
+ eerror
+ eerror "Looks like you forgot to remerge net-wireless/ieee80211 after"
+ eerror "upgrading your kernel."
+ eerror
+ eerror "Hint: use sys-kernel/module-rebuild for keeping track of which"
+ eerror "modules needs to be remerged after a kernel upgrade."
+ eerror
+ die "${ROOT}/lib/modules/${KV_FULL}/net/ieee80211/ieee80211.${KV_OBJ} not found"
+ fi
+
+ BUILD_PARAMS="KSRC=${KV_DIR} KSRC_OUTPUT=${KV_OUT_DIR} IEEE80211_INC=/usr/include"
+}
+
+src_unpack() {
+ local debug="n"
+
+ unpack ${A}
+
+ sed -i \
+ -e "s:^#\(CONFIG_IPW3945_QOS\)=.*:\1=y:" \
+ -e "s:^# \(CONFIG_IPW3945_MONITOR\)=.*:\1=y:" \
+ -e "s:^# \(CONFIG_IEEE80211_RADIOTAP\)=.*:\1=y:" \
+ -e "s:^# \(CONFIG_IPW3945_PROMISCUOUS\)=.*:\1=y:" \
+ ${S}/Makefile || die
+
+ use debug && debug="y"
+ sed -i -e "s:^\(CONFIG_IPW3945_DEBUG\)=.*:\1=${debug}:" ${S}/Makefile || die
+}
+
+src_compile() {
+ linux-mod_src_compile
+
+ einfo
+ einfo "You may safely ignore any warnings from above compilation about"
+ einfo "undefined references to the ieee80211 subsystem."
+ einfo
+}
+
+src_install() {
+ linux-mod_src_install
+
+ dodoc CHANGES ISSUES
+}