diff options
author | Peter Johanson <latexer@gentoo.org> | 2004-07-23 02:23:23 +0000 |
---|---|---|
committer | Peter Johanson <latexer@gentoo.org> | 2004-07-23 02:23:23 +0000 |
commit | a1c0d13dee1d26d7d435903773f0e3c16acbbe3b (patch) | |
tree | be650a4c5df8c9b219b2c8fd0f4164f20ed47fb9 /net-wireless | |
parent | Removed obsolete ebuild/digest (diff) | |
download | historical-a1c0d13dee1d26d7d435903773f0e3c16acbbe3b.tar.gz historical-a1c0d13dee1d26d7d435903773f0e3c16acbbe3b.tar.bz2 historical-a1c0d13dee1d26d7d435903773f0e3c16acbbe3b.zip |
Bump. See bug #57780.
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/ipw2100/Manifest | 2 | ||||
-rw-r--r-- | net-wireless/ipw2100/files/digest-ipw2100-0.50 | 2 | ||||
-rw-r--r-- | net-wireless/ipw2100/ipw2100-0.50.ebuild | 89 |
3 files changed, 93 insertions, 0 deletions
diff --git a/net-wireless/ipw2100/Manifest b/net-wireless/ipw2100/Manifest index c42e7a2f6523..8b102026cc9e 100644 --- a/net-wireless/ipw2100/Manifest +++ b/net-wireless/ipw2100/Manifest @@ -1,3 +1,4 @@ +MD5 bb9888bcaee0c37159b0dcbbb3e84aca ipw2100-0.50.ebuild 2349 MD5 af2bd708c29ad112cea5def61fd8727d ipw2100-0.46.ebuild 2308 MD5 2f891ac2012d4e7de0bfe1ff02b4ffd5 ipw2100-0.41.ebuild 2221 MD5 c1821412a8df6f808806fcfed23b9558 ipw2100-0.48.ebuild 2134 @@ -19,5 +20,6 @@ MD5 3d2b283cc098381a32b94d472e5b11dc files/digest-ipw2100-0.45 124 MD5 a508f0e5b0fb4fda0c68b61cfb7112cb files/digest-ipw2100-0.46 126 MD5 d4161d49b448578ab1305bd933485404 files/digest-ipw2100-0.48 124 MD5 f706839d579ba7b981d0c96407e1cfdd files/digest-ipw2100-0.49 124 +MD5 d553cf666c0072c4d33abb3b80a03c44 files/digest-ipw2100-0.50 124 MD5 1939e18b58d29ee8ec02ce6777ebaa4e files/ipw2100-0.33-makefile-fix.diff 2275 MD5 99cced47568e9cb3fd2e3ceaed896c88 files/hostap_crypt.h 1344 diff --git a/net-wireless/ipw2100/files/digest-ipw2100-0.50 b/net-wireless/ipw2100/files/digest-ipw2100-0.50 new file mode 100644 index 000000000000..2df3e693ceb9 --- /dev/null +++ b/net-wireless/ipw2100/files/digest-ipw2100-0.50 @@ -0,0 +1,2 @@ +MD5 9b4122863b5cc391794d5a2529f65156 ipw2100-0.50.tgz 114893 +MD5 178b3fd35e9145a85ac73fa3a3fdde6c ipw2100-fw-1.2.tgz 247493 diff --git a/net-wireless/ipw2100/ipw2100-0.50.ebuild b/net-wireless/ipw2100/ipw2100-0.50.ebuild new file mode 100644 index 000000000000..218b80852206 --- /dev/null +++ b/net-wireless/ipw2100/ipw2100-0.50.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw2100/ipw2100-0.50.ebuild,v 1.1 2004/07/23 02:23:23 latexer Exp $ + +inherit kernel-mod eutils + +FW_VERSION="1.2" + +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 ipw2100-fw" +SLOT="0" +KEYWORDS="~x86" + +IUSE="" +DEPEND="" +RDEPEND=">=sys-apps/hotplug-20030805-r2" + +src_unpack() { + 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." + 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." + 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.ipw2100 CHANGES + + insinto /lib/modules/${KV}/net + doins ieee80211_crypt.${KV_OBJ} ieee80211_crypt_wep.${KV_OBJ} \ + ieee80211.${KV_OBJ} ipw2100.${KV_OBJ} + + insinto /usr/lib/hotplug/firmware + doins ${WORKDIR}/${PN}-${FW_VERSION}.fw + doins ${WORKDIR}/${PN}-${FW_VERSION}-p.fw + doins ${WORKDIR}/${PN}-${FW_VERSION}-i.fw + doins ${WORKDIR}/LICENSE +} + +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} +} |