[leaf-commits] src/bering-uclibc4/source/ethtool buildtool.cfg, NONE, 1.1 buildtool.mk, NONE, 1.1 ethtool-2.6.37.tar.gz, NONE, 1.1

Andrew <[email protected]> Fri, 07 Jan 2011 17:17:09 +0000
Newsgroups gmane.linux.leaf.cvs
Message-ID <[email protected]>
Update of /cvsroot/leaf/src/bering-uclibc4/source/ethtool
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv13669/source/ethtool

Added Files:
	buildtool.cfg buildtool.mk ethtool-2.6.37.tar.gz 
Log Message:
Updated ethtool to latest version


--- NEW FILE: ethtool-2.6.37.tar.gz ---
(This appears to be a binary file; contents omitted.)

--- NEW FILE: buildtool.mk ---
# makefile for ethtool
include $(MASTERMAKEFILE)

ETHTOOL_DIR:=ethtool-2.6.37
ETHTOOL_TARGET_DIR:=$(BT_BUILD_DIR)/ethtool

$(ETHTOOL_DIR)/.source:
	zcat $(ETHTOOL_SOURCE) | tar -xvf -
	touch $(ETHTOOL_DIR)/.source

source: $(ETHTOOL_DIR)/.source

$(ETHTOOL_DIR)/.configured: $(ETHTOOL_DIR)/.source
	(cd $(ETHTOOL_DIR) ; CC=$(TARGET_CC) LD=$(TARGET_LD) ./configure --prefix=/usr)
	touch $(ETHTOOL_DIR)/.configured
                        
$(ETHTOOL_DIR)/.build: $(ETHTOOL_DIR)/.configured
	mkdir -p $(ETHTOOL_TARGET_DIR)
	mkdir -p $(ETHTOOL_TARGET_DIR)/usr/sbin
	make CC=$(TARGET_CC) CFLAGS="$(BT_COPT_FLAGS)" -C $(ETHTOOL_DIR)
	-$(BT_STRIP) $(BT_STRIP_BINOPTS) $(ETHTOOL_DIR)/ethtool
	cp -a $(ETHTOOL_DIR)/ethtool $(ETHTOOL_TARGET_DIR)/usr/sbin
	cp -a $(ETHTOOL_TARGET_DIR)/* $(BT_STAGING_DIR)
	touch $(ETHTOOL_DIR)/.build

build: $(ETHTOOL_DIR)/.build
                                                                                         
clean:
	make -C $(ETHTOOL_DIR) clean
	rm -rf $(ETHTOOL_TARGET_DIR)
	rm -f $(ETHTOOL_DIR)/.build
	rm -f $(ETHTOOL_DIR)/.configured
                                                                                                                 
srcclean: clean
	rm -rf $(ETHTOOL_DIR) 
	rm -f $(ETHTOOL_DIR)/.source

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

<File ethtool-2.6.37.tar.gz>
  Server = cvs4-sourceforge
  Revision = HEAD
  envname = ETHTOOL_SOURCE
  Directory = ethtool
</File>

<Package>
	<ethtool>
		Version = 2.6.37
		Revision = 1

		Help <<EOF
		ethtool is a small utility for examing and tuning your ethernet-based NIC
		Not all ethernet drivers support ethtool
		Homepage: http://sourceforge.net/projects/gkernel/
		LEAF package by __PACKAGER__, __BUILDDATE__
		EOF
		
		<Permissions>
			Files = 644
			Directories = 755
		</Permissions>

		<Owner>
			Files = root:root
			Directories = root:root
		</Owner>
		<Contents>
			<File>          
				Filename        = usr/sbin/ethtool
				Source    	= usr/sbin/ethtool
				Type		= binary
				Permissions = 755
			</File>                 

		</Contents>			
	</ethtool>
</Package>


------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl