summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2006-07-26 18:44:56 +0000
committerStefan Schweizer <genstef@gentoo.org>2006-07-26 18:44:56 +0000
commitfc6c2d1149c600d3b84975602dec1547163fbfe9 (patch)
tree2556e688c4fb2be322c46c3c63450967069e1d7c /net-wireless/madwifi-ng-tools
parentnew madwifi rc (diff)
downloadhistorical-fc6c2d1149c600d3b84975602dec1547163fbfe9.tar.gz
historical-fc6c2d1149c600d3b84975602dec1547163fbfe9.tar.bz2
historical-fc6c2d1149c600d3b84975602dec1547163fbfe9.zip
Add release candidate works with 2.6.18, closes bug 141631 thanks to Thomas Meyer <thomas.mey@web.de>
Package-Manager: portage-2.1.1_pre3-r5
Diffstat (limited to 'net-wireless/madwifi-ng-tools')
-rw-r--r--net-wireless/madwifi-ng-tools/ChangeLog9
-rw-r--r--net-wireless/madwifi-ng-tools/files/digest-madwifi-ng-tools-0.9.2_rc16923
-rw-r--r--net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.9.2_rc1692.ebuild62
3 files changed, 73 insertions, 1 deletions
diff --git a/net-wireless/madwifi-ng-tools/ChangeLog b/net-wireless/madwifi-ng-tools/ChangeLog
index 1e5d638a3701..cae61a392992 100644
--- a/net-wireless/madwifi-ng-tools/ChangeLog
+++ b/net-wireless/madwifi-ng-tools/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-wireless/madwifi-ng-tools
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-ng-tools/ChangeLog,v 1.8 2006/07/23 03:49:25 steev Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-ng-tools/ChangeLog,v 1.9 2006/07/26 18:42:57 genstef Exp $
+
+*madwifi-ng-tools-0.9.2_rc1692 (26 Jul 2006)
+
+ 26 Jul 2006; Stefan Schweizer <genstef@gentoo.org>
+ +madwifi-ng-tools-0.9.2_rc1692.ebuild:
+ Add release candidate works with 2.6.18, closes bug 141631 thanks to Thomas
+ Meyer <thomas.mey@web.de>
*madwifi-ng-tools-0.9.1 (23 Jul 2006)
diff --git a/net-wireless/madwifi-ng-tools/files/digest-madwifi-ng-tools-0.9.2_rc1692 b/net-wireless/madwifi-ng-tools/files/digest-madwifi-ng-tools-0.9.2_rc1692
new file mode 100644
index 000000000000..cbb5823c72ff
--- /dev/null
+++ b/net-wireless/madwifi-ng-tools/files/digest-madwifi-ng-tools-0.9.2_rc1692
@@ -0,0 +1,3 @@
+MD5 3ad382748ac725bfec3e64229d15e55a madwifi-ng-r1692-20060723.tar.gz 3672564
+RMD160 2302daf379ec6c2cb74e66842f0216d6c4a0d18f madwifi-ng-r1692-20060723.tar.gz 3672564
+SHA256 047303a0e682db0d21be21a3cc736a8c8bd4794964c4eedada869ee95cdcf2fc madwifi-ng-r1692-20060723.tar.gz 3672564
diff --git a/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.9.2_rc1692.ebuild b/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.9.2_rc1692.ebuild
new file mode 100644
index 000000000000..abe51cd545c8
--- /dev/null
+++ b/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.9.2_rc1692.ebuild
@@ -0,0 +1,62 @@
+# 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_rc1692.ebuild,v 1.1 2006/07/26 18:42:57 genstef Exp $
+
+inherit toolchain-funcs
+
+MY_P=${PN/-tools}-${PV/0.9.2_rc/r}-20060723
+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
+
+einfo "S=$S"
+einfo "PV=$PV"
+
+ 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
+}