diff options
Diffstat (limited to 'net-wireless')
4 files changed, 68 insertions, 2 deletions
diff --git a/net-wireless/madwifi-tools/ChangeLog b/net-wireless/madwifi-tools/ChangeLog index 0a6b76ec46e1..99f1d9b204bc 100644 --- a/net-wireless/madwifi-tools/ChangeLog +++ b/net-wireless/madwifi-tools/ChangeLog @@ -1,6 +1,12 @@ # 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.20 2006/03/12 15:14:22 brix Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-tools/ChangeLog,v 1.21 2006/03/27 19:46:14 brix Exp $ + +*madwifi-tools-0.1485.20060325 (27 Mar 2006) + + 27 Mar 2006; Henrik Brix Andersen <brix@gentoo.org> + +madwifi-tools-0.1485.20060325.ebuild: + New madwifi-ng snapshot. *madwifi-tools-0.1473.20060312 (12 Mar 2006) diff --git a/net-wireless/madwifi-tools/Manifest b/net-wireless/madwifi-tools/Manifest index 264a3c157f11..142c8c90e1bd 100644 --- a/net-wireless/madwifi-tools/Manifest +++ b/net-wireless/madwifi-tools/Manifest @@ -1,9 +1,10 @@ -MD5 735677cefad5f4494b8d882b09b48a33 ChangeLog 3870 +MD5 282cb4531342e70507003ea0c1bfc9b0 ChangeLog 4039 MD5 6225a58b69ebeb67ff97ab4026b21e58 files/digest-madwifi-tools-0.1401.20060117 78 MD5 04ecb172d5d25d2995578d1772e2c239 files/digest-madwifi-tools-0.1420.20060201 78 MD5 94fa700e7f5c8ec3598c00b31c724525 files/digest-madwifi-tools-0.1440.20060206 78 MD5 7e62e96505ecb836f9f74c54d448af59 files/digest-madwifi-tools-0.1443.20060207 78 MD5 a505c0375ea7fdfc85976a0fc0866c6c files/digest-madwifi-tools-0.1473.20060312 78 +MD5 cb9bb227fc8875077d219e7bcae57ba5 files/digest-madwifi-tools-0.1485.20060325 78 MD5 d4937e6f87128084a32ef792ddbccc6e files/digest-madwifi-tools-0.1_pre20050420 85 MD5 3b977ab622651738d159d4559e670e25 files/madwifi-tools-0.1401.20060117-udev.rules 355 MD5 3b977ab622651738d159d4559e670e25 files/madwifi-tools-0.1420.20060201-udev.rules 355 @@ -13,5 +14,6 @@ MD5 aa059240813668c3c9b4cdca1016f1e6 madwifi-tools-0.1420.20060201.ebuild 1727 MD5 49621589ae8110a5228b1f3a1f5ecd7b madwifi-tools-0.1440.20060206.ebuild 1727 MD5 40a5df20571805f0ae602ee07becd458 madwifi-tools-0.1443.20060207.ebuild 1523 MD5 feb54ee93a4b3643f727b4e650618d71 madwifi-tools-0.1473.20060312.ebuild 1524 +MD5 0012726f5ecab001c562c2b9ec14df31 madwifi-tools-0.1485.20060325.ebuild 1401 MD5 b51ffccefc25227db9e0af7033042b3d madwifi-tools-0.1_pre20050420.ebuild 883 MD5 b280eebc74d70d85e664debf1adce2c3 metadata.xml 255 diff --git a/net-wireless/madwifi-tools/files/digest-madwifi-tools-0.1485.20060325 b/net-wireless/madwifi-tools/files/digest-madwifi-tools-0.1485.20060325 new file mode 100644 index 000000000000..7bf0a487c531 --- /dev/null +++ b/net-wireless/madwifi-tools/files/digest-madwifi-tools-0.1485.20060325 @@ -0,0 +1 @@ +MD5 39e321eacb93e84f8a7a72a41dc611fc madwifi-ng-r1485-20060325.tar.gz 3108740 diff --git a/net-wireless/madwifi-tools/madwifi-tools-0.1485.20060325.ebuild b/net-wireless/madwifi-tools/madwifi-tools-0.1485.20060325.ebuild new file mode 100644 index 000000000000..5c484e9a5560 --- /dev/null +++ b/net-wireless/madwifi-tools/madwifi-tools-0.1485.20060325.ebuild @@ -0,0 +1,57 @@ +# 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.1485.20060325.ebuild,v 1.1 2006/03/27 19:46:14 brix Exp $ + +inherit toolchain-funcs + +MY_P=madwifi-ng-r${PV:2:4}-${PV:7:8} +S=${WORKDIR}/${MY_P} + +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="" +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}/tools/athstats.c || die + + sed -i \ + -e "s:CC =.*:CC = $(tc-getCC):" \ + -e "s:CFLAGS=:CFLAGS+=:" \ + -e "s:LDFLAGS=:LDFLAGS+=:" \ + ${S}/tools/Makefile || die +} + +src_compile() { + emake tools || die "emake tools failed" +} + +src_install() { + make DESTDIR="${D}" BINDIR=/usr/bin MANDIR=/usr/share/man STRIP=echo \ + install-tools || die "make install-tools failed" + + dodir /sbin + mv "${D}"/usr/bin/wlanconfig "${D}"/sbin +} + +pkg_postinst() { + if [ -e "${ROOT}"/etc/udev/rules.d/65-madwifi.rules ]; then + ewarn + ewarn "The udev rules for creating interfaces (athX) are no longer needed." + ewarn + ewarn "You should manually remove the /etc/udev/rules.d/65-madwifi.rules file" + ewarn "and either run 'udevstart' or reboot for the changes to take effect." + ewarn + fi +} |