diff options
author | Henrik Brix Andersen <brix@gentoo.org> | 2006-02-01 14:03:27 +0000 |
---|---|---|
committer | Henrik Brix Andersen <brix@gentoo.org> | 2006-02-01 14:03:27 +0000 |
commit | a43bfd1f623301e7ef8adfcf1d86ee89bd95cadd (patch) | |
tree | d79ac146bc6ddd77c526942bdbeb6310f52dfc60 /net-wireless | |
parent | Removing deprecated profiles. (diff) | |
download | historical-a43bfd1f623301e7ef8adfcf1d86ee89bd95cadd.tar.gz historical-a43bfd1f623301e7ef8adfcf1d86ee89bd95cadd.tar.bz2 historical-a43bfd1f623301e7ef8adfcf1d86ee89bd95cadd.zip |
New snapshot.
Package-Manager: portage-2.0.54
Diffstat (limited to 'net-wireless')
6 files changed, 92 insertions, 3 deletions
diff --git a/net-wireless/madwifi-driver/Manifest b/net-wireless/madwifi-driver/Manifest index ae582d0cae14..8acc048068c7 100644 --- a/net-wireless/madwifi-driver/Manifest +++ b/net-wireless/madwifi-driver/Manifest @@ -1,8 +1,10 @@ -MD5 451c5f51b81dec803ac60b9529e9346f ChangeLog 7239 +MD5 bd703a08228fe2ee5f0b6830c7060ff3 ChangeLog 7414 MD5 6225a58b69ebeb67ff97ab4026b21e58 files/digest-madwifi-driver-0.1401.20060117 78 +MD5 04ecb172d5d25d2995578d1772e2c239 files/digest-madwifi-driver-0.1420.20060201 78 MD5 d4937e6f87128084a32ef792ddbccc6e files/digest-madwifi-driver-0.1_pre20050420-r1 85 MD5 91250d7eaa44ba70b4d71107fc259f8b files/digest-madwifi-driver-0.1_pre20051111 81 MD5 bffeadae7b2aa3e9f87fe8b5392531e9 madwifi-driver-0.1401.20060117.ebuild 3439 +MD5 f69ecb5b6e8c4663e2db816c795b968c madwifi-driver-0.1420.20060201.ebuild 3351 MD5 1b9a0408676d910cdc32a019e1861364 madwifi-driver-0.1_pre20050420-r1.ebuild 1966 MD5 cca36f620a6db28229a0ababf9ab90f2 madwifi-driver-0.1_pre20051111.ebuild 2667 MD5 19fd766bac8e110b4620363a1ace26dd metadata.xml 159 diff --git a/net-wireless/madwifi-tools/ChangeLog b/net-wireless/madwifi-tools/ChangeLog index c251b4810f51..68fff7555d0e 100644 --- a/net-wireless/madwifi-tools/ChangeLog +++ b/net-wireless/madwifi-tools/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-wireless/madwifi-tools # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-tools/ChangeLog,v 1.14 2006/01/17 20:03:03 uberlord Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-tools/ChangeLog,v 1.15 2006/02/01 14:03:27 brix Exp $ + +*madwifi-tools-0.1420.20060201 (01 Feb 2006) + + 01 Feb 2006; Henrik Brix Andersen <brix@gentoo.org> + +files/madwifi-tools-0.1420.20060201-udev.rules, + +madwifi-tools-0.1420.20060201.ebuild: + New snapshot. 17 Jan 2006; Roy Marples <uberlord@gentoo.org> madwifi-tools-0.1401.20060117.ebuild: diff --git a/net-wireless/madwifi-tools/Manifest b/net-wireless/madwifi-tools/Manifest index 87c28d366efb..5f254342a781 100644 --- a/net-wireless/madwifi-tools/Manifest +++ b/net-wireless/madwifi-tools/Manifest @@ -1,9 +1,12 @@ -MD5 20624b22389ad4ac632095df588c0482 ChangeLog 2830 +MD5 61b507c6e93ff621460cab39bed62f3f ChangeLog 3035 MD5 6225a58b69ebeb67ff97ab4026b21e58 files/digest-madwifi-tools-0.1401.20060117 78 +MD5 04ecb172d5d25d2995578d1772e2c239 files/digest-madwifi-tools-0.1420.20060201 78 MD5 d4937e6f87128084a32ef792ddbccc6e files/digest-madwifi-tools-0.1_pre20050420 85 MD5 91250d7eaa44ba70b4d71107fc259f8b files/digest-madwifi-tools-0.1_pre20051111 81 MD5 3b977ab622651738d159d4559e670e25 files/madwifi-tools-0.1401.20060117-udev.rules 355 +MD5 3b977ab622651738d159d4559e670e25 files/madwifi-tools-0.1420.20060201-udev.rules 355 MD5 407e3d84d5a80b1f584e80606bf5aa94 madwifi-tools-0.1401.20060117.ebuild 1705 +MD5 aa059240813668c3c9b4cdca1016f1e6 madwifi-tools-0.1420.20060201.ebuild 1727 MD5 b51ffccefc25227db9e0af7033042b3d madwifi-tools-0.1_pre20050420.ebuild 883 MD5 62f10ec7d338f766f2d10c81ba37d640 madwifi-tools-0.1_pre20051111.ebuild 959 MD5 19fd766bac8e110b4620363a1ace26dd metadata.xml 159 diff --git a/net-wireless/madwifi-tools/files/digest-madwifi-tools-0.1420.20060201 b/net-wireless/madwifi-tools/files/digest-madwifi-tools-0.1420.20060201 new file mode 100644 index 000000000000..f2065bf75b64 --- /dev/null +++ b/net-wireless/madwifi-tools/files/digest-madwifi-tools-0.1420.20060201 @@ -0,0 +1 @@ +MD5 7aec9b28cc27519d5d58addc81bda290 madwifi-ng-r1420-20060201.tar.gz 3249497 diff --git a/net-wireless/madwifi-tools/files/madwifi-tools-0.1420.20060201-udev.rules b/net-wireless/madwifi-tools/files/madwifi-tools-0.1420.20060201-udev.rules new file mode 100644 index 000000000000..e6d72b1874a9 --- /dev/null +++ b/net-wireless/madwifi-tools/files/madwifi-tools-0.1420.20060201-udev.rules @@ -0,0 +1,9 @@ +# Madwifi devices +# +# See wlanconfig(8) for more information +# +# Access Point configuration +#KERNEL=="wifi[0-9]*", DRIVER=="ath_pci", ACTION=="add", RUN+="/sbin/wlanconfig ath create wlandev %k wlanmode ap" +# +# Normal station configuration +KERNEL=="wifi[0-9]*", DRIVER=="ath_pci", ACTION=="add", RUN+="/sbin/wlanconfig ath create wlandev %k wlanmode sta" diff --git a/net-wireless/madwifi-tools/madwifi-tools-0.1420.20060201.ebuild b/net-wireless/madwifi-tools/madwifi-tools-0.1420.20060201.ebuild new file mode 100644 index 000000000000..c75b5f65a923 --- /dev/null +++ b/net-wireless/madwifi-tools/madwifi-tools-0.1420.20060201.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-tools/madwifi-tools-0.1420.20060201.ebuild,v 1.1 2006/02/01 14:03:27 brix Exp $ + +inherit toolchain-funcs + +MY_P=madwifi-ng-r${PV:2:4}-${PV:7:8} +S=${WORKDIR}/${MY_P}/tools + +DESCRIPTION="Tools for configuration of Atheros based IEEE 802.11a/b/g wireless LAN cards" +HOMEPAGE="http://www.madwifi.org/" +SRC_URI="http://snapshots.madwifi.org/madwifi-ng/${MY_P}.tar.gz" + +LICENSE="|| ( BSD GPL-2 )" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +IUSE="udev" +DEPEND="virtual/libc" + +src_unpack() { + unpack ${A} + + # format string fix from solar + sed -i \ + -e 's:err(1, ifr.ifr_name);:err(1, "%s", ifr.ifr_name);:g' \ + ${S}/athstats.c || die + + sed -i \ + -e "s:CC =.*:CC = $(tc-getCC):" \ + -e "s:CFLAGS=:CFLAGS+=:" \ + -e "s:LDFLAGS=:LDFLAGS+=:" \ + ${S}/Makefile || die +} + +src_compile() { + emake || die "emake failed" +} + +src_install() { + make DESTDIR="${D}" BINDIR=/usr/bin MANDIR=/usr/share/man install || die "make install failed" + + dodir /sbin + mv "${D}"/usr/bin/wlanconfig "${D}"/sbin + + if use udev; then + insinto /etc/udev/rules.d/ + newins ${FILESDIR}/${P}-udev.rules 65-madwifi.rules || die + fi +} + +pkg_postinst() { + einfo + einfo "Interfaces (athX) needs to be added using wlanconfig(8) after" + einfo "loading the madwifi kernel module." + einfo + if use udev; then + einfo "Example udev rules for automatically taking care of this has been" + einfo "installed to:" + einfo + einfo " /etc/udev/rules.d/65-madwifi.rules" + einfo + einfo "Modify these rules to match your configuration and either run 'udevstart'" + einfo "or reboot for the rules to take effect." + einfo + fi +} |