[leaf-commits] src/bering-uclibc4/source/wireless_tools buildtool.cfg, NONE, 1.1 buildtool.mk, NONE, 1.1 wireless-pre-up, NONE, 1.1 wireless_tools.30.pre9.tar.gz, NONE, 1.1

Andrew <[email protected]>
Newsgroups gmane.linux.leaf.cvs
Message-ID <[email protected]>
Update of /cvsroot/leaf/src/bering-uclibc4/source/wireless_tools
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv24569

Added Files:
	buildtool.cfg buildtool.mk wireless-pre-up 
	wireless_tools.30.pre9.tar.gz 
Log Message:
Updated wireless-tools to 30pre9


--- NEW FILE: wireless-pre-up ---
#!/bin/sh

IWCONFIG=/sbin/iwconfig

if [ ! -x $IWCONFIG ]; then
  exit 0
fi

if [ -n "$IF_WIRELESS_SENS" ]; then
  $IWCONFIG "$IFACE" sens $IF_WIRELESS_SENS
fi

if [ -n "$IF_WIRELESS_MODE" ]; then
  $IWCONFIG "$IFACE" mode $IF_WIRELESS_MODE
fi

if [ -n "$IF_WIRELESS_AP" ]; then
  $IWCONFIG "$IFACE" ap $IF_WIRELESS_AP
fi

if [ -n "$IF_WIRELESS_RATE" ]; then
  $IWCONFIG "$IFACE" rate $IF_WIRELESS_RATE
fi

if [ -n "$IF_WIRELESS_RTS" ]; then
  $IWCONFIG "$IFACE" rts $IF_WIRELESS_RTS
fi

if [ -n "$IF_WIRELESS_FRAG" ]; then
  $IWCONFIG "$IFACE" frag $IF_WIRELESS_FRAG
fi

if [ -n "$IF_WIRELESS_POWER" ]; then
  $IWCONFIG "$IFACE" power $IF_WIRELESS_POWER
fi

if [ -n "$IF_WIRELESS_POWERPERIOD" ]; then
  $IWCONFIG "$IFACE" power period $IF_WIRELESS_POWERPERIOD
fi

if [ -n "$IF_WIRELESS_POWERTIMEOUT" ]; then
  $IWCONFIG "$IFACE" power timeout $IF_WIRELESS_POWERTIMEOUT
fi

if [ -n "$IF_WIRELESS_TXPOWER" ]; then
  $IWCONFIG "$IFACE" txpower $IF_WIRELESS_TXPOWER
fi

if [ -n "$IF_WIRELESS_RETRY" ]; then
  $IWCONFIG "$IFACE" retry $IF_WIRELESS_RETRY
fi

if [ -n "$IF_WIRELESS_ENC" ]; then
  eval $IWCONFIG "$IFACE" enc $IF_WIRELESS_ENC
fi

if [ -n "$IF_WIRELESS_KEY" ]; then
  eval $IWCONFIG "$IFACE" key $IF_WIRELESS_KEY
fi

if [ -n "$IF_WIRELESS_KEY1" ]; then
  $IWCONFIG "$IFACE" key [1] "$IF_WIRELESS_KEY1"
fi

if [ -n "$IF_WIRELESS_KEY2" ]; then
  $IWCONFIG "$IFACE" key [2] "$IF_WIRELESS_KEY2"
fi

if [ -n "$IF_WIRELESS_KEY3" ]; then
  $IWCONFIG "$IFACE" key [3] "$IF_WIRELESS_KEY3"
fi

if [ -n "$IF_WIRELESS_KEY4" ]; then
  $IWCONFIG "$IFACE" key [4] "$IF_WIRELESS_KEY4"
fi

if [ -n "$IF_WIRELESS_DEFAULTKEY" ]; then
  $IWCONFIG "$IFACE" key ["$IF_WIRELESS_DEFAULTKEY"]
fi

if [ -n "$IF_WIRELESS_KEYMODE" ]; then
  $IWCONFIG "$IFACE" key "$IF_WIRELESS_KEYMODE"
fi

if [ -n "$IF_WIRELESS_FREQ" ]; then
  $IWCONFIG "$IFACE" freq $IF_WIRELESS_FREQ
fi

if [ -n "$IF_WIRELESS_CHANNEL" ]; then
  $IWCONFIG "$IFACE" channel $IF_WIRELESS_CHANNEL
fi

if [ -n "$IF_WIRELESS_NICK" ]; then
  $IWCONFIG "$IFACE" nick "$IF_WIRELESS_NICK"
fi

if [ -n "$IF_WIRELESS_NWID" ]; then
  $IWCONFIG "$IFACE" nwid "$IF_WIRELESS_NWID"
fi

if [ -n "$IF_WIRELESS_ESSID" ]; then
  $IWCONFIG "$IFACE" essid "$IF_WIRELESS_ESSID"
fi

if [ -n "$IF_WIRELESS_COMMIT" ]; then
  $IWCONFIG "$IFACE" commit
fi


--- NEW FILE: buildtool.cfg ---
<File buildtool.mk>
	Server = cvs4-sourceforge
	Directory = wireless_tools
	revision = HEAD 
</File>

<File wireless_tools.30.pre9.tar.gz>
	Server = cvs4-sourceforge
	Directory = wireless_tools
	revision = HEAD
	EnvName = WIRELESS_TOOLS_SOURCE
</File>

<File wireless-pre-up>
	Server = cvs4-sourceforge
	Directory = wireless_tools
	revision = HEAD
</File>

<Package>
	<wireless>
		Version  = 30pre9
		Revision = 1

		Help <<EOF
			Wireless tools by J. Tourrilhes
			The Wireless Extension is a generic API allowing a driver to expose to 
			the user space configuration and statistics specific to common Wireless LANs.
			Homepage: http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html
			Requires: libm.lrp
			LEAF package by __PACKAGER__, __BUILDDATE__
			EOF

		<Permissions>
			Files = 644
			Directories = 755
		</Permissions>

		<Owner>
				Files = root:root
				Directories = root:root
		</Owner>

		<Contents>
			<File>
				Filename 	= etc/network/if-pre-up.d/wireless
				Source		= etc/network/if-pre-up.d/wireless
				Type		= binary
				Permissions	= 755
			</File>
			<File>
				Filename 	= sbin/iwconfig
				Source		= sbin/iwconfig 
				Type		= binary
				Permissions	= 755
			</File>
			<File>
				Target	 	= sbin/iwconfig
				Filename	= sbin/iwgetid 
				Type		= link
			</File>
			<File>
				Target	 	= sbin/iwconfig
				Filename	= sbin/iwpriv
				Type		= link
			</File>
			<File>
				Target	 	= sbin/iwconfig
				Filename	= sbin/iwspy 
				Type		= link
			</File>
			<File>
				Target	 	= sbin/iwconfig
				Filename	= sbin/iwlist 
				Type		= link
			</File>
		</Contents>
	</wireless> 
</Package>

--- NEW FILE: wireless_tools.30.pre9.tar.gz ---
(This appears to be a binary file; contents omitted.)

--- NEW FILE: buildtool.mk ---
#############################################################
#
# Wireless Extensions for Linux
#
#############################################################

include $(MASTERMAKEFILE)

WIRELESS_TOOLS_DIR:=wireless_tools.30
WIRELESS_TOOLS_TARGET_DIR:=$(BT_BUILD_DIR)/wireless_tools

$(WIRELESS_TOOLS_DIR)/.source:
	zcat $(WIRELESS_TOOLS_SOURCE) | tar -xvf -
	touch $(WIRELESS_TOOLS_DIR)/.source	

$(WIRELESS_TOOLS_DIR)/.build: $(WIRELESS_TOOLS_DIR)/.source
	mkdir -p $(WIRELESS_TOOLS_TARGET_DIR)
	mkdir -p $(WIRELESS_TOOLS_TARGET_DIR)/sbin
	mkdir -p $(WIRELESS_TOOLS_TARGET_DIR)/etc/network/if-pre-up.d
	make CC=$(TARGET_CC) iwmulticall DEPFLAGS=  -C $(WIRELESS_TOOLS_DIR) 
	-$(BT_STRIP) $(BT_STRIP_BINOPTS) $(WIRELESS_TOOLS_DIR)/iwmulticall
	cp -a wireless-pre-up $(WIRELESS_TOOLS_TARGET_DIR)/etc/network/if-pre-up.d/wireless
	cp -a $(WIRELESS_TOOLS_DIR)/iwmulticall $(WIRELESS_TOOLS_TARGET_DIR)/sbin/iwconfig
	cp -a $(WIRELESS_TOOLS_TARGET_DIR)/* $(BT_STAGING_DIR)
	touch $(WIRELESS_TOOLS_DIR)/.build

source: $(WIRELESS_TOOLS_DIR)/.source

build: $(WIRELESS_TOOLS_DIR)/.build
	
clean:
	make -C $(WIRELESS_TOOLS_DIR) clean
	rm -rf $(WIRELESS_TOOLS_TARGET_DIR)
	rm $(WIRELESS_TOOLS_DIR)/.build
	rm -f $(BT_STAGING_DIR)/sbin/iwconfig
	rm -f $(BT_STAGING_DIR)/etc/network/if-pre-up.d/wireless
	-rmdir  $(BT_STAGING_DIR)/etc/network/if-pre-up.d
	-rmdir  $(BT_STAGING_DIR)/etc/network

srcclean:
	rm -rf $(WIRELESS_TOOLS_DIR)


------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.