Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 40437 Details for
Bug 63936
Include ipw2200 driver on future LiveCDs
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
hotplug generic path
ipw2200-0.8.ebuild (text/plain), 2.70 KB, created by
Qui Gon
on 2004-09-26 03:53:36 UTC
(
hide
)
Description:
hotplug generic path
Filename:
MIME Type:
Creator:
Qui Gon
Created:
2004-09-26 03:53:36 UTC
Size:
2.70 KB
patch
obsolete
># Copyright 1999-2004 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw2200/ipw2200-0.8.ebuild,v 1.1 2004/09/19 21:31:59 jbms Exp $ > >inherit kernel-mod eutils > >FW_VERSION="2.0" > >DESCRIPTION="Driver for the Intel PRO/Wireless 2200BG miniPCI adapter" > >HOMEPAGE="http://ipw2200.sourceforge.net/" >SRC_URI="mirror://sourceforge/${PN}/${P}.tgz > mirror://gentoo/${PN}-fw-${FW_VERSION}.tgz" > >LICENSE="GPL-2 ipw2200-fw" >SLOT="0" >KEYWORDS="~x86" > >IUSE="" > ># net-wireless/ipw2100 builds a possibly incompatible ieee80211 ># module, so it is blocked. This problem will likely be resolved ># upstream eventually. >DEPEND="!net-wireless/ipw2100" >RDEPEND="!net-wireless/ipw2100 >=sys-apps/hotplug-20030805-r2" > >src_unpack() { > > if ! egrep "^CONFIG_CRYPTO_ARC4=[ym]" ${ROOT}/usr/src/linux/.config >/dev/null > then > eerror "" > eerror "This version of ${PN} requires the ARC4 CryptoAPI module from" > eerror "the kernel." > die "ARC4 Crypto support not detected." > fi > if ! egrep "^CONFIG_FW_LOADER=[ym]" ${ROOT}/usr/src/linux/.config >/dev/null > then > eerror "" > eerror "This version of ${PN} require firmware loader support from" > eerror "your kernel. This can be found in Device Drivers --> Generic" > eerror "Driver Support on 2.6 or in Library Routines on 2.4 kernels." > die "Firmware loading support not detected." > fi > > if ! egrep "^CONFIG_CRC32=[ym]" ${ROOT}/usr/src/linux/.config >/dev/null > then > eerror "" > eerror "This version of ${PN} requires support for CRC32 in" > eerror "your kernel. This can be found in Library Routines in" > eerror "kernel configs." > die "CRC32 function support not detected." > fi > > unpack ${A} > kernel-mod_getversion > > if [ ${KV_MINOR} -gt 5 ] && [ ${KV_PATCH} -gt 5 ] > then > sed -i 's:SUBDIRS=:M=:g' ${S}/Makefile > fi >} > >src_compile() { > unset ARCH > > # Build WPA support > emake KSRC=${ROOT}/usr/src/linux all CONFIG_IEEE80211_CRYPT_WPA=m \ > CONFIG_IEEE80211_CRYPT_TKIP=m \ > CONFIG_IEEE80211_CRYPT_CCMP=m || die >} > >src_install() { > if [ ${KV_MINOR} -gt 4 ] > then > KV_OBJ="ko" > else > KV_OBJ="o" > fi > > dodoc ISSUES README.${PN} CHANGES > > insinto /lib/modules/${KV}/net > doins ieee80211_crypt.${KV_OBJ} ieee80211_crypt_wep.${KV_OBJ} \ > ieee80211_crypt_ccmp.${KV_OBJ} ieee80211_crypt_tkip.${KV_OBJ} \ > ieee80211.${KV_OBJ} ${PN}.${KV_OBJ} > > insinto `egrep "FIRMWARE_DIR=" /etc/hotplug/firmware.agent|sed -e 's/FIRMWARE_DIR=//'` > doins ${WORKDIR}/${PN}_boot.fw > doins ${WORKDIR}/${PN}_bss.fw > doins ${WORKDIR}/${PN}_ibss.fw > doins ${WORKDIR}/${PN}_ucode.fw >} > >pkg_postinst() { > einfo "Checking kernel module dependancies" > test -r "${ROOT}/usr/src/linux/System.map" && \ > depmod -ae -F "${ROOT}/usr/src/linux/System.map" -b "${ROOT}" -r ${KV} >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 63936
: 40437