diff options
author | Henrik Brix Andersen <brix@gentoo.org> | 2004-10-15 18:59:24 +0000 |
---|---|---|
committer | Henrik Brix Andersen <brix@gentoo.org> | 2004-10-15 18:59:24 +0000 |
commit | 675a9684dd7f7228c3d0ed5335bca00b96816782 (patch) | |
tree | dd7c283c4e8bae841185eaa70d84c848f7101892 /net-wireless/ipw2100 | |
parent | (Manifest recommit) (diff) | |
download | gentoo-2-675a9684dd7f7228c3d0ed5335bca00b96816782.tar.gz gentoo-2-675a9684dd7f7228c3d0ed5335bca00b96816782.tar.bz2 gentoo-2-675a9684dd7f7228c3d0ed5335bca00b96816782.zip |
Version bump.
Diffstat (limited to 'net-wireless/ipw2100')
-rw-r--r-- | net-wireless/ipw2100/ChangeLog | 7 | ||||
-rw-r--r-- | net-wireless/ipw2100/Manifest | 2 | ||||
-rw-r--r-- | net-wireless/ipw2100/files/digest-ipw2100-0.56 | 3 | ||||
-rw-r--r-- | net-wireless/ipw2100/ipw2100-0.56.ebuild | 140 |
4 files changed, 151 insertions, 1 deletions
diff --git a/net-wireless/ipw2100/ChangeLog b/net-wireless/ipw2100/ChangeLog index 0acf50547e67..19c6f0da8570 100644 --- a/net-wireless/ipw2100/ChangeLog +++ b/net-wireless/ipw2100/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-wireless/ipw2100 # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw2100/ChangeLog,v 1.33 2004/10/12 08:01:41 brix Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw2100/ChangeLog,v 1.34 2004/10/15 18:59:24 brix Exp $ + +*ipw2100-0.56 (15 Oct 2004) + + 15 Oct 2004; Henrik Brix Andersen <brix@gentoo.org> +ipw2100-0.56.ebuild: + Version bump 12 Oct 2004; Henrik Brix Andersen <brix@gentoo.org> ipw2100-0.54.ebuild: Stable on x86 diff --git a/net-wireless/ipw2100/Manifest b/net-wireless/ipw2100/Manifest index ded86e882d5b..97051d1f7004 100644 --- a/net-wireless/ipw2100/Manifest +++ b/net-wireless/ipw2100/Manifest @@ -1,6 +1,7 @@ MD5 64df9f7be17c96b466f939076dcbeb98 ipw2100-0.55.ebuild 2949 MD5 c4a97eb25e8d493065e9168268ddb856 ipw2100-0.54.ebuild 2772 MD5 c25026014f8d853d84d6cdbb05d848ff ipw2100-0.55-r2.ebuild 3725 +MD5 a114506562a4783347c115d04e5bdd98 ipw2100-0.56.ebuild 3776 MD5 b800533de58f4f683b498e261e258f7f ChangeLog 7169 MD5 8a68b74057e911e6804f77dc21959e80 metadata.xml 282 MD5 78f6d8f071cd7615df4ad78abf3e55d0 ipw2100-0.44.ebuild 2305 @@ -12,4 +13,5 @@ MD5 1ce1888cb1dcbc65bc76ba8f3f7875b9 files/ipw2100-0.55_manual-disable.patch 289 MD5 5ccd21f930c68d8fd53afe3a87bcd56e files/digest-ipw2100-0.44 124 MD5 674152317ec0021f718398ba7a213b0d files/digest-ipw2100-0.54 124 MD5 b3a600a244bd8a64fd8ade3036a390e1 files/digest-ipw2100-0.55 124 +MD5 5fa9f803ddce8467b15e0397a8155057 files/digest-ipw2100-0.56 195 MD5 99cced47568e9cb3fd2e3ceaed896c88 files/hostap_crypt.h 1344 diff --git a/net-wireless/ipw2100/files/digest-ipw2100-0.56 b/net-wireless/ipw2100/files/digest-ipw2100-0.56 new file mode 100644 index 000000000000..c33cf5be1ca0 --- /dev/null +++ b/net-wireless/ipw2100/files/digest-ipw2100-0.56 @@ -0,0 +1,3 @@ +MD5 96473874bb682e2701c4e8e6dd662a64 ipw2100-0.56.tgz 132854 +MD5 46aa75bcda1a00efa841f9707bbbd113 ipw2100-fw-1.3.tgz 248471 +MD5 8e0d061b2567361c76c3193aa342ec6f ipw2100-0.56-2.4-v1.patch.gz 8208 diff --git a/net-wireless/ipw2100/ipw2100-0.56.ebuild b/net-wireless/ipw2100/ipw2100-0.56.ebuild new file mode 100644 index 000000000000..61e4f9c1d7d3 --- /dev/null +++ b/net-wireless/ipw2100/ipw2100-0.56.ebuild @@ -0,0 +1,140 @@ +# 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.56.ebuild,v 1.1 2004/10/15 18:59:24 brix Exp $ + +inherit kernel-mod eutils + +FW_VERSION="1.3" + +DESCRIPTION="Driver for the Intel PRO/Wireless 2100 3B miniPCI adapter" + +HOMEPAGE="http://ipw2100.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tgz + mirror://gentoo/${PN}-fw-${FW_VERSION}.tgz + mirror://gentoo/${P}-2.4-v1.patch.gz" + +LICENSE="GPL-2 ipw2100-fw" +SLOT="0" +KEYWORDS="~x86" + +IUSE="" +DEPEND="!net-wireless/ipw2200 + sys-apps/sed" +RDEPEND=">=sys-apps/hotplug-20030805-r2 + >=net-wireless/wireless-tools-27_pre23" + +src_unpack() { + if ! kernel-mod_configoption_present NET_RADIO + then + eerror "" + eerror "${P} requires support for Wireless LAN drivers (non-hamradio) &" + eerror "Wireless Extensions (CONFIG_NET_RADIO) in the kernel." + eerror "" + die "CONFIG_NET_RADIO support not detected." + fi + + if ! kernel-mod_configoption_present CRYPTO_ARC4 + then + eerror "" + eerror "${P} requires support for ARC4 cipher algorithm (CONFIG_CRYPTO_ARC4)" + eerror "in the kernel." + eerror "" + die "CONFIG_CRYPTO_ARC4 support not detected." + fi + + if ! kernel-mod_configoption_present CRYPTO_MICHAEL_MIC + then + eerror "" + eerror "${P} requires support for Michael MIC keyed digest algorithm" + eerror "(CONFIG_CRYPTO_MICHAEL_MIC) in the kernel." + eerror "" + die "CONFIG_CRYPTO_MICHAEL_MIC support not detected." + fi + + if ! kernel-mod_configoption_present CRYPTO_AES_586 + then + eerror "" + eerror "${P} requires support for AES cipher algorithms (i586)" + eerror "(CONFIG_CRYPTO_AES_586) in the kernel." + eerror "" + die "CONFIG_CRYPTO_MICHAEL_MIC support not detected." + fi + + if ! kernel-mod_configoption_present FW_LOADER + then + eerror "" + eerror "${P} requires Hotplug firmware loading support (CONFIG_FW_LOADER)" + eerror "in the kernel." + eerror "" + die "CONFIG_FW_LOADER support not detected." + fi + + if ! kernel-mod_configoption_present CRC32 + then + eerror "" + eerror "${P} requires support for CRC32 functions (CONFIG_CRC32) in the" + eerror "kernel." + eerror "" + die "CONFIG_CRC32 support not detected." + fi + + kernel-mod_check_modules_supported + + unpack ${A} + + if kernel-mod_is_2_4_kernel + then + cd ${S} + epatch ${WORKDIR}/${P}-2.4-v1.patch + fi + + einfo "Patching Makefile to enable WPA" + sed -i "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() { + set_arch_to_kernel + + emake KSRC=${ROOT}/usr/src/linux all || die +} + +src_install() { + set_arch_to_kernel + + emake KSRC=${ROOT}/usr/src/linux KMISC=${D}/lib/modules/${KV}/net install || die + + set_arch_to_portage + + dodoc ISSUES README.ipw2100 CHANGES LICENSE + + insinto /lib/firmware + doins ${WORKDIR}/${PN}-${FW_VERSION}.fw + doins ${WORKDIR}/${PN}-${FW_VERSION}-p.fw + doins ${WORKDIR}/${PN}-${FW_VERSION}-i.fw + newins ${WORKDIR}/LICENSE ${PN}-${FW_VERSION}-LICENSE + + # Create symbolic links for old (<=hotplug-20040920) firmware location + # See bug #65059 + dodir /usr/lib/hotplug/firmware + dosym /lib/firmware/${PN}-${FW_VERSION}.fw /usr/lib/hotplug/firmware/${PN}-${FW_VERSION}.fw + dosym /lib/firmware/${PN}-${FW_VERSION}-p.fw /usr/lib/hotplug/firmware/${PN}-${FW_VERSION}-p.fw + dosym /lib/firmware/${PN}-${FW_VERSION}-i.fw /usr/lib/hotplug/firmware/${PN}-${FW_VERSION}-i.fw + dosym /lib/firmware/${PN}-${FW_VERSION}-LICENSE /usr/lib/hotplug/firmware/${PN}-${FW_VERSION}-LICENSE +} + +pkg_postinst() { + einfo "Checking kernel module dependencies" + test -r "${ROOT}/usr/src/linux/System.map" && \ + depmod -ae -F "${ROOT}/usr/src/linux/System.map" -b "${ROOT}" -r ${KV} +} |