summaryrefslogtreecommitdiffstats
path: root/abs/core/wireless_tools
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/wireless_tools')
-rw-r--r--abs/core/wireless_tools/PKGBUILD27
-rw-r--r--abs/core/wireless_tools/wireless.conf.d12
2 files changed, 39 insertions, 0 deletions
diff --git a/abs/core/wireless_tools/PKGBUILD b/abs/core/wireless_tools/PKGBUILD
new file mode 100644
index 0000000..cb68362
--- /dev/null
+++ b/abs/core/wireless_tools/PKGBUILD
@@ -0,0 +1,27 @@
+# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
+# Maintainer: Judd Vinet <jvinet@zeroflux.org>
+# Contributer: Jason Chu <jchu@xentac.net>
+pkgname=wireless_tools
+pkgver=29
+pkgrel=2
+pkgdesc="Wireless Tools"
+arch=(i686 x86_64)
+url="http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html"
+license=('GPL')
+depends=('glibc')
+backup=('etc/conf.d/wireless')
+source=(http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/wireless_tools.29.tar.gz wireless.conf.d)
+md5sums=('e06c222e186f7cc013fd272d023710cb'
+ '027576534885b8d5dded9be546057b12')
+
+build() {
+ cd $startdir/src/wireless_tools.29
+ make || return 1
+ mkdir -p $startdir/pkg/usr/sbin
+ mkdir -p $startdir/pkg/usr/lib
+ mkdir -p $startdir/pkg/usr/include
+ mkdir -p $startdir/pkg/usr/man/man8
+# make INSTALL_DIR=$startdir/pkg/usr/sbin/ INSTALL_LIB=$startdir/pkg/usr/lib/ INSTALL_INC=$startdir/pkg/usr/include/ INSTALL_MAN=$startdir/pkg/usr/man/ install
+ make PREFIX=$startdir/pkg/usr install
+ install -D -m644 ../wireless.conf.d $startdir/pkg/etc/conf.d/wireless
+}
diff --git a/abs/core/wireless_tools/wireless.conf.d b/abs/core/wireless_tools/wireless.conf.d
new file mode 100644
index 0000000..47540ef
--- /dev/null
+++ b/abs/core/wireless_tools/wireless.conf.d
@@ -0,0 +1,12 @@
+#
+# Settings for wireless cards
+#
+# For each wireless interface declared in INTERFACES (in rc.conf), declare
+# a wlan_${IF} variable that contains the arguments to be passed to
+# iwconfig(8). Then list the original interface name in the
+# WLAN_INTERFACES array.
+#
+
+#wlan_eth0="eth0 mode managed essid default"
+#WLAN_INTERFACES=(eth0)
+