diff options
author | Jeremy Maitin-Shepard <jbms@gentoo.org> | 2004-08-17 02:54:46 +0000 |
---|---|---|
committer | Jeremy Maitin-Shepard <jbms@gentoo.org> | 2004-08-17 02:54:46 +0000 |
commit | 393bfe9c0fefc5f4fca701dda7a8b1e37177c092 (patch) | |
tree | 6ecb5382611458ff24e62e7a1a3c2b77cd1f51af /net-wireless/ipw2200 | |
parent | add editor for games-kids/gcompris (diff) | |
download | gentoo-2-393bfe9c0fefc5f4fca701dda7a8b1e37177c092.tar.gz gentoo-2-393bfe9c0fefc5f4fca701dda7a8b1e37177c092.tar.bz2 gentoo-2-393bfe9c0fefc5f4fca701dda7a8b1e37177c092.zip |
Version bump. Resolves Bug #60614.
Diffstat (limited to 'net-wireless/ipw2200')
-rw-r--r-- | net-wireless/ipw2200/ChangeLog | 7 | ||||
-rw-r--r-- | net-wireless/ipw2200/Manifest | 6 | ||||
-rw-r--r-- | net-wireless/ipw2200/files/digest-ipw2200-0.4 | 2 | ||||
-rw-r--r-- | net-wireless/ipw2200/ipw2200-0.4.ebuild | 81 |
4 files changed, 93 insertions, 3 deletions
diff --git a/net-wireless/ipw2200/ChangeLog b/net-wireless/ipw2200/ChangeLog index 987acaf73e2f..4eb55b2e5979 100644 --- a/net-wireless/ipw2200/ChangeLog +++ b/net-wireless/ipw2200/ChangeLog @@ -1,6 +1,11 @@ # 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.1 2004/08/14 22:38:50 jbms Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw2200/ChangeLog,v 1.2 2004/08/17 02:54:46 jbms Exp $ + +*ipw2200-0.4 (16 Aug 2004) + + 16 Aug 2004; Jeremy Maitin-Shepard <jbms@gentoo.org> +ipw2200-0.4.ebuild: + Version bump. Resolves Bug #60614. *ipw2200-0.3 (14 Aug 2004) diff --git a/net-wireless/ipw2200/Manifest b/net-wireless/ipw2200/Manifest index af40dfd47f9f..a4336ddd5900 100644 --- a/net-wireless/ipw2200/Manifest +++ b/net-wireless/ipw2200/Manifest @@ -1,4 +1,6 @@ -MD5 1a0bde77246a024db67d3a0c60bd8931 ipw2200-0.3.ebuild 1987 -MD5 bbad2cadf5bd8b0200fd5679c7dc4557 ChangeLog 478 +MD5 9f120abc979cfbda9a8595ea7fa6c1a2 ipw2200-0.3.ebuild 2086 +MD5 9f120abc979cfbda9a8595ea7fa6c1a2 ipw2200-0.4.ebuild 2086 +MD5 c91a508a4a7ba31d8cafffcb19df27b2 ChangeLog 568 MD5 e33c43b256ce937ba82846532879e312 metadata.xml 219 MD5 13bdb18aad2ee350659575449ba67113 files/digest-ipw2200-0.3 122 +MD5 4bf7fd9d6b68afc2a846b35e57bad566 files/digest-ipw2200-0.4 122 diff --git a/net-wireless/ipw2200/files/digest-ipw2200-0.4 b/net-wireless/ipw2200/files/digest-ipw2200-0.4 new file mode 100644 index 000000000000..a92e4e5bd568 --- /dev/null +++ b/net-wireless/ipw2200/files/digest-ipw2200-0.4 @@ -0,0 +1,2 @@ +MD5 7f33d9a084e24ef913f7bba2828acccd ipw2200-0.4.tgz 88918 +MD5 eb20f3ce94f8b18d5b558b738e410c58 ipw2200-fw-1.2.tgz 133331 diff --git a/net-wireless/ipw2200/ipw2200-0.4.ebuild b/net-wireless/ipw2200/ipw2200-0.4.ebuild new file mode 100644 index 000000000000..c2a9036f9363 --- /dev/null +++ b/net-wireless/ipw2200/ipw2200-0.4.ebuild @@ -0,0 +1,81 @@ +# 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.4.ebuild,v 1.1 2004/08/17 02:54:46 jbms Exp $ + +inherit kernel-mod eutils + +FW_VERSION="1.2" + +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="" +DEPEND="" +RDEPEND=">=sys-apps/hotplug-20030805-r2" + +src_unpack() { + 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." + 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." + 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 + emake KSRC=${ROOT}/usr/src/linux all || 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.${KV_OBJ} ${PN}.${KV_OBJ} + + insinto /usr/lib/hotplug/firmware + 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} +} |