summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Klimaszewski <steev@gentoo.org>2008-02-14 05:21:38 +0000
committerStephen Klimaszewski <steev@gentoo.org>2008-02-14 05:21:38 +0000
commit2926753d008609905129921ecea7d55b89e3be8a (patch)
treed48e3aec48b595212baf9ecea2f8c074968668f3 /net-wireless/madwifi-ng-tools
parentVersion bump to 3.4.10_pre1 for testing and adding a 9999 ebuild to pull dire... (diff)
downloadgentoo-2-2926753d008609905129921ecea7d55b89e3be8a.tar.gz
gentoo-2-2926753d008609905129921ecea7d55b89e3be8a.tar.bz2
gentoo-2-2926753d008609905129921ecea7d55b89e3be8a.zip
Bump for 0.9.4. This release is compatible with kernel 2.6.24
(Portage version: 2.1.4.4)
Diffstat (limited to 'net-wireless/madwifi-ng-tools')
-rw-r--r--net-wireless/madwifi-ng-tools/ChangeLog10
-rw-r--r--net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.9.2.ebuild4
-rw-r--r--net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.9.3.1.ebuild6
-rw-r--r--net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.9.3.2.ebuild6
-rw-r--r--net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.9.3.ebuild4
-rw-r--r--net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.9.4.ebuild75
6 files changed, 93 insertions, 12 deletions
diff --git a/net-wireless/madwifi-ng-tools/ChangeLog b/net-wireless/madwifi-ng-tools/ChangeLog
index 85cd551e69be..66a1aa8b4e73 100644
--- a/net-wireless/madwifi-ng-tools/ChangeLog
+++ b/net-wireless/madwifi-ng-tools/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-wireless/madwifi-ng-tools
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-ng-tools/ChangeLog,v 1.29 2007/10/26 13:52:55 beandog Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-ng-tools/ChangeLog,v 1.30 2008/02/14 05:21:38 steev Exp $
+
+*madwifi-ng-tools-0.9.4 (14 Feb 2008)
+
+ 14 Feb 2008; Steev Klimaszewski <steev@gentoo.org>
+ +madwifi-ng-tools-0.9.4.ebuild:
+ Bump for 0.9.4 release which is compatible with kernel 2.6.24
26 Oct 2007; Steve Dibb <beandog@gentoo.org>
madwifi-ng-tools-0.9.3.3.ebuild:
diff --git a/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.9.2.ebuild b/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.9.2.ebuild
index 980f302aea5f..c42f1c918227 100644
--- a/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.9.2.ebuild
+++ b/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.9.2.ebuild
@@ -1,6 +1,6 @@
# 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.9.2.ebuild,v 1.5 2006/09/24 09:28:54 hansmi Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.9.2.ebuild,v 1.6 2008/02/14 05:21:38 steev Exp $
inherit toolchain-funcs
@@ -35,7 +35,7 @@ einfo "PV=$PV"
-e "s:CC =.*:CC = $(tc-getCC):" \
-e "s:CFLAGS=:CFLAGS+=:" \
-e "s:LDFLAGS=:LDFLAGS+=:" \
- ${S}/Makefile || die
+ "${S}"/Makefile || die
}
src_compile() {
diff --git a/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.9.3.1.ebuild b/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.9.3.1.ebuild
index 0d78ff1ef8fc..7033ed5e9524 100644
--- a/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.9.3.1.ebuild
+++ b/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.9.3.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 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.9.3.1.ebuild,v 1.1 2007/05/23 16:02:35 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.9.3.1.ebuild,v 1.2 2008/02/14 05:21:38 steev Exp $
inherit toolchain-funcs
@@ -35,7 +35,7 @@ einfo "PV=$PV"
-e "s:CC =.*:CC = $(tc-getCC):" \
-e "s:CFLAGS=:CFLAGS+=:" \
-e "s:LDFLAGS=:LDFLAGS+=:" \
- ${S}/Makefile || die
+ "${S}"/Makefile || die
}
src_compile() {
@@ -51,7 +51,7 @@ src_install() {
# install headers for use by
# net-wireless/wpa_supplicant and net-wireless/hostapd
- cd ${S}/..
+ cd "${S}"/..
insinto /usr/include/madwifi/include/
doins include/*.h
insinto /usr/include/madwifi/net80211
diff --git a/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.9.3.2.ebuild b/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.9.3.2.ebuild
index 4918eb6ca627..83276e574c8c 100644
--- a/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.9.3.2.ebuild
+++ b/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.9.3.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 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.9.3.2.ebuild,v 1.4 2007/08/15 21:28:25 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.9.3.2.ebuild,v 1.5 2008/02/14 05:21:38 steev Exp $
inherit toolchain-funcs
@@ -35,7 +35,7 @@ einfo "PV=$PV"
-e "s:CC =.*:CC = $(tc-getCC):" \
-e "s:CFLAGS=:CFLAGS+=:" \
-e "s:LDFLAGS=:LDFLAGS+=:" \
- ${S}/Makefile || die
+ "${S}"/Makefile || die
}
src_compile() {
@@ -51,7 +51,7 @@ src_install() {
# install headers for use by
# net-wireless/wpa_supplicant and net-wireless/hostapd
- cd ${S}/..
+ cd "${S}"/..
insinto /usr/include/madwifi/include/
doins include/*.h
insinto /usr/include/madwifi/net80211
diff --git a/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.9.3.ebuild b/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.9.3.ebuild
index 483d751edffe..2747559c8df5 100644
--- a/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.9.3.ebuild
+++ b/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.9.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 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.9.3.ebuild,v 1.4 2007/04/09 19:52:40 cryos Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.9.3.ebuild,v 1.5 2008/02/14 05:21:38 steev Exp $
inherit toolchain-funcs
@@ -35,7 +35,7 @@ einfo "PV=$PV"
-e "s:CC =.*:CC = $(tc-getCC):" \
-e "s:CFLAGS=:CFLAGS+=:" \
-e "s:LDFLAGS=:LDFLAGS+=:" \
- ${S}/Makefile || die
+ "${S}"/Makefile || die
}
src_compile() {
diff --git a/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.9.4.ebuild b/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.9.4.ebuild
new file mode 100644
index 000000000000..5c1312c84124
--- /dev/null
+++ b/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.9.4.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2008 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.9.4.ebuild,v 1.1 2008/02/14 05:21:38 steev Exp $
+
+inherit toolchain-funcs
+
+MY_P=${PN/-ng-tools/}-${PV}
+S=${WORKDIR}/${MY_P}/tools
+
+DESCRIPTION="Next Generation tools for configuration of Atheros based IEEE 802.11a/b/g wireless LAN cards"
+HOMEPAGE="http://www.madwifi.org/"
+SRC_URI="mirror://sourceforge/madwifi/madwifi-${PV}.tar.bz2"
+
+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
+
+einfo "S=$S"
+einfo "PV=$PV"
+
+ 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() {
+ emake DESTDIR="${D}" BINDIR=/usr/bin MANDIR=/usr/share/man STRIP=echo \
+ install || die "emake install failed"
+
+ dodir /sbin
+ mv "${D}"/usr/bin/wlanconfig "${D}"/sbin
+
+ # install headers for use by
+ # net-wireless/wpa_supplicant and net-wireless/hostapd
+ cd "${S}"/..
+ insinto /usr/include/madwifi/include/
+ doins include/*.h
+ insinto /usr/include/madwifi/net80211
+ doins net80211/*.h
+}
+
+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
+ einfo
+ einfo "If you use net-wireless/wpa_supplicant or net-wireless/hostapd with
+madwifi"
+ einfo "you should remerge them now."
+ einfo
+}