summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Brix Andersen <brix@gentoo.org>2006-04-14 13:25:27 +0000
committerHenrik Brix Andersen <brix@gentoo.org>2006-04-14 13:25:27 +0000
commit5100bf5bedf57ce7f326b9a956a3b4479a03bb26 (patch)
tree885a7990d31fe1be271418faf29ef576939dbbd4 /net-wireless/madwifi-old-tools
parentVersion bump (diff)
downloadgentoo-2-5100bf5bedf57ce7f326b9a956a3b4479a03bb26.tar.gz
gentoo-2-5100bf5bedf57ce7f326b9a956a3b4479a03bb26.tar.bz2
gentoo-2-5100bf5bedf57ce7f326b9a956a3b4479a03bb26.zip
Added madwifi-old branch to portage, bug #125440.
(Portage version: 2.0.54)
Diffstat (limited to 'net-wireless/madwifi-old-tools')
-rw-r--r--net-wireless/madwifi-old-tools/ChangeLog10
-rw-r--r--net-wireless/madwifi-old-tools/Manifest2
-rw-r--r--net-wireless/madwifi-old-tools/files/digest-madwifi-old-tools-0.1417.200601281
-rw-r--r--net-wireless/madwifi-old-tools/madwifi-old-tools-0.1417.20060128.ebuild66
-rw-r--r--net-wireless/madwifi-old-tools/metadata.xml9
5 files changed, 88 insertions, 0 deletions
diff --git a/net-wireless/madwifi-old-tools/ChangeLog b/net-wireless/madwifi-old-tools/ChangeLog
new file mode 100644
index 000000000000..58d50d3a276d
--- /dev/null
+++ b/net-wireless/madwifi-old-tools/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for net-wireless/madwifi-old-tools
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-old-tools/ChangeLog,v 1.1 2006/04/14 13:25:27 brix Exp $
+
+*madwifi-old-tools-0.1417.20060128 (14 Apr 2006)
+
+ 14 Apr 2006; Henrik Brix Andersen <brix@gentoo.org> +metadata.xml,
+ +madwifi-old-tools-0.1417.20060128.ebuild:
+ Added madwifi-old branch to portage, bug #125440.
+
diff --git a/net-wireless/madwifi-old-tools/Manifest b/net-wireless/madwifi-old-tools/Manifest
new file mode 100644
index 000000000000..4ab2d4760257
--- /dev/null
+++ b/net-wireless/madwifi-old-tools/Manifest
@@ -0,0 +1,2 @@
+MD5 9a00af3e1158804d57801c16f7ec326e files/digest-madwifi-old-tools-0.1417.20060128 79
+MD5 155d3b3a270aed25d148aaba1f6a6dba madwifi-old-tools-0.1417.20060128.ebuild 1526
diff --git a/net-wireless/madwifi-old-tools/files/digest-madwifi-old-tools-0.1417.20060128 b/net-wireless/madwifi-old-tools/files/digest-madwifi-old-tools-0.1417.20060128
new file mode 100644
index 000000000000..440f656f31eb
--- /dev/null
+++ b/net-wireless/madwifi-old-tools/files/digest-madwifi-old-tools-0.1417.20060128
@@ -0,0 +1 @@
+MD5 95d457e0edfb7028e09dee60db7fa7b8 madwifi-old-r1417-20060128.tar.gz 2102954
diff --git a/net-wireless/madwifi-old-tools/madwifi-old-tools-0.1417.20060128.ebuild b/net-wireless/madwifi-old-tools/madwifi-old-tools-0.1417.20060128.ebuild
new file mode 100644
index 000000000000..9343c884d891
--- /dev/null
+++ b/net-wireless/madwifi-old-tools/madwifi-old-tools-0.1417.20060128.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-old-tools/madwifi-old-tools-0.1417.20060128.ebuild,v 1.1 2006/04/14 13:25:27 brix Exp $
+
+inherit toolchain-funcs
+
+MY_P=${PN/-tools/}-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-old/${MY_P}.tar.gz"
+
+LICENSE="|| ( BSD GPL-2 )"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+IUSE=""
+DEPEND="virtual/libc"
+RDEPEND="!net-wireless/madwifi-ng-tools
+ ${RDEPEND}"
+
+pkg_setup() {
+ use x86 && TARGET=i386-elf
+ use amd64 && TARGET=x86_64-elf
+ use ppc && TARGET=powerpc-be-eabi
+}
+
+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:CFLAGS=:CFLAGS+=:" \
+ -e "s:LDFLAGS=:LDFLAGS+=:" \
+ ${S}/Makefile || die
+}
+
+src_compile() {
+ ARCH=$(tc-arch-kernel)
+ emake CC=$(tc-getCC) || die "emake failed"
+ ARCH=$(tc-arch)
+}
+
+src_install() {
+ dodir /usr/bin
+
+ ARCH=$(tc-arch-kernel)
+ make DESTDIR="${D}" BINDIR=/usr/bin install || die "make install failed"
+ ARCH=$(tc-arch)
+}
+
+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-old-tools/metadata.xml b/net-wireless/madwifi-old-tools/metadata.xml
new file mode 100644
index 000000000000..cfbdff13bd61
--- /dev/null
+++ b/net-wireless/madwifi-old-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>