diff options
author | Henrik Brix Andersen <brix@gentoo.org> | 2005-05-18 12:05:57 +0000 |
---|---|---|
committer | Henrik Brix Andersen <brix@gentoo.org> | 2005-05-18 12:05:57 +0000 |
commit | 5d42c5c625130139a5f3d9178896275edfa449f5 (patch) | |
tree | 5fa650e565a6af2e999dd99604351dd66aaba89b /net-wireless | |
parent | Version bump. (diff) | |
download | historical-5d42c5c625130139a5f3d9178896275edfa449f5.tar.gz historical-5d42c5c625130139a5f3d9178896275edfa449f5.tar.bz2 historical-5d42c5c625130139a5f3d9178896275edfa449f5.zip |
Version bump. This release includes monitor mode and hardware-based crypto support.
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/ipw2200/ChangeLog | 8 | ||||
-rw-r--r-- | net-wireless/ipw2200/files/digest-ipw2200-1.0.4 | 1 | ||||
-rw-r--r-- | net-wireless/ipw2200/ipw2200-1.0.4.ebuild | 81 |
3 files changed, 89 insertions, 1 deletions
diff --git a/net-wireless/ipw2200/ChangeLog b/net-wireless/ipw2200/ChangeLog index 8bf410ad4fbb..d36ae303fba2 100644 --- a/net-wireless/ipw2200/ChangeLog +++ b/net-wireless/ipw2200/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-wireless/ipw2200 # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw2200/ChangeLog,v 1.32 2005/05/15 09:22:38 brix Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw2200/ChangeLog,v 1.33 2005/05/18 12:05:57 brix Exp $ + +*ipw2200-1.0.4 (18 May 2005) + + 18 May 2005; <brix@gentoo.org> +ipw2200-1.0.4.ebuild: + Version bump. This release includes monitor mode and hardware-based crypto + support. 15 May 2005; <brix@gentoo.org> -ipw2200-1.0.1.ebuild, -ipw2200-1.0.2.ebuild, -ipw2200-1.0.2-r1.ebuild: diff --git a/net-wireless/ipw2200/files/digest-ipw2200-1.0.4 b/net-wireless/ipw2200/files/digest-ipw2200-1.0.4 new file mode 100644 index 000000000000..8df44bd62bbc --- /dev/null +++ b/net-wireless/ipw2200/files/digest-ipw2200-1.0.4 @@ -0,0 +1 @@ +MD5 b79d75d78ec226ac1a05790dc185e732 ipw2200-1.0.4.tgz 148657 diff --git a/net-wireless/ipw2200/ipw2200-1.0.4.ebuild b/net-wireless/ipw2200/ipw2200-1.0.4.ebuild new file mode 100644 index 000000000000..2748b57721b2 --- /dev/null +++ b/net-wireless/ipw2200/ipw2200-1.0.4.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw2200/ipw2200-1.0.4.ebuild,v 1.1 2005/05/18 12:05:57 brix Exp $ + +inherit linux-mod + +# The following works with both pre-releases and releases +MY_P=${P/_/-} +S=${WORKDIR}/${MY_P} + +FW_VERSION="2.3" + +DESCRIPTION="Driver for the Intel PRO/Wireless 2200BG/2915ABG miniPCI and 2225BG PCI adapters" + +HOMEPAGE="http://ipw2200.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" + +IUSE="debug" +RDEPEND="=net-wireless/ipw2200-firmware-${FW_VERSION} + net-wireless/wireless-tools + !net-wireless/ipw2100" + +BUILD_TARGETS="all" + +MODULE_NAMES="ipw2200(net:) + ieee80211(net:) + ieee80211_crypt(net:) + ieee80211_crypt_wep(net:) + ieee80211_crypt_ccmp(net:) + ieee80211_crypt_tkip(net:)" +MODULESD_IPW2200_DOCS="README.ipw2200" + +CONFIG_CHECK="NET_RADIO CRYPTO_ARC4 CRYPTO_MICHAEL_MIC FW_LOADER CRC32" +ERROR_NET_RADIO="${P} requires support for Wireless LAN drivers (non-hamradio) & Wireless Extensions (CONFIG_NET_RADIO)." +ERROR_CRYPTO_ARC4="${P} requires support for ARC4 cipher algorithm (CONFIG_CRYPTO_ARC4)." +ERROR_CRYPTO_MICHAEL_MIC="${P} requires support for Michael MIC keyed digest algorithm (CONFIG_CRYPTO_MICHAEL_MIC)." +ERROR_FW_LOADER="${P} requires Hotplug firmware loading support (CONFIG_FW_LOADER)." +ERROR_CRC32="${P} requires support for CRC32 functions (CONFIG_CRC32)." + +pkg_setup() { + if kernel_is 2 4; then + die "${P} does not support building against kernel 2.4.x" + fi + + if ! (linux_chkconfig_present CRYPTO_AES_586 || linux_chkconfig_present CRYPTO_AES); then + eerror "${P} requires support for AES cipher algorithms (i586) (CONFIG_CRYPTO_AES_586)." + eerror "This option is called CONFIG_CRYPTO_AES in kernels prior to 2.6.8." + die "CONFIG_CRYPTO_AES_586 support not detected" + fi + + linux-mod_pkg_setup + + BUILD_PARAMS="KSRC=${KV_DIR}" +} + +src_unpack() { + local debug="n" + + unpack ${A} + + use debug && debug="y" + sed -i \ + -e "s:^\(CONFIG_IPW_DEBUG\)=.*:\1=$debug:" \ + -e "s:^\(CONFIG_IEEE80211_DEBUG\)=.*:\1=$debug:" \ + ${S}/Makefile + + if use_m; then + sed -i -e "s:\${SUBDIRS}:\${M}:" ${S}/Makefile + fi + convert_to_m ${S}/Makefile +} + +src_install() { + linux-mod_src_install + + dodoc CHANGES ISSUES +} |