diff options
author | Henrik Brix Andersen <brix@gentoo.org> | 2004-12-12 11:32:54 +0000 |
---|---|---|
committer | Henrik Brix Andersen <brix@gentoo.org> | 2004-12-12 11:32:54 +0000 |
commit | f5d1d281c8ef592eae4e538add73e4994d4b5642 (patch) | |
tree | 90b9f26802e6d0a33f39034504c2cf9fc7fc76c1 /net-wireless/hostap-driver | |
parent | Initial import as per bug #73286 (Manifest recommit) (diff) | |
download | gentoo-2-f5d1d281c8ef592eae4e538add73e4994d4b5642.tar.gz gentoo-2-f5d1d281c8ef592eae4e538add73e4994d4b5642.tar.bz2 gentoo-2-f5d1d281c8ef592eae4e538add73e4994d4b5642.zip |
Version bump. Please note that version 0.3.0 is a development snapshot.
Diffstat (limited to 'net-wireless/hostap-driver')
-rw-r--r-- | net-wireless/hostap-driver/ChangeLog | 8 | ||||
-rw-r--r-- | net-wireless/hostap-driver/Manifest | 19 | ||||
-rw-r--r-- | net-wireless/hostap-driver/files/digest-hostap-driver-0.3.0 | 6 | ||||
-rw-r--r-- | net-wireless/hostap-driver/files/hostap-driver-0.3.0-firmware.patch | 12 | ||||
-rw-r--r-- | net-wireless/hostap-driver/hostap-driver-0.3.0.ebuild | 136 |
5 files changed, 167 insertions, 14 deletions
diff --git a/net-wireless/hostap-driver/ChangeLog b/net-wireless/hostap-driver/ChangeLog index 1ad46e8c3df3..998c72e41fe3 100644 --- a/net-wireless/hostap-driver/ChangeLog +++ b/net-wireless/hostap-driver/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-wireless/hostap-driver # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostap-driver/ChangeLog,v 1.23 2004/12/11 22:42:51 dragonheart Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostap-driver/ChangeLog,v 1.24 2004/12/12 11:32:43 brix Exp $ + +*hostap-driver-0.3.0 (12 Dec 2004) + + 12 Dec 2004; Henrik Brix Andersen <brix@gentoo.org> + +files/hostap-driver-0.3.0-firmware.patch, +hostap-driver-0.3.0.ebuild: + Version bump. Please note that version 0.3.0 is a development snapshot. 12 Dec 2004; Daniel Black <dragonheart@gentoo.org> -files/hostap-driver-0.1.2.firmware.diff.bz2, diff --git a/net-wireless/hostap-driver/Manifest b/net-wireless/hostap-driver/Manifest index a3270a08e09d..689a05a0e2b7 100644 --- a/net-wireless/hostap-driver/Manifest +++ b/net-wireless/hostap-driver/Manifest @@ -1,19 +1,12 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - +MD5 08b001ac4fb3ad3de51ef019a8833f6c hostap-driver-0.2.5.ebuild 3201 +MD5 b57d0a31b3dfcc88c5828e116cf20994 hostap-driver-0.2.5-r1.ebuild 3614 +MD5 05f7673c403a2988e7328dded4284836 hostap-driver-0.3.0.ebuild 3508 MD5 b310745b4018b8b5d60928f268d946b8 ChangeLog 4222 MD5 5f6ec5c50fa3a91a429fec8670cf241b metadata.xml 722 MD5 d6feaba6faa14fd7f48bfbe13a2309dc hostap-driver-0.2.4.ebuild 2700 -MD5 08b001ac4fb3ad3de51ef019a8833f6c hostap-driver-0.2.5.ebuild 3201 -MD5 b57d0a31b3dfcc88c5828e116cf20994 hostap-driver-0.2.5-r1.ebuild 3614 +MD5 c45be0cf6326f054520ce15096361e84 files/hostap-driver-0.3.0-firmware.patch 739 +MD5 702e5e315551f06833fde599816fd65a files/digest-hostap-driver-0.2.5-r1 441 MD5 fe9ca923fd63e570f4f47be989fd810f files/digest-hostap-driver-0.2.4 441 MD5 702e5e315551f06833fde599816fd65a files/digest-hostap-driver-0.2.5 441 -MD5 702e5e315551f06833fde599816fd65a files/digest-hostap-driver-0.2.5-r1 441 +MD5 31eba7db39a7678ae7619995f6d96370 files/digest-hostap-driver-0.3.0 441 MD5 9451f65d0b1724a60a07b9310d9ebc52 files/hostap-driver-0.2.5.firmware.diff.bz2 472 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.2.6 (GNU/Linux) - -iD8DBQFBu3fymdTrptrqvGERAoBnAKCKgf8TmWmJww0yFCyuQ1MMuHBZxwCfZIDl -V9ft0VYFfr4wieblTDZkGA0= -=H32m ------END PGP SIGNATURE----- diff --git a/net-wireless/hostap-driver/files/digest-hostap-driver-0.3.0 b/net-wireless/hostap-driver/files/digest-hostap-driver-0.3.0 new file mode 100644 index 000000000000..ee3e11e9e35d --- /dev/null +++ b/net-wireless/hostap-driver/files/digest-hostap-driver-0.3.0 @@ -0,0 +1,6 @@ +MD5 44dbc0a8978fe618eee242b0bd25392c pcmcia-cs-3.2.5.tar.gz 1266494 +MD5 33325ed642b5277a9695d10bd19b3d7a pcmcia-cs-3.2.5-module-init-tools.diff.gz 460 +MD5 ee4f8227cc28f9a29a609f6e9561ef54 pcmcia-cs-3.2.5-SMP-fix.diff.gz 320 +MD5 2b2cba3fdd498b001ea3c27d8b2da31b pcmcia-cs-3.2.5-3.2.6.diff.gz 23034 +MD5 f2feda5eb46c1a2b99ae9db274879afc pcmcia-cs-3.2.5-3.2.7.diff.gz 28244 +MD5 0484ad8c0ff8188acda051938aa8a9e7 hostap-driver-0.3.0.tar.gz 199045 diff --git a/net-wireless/hostap-driver/files/hostap-driver-0.3.0-firmware.patch b/net-wireless/hostap-driver/files/hostap-driver-0.3.0-firmware.patch new file mode 100644 index 000000000000..1fb47e88312f --- /dev/null +++ b/net-wireless/hostap-driver/files/hostap-driver-0.3.0-firmware.patch @@ -0,0 +1,12 @@ +diff -urp hostap-driver-0.3.0/driver/modules/hostap_config.h hostap-driver-0.3.0-firmware/driver/modules/hostap_config.h +--- hostap-driver-0.3.0/driver/modules/hostap_config.h 2004-12-06 07:17:45.000000000 +0100 ++++ hostap-driver-0.3.0-firmware/driver/modules/hostap_config.h 2004-12-11 16:08:14.424484184 +0100 +@@ -59,7 +59,7 @@ + * In addition, please note that it is possible to kill your card with + * non-volatile download if you are using incorrect image. This feature has not + * been fully tested, so please be careful with it. */ +-/* #define PRISM2_NON_VOLATILE_DOWNLOAD */ ++#define PRISM2_NON_VOLATILE_DOWNLOAD + #endif /* PRISM2_DOWNLOAD_SUPPORT */ + + /* Include wireless extensions sub-ioctl support even if wireless extensions diff --git a/net-wireless/hostap-driver/hostap-driver-0.3.0.ebuild b/net-wireless/hostap-driver/hostap-driver-0.3.0.ebuild new file mode 100644 index 000000000000..c884fe29117d --- /dev/null +++ b/net-wireless/hostap-driver/hostap-driver-0.3.0.ebuild @@ -0,0 +1,136 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostap-driver/hostap-driver-0.3.0.ebuild,v 1.1 2004/12/12 11:32:43 brix Exp $ + +inherit toolchain-funcs pcmcia kernel-mod eutils + +DESCRIPTION="HostAP wireless drivers" +HOMEPAGE="http://hostap.epitest.fi" +SRC_URI="${SRC_URI} http://hostap.epitest.fi/releases/${P}.tar.gz" +LICENSE="GPL-2" + +KEYWORDS="~x86 ~ppc" +IUSE="" +SLOT="0" + +DEPEND="!net-wireless/hostap + virtual/linux-sources + sys-apps/sed" +RDEPEND=">=net-wireless/wireless-tools-25" + +pkg_setup() { + 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 + + kernel-mod_check_modules_supported +} + +src_unpack() { + unpack ${A} + + # set compiler + sed -i -e "s:gcc:$(tc-getCC):" ${S}/Makefile + + # unpack the pcmcia-cs sources if needed + pcmcia_src_unpack + + cd ${S} + epatch ${FILESDIR}/${P}-firmware.patch + + # fix for new coreutils (#31801) + sed -i "s:tail -1:tail -n 1:" ${S}/Makefile + + # set correct pcmcia path (PCMCIA_VERSION gets set from pcmcia_src_unpack) + if [ -n "${PCMCIA_VERSION}" ] + then + sed -i "s:^\(PCMCIA_PATH\)=:\1=${PCMCIA_SOURCE_DIR}:" ${S}/Makefile + fi + + # install to /lib/modules/${KV}/net + sed -i "s:\$(MODPATH)/kernel/drivers/net/wireless:\$(MODPATH)/net:g" ${S}/Makefile + sed -i "s:MODPATH_CS \:= \$(MODPATH)/pcmcia:MODPATH_CS \:= \$(MODPATH)/net:" ${S}/Makefile + + # let pkg_postinst() handle depmod + sed -i "s:/sbin/depmod -ae; \\\:\\\:" ${S}/Makefile + sed -i "s:/sbin/depmod -ae::" ${S}/Makefile + + if ! use pcmcia &> /dev/null + then + # remove install_pccard dependency from install_2.4 target + sed -i "s#^\(install_2.4:.*\)install_pccard#\1#" ${S}/Makefile + fi + + kernel-mod_getversion + + if [ ${KV_MINOR} -gt 5 ] && [ ${KV_PATCH} -gt 5 ] + then + sed -i "s:SUBDIRS=:M=:" ${S}/Makefile + fi +} + +src_compile() { + pcmcia_configure + + set_arch_to_kernel + emake all || die "emake failed" + set_arch_to_portage +} + +src_install() { + # Makefile relies on existing /lib/modules/${KV} + dodir /lib/modules/${KV} + + if use pcmcia &> /dev/null + then + # pcmcia configuration file is only installed if /etc/pcmcia exist + dodir /etc/pcmcia + else + # make sure we do not install the hostap_cs module + rm -rf ${S}/driver/modules/hostap_cs.*o + fi + + set_arch_to_kernel + emake DESTDIR=${D} install || die "emake install failed" + set_arch_to_portage + + dodoc README ChangeLog +} + +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} + + if [ -e /etc/pcmcia/prism2.conf ] + then + einfo "" + einfo "You may need to edit or remove /etc/pcmcia/prism2.conf" + einfo "This is usually a result of conflicts with the" + einfo "net-wireless/linux-wlan-ng drivers." + einfo "" + fi + + einfo "" + einfo "Please notice that all ${PN} modules are now installed to" + einfo "/lib/modules/${KV}/net/." + einfo "" + einfo "You may have to manually delete the old modules if upgrading from from" + einfo "<=net-wireless/${PN}-0.2.4." + einfo "" + + ewarn "" + ewarn "Please note that this installation of HostAP contains support" + ewarn "for downloading binary firmware images into the non-volatile" + ewarn "(permanent) flash memory of wireless LAN cards." + ewarn "" + ewarn "Albeit being a great feature, this can lead to A DEAD CARD" + ewarn "when inappropriately used (e.g. wrong firmware)." + ewarn "" + +} |