summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Maitin-Shepard <jbms@gentoo.org>2004-12-11 21:03:56 +0000
committerJeremy Maitin-Shepard <jbms@gentoo.org>2004-12-11 21:03:56 +0000
commit389d7c0d3790b0a728f966e1e4d3c0e8e45b592e (patch)
tree43fe55013524c9d6e97361bfd02afbbf5954361a /net-wireless/ipw2200
parentInitial import. Based on ebuild from Miikka <dsword@ovimarsu.net> in bug 59047. (diff)
downloadhistorical-389d7c0d3790b0a728f966e1e4d3c0e8e45b592e.tar.gz
historical-389d7c0d3790b0a728f966e1e4d3c0e8e45b592e.tar.bz2
historical-389d7c0d3790b0a728f966e1e4d3c0e8e45b592e.zip
Version bump. Resolves bug #73801.
Diffstat (limited to 'net-wireless/ipw2200')
-rw-r--r--net-wireless/ipw2200/ChangeLog8
-rw-r--r--net-wireless/ipw2200/files/digest-ipw2200-0.162
-rw-r--r--net-wireless/ipw2200/files/digest-ipw2200-0.172
-rw-r--r--net-wireless/ipw2200/ipw2200-0.16.ebuild124
-rw-r--r--net-wireless/ipw2200/ipw2200-0.17.ebuild124
5 files changed, 259 insertions, 1 deletions
diff --git a/net-wireless/ipw2200/ChangeLog b/net-wireless/ipw2200/ChangeLog
index b940fd504457..fd2ddec2afdf 100644
--- a/net-wireless/ipw2200/ChangeLog
+++ b/net-wireless/ipw2200/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-wireless/ipw2200
# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw2200/ChangeLog,v 1.12 2004/11/25 18:27:43 jbms Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw2200/ChangeLog,v 1.13 2004/12/11 21:03:56 jbms Exp $
+
+*ipw2200-0.16 (11 Dec 2004)
+
+ 11 Dec 2004; Jeremy Maitin-Shepard <jbms@gentoo.org> +ipw2200-0.16.ebuild,
+ +ipw2200-0.17.ebuild:
+ Version bump. Resolves bug #73801.
*ipw2200-0.15 (25 Nov 2004)
diff --git a/net-wireless/ipw2200/files/digest-ipw2200-0.16 b/net-wireless/ipw2200/files/digest-ipw2200-0.16
new file mode 100644
index 000000000000..eb2f286ecb50
--- /dev/null
+++ b/net-wireless/ipw2200/files/digest-ipw2200-0.16
@@ -0,0 +1,2 @@
+MD5 9b815377045f60a7fb314218d9860da9 ipw2200-0.16.tgz 118366
+MD5 8bdad731fb923a9fe1921358202f4f0f ipw2200-fw-2.0.tgz 163989
diff --git a/net-wireless/ipw2200/files/digest-ipw2200-0.17 b/net-wireless/ipw2200/files/digest-ipw2200-0.17
new file mode 100644
index 000000000000..fffd55d1979c
--- /dev/null
+++ b/net-wireless/ipw2200/files/digest-ipw2200-0.17
@@ -0,0 +1,2 @@
+MD5 29c776b1147e49d8d0f9a421cfb7e0c4 ipw2200-0.17.tgz 121150
+MD5 f835b4ecbb79cafa0ab58ffc594e5c94 ipw2200-fw-2.1.tgz 167945
diff --git a/net-wireless/ipw2200/ipw2200-0.16.ebuild b/net-wireless/ipw2200/ipw2200-0.16.ebuild
new file mode 100644
index 000000000000..8263b710cee2
--- /dev/null
+++ b/net-wireless/ipw2200/ipw2200-0.16.ebuild
@@ -0,0 +1,124 @@
+# 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.16.ebuild,v 1.1 2004/12/11 21:02:40 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_NET_RADIO=[ym]" ${ROOT}/usr/src/linux/.config >/dev/null
+ then
+ eerror ""
+ eerror "${PN} requires support for Wireless LAN drivers (non-hamradio) &"
+ eerror "Wireless Extensions in the kernel."
+ eerror ""
+ die "Wireless LAN support not detected."
+ fi
+ if ! egrep "^CONFIG_CRYPTO_ARC4=[ym]" ${ROOT}/usr/src/linux/.config >/dev/null
+ then
+ eerror ""
+ eerror "New versions of ${PN} require the ARC4 CryptoAPI module from"
+ eerror "the kernel."
+ eerror ""
+ die "ARC4 Crypto support not detected."
+ fi
+
+ if ! egrep "^CONFIG_FW_LOADER=[ym]" ${ROOT}/usr/src/linux/.config >/dev/null
+ 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."
+ eerror ""
+ die "Firmware loading support not detected."
+ fi
+
+ if ! egrep "^CONFIG_CRC32=[ym]" ${ROOT}/usr/src/linux/.config >/dev/null
+ then
+ eerror ""
+ eerror "New versions of ${PN} require support for CRC32 in"
+ eerror "your kernel. This can be found in Library Routines in"
+ eerror "kernel configs."
+ eerror ""
+ die "CRC32 function support not detected."
+ fi
+
+ unpack ${A}
+
+ cd "${S}"
+
+ einfo "Patching Makefile"
+ sed -i -e 's/CONFIG_IPW_DEBUG=y/CONFIG_IPW_DEBUG=n/' "${S}/Makefile"
+ sed -i -e 's/CONFIG_IEEE80211_DEBUG=y/CONFIG_IEEE80211_DEBUG=n/' "${S}/Makefile"
+ sed -i -e 's/# CONFIG_IPW_PROMISC=/CONFIG_IPW_PROMISC=/' "${S}/Makefile"
+ sed -i -e 's/# CONFIG_IEEE80211_WPA=/CONFIG_IEEE80211_WPA=/' "${S}/Makefile"
+
+ # let pkg_postinst() handle depmod
+ sed -i "s:/sbin/depmod -a::" ${S}/Makefile
+
+ kernel-mod_getversion
+
+ if [ ${KV_MINOR} -gt 5 ] && [ ${KV_PATCH} -gt 5 ]
+ then
+ sed -i 's:SUBDIRS=:M=:g' ${S}/Makefile
+ fi
+}
+
+src_compile() {
+ if [ ${KV_MINOR} -gt 5 ] && [ ${KV_PATCH} -gt 5 ]
+ then
+ unset ARCH
+ fi
+
+ emake KSRC=${ROOT}/usr/src/linux all || die
+}
+
+src_install() {
+ if [ ${KV_MINOR} -gt 5 ] && [ ${KV_PATCH} -gt 5 ]
+ then
+ unset ARCH
+ fi
+
+ emake KMISC=${D}/lib/modules/${KV}/net install || die
+
+ dodoc ISSUES README.${PN} CHANGES
+
+ insinto /lib/firmware
+ doins ${WORKDIR}/${PN}_boot.fw
+ doins ${WORKDIR}/${PN}_bss.fw
+ doins ${WORKDIR}/${PN}_ibss.fw
+ doins ${WORKDIR}/${PN}_ucode.fw
+
+ # Create symbolic links for old hotplug firmware location
+ dodir /usr/lib/hotplug/firmware
+ dosym /lib/firmware/${PN}_boot.fw /usr/lib/hotplug/firmware/${PN}_boot.fw
+ dosym /lib/firmware/${PN}_bss.fw /usr/lib/hotplug/firmware/${PN}_bss.fw
+ dosym /lib/firmware/${PN}_ibss.fw /usr/lib/hotplug/firmware/${PN}_ibss.fw
+ dosym /lib/firmware/${PN}_ucode.fw /usr/lib/hotplug/firmware/${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}
+}
diff --git a/net-wireless/ipw2200/ipw2200-0.17.ebuild b/net-wireless/ipw2200/ipw2200-0.17.ebuild
new file mode 100644
index 000000000000..e5f4f91b2925
--- /dev/null
+++ b/net-wireless/ipw2200/ipw2200-0.17.ebuild
@@ -0,0 +1,124 @@
+# 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.17.ebuild,v 1.1 2004/12/11 21:02:40 jbms Exp $
+
+inherit kernel-mod eutils
+
+FW_VERSION="2.1"
+
+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_NET_RADIO=[ym]" ${ROOT}/usr/src/linux/.config >/dev/null
+ then
+ eerror ""
+ eerror "${PN} requires support for Wireless LAN drivers (non-hamradio) &"
+ eerror "Wireless Extensions in the kernel."
+ eerror ""
+ die "Wireless LAN support not detected."
+ fi
+ if ! egrep "^CONFIG_CRYPTO_ARC4=[ym]" ${ROOT}/usr/src/linux/.config >/dev/null
+ then
+ eerror ""
+ eerror "New versions of ${PN} require the ARC4 CryptoAPI module from"
+ eerror "the kernel."
+ eerror ""
+ die "ARC4 Crypto support not detected."
+ fi
+
+ if ! egrep "^CONFIG_FW_LOADER=[ym]" ${ROOT}/usr/src/linux/.config >/dev/null
+ 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."
+ eerror ""
+ die "Firmware loading support not detected."
+ fi
+
+ if ! egrep "^CONFIG_CRC32=[ym]" ${ROOT}/usr/src/linux/.config >/dev/null
+ then
+ eerror ""
+ eerror "New versions of ${PN} require support for CRC32 in"
+ eerror "your kernel. This can be found in Library Routines in"
+ eerror "kernel configs."
+ eerror ""
+ die "CRC32 function support not detected."
+ fi
+
+ unpack ${A}
+
+ cd "${S}"
+
+ einfo "Patching Makefile"
+ sed -i -e 's/CONFIG_IPW_DEBUG=y/CONFIG_IPW_DEBUG=n/' "${S}/Makefile"
+ sed -i -e 's/CONFIG_IEEE80211_DEBUG=y/CONFIG_IEEE80211_DEBUG=n/' "${S}/Makefile"
+ sed -i -e 's/# CONFIG_IPW_PROMISC=/CONFIG_IPW_PROMISC=/' "${S}/Makefile"
+ sed -i -e 's/# CONFIG_IEEE80211_WPA=/CONFIG_IEEE80211_WPA=/' "${S}/Makefile"
+
+ # let pkg_postinst() handle depmod
+ sed -i "s:/sbin/depmod -a::" ${S}/Makefile
+
+ kernel-mod_getversion
+
+ if [ ${KV_MINOR} -gt 5 ] && [ ${KV_PATCH} -gt 5 ]
+ then
+ sed -i 's:SUBDIRS=:M=:g' ${S}/Makefile
+ fi
+}
+
+src_compile() {
+ if [ ${KV_MINOR} -gt 5 ] && [ ${KV_PATCH} -gt 5 ]
+ then
+ unset ARCH
+ fi
+
+ emake KSRC=${ROOT}/usr/src/linux all || die
+}
+
+src_install() {
+ if [ ${KV_MINOR} -gt 5 ] && [ ${KV_PATCH} -gt 5 ]
+ then
+ unset ARCH
+ fi
+
+ emake KMISC=${D}/lib/modules/${KV}/net install || die
+
+ dodoc ISSUES README.${PN} CHANGES
+
+ insinto /lib/firmware
+ doins ${WORKDIR}/ipw-${FW_VERSION}-boot.fw
+ doins ${WORKDIR}/ipw-${FW_VERSION}-bss.fw
+ doins ${WORKDIR}/ipw-${FW_VERSION}-ibss.fw
+ doins ${WORKDIR}/ipw-${FW_VERSION}-ucode.fw
+
+ # Create symbolic links for old hotplug firmware location
+ dodir /usr/lib/hotplug/firmware
+ dosym /lib/firmware/ipw-${FW_VERSION}-boot.fw /usr/lib/hotplug/firmware/ipw-${FW_VERSION}-boot.fw
+ dosym /lib/firmware/ipw-${FW_VERSION}-bss.fw /usr/lib/hotplug/firmware/ipw-${FW_VERSION}-bss.fw
+ dosym /lib/firmware/ipw-${FW_VERSION}-ibss.fw /usr/lib/hotplug/firmware/ipw-${FW_VERSION}-ibss.fw
+ dosym /lib/firmware/ipw-${FW_VERSION}-ucode.fw /usr/lib/hotplug/firmware/ipw-${FW_VERSION}-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}
+}