diff options
author | Henrik Brix Andersen <brix@gentoo.org> | 2004-11-02 09:44:10 +0000 |
---|---|---|
committer | Henrik Brix Andersen <brix@gentoo.org> | 2004-11-02 09:44:10 +0000 |
commit | 31ce2204d1cd23ee0961a94489d680273d102462 (patch) | |
tree | 92b35bbe4d4eef949003c9a59108f55406c012c0 /net-wireless/ipw2100 | |
parent | Minor fixes part II (diff) | |
download | historical-31ce2204d1cd23ee0961a94489d680273d102462.tar.gz historical-31ce2204d1cd23ee0961a94489d680273d102462.tar.bz2 historical-31ce2204d1cd23ee0961a94489d680273d102462.zip |
Version bump.
Diffstat (limited to 'net-wireless/ipw2100')
-rw-r--r-- | net-wireless/ipw2100/ChangeLog | 7 | ||||
-rw-r--r-- | net-wireless/ipw2100/Manifest | 4 | ||||
-rw-r--r-- | net-wireless/ipw2100/files/digest-ipw2100-0.57 | 2 | ||||
-rw-r--r-- | net-wireless/ipw2100/ipw2100-0.57.ebuild | 145 |
4 files changed, 156 insertions, 2 deletions
diff --git a/net-wireless/ipw2100/ChangeLog b/net-wireless/ipw2100/ChangeLog index 48e38f3c8bd1..86ee3e12b56b 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.39 2004/10/29 12:13:49 brix Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw2100/ChangeLog,v 1.40 2004/11/02 09:44:10 brix Exp $ + +*ipw2100-0.57 (02 Nov 2004) + + 02 Nov 2004; Henrik Brix Andersen <brix@gentoo.org> +ipw2100-0.57.ebuild: + Version bump. 29 Oct 2004; Henrik Brix Andersen <brix@gentoo.org> +files/ipw2100-0.56-2.6.10-susp.patch, ipw2100-0.56-r1.ebuild: diff --git a/net-wireless/ipw2100/Manifest b/net-wireless/ipw2100/Manifest index bde3fb596a67..267783963540 100644 --- a/net-wireless/ipw2100/Manifest +++ b/net-wireless/ipw2100/Manifest @@ -1,9 +1,10 @@ MD5 64df9f7be17c96b466f939076dcbeb98 ipw2100-0.55.ebuild 2949 +MD5 6bc8f40845cc7b96b79ccbcd6e1fa2fb ipw2100-0.57.ebuild 3817 MD5 c4a97eb25e8d493065e9168268ddb856 ipw2100-0.54.ebuild 2772 MD5 c25026014f8d853d84d6cdbb05d848ff ipw2100-0.55-r2.ebuild 3725 MD5 750e2e1318bb6ccf995199399d7a1e9f ipw2100-0.56.ebuild 3999 MD5 fadd1dfb2b0750da30a9626ef3f4a521 ipw2100-0.56-r1.ebuild 3981 -MD5 e3d740aded45e34e7a4fb6b8e5fcd47e ChangeLog 8348 +MD5 295a338d52da1fd0397db346f5be3142 ChangeLog 8470 MD5 8a68b74057e911e6804f77dc21959e80 metadata.xml 282 MD5 78f6d8f071cd7615df4ad78abf3e55d0 ipw2100-0.44.ebuild 2305 MD5 1396122738f1bdc3902e7dc6dde31776 ipw2100-0.55-r1.ebuild 3069 @@ -18,5 +19,6 @@ 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 97e5b39dd6c08d7d582c250e3af2f950 files/digest-ipw2100-0.57 124 MD5 aca6bf1c2d71e72adfc952d903c77f6b files/ipw2100-0.56-ieee80211_scan_age.2.patch 1718 MD5 99cced47568e9cb3fd2e3ceaed896c88 files/hostap_crypt.h 1344 diff --git a/net-wireless/ipw2100/files/digest-ipw2100-0.57 b/net-wireless/ipw2100/files/digest-ipw2100-0.57 new file mode 100644 index 000000000000..bfe9b24b704c --- /dev/null +++ b/net-wireless/ipw2100/files/digest-ipw2100-0.57 @@ -0,0 +1,2 @@ +MD5 853413a7769025618865a0029d791878 ipw2100-0.57.tgz 133483 +MD5 46aa75bcda1a00efa841f9707bbbd113 ipw2100-fw-1.3.tgz 248471 diff --git a/net-wireless/ipw2100/ipw2100-0.57.ebuild b/net-wireless/ipw2100/ipw2100-0.57.ebuild new file mode 100644 index 000000000000..afa693be8b4e --- /dev/null +++ b/net-wireless/ipw2100/ipw2100-0.57.ebuild @@ -0,0 +1,145 @@ +# 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.57.ebuild,v 1.1 2004/11/02 09:44:10 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" + +LICENSE="GPL-2 ipw2100-fw" +SLOT="0" +KEYWORDS="~x86" + +IUSE="" +DEPEND="virtual/linux-sources + !net-wireless/ipw2200 + sys-apps/sed" +RDEPEND=">=sys-apps/hotplug-20030805-r2 + >=net-wireless/wireless-tools-27_pre23" + +pkg_setup() { + local DIE=0 + + if kernel-mod_is_2_4_kernel + then + die "${P} does not support building against kernel 2.4.x" + fi + + 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." + DIE=1 + 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." + DIE=1 + 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." + DIE=1 + fi + + if ! kernel-mod_configoption_present CRYPTO_AES_586 && ! kernel-mod_configoption_present CRYPTO_AES + then + eerror "" + eerror "${P} requires support for AES cipher algorithms (i586)" + eerror "(CONFIG_CRYPTO_AES_586) in the kernel." + eerror "" + eerror "This is called CONFIG_CRYPTO_AES in kernels prior to 2.6.8." + DIE=1 + fi + + if ! kernel-mod_configoption_present FW_LOADER + then + eerror "" + eerror "${P} requires Hotplug firmware loading support (CONFIG_FW_LOADER)" + eerror "in the kernel." + DIE=1 + fi + + if ! kernel-mod_configoption_present CRC32 + then + eerror "" + eerror "${P} requires support for CRC32 functions (CONFIG_CRC32) in the" + eerror "kernel." + DIE=1 + fi + + kernel-mod_check_modules_supported + + if [ $DIE -eq 1 ] + then + eerror "" + die "You kernel is missing the required option(s) listed above." + fi +} + +src_unpack() { + unpack ${A} + + 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} +} |