summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Brix Andersen <brix@gentoo.org>2004-09-14 16:27:09 +0000
committerHenrik Brix Andersen <brix@gentoo.org>2004-09-14 16:27:09 +0000
commit267c7c8ac89a5ba7a0698bbf94b586f1e94a981c (patch)
tree507a7b441f3f06bea170ec6809a65c1459bab954 /net-wireless/hostap-driver
parentfix for non-dfsa users (Manifest recommit) (diff)
downloadgentoo-2-267c7c8ac89a5ba7a0698bbf94b586f1e94a981c.tar.gz
gentoo-2-267c7c8ac89a5ba7a0698bbf94b586f1e94a981c.tar.bz2
gentoo-2-267c7c8ac89a5ba7a0698bbf94b586f1e94a981c.zip
Bump. Ebuild by latexer@gentoo.org.
Diffstat (limited to 'net-wireless/hostap-driver')
-rw-r--r--net-wireless/hostap-driver/ChangeLog8
-rw-r--r--net-wireless/hostap-driver/Manifest16
-rw-r--r--net-wireless/hostap-driver/files/digest-hostap-driver-0.2.46
-rw-r--r--net-wireless/hostap-driver/hostap-driver-0.2.4.ebuild109
4 files changed, 131 insertions, 8 deletions
diff --git a/net-wireless/hostap-driver/ChangeLog b/net-wireless/hostap-driver/ChangeLog
index 62c580f7ba0f..7770b62550ea 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.13 2004/08/12 18:48:08 hansmi Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostap-driver/ChangeLog,v 1.14 2004/09/14 16:22:46 brix Exp $
+
+*hostap-driver-0.2.4 (14 Sep 2004)
+
+ 14 Sep 2004; Henrik Brix Andersen <brix@gentoo.org>
+ +hostap-driver-0.2.4.ebuild:
+ Bump. Ebuild by latexer@gentoo.org.
12 Aug 2004; Michael Hanselmann <hansmi@gentoo.org>
hostap-driver-0.1.2-r2.ebuild:
diff --git a/net-wireless/hostap-driver/Manifest b/net-wireless/hostap-driver/Manifest
index d14f1bd82944..52af915ac13a 100644
--- a/net-wireless/hostap-driver/Manifest
+++ b/net-wireless/hostap-driver/Manifest
@@ -1,14 +1,16 @@
-MD5 878a0269474add253e99017cbaf1b6ff hostap-driver-0.1.2.ebuild 3715
-MD5 e4c2a5b184138acc2d5252edc1be21bc metadata.xml 822
-MD5 1b805c82c06292b0810c1cdf0d8b7ff8 ChangeLog 2237
MD5 e473de19e03877a875c8398fbf2ee3d0 hostap-driver-0.1.3.ebuild 2903
MD5 1a4e9f348ea1158f85e73de05b21a333 hostap-driver-0.1.2-r1.ebuild 3818
+MD5 878a0269474add253e99017cbaf1b6ff hostap-driver-0.1.2.ebuild 3715
MD5 a2593a329214efd6d27d3f814027f62d hostap-driver-0.1.2-r2.ebuild 2801
+MD5 1b805c82c06292b0810c1cdf0d8b7ff8 ChangeLog 2237
+MD5 e4c2a5b184138acc2d5252edc1be21bc metadata.xml 822
MD5 20f9f6a9699fd0354a643f954d80d121 hostap-driver-0.1.1.ebuild 3715
-MD5 5c57e0825ccb41c219c9d86c6a9114e5 files/digest-hostap-driver-0.1.2 71
-MD5 44d9961555b48c6445ebe7bd24d33b4a files/digest-hostap-driver-0.1.3 515
-MD5 75dda0e477834ba5a6c5c88cfb402fe7 files/digest-hostap-driver-0.1.1 71
+MD5 7b441710fe919eb25a2ecf137207b341 hostap-driver-0.2.4.ebuild 2565
+MD5 78c715b9cdf2bea54162336e24f114d1 files/hostap-driver-0.1.3.firmware.diff.bz2 591
MD5 5c57e0825ccb41c219c9d86c6a9114e5 files/digest-hostap-driver-0.1.2-r1 71
MD5 7404c72c79e3c743a94815cff4146633 files/digest-hostap-driver-0.1.2-r2 441
-MD5 78c715b9cdf2bea54162336e24f114d1 files/hostap-driver-0.1.3.firmware.diff.bz2 591
+MD5 75dda0e477834ba5a6c5c88cfb402fe7 files/digest-hostap-driver-0.1.1 71
+MD5 5c57e0825ccb41c219c9d86c6a9114e5 files/digest-hostap-driver-0.1.2 71
+MD5 44d9961555b48c6445ebe7bd24d33b4a files/digest-hostap-driver-0.1.3 515
+MD5 fe9ca923fd63e570f4f47be989fd810f files/digest-hostap-driver-0.2.4 441
MD5 afb604f5408986228ad8cc60236339dc files/hostap-driver-0.1.2.firmware.diff.bz2 590
diff --git a/net-wireless/hostap-driver/files/digest-hostap-driver-0.2.4 b/net-wireless/hostap-driver/files/digest-hostap-driver-0.2.4
new file mode 100644
index 000000000000..bb5255b4b6c3
--- /dev/null
+++ b/net-wireless/hostap-driver/files/digest-hostap-driver-0.2.4
@@ -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 342f0c94072e90c9a5d775f6e68532af hostap-driver-0.2.4.tar.gz 195640
diff --git a/net-wireless/hostap-driver/hostap-driver-0.2.4.ebuild b/net-wireless/hostap-driver/hostap-driver-0.2.4.ebuild
new file mode 100644
index 000000000000..7043734a9109
--- /dev/null
+++ b/net-wireless/hostap-driver/hostap-driver-0.2.4.ebuild
@@ -0,0 +1,109 @@
+# 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.2.4.ebuild,v 1.1 2004/09/14 16:22:46 brix Exp $
+
+inherit pcmcia kernel-mod
+
+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"
+IUSE="${IUSE} hostap-nopci hostap-noplx"
+DEPEND=">=net-wireless/wireless-tools-25"
+RDEPEND="!net-wireless/hostap"
+SLOT="0"
+
+KMOD_PATH="/lib/modules/${KV}"
+
+src_unpack() {
+ kernel-mod_getversion
+ unpack ${A}
+ ## unpack the pcmcia-cs sources if needed
+ pcmcia_src_unpack
+
+ cd ${S}
+
+ ## set compiler options
+ sed -i -e "s:gcc:${CC}:" ${S}/Makefile
+
+ ## fix for new coreutils (#31801)
+ sed -i -e "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 -e "s:^PCMCIA_PATH=:PCMCIA_PATH=${PCMCIA_SOURCE_DIR}:" ${S}/Makefile
+ fi
+
+ if kernel-mod_is_2_6_kernel && [ ${KV_PATCH} -gt 5 ]
+ then
+ sed -i -e "s:SUBDIRS=:M=:" ${S}/Makefile
+ fi
+}
+
+src_compile() {
+ ## configure pcmcia
+ pcmcia_configure
+
+ cd ${S}
+
+ einfo "Building hostap-driver for kernel version: ${KV}"
+ case ${KV_MINOR} in
+ [34])
+ local mydrivers
+
+ use pcmcia && mydrivers="${mydrivers} pccard"
+ use hostap-nopci || mydrivers="${mydrivers} pci"
+ use hostap-noplx || mydrivers="${mydrivers} plx"
+
+ einfo "Building the following drivers: ${mydrivers}"
+ emake ${mydrivers} || die "make failed"
+ ;;
+ [56])
+ unset ARCH
+ emake all || die "make failed"
+ ;;
+ *)
+ eerror "Unsupported kernel version: ${KV}"
+ die
+ ;;
+ esac
+}
+
+src_install() {
+ if [ ${KV_MINOR} -gt 4 ]
+ then
+ KV_OBJ=ko
+ else
+ KV_OBJ=o
+ fi
+
+ ## kernel 2.6 has a different module file name suffix
+ dodir ${KMOD_PATH}/net
+ cp ${S}/driver/modules/{hostap,hostap_crypt_{wep,tkip,ccmp}}.${KV_OBJ} \
+ ${D}${KMOD_PATH}/net/
+
+ if use pcmcia >&/dev/null; then
+ dodir ${KMOD_PATH}/pcmcia
+ dodir /etc/pcmcia
+ cp ${S}/driver/modules/hostap_cs.${KV_OBJ} ${D}/${KMOD_PATH}/pcmcia/
+ cp ${S}/driver/etc/hostap_cs.conf ${D}/etc/pcmcia/
+ if [ -r /etc/pcmcia/prism2.conf ]; then
+ einfo "You may need to edit or remove /etc/pcmcia/prism2.conf"
+ einfo "This is usually a result of conflicts with the"
+ einfo "linux-wlan-ng drivers."
+ fi
+ fi
+
+ if ! use hostap-nopci >&/dev/null; then
+ cp ${S}/driver/modules/hostap_pci.${KV_OBJ} \
+ ${D}${KMOD_PATH}/net/
+ fi
+
+ if ! use hostap-noplx >&/dev/null; then
+ cp ${S}/driver/modules/hostap_plx.${KV_OBJ} \
+ ${D}${KMOD_PATH}/net/
+ fi
+ dodoc README ChangeLog
+}