summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Heim <phreak@gentoo.org>2006-09-16 06:21:27 +0000
committerChristian Heim <phreak@gentoo.org>2006-09-16 06:21:27 +0000
commitb22e8e6d5fccf525b20c2aaa9b6cc51395e4212a (patch)
tree2e43c690a4df544af50f0a1e715d66e27ff35f7a /net-wireless/ipw3945
parentCheck for pcre extension in PHP. Work on defaulting some security to MythWeb ... (diff)
downloadgentoo-2-b22e8e6d5fccf525b20c2aaa9b6cc51395e4212a.tar.gz
gentoo-2-b22e8e6d5fccf525b20c2aaa9b6cc51395e4212a.tar.bz2
gentoo-2-b22e8e6d5fccf525b20c2aaa9b6cc51395e4212a.zip
Adding a hard depend onto net-wireless/ieee80211-1.1.13-r1 for ipw3945-1.1.0, seems like everything above is broken. This is resolving bug #147546.
(Portage version: 2.1.2_pre1)
Diffstat (limited to 'net-wireless/ipw3945')
-rw-r--r--net-wireless/ipw3945/ChangeLog9
-rw-r--r--net-wireless/ipw3945/files/digest-ipw3945-1.1.0-r13
-rw-r--r--net-wireless/ipw3945/ipw3945-1.1.0-r1.ebuild86
3 files changed, 97 insertions, 1 deletions
diff --git a/net-wireless/ipw3945/ChangeLog b/net-wireless/ipw3945/ChangeLog
index af3b6120b9bf..297e1c79199e 100644
--- a/net-wireless/ipw3945/ChangeLog
+++ b/net-wireless/ipw3945/ChangeLog
@@ -1,6 +1,13 @@
# 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.10 2006/08/11 10:20:39 phreak Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw3945/ChangeLog,v 1.11 2006/09/16 06:21:27 phreak Exp $
+
+*ipw3945-1.1.0-r1 (16 Sep 2006)
+
+ 16 Sep 2006; Christian Heim <phreak@gentoo.org> +ipw3945-1.1.0-r1.ebuild:
+ Adding a hard depend onto net-wireless/ieee80211-1.1.13-r1 for
+ ipw3945-1.1.0, seems like everything above is broken. This is resolving bug
+ #147546.
*ipw3945-1.1.0 (11 Aug 2006)
diff --git a/net-wireless/ipw3945/files/digest-ipw3945-1.1.0-r1 b/net-wireless/ipw3945/files/digest-ipw3945-1.1.0-r1
new file mode 100644
index 000000000000..53db2e626f52
--- /dev/null
+++ b/net-wireless/ipw3945/files/digest-ipw3945-1.1.0-r1
@@ -0,0 +1,3 @@
+MD5 1f393d7a080879dba1a824dec251d71e ipw3945-1.1.0.tgz 196361
+RMD160 6d4b8c12c253b4d00b376911e73ca48d8ab6da35 ipw3945-1.1.0.tgz 196361
+SHA256 be62bb249527dbe5a4031eec9cdf15e09fe1dc0fdd1b5dc374e85bc5229c1ff1 ipw3945-1.1.0.tgz 196361
diff --git a/net-wireless/ipw3945/ipw3945-1.1.0-r1.ebuild b/net-wireless/ipw3945/ipw3945-1.1.0-r1.ebuild
new file mode 100644
index 000000000000..523bfae472cc
--- /dev/null
+++ b/net-wireless/ipw3945/ipw3945-1.1.0-r1.ebuild
@@ -0,0 +1,86 @@
+# 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.1.0-r1.ebuild,v 1.1 2006/09/16 06:21:27 phreak Exp $
+
+inherit linux-mod
+
+S=${WORKDIR}/${P/_pre/-pre}
+
+IEEE80211_VERSION="1.1.13-r1"
+UCODE_VERSION="1.13"
+DAEMON_VERSION="1.7.22"
+
+DESCRIPTION="Driver for the Intel PRO/Wireless 3945ABG miniPCI express adapter"
+HOMEPAGE="http://ipw3945.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P/_pre/-pre}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+
+IUSE="debug"
+DEPEND="=net-wireless/ieee80211-${IEEE80211_VERSION}"
+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
+}