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 | 9bef687600a6927056ca96328ec26eacf421032e (patch) | |
tree | 35fc0a0acaae44383d9ca6a72398b223767640a2 /net-wireless | |
parent | Initial import as per bug #73286 (diff) | |
download | historical-9bef687600a6927056ca96328ec26eacf421032e.tar.gz historical-9bef687600a6927056ca96328ec26eacf421032e.tar.bz2 historical-9bef687600a6927056ca96328ec26eacf421032e.zip |
Version bump. Please note that version 0.3.0 is a development snapshot.
Diffstat (limited to 'net-wireless')
-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 | ||||
-rw-r--r-- | net-wireless/hostap-utils/ChangeLog | 8 | ||||
-rw-r--r-- | net-wireless/hostap-utils/Manifest | 14 | ||||
-rw-r--r-- | net-wireless/hostap-utils/files/digest-hostap-utils-0.3.0 | 1 | ||||
-rw-r--r-- | net-wireless/hostap-utils/hostap-utils-0.3.0.ebuild | 32 | ||||
-rw-r--r-- | net-wireless/hostapd/ChangeLog | 7 | ||||
-rw-r--r-- | net-wireless/hostapd/Manifest | 18 | ||||
-rw-r--r-- | net-wireless/hostapd/files/digest-hostapd-0.3.0 | 2 | ||||
-rw-r--r-- | net-wireless/hostapd/hostapd-0.3.0.ebuild | 69 |
13 files changed, 292 insertions, 40 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 "" + +} diff --git a/net-wireless/hostap-utils/ChangeLog b/net-wireless/hostap-utils/ChangeLog index 98ebb510f075..ba8e8965e9b8 100644 --- a/net-wireless/hostap-utils/ChangeLog +++ b/net-wireless/hostap-utils/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-wireless/hostap-utils # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostap-utils/ChangeLog,v 1.13 2004/12/11 22:52:59 dragonheart Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostap-utils/ChangeLog,v 1.14 2004/12/12 11:32:54 brix Exp $ + +*hostap-utils-0.3.0 (12 Dec 2004) + + 12 Dec 2004; Henrik Brix Andersen <brix@gentoo.org> + +hostap-utils-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> -hostap-utils-0.1.3.ebuild, hostap-utils-0.2.4.ebuild: diff --git a/net-wireless/hostap-utils/Manifest b/net-wireless/hostap-utils/Manifest index 75b58ca1999f..295275b9fded 100644 --- a/net-wireless/hostap-utils/Manifest +++ b/net-wireless/hostap-utils/Manifest @@ -1,14 +1,6 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - +MD5 addf782e18fdfbb92b692304d9d7ce9f hostap-utils-0.2.4.ebuild 778 MD5 10fd96c8bd8bbb64aebe7b1be75946e3 ChangeLog 2017 MD5 0d08d740672bf3b41532938b6f9c0a19 metadata.xml 337 -MD5 addf782e18fdfbb92b692304d9d7ce9f hostap-utils-0.2.4.ebuild 778 +MD5 17b9cc34e32e3f6cd8d01dbe89e39dbc hostap-utils-0.3.0.ebuild 628 MD5 b31ab184e34a7e5d3443d51d91c5008f files/digest-hostap-utils-0.2.4 69 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.2.6 (GNU/Linux) - -iD8DBQFBu3pRmdTrptrqvGERAodZAKCTZhlSIsfgDLlq5Aw6sgzfWbQz4ACeLkJD -UtaPF8hJWje1lXLxaJuqPwc= -=oXor ------END PGP SIGNATURE----- +MD5 bd6d6d04e2ba70a469fa52ec8afaae4b files/digest-hostap-utils-0.3.0 69 diff --git a/net-wireless/hostap-utils/files/digest-hostap-utils-0.3.0 b/net-wireless/hostap-utils/files/digest-hostap-utils-0.3.0 new file mode 100644 index 000000000000..c5d5a74b0845 --- /dev/null +++ b/net-wireless/hostap-utils/files/digest-hostap-utils-0.3.0 @@ -0,0 +1 @@ +MD5 3a1c5a3041d82f4f3732a559266355c6 hostap-utils-0.3.0.tar.gz 59548 diff --git a/net-wireless/hostap-utils/hostap-utils-0.3.0.ebuild b/net-wireless/hostap-utils/hostap-utils-0.3.0.ebuild new file mode 100644 index 000000000000..43c7e124a8c9 --- /dev/null +++ b/net-wireless/hostap-utils/hostap-utils-0.3.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostap-utils/hostap-utils-0.3.0.ebuild,v 1.1 2004/12/12 11:32:54 brix Exp $ + +inherit toolchain-funcs + +DESCRIPTION="HostAP wireless utils" + +HOMEPAGE="http://hostap.epitest.fi/" +SRC_URI="http://hostap.epitest.fi/releases/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc" + +IUSE="" + +RDEPEND=">=net-wireless/hostap-driver-0.3.0" +DEPEND="virtual/libc" + +src_compile() { + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die "emake failed" +} + +src_install() { + + dosbin hostap_{crypt_conf,diag,fw_load,io_debug,rid} + dosbin prism2_{param,srec} + dosbin split_combined_hex + + dodoc README +} diff --git a/net-wireless/hostapd/ChangeLog b/net-wireless/hostapd/ChangeLog index 0b39c3dae0a9..7f5a837800a6 100644 --- a/net-wireless/hostapd/ChangeLog +++ b/net-wireless/hostapd/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-wireless/hostapd # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/ChangeLog,v 1.11 2004/12/11 22:46:46 dragonheart Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/ChangeLog,v 1.12 2004/12/12 11:32:43 brix Exp $ + +*hostapd-0.3.0 (12 Dec 2004) + + 12 Dec 2004; Henrik Brix Andersen <brix@gentoo.org> +hostapd-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> hostapd-0.2.5.ebuild: ppc stable as per bug #74117. Changed DEPEND on kernel modules to a RDEPEND. diff --git a/net-wireless/hostapd/Manifest b/net-wireless/hostapd/Manifest index bf43cb707f67..c9dd6cb9858d 100644 --- a/net-wireless/hostapd/Manifest +++ b/net-wireless/hostapd/Manifest @@ -1,17 +1,9 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - +MD5 2474cf4180f7290f9e5e8a47f1702e7a hostapd-0.2.5.ebuild 1072 +MD5 352ddee43c55f3717b7a9e4f03c07fa6 hostapd-0.3.0.ebuild 1634 +MD5 73fcafdf3db141b6061f35c727a9e5db hostapd-0.2.4.ebuild 1075 MD5 9e85f04442b39d20c8839bc2b002d5de ChangeLog 1556 MD5 52a4b928b36a98e530ae455b73f868f5 metadata.xml 462 -MD5 73fcafdf3db141b6061f35c727a9e5db hostapd-0.2.4.ebuild 1075 -MD5 2474cf4180f7290f9e5e8a47f1702e7a hostapd-0.2.5.ebuild 1072 -MD5 cf287b50f0ccd832a08fb3031281cd4f files/hostapd.init.d 858 MD5 44285ed8dadd7473eb41d3b67f318120 files/digest-hostapd-0.2.4 65 MD5 ba14f3282c1fe345b2b9bc3233bc2f6d files/digest-hostapd-0.2.5 65 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.2.6 (GNU/Linux) - -iD8DBQFBu3jcmdTrptrqvGERAp9oAKCKsioOhFPokGUt7g1QdpDdRgXuygCeMB0S -cLjFcTM0lEjFwOfVygAd11g= -=IikC ------END PGP SIGNATURE----- +MD5 1ba76b2b1bb9b838b8b72d9d99348f46 files/digest-hostapd-0.3.0 149 +MD5 cf287b50f0ccd832a08fb3031281cd4f files/hostapd.init.d 858 diff --git a/net-wireless/hostapd/files/digest-hostapd-0.3.0 b/net-wireless/hostapd/files/digest-hostapd-0.3.0 new file mode 100644 index 000000000000..d4774245365c --- /dev/null +++ b/net-wireless/hostapd/files/digest-hostapd-0.3.0 @@ -0,0 +1,2 @@ +MD5 2fa275b17c0c395898dd4b1fb10545ce hostapd-0.3.0.tar.gz 198308 +MD5 3dc7bcc46ade7ab9ff7ea25fb7377366 madwifi-driver-0.1_pre20041019.tar.bz2 1570237 diff --git a/net-wireless/hostapd/hostapd-0.3.0.ebuild b/net-wireless/hostapd/hostapd-0.3.0.ebuild new file mode 100644 index 000000000000..96402471964b --- /dev/null +++ b/net-wireless/hostapd/hostapd-0.3.0.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/hostapd-0.3.0.ebuild,v 1.1 2004/12/12 11:32:43 brix Exp $ + +inherit toolchain-funcs + +MADWIFI_VERSION="0.1_pre20041019" + +DESCRIPTION="HostAP wireless daemon" +HOMEPAGE="http://hostap.epitest.fi" +SRC_URI="http://hostap.epitest.fi/releases/${P}.tar.gz + mirror://gentoo/madwifi-driver-${MADWIFI_VERSION}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc" + +IUSE="" + +RDEPEND=">=net-wireless/hostap-driver-0.3.0" +DEPEND="virtual/libc" + +src_unpack() { + local CONFIG=${S}/.config + + unpack ${A} + + # toolchain setup + echo "CC = $(tc-getCC)" > ${CONFIG} + + # authentication methods + echo "CONFIG_IAPP=y" >> ${CONFIG} + echo "CONFIG_RSN_PREAUTH=y" >> ${CONFIG} + echo "CONFIG_EAP=y" >> ${CONFIG} + echo "CONFIG_EAP_MD5=y" >> ${CONFIG} + + # Linux specific drivers + echo "CONFIG_DRIVER_HOSTAP=y" >> ${CONFIG} + echo "CONFIG_DRIVER_WIRED=y" >> ${CONFIG} + echo "CONFIG_DRIVER_PRISM54=y" >> ${CONFIG} + + # Add include path for madwifi-driver headers + echo "CFLAGS += -I${WORKDIR}" >> ${CONFIG} + echo "CONFIG_DRIVER_MADWIFI=y" >> ${CONFIG} +} + +src_compile() { + emake || die "emake failed" +} + +src_install() { + insinto /etc/hostapd + doins hostapd.conf hostapd.accept hostapd.deny + + dosed 's:\(accept_mac_file=\)/etc/hostapd.accept:\1/etc/hostapd/hostapd.accept:g' \ + /etc/hostapd/hostapd.conf + dosed 's:\(deny_mac_file=\)/etc/hostapd.deny:\1/etc/hostapd/hostapd.deny:g' \ + /etc/hostapd/hostapd.conf + + dosbin hostapd + + exeinto /etc/init.d + newexe ${FILESDIR}/hostapd.init.d hostapd + + dodoc ChangeLog developer.txt README + + docinto examples + dodoc madwifi.conf wired.conf +} |