diff options
-rw-r--r-- | net-wireless/ieee80211/ChangeLog | 8 | ||||
-rw-r--r-- | net-wireless/ieee80211/Manifest | 4 | ||||
-rw-r--r-- | net-wireless/ieee80211/files/digest-ieee80211-1.1.5 | 1 | ||||
-rw-r--r-- | net-wireless/ieee80211/ieee80211-1.1.5.ebuild | 85 | ||||
-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-1.1.3 | 1 | ||||
-rw-r--r-- | net-wireless/ipw2100/ipw2100-1.1.3.ebuild | 94 | ||||
-rw-r--r-- | net-wireless/ipw2200-firmware/ChangeLog | 8 | ||||
-rw-r--r-- | net-wireless/ipw2200-firmware/Manifest | 4 | ||||
-rw-r--r-- | net-wireless/ipw2200-firmware/files/digest-ipw2200-firmware-2.4 | 1 | ||||
-rw-r--r-- | net-wireless/ipw2200-firmware/ipw2200-firmware-2.4.ebuild | 25 | ||||
-rw-r--r-- | net-wireless/ipw2200/ChangeLog | 7 | ||||
-rw-r--r-- | net-wireless/ipw2200/Manifest | 4 | ||||
-rw-r--r-- | net-wireless/ipw2200/files/digest-ipw2200-1.0.7 | 1 | ||||
-rw-r--r-- | net-wireless/ipw2200/ipw2200-1.0.7.ebuild | 99 |
16 files changed, 345 insertions, 8 deletions
diff --git a/net-wireless/ieee80211/ChangeLog b/net-wireless/ieee80211/ChangeLog index e97c945b62a0..0167981815a0 100644 --- a/net-wireless/ieee80211/ChangeLog +++ b/net-wireless/ieee80211/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-wireless/ieee80211 # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/ieee80211/ChangeLog,v 1.9 2005/10/15 20:49:44 brix Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/ieee80211/ChangeLog,v 1.10 2005/10/18 18:21:26 brix Exp $ + +*ieee80211-1.1.5 (18 Oct 2005) + + 18 Oct 2005; Henrik Brix Andersen <brix@gentoo.org> + +ieee80211-1.1.5.ebuild: + Version bump. 15 Oct 2005; Henrik Brix Andersen <brix@gentoo.org> ieee80211-1.0.3-r2.ebuild: diff --git a/net-wireless/ieee80211/Manifest b/net-wireless/ieee80211/Manifest index 53245d4d8075..51ca23401a5d 100644 --- a/net-wireless/ieee80211/Manifest +++ b/net-wireless/ieee80211/Manifest @@ -1,14 +1,16 @@ MD5 205ad9adc36c1538667c08b26290874b ieee80211-1.0.3.ebuild 2073 MD5 0b37106be6c69fa6ce87d5925f2a31dc ieee80211-1.0.3-r1.ebuild 2093 MD5 d94f6f0e594496b23768753d8f2fbccc ieee80211-1.0.2.ebuild 2067 +MD5 2a30be733a96b553b71cdd251ebaee38 ieee80211-1.1.5.ebuild 2614 MD5 85642481bdfb52cc037a57a742a59e18 ieee80211-1.0.3-r2.ebuild 2744 -MD5 fe301e3cccd47bc43e4180cdb70a95ce ChangeLog 1571 +MD5 b435ef5f359729a0845eb8d2dfbbb538 ChangeLog 1701 MD5 b280eebc74d70d85e664debf1adce2c3 metadata.xml 255 MD5 54836c698b04ed62f6d7a3f6f8fa6232 ieee80211-1.0.1.ebuild 2067 MD5 03afa38292ff5bbcc62500c4b6163888 files/ieee80211-1.0.3-broadcast.patch 622 MD5 cc0dea5fff30f8ea5fe5e62a749115d3 files/digest-ieee80211-1.0.1 63 MD5 affd67ec6900c1e7f9c123969f709181 files/digest-ieee80211-1.0.2 63 MD5 777627671d6848e14270d9f65d9d0be6 files/digest-ieee80211-1.0.3 63 +MD5 27f61bbea47540d198a62c715e33a5b4 files/digest-ieee80211-1.1.5 63 MD5 777627671d6848e14270d9f65d9d0be6 files/digest-ieee80211-1.0.3-r1 63 MD5 777627671d6848e14270d9f65d9d0be6 files/digest-ieee80211-1.0.3-r2 63 MD5 f6533e7149d244dd72eb444853266a8f files/ieee80211-1.0.3-keep_restricted_bit.patch 1220 diff --git a/net-wireless/ieee80211/files/digest-ieee80211-1.1.5 b/net-wireless/ieee80211/files/digest-ieee80211-1.1.5 new file mode 100644 index 000000000000..5f10503e90c7 --- /dev/null +++ b/net-wireless/ieee80211/files/digest-ieee80211-1.1.5 @@ -0,0 +1 @@ +MD5 e05fb14fab25462710955f464e1a7c5d ieee80211-1.1.5.tgz 70185 diff --git a/net-wireless/ieee80211/ieee80211-1.1.5.ebuild b/net-wireless/ieee80211/ieee80211-1.1.5.ebuild new file mode 100644 index 000000000000..db73c877aa7d --- /dev/null +++ b/net-wireless/ieee80211/ieee80211-1.1.5.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/ieee80211/ieee80211-1.1.5.ebuild,v 1.1 2005/10/18 18:21:26 brix Exp $ + +inherit linux-mod + +# The following works with both pre-releases and releases +MY_P=${P/_/-} +S=${WORKDIR}/${MY_P} + +DESCRIPTION="Generic IEEE 802.11 network subsystem for Linux" +HOMEPAGE="http://ieee80211.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND="!<=net-wireless/ipw2100-1.1.0 + !<=net-wireless/ipw2200-1.0.4" +RDEPEND="${DEPEND}" + +IUSE="debug" +BUILD_TARGETS="all" +MODULE_NAMES="ieee80211(net/ieee80211:) + ieee80211_crypt(net/ieee80211:) + ieee80211_crypt_wep(net/ieee80211:) + ieee80211_crypt_ccmp(net/ieee80211:) + ieee80211_crypt_tkip(net/ieee80211:)" + +CONFIG_CHECK="NET_RADIO CRYPTO_ARC4 CRYPTO_MICHAEL_MIC CRC32 !IEEE80211" +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_CRC32="${P} requires support for CRC32 functions (CONFIG_CRC32)." +ERROR_IEEE80211="${P} requires the in-kernel version of the IEEE802.11 subsystem to be disabled (CONFIG_IEEE80211)" + +pkg_setup() { + linux-mod_pkg_setup + + if kernel_is 2 4; then + die "${P} does not support building against kernel 2.4.x" + fi + + if [[ -f ${KV_DIR}/include/net/ieee80211.h ]]; then + eerror + eerror "You kernel source contains an incomptible version of the" + eerror "ieee80211 subsystem, which needs to be removed before" + eerror "${P} can be installed. This can be accomplished by running:" + eerror + eerror " # rm -i ${KV_DIR}/include/net/ieee80211.h" + eerror + eerror "Please note that this will make it impossible to use some of the" + eerror "in-kernel IEEE 802.11 wireless LAN drivers (eg. orinoco)." + eerror + die "Incompatible in-kernel ieee80211 subsystem detected" + fi + + if ! (linux_chkconfig_present CRYPTO_AES_586 || \ + linux_chkconfig_present CRYPTO_AES_X86_64 || \ + linux_chkconfig_present CRYPTO_AES); then + eerror "${P} requires support for AES cipher algorithms." + die "CONFIG_CRYPTO_AES{_586,_X86_64} support not detected" + fi + + BUILD_PARAMS="KSRC=${KV_DIR} KSRC_OUTPUT=${KV_OUT_DIR}" +} + +src_unpack() { + local debug="n" + + unpack ${A} + + use debug && debug="y" + sed -i -e "s:^\(CONFIG_IEEE80211_DEBUG\)=.*:\1=${debug}:" ${S}/Makefile +} + +src_install() { + linux-mod_src_install + + insinto /usr/include/net + doins net/*.h + + dodoc CHANGES +} diff --git a/net-wireless/ipw2100/ChangeLog b/net-wireless/ipw2100/ChangeLog index 96d2b3faa5bb..3bd655961665 100644 --- a/net-wireless/ipw2100/ChangeLog +++ b/net-wireless/ipw2100/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-wireless/ipw2100 # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw2100/ChangeLog,v 1.84 2005/10/15 20:52:00 brix Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw2100/ChangeLog,v 1.85 2005/10/18 18:22:48 brix Exp $ + +*ipw2100-1.1.3 (18 Oct 2005) + + 18 Oct 2005; Henrik Brix Andersen <brix@gentoo.org> +ipw2100-1.1.3.ebuild: + Version bump. 15 Oct 2005; Henrik Brix Andersen <brix@gentoo.org> ipw2100-1.1.2-r3.ebuild: diff --git a/net-wireless/ipw2100/Manifest b/net-wireless/ipw2100/Manifest index a796ee63f42c..e70f18f32fd1 100644 --- a/net-wireless/ipw2100/Manifest +++ b/net-wireless/ipw2100/Manifest @@ -3,10 +3,11 @@ MD5 7d314c34f4c0162303042f8b0cbc7748 ipw2100-1.1.2-r2.ebuild 2231 MD5 a676f6646db638eab14c1a2b811ddefb ipw2100-1.1.2.ebuild 2124 MD5 0863db88acaaa293aeec4d9e4d8f1097 ipw2100-1.1.2-r1.ebuild 2190 MD5 b798c8a8a65771fb6b6bb0414f4f2517 ipw2100-1.1.1.ebuild 2124 -MD5 d8081470fede2373a5193d18c71c62c6 ChangeLog 15907 +MD5 11e73955baaf56bf1eac05348434251e ChangeLog 16031 MD5 34d7b8dcda1eaeb4cc5903bfffb26794 ipw2100-1.1.2-r3.ebuild 2778 MD5 172db10566470c8f64b5911609a8e5f9 metadata.xml 318 MD5 c32c1e1a4a1d8797a8663db73c4cebe4 ipw2100-1.0.5.ebuild 2296 +MD5 a74f12fca3bf7d8e0b120a0089d1bb1f ipw2100-1.1.3.ebuild 2556 MD5 5fb2369d48eb758371baed2ff166ce10 files/ipw2100-1.1.0-suspend2.patch 1173 MD5 e3ac3c935a2afc27702212a21d03c40d files/ipw2100-1.1.2-pci_link-fix.patch 1816 MD5 35e41d40e65c6248a9b9ed4d76d671d2 files/ipw2100-1.0.5-is_multicast_ether_addr.patch 631 @@ -15,6 +16,7 @@ MD5 fa1d9b13fc88f31abe34565753ff0b90 files/digest-ipw2100-1.0.5 62 MD5 8c080b5455def312dc8b8fb2da3ffa12 files/digest-ipw2100-1.1.0 62 MD5 b42adf38a171429000f5d3e54bc190c4 files/digest-ipw2100-1.1.1 61 MD5 b99dfc5774c917655aa0b61b35a8e985 files/digest-ipw2100-1.1.2 61 +MD5 a2710d2b53f18e1009a57175de157a6d files/digest-ipw2100-1.1.3 62 MD5 45b8329213881abb9eb1569b92b1c080 files/ipw2100-1.0.5-suspend2.patch 1173 MD5 fd4652f3d313404bf302ab38fc73f645 files/ipw2100-1.1.2-suspend2.patch 599 MD5 1d5956b3a796c4efc0ff535405df4e66 files/ipw2100-1.1.2-ieee80211-1.0.3.patch 437 diff --git a/net-wireless/ipw2100/files/digest-ipw2100-1.1.3 b/net-wireless/ipw2100/files/digest-ipw2100-1.1.3 new file mode 100644 index 000000000000..a3595e87f799 --- /dev/null +++ b/net-wireless/ipw2100/files/digest-ipw2100-1.1.3 @@ -0,0 +1 @@ +MD5 97403ca85730eb7f2d06d9dcbb653228 ipw2100-1.1.3.tgz 171658 diff --git a/net-wireless/ipw2100/ipw2100-1.1.3.ebuild b/net-wireless/ipw2100/ipw2100-1.1.3.ebuild new file mode 100644 index 000000000000..8bef78a7f1aa --- /dev/null +++ b/net-wireless/ipw2100/ipw2100-1.1.3.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw2100/ipw2100-1.1.3.ebuild,v 1.1 2005/10/18 18:22:48 brix Exp $ + +inherit linux-mod + +# The following works with both pre-releases and releases +MY_P=${P/_/-} +S=${WORKDIR}/${MY_P} + +IEEE80211_VERSION="1.1.5" +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}/${MY_P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" + +IUSE="debug" +DEPEND=">=net-wireless/ieee80211-${IEEE80211_VERSION}" +RDEPEND="${DEPEND} + =net-wireless/ipw2100-firmware-${FW_VERSION} + >=net-wireless/wireless-tools-27_pre23" + +BUILD_TARGETS="all" +MODULE_NAMES="ipw2100(net/wireless:)" +MODULESD_IPW2100_DOCS="README.ipw2100" + +CONFIG_CHECK="NET_RADIO FW_LOADER !IPW2100" +ERROR_NET_RADIO="${P} requires support for Wireless LAN drivers (non-hamradio) & Wireless Extensions (CONFIG_NET_RADIO)." +ERROR_FW_LOADER="${P} requires Hotplug firmware loading support (CONFIG_FW_LOADER)." +ERROR_IPW2100="${P} requires the in-kernel version of the IPW2100 driver to be disabled (CONFIG_IPW2100)" + +pkg_setup() { + linux-mod_pkg_setup + + if kernel_is 2 4; then + die "${P} does not support building against kernel 2.4.x" + fi + + if [[ ! -f /lib/modules/${KV_FULL}/net/ieee80211/ieee80211.${KV_OBJ} ]]; then + eerror + eerror "Looks like you forgot to remerge net-wireless/ieee80211 after" + eerror "upgrading your kernel." + eerror + eerror "Hint: use sys-kernel/module-rebuild for keeping track of which" + eerror "modules needs to be remerged after a kernel upgrade." + eerror + die "/lib/modules/${KV_FULL}/net/ieee80211/ieee80211.${KV_OBJ} not found" + fi + + BUILD_PARAMS="KSRC=${KV_DIR} KSRC_OUTPUT=${KV_OUT_DIR} IEEE80211_INC=/usr/include" +} + +src_unpack() { + local debug="n" + + unpack ${A} + + use debug && debug="y" + sed -i -e "s:^\(CONFIG_IPW_DEBUG\)=.*:\1=$debug:" ${S}/Makefile +} + +src_compile() { + linux-mod_src_compile + + einfo + einfo "You may safely ignore any warnings from above compilation about" + einfo "undefined references to the ieee80211 subsystem." + einfo +} + +src_install() { + linux-mod_src_install + + dodoc CHANGES +} + +pkg_postinst() { + linux-mod_pkg_postinst + + if [ -f /lib/modules/${KV_FULL}/net/${PN}.ko ]; then + einfo + einfo "Modules from an earlier installation detected. You will need to manually" + einfo "remove those modules by running the following commands:" + einfo " # rm -f /lib/modules/${KV_FULL}/net/${PN}.ko" + einfo " # rm -f /lib/modules/${KV_FULL}/net/ieee80211*.ko" + einfo " # depmod -a" + einfo + fi +} diff --git a/net-wireless/ipw2200-firmware/ChangeLog b/net-wireless/ipw2200-firmware/ChangeLog index e5ed626fcd16..26ede2b55f16 100644 --- a/net-wireless/ipw2200-firmware/ChangeLog +++ b/net-wireless/ipw2200-firmware/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-wireless/ipw2200-firmware # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw2200-firmware/ChangeLog,v 1.7 2005/08/16 12:32:47 brix Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw2200-firmware/ChangeLog,v 1.8 2005/10/18 18:24:38 brix Exp $ + +*ipw2200-firmware-2.4 (18 Oct 2005) + + 18 Oct 2005; Henrik Brix Andersen <brix@gentoo.org> + +ipw2200-firmware-2.4.ebuild: + Version bump. 16 Aug 2005; Henrik Brix Andersen <brix@gentoo.org> ipw2200-firmware-2.3.ebuild: diff --git a/net-wireless/ipw2200-firmware/Manifest b/net-wireless/ipw2200-firmware/Manifest index cba2ad3951b0..26668024f4fb 100644 --- a/net-wireless/ipw2200-firmware/Manifest +++ b/net-wireless/ipw2200-firmware/Manifest @@ -1,6 +1,8 @@ MD5 7e2bdd25cbff53268b013ff6a3e0b359 ipw2200-firmware-2.3.ebuild 644 MD5 98801d8301dabdb7731da56b553f1bff ipw2200-firmware-2.2.ebuild 644 -MD5 8fd5112a30fa8217c14a04e9c0877819 ChangeLog 1044 +MD5 2f999d609d702130d7f547dac5151d66 ipw2200-firmware-2.4.ebuild 543 +MD5 04c68c83bf060202f3bbc18370f76f08 ChangeLog 1184 MD5 b280eebc74d70d85e664debf1adce2c3 metadata.xml 255 MD5 66bedfb1e8704df26af76ca30695949e files/digest-ipw2200-firmware-2.2 63 MD5 ec14ec4f0f93f3efe90fa33e20d960c8 files/digest-ipw2200-firmware-2.3 63 +MD5 72ae47780570d5981f3e9787604e067d files/digest-ipw2200-firmware-2.4 63 diff --git a/net-wireless/ipw2200-firmware/files/digest-ipw2200-firmware-2.4 b/net-wireless/ipw2200-firmware/files/digest-ipw2200-firmware-2.4 new file mode 100644 index 000000000000..26a6fe97f679 --- /dev/null +++ b/net-wireless/ipw2200-firmware/files/digest-ipw2200-firmware-2.4 @@ -0,0 +1 @@ +MD5 a5bc066d23900852a04711c5d33987d4 ipw2200-fw-2.4.tgz 270419 diff --git a/net-wireless/ipw2200-firmware/ipw2200-firmware-2.4.ebuild b/net-wireless/ipw2200-firmware/ipw2200-firmware-2.4.ebuild new file mode 100644 index 000000000000..1f704e1c47ef --- /dev/null +++ b/net-wireless/ipw2200-firmware/ipw2200-firmware-2.4.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw2200-firmware/ipw2200-firmware-2.4.ebuild,v 1.1 2005/10/18 18:24:38 brix Exp $ + +MY_P=${P/firmware/fw} +S=${WORKDIR} + +DESCRIPTION="Firmware for the Intel PRO/Wireless 2200BG/2915ABG miniPCI and 2225BG PCI adapters" + +HOMEPAGE="http://ipw2200.sourceforge.net" +SRC_URI="http://www.bughost.org/firmware/${MY_P}.tgz" + +LICENSE="ipw2200-fw" +SLOT="${PV}" +KEYWORDS="~amd64 ~x86" + +IUSE="" +DEPEND=">=sys-apps/hotplug-20040923" + +src_install() { + insinto /lib/firmware + doins *.fw + + newins LICENSE ipw-${PV}-LICENSE +} diff --git a/net-wireless/ipw2200/ChangeLog b/net-wireless/ipw2200/ChangeLog index 0c5161a7d101..759926b4b17a 100644 --- a/net-wireless/ipw2200/ChangeLog +++ b/net-wireless/ipw2200/ChangeLog @@ -1,6 +1,11 @@ # 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.46 2005/10/15 20:53:15 brix Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw2200/ChangeLog,v 1.47 2005/10/18 18:26:12 brix Exp $ + +*ipw2200-1.0.7 (18 Oct 2005) + + 18 Oct 2005; Henrik Brix Andersen <brix@gentoo.org> +ipw2200-1.0.7.ebuild: + Version bump. 15 Oct 2005; Henrik Brix Andersen <brix@gentoo.org> ipw2200-1.0.6-r3.ebuild: diff --git a/net-wireless/ipw2200/Manifest b/net-wireless/ipw2200/Manifest index 5ca471ea00be..39fe503ffc0b 100644 --- a/net-wireless/ipw2200/Manifest +++ b/net-wireless/ipw2200/Manifest @@ -6,7 +6,8 @@ MD5 4ce2b88ec5f872d1621a5af9cf1d0da1 ipw2200-1.0.6-r2.ebuild 2304 MD5 b2138b76ba85eeea301d8fa9f72470df ipw2200-1.0.3.ebuild 2488 MD5 8a1b21691e17dc6de38c7238cd4e4522 ipw2200-1.0.5.ebuild 2145 MD5 7453a3247e41a7bf8c6e939cf55c45f0 ipw2200-1.0.6-r1.ebuild 2260 -MD5 38d3df4e45c8372a7f2ae43852633485 ChangeLog 8312 +MD5 03399d17d9c93e93af882111e0da0dee ipw2200-1.0.7.ebuild 2776 +MD5 52721d70e63b9211ec4bbbcd5da61348 ChangeLog 8436 MD5 b280eebc74d70d85e664debf1adce2c3 metadata.xml 255 MD5 57bc9c6eb5f4015c48658642ca771b54 files/ipw2200-1.0.6-ibss-wep.patch 1249 MD5 2dc4d1d726fc4dce22dee416d6028353 files/ipw2200-1.0.4-is_multicast_ether_addr.patch 647 @@ -34,3 +35,4 @@ MD5 1953868cbb8ae6ee8eee55c5848417ab files/digest-ipw2200-1.0.3 62 MD5 bcf142294729f1a55d7b3fd29c1a8239 files/digest-ipw2200-1.0.4 62 MD5 0bc9168b6730de57fff46a22dacc8ea4 files/digest-ipw2200-1.0.5 62 MD5 aab93fcc37b1a1282d7a02e9b64430a3 files/digest-ipw2200-1.0.6 62 +MD5 a5c0ccca10c12b4e5d5a7df55df96dfd files/digest-ipw2200-1.0.7 62 diff --git a/net-wireless/ipw2200/files/digest-ipw2200-1.0.7 b/net-wireless/ipw2200/files/digest-ipw2200-1.0.7 new file mode 100644 index 000000000000..2c7bb25e181c --- /dev/null +++ b/net-wireless/ipw2200/files/digest-ipw2200-1.0.7 @@ -0,0 +1 @@ +MD5 52fde406d510099dac34f5cccc009673 ipw2200-1.0.7.tgz 211838 diff --git a/net-wireless/ipw2200/ipw2200-1.0.7.ebuild b/net-wireless/ipw2200/ipw2200-1.0.7.ebuild new file mode 100644 index 000000000000..047c5506f256 --- /dev/null +++ b/net-wireless/ipw2200/ipw2200-1.0.7.ebuild @@ -0,0 +1,99 @@ +# 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.7.ebuild,v 1.1 2005/10/18 18:26:12 brix Exp $ + +inherit linux-mod + +# The following works with both pre-releases and releases +MY_P=${P/_/-} +S=${WORKDIR}/${MY_P} + +IEEE80211_VERSION="1.1.5" +FW_VERSION="2.4" + +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="~amd64 ~x86" + +IUSE="debug radiotap" +DEPEND=">=net-wireless/ieee80211-${IEEE80211_VERSION} + sys-apps/sed" +RDEPEND=">=net-wireless/ieee80211-${IEEE80211_VERSION} + =net-wireless/ipw2200-firmware-${FW_VERSION} + net-wireless/wireless-tools" + +BUILD_TARGETS="all" +MODULE_NAMES="ipw2200(net/wireless:)" +MODULESD_IPW2200_DOCS="README.ipw2200" + +CONFIG_CHECK="NET_RADIO FW_LOADER !IPW2200" +ERROR_NET_RADIO="${P} requires support for Wireless LAN drivers (non-hamradio) & Wireless Extensions (CONFIG_NET_RADIO)." +ERROR_FW_LOADER="${P} requires Hotplug firmware loading support (CONFIG_FW_LOADER)." +ERROR_IPW2200="${P} requires the in-kernel version of the IPW2200 driver to be disabled (CONFIG_IPW2200)" + +pkg_setup() { + linux-mod_pkg_setup + + if kernel_is 2 4; then + die "${P} does not support building against kernel 2.4.x" + fi + + if [[ ! -f /lib/modules/${KV_FULL}/net/ieee80211/ieee80211.${KV_OBJ} ]]; then + eerror + eerror "Looks like you forgot to remerge net-wireless/ieee80211 after" + eerror "upgrading your kernel." + eerror + eerror "Hint: use sys-kernel/module-rebuild for keeping track of which" + eerror "modules needs to be remerged after a kernel upgrade." + eerror + die "/lib/modules/${KV_FULL}/net/ieee80211/ieee80211.${KV_OBJ} not found" + fi + + BUILD_PARAMS="KSRC=${KV_DIR} KSRC_OUTPUT=${KV_OUT_DIR} IEEE80211_INC=/usr/include" +} + +src_unpack() { + local debug="n" radiotap="n" + + unpack ${A} + + use debug && debug="y" + sed -i -e "s:^\(CONFIG_IPW_DEBUG\)=.*:\1=${debug}:" ${S}/Makefile + + + use radiotap && radiotap="y" + sed -i -e "s:^#\(CONFIG_IEEE80211_RADIOTAP\)=.*:\1=${radiotap}:" ${S}/Makefile || die +} + +src_compile() { + linux-mod_src_compile + + einfo + einfo "You may safely ignore any warnings from above compilation about" + einfo "undefined references to the ieee80211 subsystem." + einfo +} + +src_install() { + linux-mod_src_install + + dodoc CHANGES ISSUES +} + +pkg_postinst() { + linux-mod_pkg_postinst + + if [ -f /lib/modules/${KV_FULL}/net/${PN}.ko ]; then + einfo + einfo "Modules from an earlier installation detected. You will need to manually" + einfo "remove those modules by running the following commands:" + einfo " # rm -f /lib/modules/${KV_FULL}/net/${PN}.ko" + einfo " # rm -f /lib/modules/${KV_FULL}/net/ieee80211*.ko" + einfo " # depmod -a" + einfo + fi +} |