Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 31553 Details for
Bug 50694
IPW2100 Ebuilds
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
ipw2100-0.44 experimental kmod version
ipw2100-0.44.ebuild (text/plain), 2.15 KB, created by
Scott Cytacki
on 2004-05-16 17:58:05 UTC
(
hide
)
Description:
ipw2100-0.44 experimental kmod version
Filename:
MIME Type:
Creator:
Scott Cytacki
Created:
2004-05-16 17:58:05 UTC
Size:
2.15 KB
patch
obsolete
>inherit kmod eutils > >FW_VERSION="1.1" > >DESCRIPTION="Driver for the Intel Centrino wireless chipset" > >HOMEPAGE="http://ipw2100.sourceforge.net/" >SRC_URI="mirror://sourceforge/${PN}/${P}.tgz > mirror://gentoo/${PN}-fw-${FW_VERSION}.tgz" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~x86" > >IUSE="" >DEPEND="" >RDEPEND=">=sys-apps/hotplug-20030805-r2 > >=net-wireless/hostap-driver-0.1.3" > >src_unpack() { > if [ "`kmod_get_config_var FW_LOADER`" = "n" ] > then > eerror "" > eerror "New versions 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 > > kmod_src_unpack > > cd ${S} > mkdir -p hostap-driver-0.1.3/driver/modules > cp ${FILESDIR}/hostap_crypt.h hostap-driver-0.1.3/driver/modules >} > >src_compile() { > # this is cut and paste from kmod.eclass > # We need to change the parameters to emake so we can't > # use kmod_src_compile > if is_kernel 2 5 || is_kernel 2 6 > then > # If we're on 2.5/2.6 and not koutputing, we need to make > # /usr/src/linux writable to succeed > if ! is_koutput > then > kmod_make_linux_writable > fi > > unset ARCH > fi > emake KSRC=${ROOT}/usr/src/linux HOSTAP=hostap-driver-0.1.3 all || die >} > >src_install() { > if [ ${KV_MINOR} -gt 4 ] > then > KV_OBJ="ko" > else > KV_OBJ="o" > fi > > > dodoc ISSUES README.ipw2100 CHANGES > > insinto /lib/modules/${KV}/net > doins ipw2100.${KV_OBJ} av5100.${KV_OBJ} pbe5.${KV_OBJ} > > insinto /usr/lib/hotplug/firmware > doins ${WORKDIR}/${PN}-${FW_VERSION}-i.fw > doins ${WORKDIR}/${PN}-${FW_VERSION}-p.fw > doins ${WORKDIR}/${PN}-${FW_VERSION}.fw > doins ${WORKDIR}/LICENSE >} > >pkg_postinst() { > kmod_pkg_postinst > > if [ ${KV_MINOR} -gt 4 ] > then > KV_OBJ="ko" > else > KV_OBJ="o" > fi > > if [ ! -f ${ROOT}/lib/modules/${KV}/net/hostap_crypt_wep.${KV_OBJ} ] > then > eerror "" > eerror "Modules for hostap-driver not found!" > eerror "For WEP to work, you need the hostap-driver modules available for your kernel" > eerror "If you upgrade kernels, you need to re-emerge BOTH ipw2100 and hostap-driver" > eerror "to ensure that all the needed kernel modules are present!" > eerror "" > fi >}
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 50694
:
31137
|
31306
|
31480
| 31553