diff options
author | Henrik Brix Andersen <brix@gentoo.org> | 2006-04-14 13:41:51 +0000 |
---|---|---|
committer | Henrik Brix Andersen <brix@gentoo.org> | 2006-04-14 13:41:51 +0000 |
commit | 9534ed401fd15ed14866e8e405a2a8c5d1596a71 (patch) | |
tree | d8192a0654fcaf8604b4cdad4f22a4f06cfe294a /net-wireless | |
parent | Version bump thanks to Pietro Franchi in bug #129741 (diff) | |
download | gentoo-2-9534ed401fd15ed14866e8e405a2a8c5d1596a71.tar.gz gentoo-2-9534ed401fd15ed14866e8e405a2a8c5d1596a71.tar.bz2 gentoo-2-9534ed401fd15ed14866e8e405a2a8c5d1596a71.zip |
Renamed from net-wireless/madwifi-tools to net-wireless/madwifi-ng-tools.
(Portage version: 2.0.54)
Diffstat (limited to 'net-wireless')
19 files changed, 623 insertions, 0 deletions
diff --git a/net-wireless/madwifi-ng-tools/ChangeLog b/net-wireless/madwifi-ng-tools/ChangeLog new file mode 100644 index 000000000000..1d6f89438a8c --- /dev/null +++ b/net-wireless/madwifi-ng-tools/ChangeLog @@ -0,0 +1,139 @@ +# ChangeLog for net-wireless/madwifi-tools +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-ng-tools/ChangeLog,v 1.1 2006/04/14 13:41:51 brix Exp $ + +*madwifi-ng-tools-0.1502.20060414 (14 Apr 2006) +*madwifi-ng-tools-0.1485.20060325 (14 Apr 2006) +*madwifi-ng-tools-0.1473.20060312 (14 Apr 2006) +*madwifi-ng-tools-0.1443.20060207 (14 Apr 2006) +*madwifi-ng-tools-0.1440.20060206 (14 Apr 2006) +*madwifi-ng-tools-0.1420.20060201 (14 Apr 2006) +*madwifi-ng-tools-0.1401.20060117 (14 Apr 2006) + + 14 Apr 2006; Henrik Brix Andersen <brix@gentoo.org> + +files/madwifi-ng-tools-0.1401.20060117-udev.rules, + +files/madwifi-ng-tools-0.1420.20060201-udev.rules, + +files/madwifi-ng-tools-0.1440.20060206-udev.rules, +metadata.xml, + +madwifi-ng-tools-0.1401.20060117.ebuild, + +madwifi-ng-tools-0.1420.20060201.ebuild, + +madwifi-ng-tools-0.1440.20060206.ebuild, + +madwifi-ng-tools-0.1443.20060207.ebuild, + +madwifi-ng-tools-0.1473.20060312.ebuild, + +madwifi-ng-tools-0.1485.20060325.ebuild, + +madwifi-ng-tools-0.1502.20060414.ebuild: + Renamed from net-wireless/madwifi-tools to net-wireless/madwifi-ng-tools. + +*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) + + 12 Mar 2006; Henrik Brix Andersen <brix@gentoo.org> + +madwifi-tools-0.1473.20060312.ebuild: + New snapshot, bug #125933. + + 05 Mar 2006; Henrik Brix Andersen <brix@gentoo.org> + madwifi-tools-0.1443.20060207.ebuild: + Stable on x86. + +*madwifi-tools-0.1443.20060207 (07 Feb 2006) + + 07 Feb 2006; Henrik Brix Andersen <brix@gentoo.org> + +madwifi-tools-0.1443.20060207.ebuild: + New snapshot. The udev rules are no longer needed, bug #121913. + +*madwifi-tools-0.1440.20060206 (06 Feb 2006) + + 06 Feb 2006; Henrik Brix Andersen <brix@gentoo.org> + +files/madwifi-tools-0.1440.20060206-udev.rules, + +madwifi-tools-0.1440.20060206.ebuild: + Version bump, bug #121783. + + 01 Feb 2006; Henrik Brix Andersen <brix@gentoo.org> + -madwifi-tools-0.1_pre20051111.ebuild: + Removed broken version. + +*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: + Marked ~amd64. + +*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: + Marked -amd64 too, upstream ticket 74. + +*madwifi-tools-0.1_pre20051111 (13 Nov 2005) + + 13 Nov 2005; Stefan Schweizer <genstef@gentoo.org> + -madwifi-tools-0.1_pre20050106.ebuild, + -madwifi-tools-0.1_pre20050107.ebuild, + -madwifi-tools-0.1_pre20051031.ebuild, + +madwifi-tools-0.1_pre20051111.ebuild: + Version bump, remove old ebuilds + + 12 Nov 2005; Stefan Schweizer <genstef@gentoo.org> + madwifi-tools-0.1_pre20051031.ebuild: + Use userspecified LDFLAGS,CFLAGS, use make install + + 12 Nov 2005; Peter Johanson <latexer@gentoo.org> + madwifi-tools-0.1_pre20051031.ebuild: + Fix problem with not installing new wlanconfig tool. + +*madwifi-tools-0.1_pre20051031 (09 Nov 2005) + + 09 Nov 2005; Peter Johanson <latexer@gentoo.org> + +madwifi-tools-0.1_pre20051031.ebuild: + Bump with new CVS snapshot. + + 29 Apr 2005; <solar@gentoo.org> madwifi-tools-0.1_pre20050420.ebuild: + - bug 90880 - fix sed expression on athstats.c + +*madwifi-tools-0.1_pre20050420 (26 Apr 2005) + + 26 Apr 2005; <solar@gentoo.org> +madwifi-tools-0.1_pre20050420.ebuild: + - version bump + + 19 Jan 2005; <solar@gentoo.org> madwifi-tools-0.1_pre20050106.ebuild, + madwifi-tools-0.1_pre20050107.ebuild: + - added a sed expression to a src_unpack as per bug #78586 + +*madwifi-tools-0.1_pre20050107 (07 Jan 2005) + + 07 Jan 2005; <solar@gentoo.org> +madwifi-tools-0.1_pre20050107.ebuild: + - update from Stefan Schweizer. uses the snapshot from the mirrors now + +*madwifi-tools-0.1_pre20050106 (06 Jan 2005) + + 06 Jan 2005; <solar@gentoo.org> -madwifi-tools-0.1_pre20040906.ebuild, + -madwifi-tools-0.1_pre20041019.ebuild, + +madwifi-tools-0.1_pre20050106.ebuild: + version bump for 2005 and small format string fixes + +*madwifi-tools-0.1_pre20041019 (19 Oct 2004) + + 19 Oct 2004; <solar@gentoo.org> +madwifi-tools-0.1_pre20041019.ebuild: + updated snap of madwifi-tools for 2.6.9 kernels + +*madwifi-tools-0.1_pre20040906 (06 Sep 2004) + + 06 Sep 2004; <solar@gentoo.org> +metadata.xml, + +madwifi-tools-0.1_pre20040906.ebuild: + initial commit of the madwifi-tools (broken out from the -driver) to the tree. + diff --git a/net-wireless/madwifi-ng-tools/files/digest-madwifi-ng-tools-0.1401.20060117 b/net-wireless/madwifi-ng-tools/files/digest-madwifi-ng-tools-0.1401.20060117 new file mode 100644 index 000000000000..ac1f6c432a45 --- /dev/null +++ b/net-wireless/madwifi-ng-tools/files/digest-madwifi-ng-tools-0.1401.20060117 @@ -0,0 +1 @@ +MD5 1a99b4b3c32e41911bc20ca0870f64b0 madwifi-ng-r1401-20060117.tar.gz 3196291 diff --git a/net-wireless/madwifi-ng-tools/files/digest-madwifi-ng-tools-0.1420.20060201 b/net-wireless/madwifi-ng-tools/files/digest-madwifi-ng-tools-0.1420.20060201 new file mode 100644 index 000000000000..f2065bf75b64 --- /dev/null +++ b/net-wireless/madwifi-ng-tools/files/digest-madwifi-ng-tools-0.1420.20060201 @@ -0,0 +1 @@ +MD5 7aec9b28cc27519d5d58addc81bda290 madwifi-ng-r1420-20060201.tar.gz 3249497 diff --git a/net-wireless/madwifi-ng-tools/files/digest-madwifi-ng-tools-0.1440.20060206 b/net-wireless/madwifi-ng-tools/files/digest-madwifi-ng-tools-0.1440.20060206 new file mode 100644 index 000000000000..4d249e405f84 --- /dev/null +++ b/net-wireless/madwifi-ng-tools/files/digest-madwifi-ng-tools-0.1440.20060206 @@ -0,0 +1 @@ +MD5 12ee6032818ee5ee5371da5c65f2d5ed madwifi-ng-r1440-20060206.tar.gz 3249614 diff --git a/net-wireless/madwifi-ng-tools/files/digest-madwifi-ng-tools-0.1443.20060207 b/net-wireless/madwifi-ng-tools/files/digest-madwifi-ng-tools-0.1443.20060207 new file mode 100644 index 000000000000..6613fad653a7 --- /dev/null +++ b/net-wireless/madwifi-ng-tools/files/digest-madwifi-ng-tools-0.1443.20060207 @@ -0,0 +1 @@ +MD5 3695a41cab305c6746c65c80e7b17363 madwifi-ng-r1443-20060207.tar.gz 3249472 diff --git a/net-wireless/madwifi-ng-tools/files/digest-madwifi-ng-tools-0.1473.20060312 b/net-wireless/madwifi-ng-tools/files/digest-madwifi-ng-tools-0.1473.20060312 new file mode 100644 index 000000000000..110a69d918b6 --- /dev/null +++ b/net-wireless/madwifi-ng-tools/files/digest-madwifi-ng-tools-0.1473.20060312 @@ -0,0 +1 @@ +MD5 f4f057f4b416adc4f517c9bfc209a986 madwifi-ng-r1473-20060312.tar.gz 3107599 diff --git a/net-wireless/madwifi-ng-tools/files/digest-madwifi-ng-tools-0.1485.20060325 b/net-wireless/madwifi-ng-tools/files/digest-madwifi-ng-tools-0.1485.20060325 new file mode 100644 index 000000000000..7bf0a487c531 --- /dev/null +++ b/net-wireless/madwifi-ng-tools/files/digest-madwifi-ng-tools-0.1485.20060325 @@ -0,0 +1 @@ +MD5 39e321eacb93e84f8a7a72a41dc611fc madwifi-ng-r1485-20060325.tar.gz 3108740 diff --git a/net-wireless/madwifi-ng-tools/files/digest-madwifi-ng-tools-0.1502.20060414 b/net-wireless/madwifi-ng-tools/files/digest-madwifi-ng-tools-0.1502.20060414 new file mode 100644 index 000000000000..b340de8b9556 --- /dev/null +++ b/net-wireless/madwifi-ng-tools/files/digest-madwifi-ng-tools-0.1502.20060414 @@ -0,0 +1 @@ +MD5 a65dfb227d80dfe23813e481407e115d madwifi-ng-r1502-20060414.tar.gz 3114204 diff --git a/net-wireless/madwifi-ng-tools/files/madwifi-ng-tools-0.1401.20060117-udev.rules b/net-wireless/madwifi-ng-tools/files/madwifi-ng-tools-0.1401.20060117-udev.rules new file mode 100644 index 000000000000..e6d72b1874a9 --- /dev/null +++ b/net-wireless/madwifi-ng-tools/files/madwifi-ng-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-ng-tools/files/madwifi-ng-tools-0.1420.20060201-udev.rules b/net-wireless/madwifi-ng-tools/files/madwifi-ng-tools-0.1420.20060201-udev.rules new file mode 100644 index 000000000000..e6d72b1874a9 --- /dev/null +++ b/net-wireless/madwifi-ng-tools/files/madwifi-ng-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-ng-tools/files/madwifi-ng-tools-0.1440.20060206-udev.rules b/net-wireless/madwifi-ng-tools/files/madwifi-ng-tools-0.1440.20060206-udev.rules new file mode 100644 index 000000000000..e6d72b1874a9 --- /dev/null +++ b/net-wireless/madwifi-ng-tools/files/madwifi-ng-tools-0.1440.20060206-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-ng-tools/madwifi-ng-tools-0.1401.20060117.ebuild b/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.1401.20060117.ebuild new file mode 100644 index 000000000000..31e78d2528be --- /dev/null +++ b/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.1401.20060117.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-ng-tools/madwifi-ng-tools-0.1401.20060117.ebuild,v 1.1 2006/04/14 13:41:51 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" +RDEPEND="!net-wireless/madwifi-old-tools + ${DEPEND}" + +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 +} diff --git a/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.1420.20060201.ebuild b/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.1420.20060201.ebuild new file mode 100644 index 000000000000..b716a5669481 --- /dev/null +++ b/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.1420.20060201.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.1420.20060201.ebuild,v 1.1 2006/04/14 13:41:51 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" +RDEPEND="!net-wireless/madwifi-old-tools + ${DEPEND}" + +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 +} diff --git a/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.1440.20060206.ebuild b/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.1440.20060206.ebuild new file mode 100644 index 000000000000..4989f4a917fc --- /dev/null +++ b/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.1440.20060206.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.1440.20060206.ebuild,v 1.1 2006/04/14 13:41:51 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" +RDEPEND="!net-wireless/madwifi-old-tools + ${DEPEND}" + +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 +} diff --git a/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.1443.20060207.ebuild b/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.1443.20060207.ebuild new file mode 100644 index 000000000000..f2f18517165f --- /dev/null +++ b/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.1443.20060207.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.1443.20060207.ebuild,v 1.1 2006/04/14 13:41:51 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" +RDEPEND="!net-wireless/madwifi-old-tools + ${DEPEND}" + +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 +} diff --git a/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.1473.20060312.ebuild b/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.1473.20060312.ebuild new file mode 100644 index 000000000000..452e4a3c2b3c --- /dev/null +++ b/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.1473.20060312.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.1473.20060312.ebuild,v 1.1 2006/04/14 13:41:51 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" +RDEPEND="!net-wireless/madwifi-old-tools + ${DEPEND}" + +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 +} diff --git a/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.1485.20060325.ebuild b/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.1485.20060325.ebuild new file mode 100644 index 000000000000..d4f0bc82d775 --- /dev/null +++ b/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.1485.20060325.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.1485.20060325.ebuild,v 1.1 2006/04/14 13:41:51 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" +RDEPEND="!net-wireless/madwifi-old-tools + ${DEPEND}" + +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 +} diff --git a/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.1502.20060414.ebuild b/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.1502.20060414.ebuild new file mode 100644 index 000000000000..98d5d1922a11 --- /dev/null +++ b/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.1502.20060414.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.1502.20060414.ebuild,v 1.1 2006/04/14 13:41:51 brix Exp $ + +inherit toolchain-funcs + +MY_P=${PN/-tools/}-r${PV:2:4}-${PV:7:8} +S=${WORKDIR}/${MY_P} + +DESCRIPTION="Next Generation 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" +RDEPEND="!net-wireless/madwifi-old-tools + ${DEPEND}" + +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 +} diff --git a/net-wireless/madwifi-ng-tools/metadata.xml b/net-wireless/madwifi-ng-tools/metadata.xml new file mode 100644 index 000000000000..cfbdff13bd61 --- /dev/null +++ b/net-wireless/madwifi-ng-tools/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>mobile</herd> +<maintainer> + <email>brix@gentoo.org</email> + <name>Henrik Brix Andersen</name> +</maintainer> +</pkgmetadata> |