diff options
author | Henrik Brix Andersen <brix@gentoo.org> | 2006-01-17 15:16:42 +0000 |
---|---|---|
committer | Henrik Brix Andersen <brix@gentoo.org> | 2006-01-17 15:16:42 +0000 |
commit | dd47e91fa3e6a579d456ca5c7544e6f06e69d651 (patch) | |
tree | 0c5929d35fa8114b51e40a8a1971e4154c3cc8c9 /net-wireless | |
parent | Add new madwifi use flags. (diff) | |
download | historical-dd47e91fa3e6a579d456ca5c7544e6f06e69d651.tar.gz historical-dd47e91fa3e6a579d456ca5c7544e6f06e69d651.tar.bz2 historical-dd47e91fa3e6a579d456ca5c7544e6f06e69d651.zip |
New snapshot, changed naming scheme to match upstream. Switched from using preup()/postdown() to using an udev helper, bug #118516.
Package-Manager: portage-2.0.53
Diffstat (limited to 'net-wireless')
6 files changed, 92 insertions, 14 deletions
diff --git a/net-wireless/madwifi-driver/Manifest b/net-wireless/madwifi-driver/Manifest index 9612c740912d..0afe12e96ed1 100644 --- a/net-wireless/madwifi-driver/Manifest +++ b/net-wireless/madwifi-driver/Manifest @@ -1,6 +1,8 @@ -MD5 826adf2fec8d7822e64c0903b9dd0942 ChangeLog 6828 +MD5 2e55100953a1bcd9ef4fda7cdfde27f2 ChangeLog 7063 +MD5 6225a58b69ebeb67ff97ab4026b21e58 files/digest-madwifi-driver-0.1401.20060117 78 MD5 d4937e6f87128084a32ef792ddbccc6e files/digest-madwifi-driver-0.1_pre20050420-r1 85 MD5 91250d7eaa44ba70b4d71107fc259f8b files/digest-madwifi-driver-0.1_pre20051111 81 +MD5 f08f6d82526a9aacaf8691854c1d7840 madwifi-driver-0.1401.20060117.ebuild 3435 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 f854417a5a34..77312a0991f4 100644 --- a/net-wireless/madwifi-tools/ChangeLog +++ b/net-wireless/madwifi-tools/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for net-wireless/madwifi-tools -# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-tools/ChangeLog,v 1.12 2005/11/18 20:59:58 cryos Exp $ +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-tools/ChangeLog,v 1.13 2006/01/17 15:16:42 brix Exp $ + +*madwifi-tools-0.1401.20060117 (17 Jan 2006) + + 17 Jan 2006; Henrik Brix Andersen <brix@gentoo.org> + +files/madwifi-tools-0.1401.20060117-udev.rules, + +madwifi-tools-0.1401.20060117.ebuild: + New snapshot, changed naming scheme to match upstream. Switched from using + preup()/postdown() to using an udev helper, bug #118516. 18 Nov 2005; Marcus D. Hanwell <cryos@gentoo.org> madwifi-tools-0.1_pre20051111.ebuild: diff --git a/net-wireless/madwifi-tools/Manifest b/net-wireless/madwifi-tools/Manifest index 2d31a44078c2..3fe2ba05ea1b 100644 --- a/net-wireless/madwifi-tools/Manifest +++ b/net-wireless/madwifi-tools/Manifest @@ -1,16 +1,9 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 3ada0bd1c949c8ffd688f757cc2a4781 ChangeLog 2391 +MD5 92bc473fd8fcfee62f90c73ae81d8149 ChangeLog 2719 +MD5 6225a58b69ebeb67ff97ab4026b21e58 files/digest-madwifi-tools-0.1401.20060117 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 db0820fbadb534ee4900979ba86dc7b6 madwifi-tools-0.1401.20060117.ebuild 1701 MD5 b51ffccefc25227db9e0af7033042b3d madwifi-tools-0.1_pre20050420.ebuild 883 MD5 62f10ec7d338f766f2d10c81ba37d640 madwifi-tools-0.1_pre20051111.ebuild 959 MD5 19fd766bac8e110b4620363a1ace26dd metadata.xml 159 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1 (GNU/Linux) - -iD8DBQFDfkDdntT9W3vfTuoRAll3AJ44fPbyjNGI4uvbQop4hVmTegx5NACfUgHL -/GOjadDae5hA4x/7gdw5r8Q= -=SEKd ------END PGP SIGNATURE----- diff --git a/net-wireless/madwifi-tools/files/digest-madwifi-tools-0.1401.20060117 b/net-wireless/madwifi-tools/files/digest-madwifi-tools-0.1401.20060117 new file mode 100644 index 000000000000..ac1f6c432a45 --- /dev/null +++ b/net-wireless/madwifi-tools/files/digest-madwifi-tools-0.1401.20060117 @@ -0,0 +1 @@ +MD5 1a99b4b3c32e41911bc20ca0870f64b0 madwifi-ng-r1401-20060117.tar.gz 3196291 diff --git a/net-wireless/madwifi-tools/files/madwifi-tools-0.1401.20060117-udev.rules b/net-wireless/madwifi-tools/files/madwifi-tools-0.1401.20060117-udev.rules new file mode 100644 index 000000000000..e6d72b1874a9 --- /dev/null +++ b/net-wireless/madwifi-tools/files/madwifi-tools-0.1401.20060117-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.1401.20060117.ebuild b/net-wireless/madwifi-tools/madwifi-tools-0.1401.20060117.ebuild new file mode 100644 index 000000000000..bfbe1ef05229 --- /dev/null +++ b/net-wireless/madwifi-tools/madwifi-tools-0.1401.20060117.ebuild @@ -0,0 +1,65 @@ +# 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.1401.20060117.ebuild,v 1.1 2006/01/17 15:16:42 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 + + 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 madwifi-driver." + 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 +} |