[openwrt] include the mii-tool package
This commit is contained in:
parent
07e18ae356
commit
3f0b37fbee
|
@ -1,7 +1,7 @@
|
|||
#
|
||||
# Automatically generated make config: don't edit
|
||||
# OpenWrt version: Backfire (r26713)
|
||||
# Mon Apr 18 15:01:59 2011
|
||||
# OpenWrt version: Backfire (r26799)
|
||||
# Mon May 9 21:25:41 2011
|
||||
#
|
||||
CONFIG_HAVE_DOT_CONFIG=y
|
||||
# CONFIG_TARGET_ppc40x is not set
|
||||
|
@ -1109,6 +1109,7 @@ CONFIG_PACKAGE_ntpclient=y
|
|||
# CONFIG_PACKAGE_avahi-autoipd is not set
|
||||
CONFIG_PACKAGE_avahi-daemon=y
|
||||
CONFIG_PACKAGE_avahi-dnsconfd=y
|
||||
# CONFIG_PACKAGE_chat is not set
|
||||
# CONFIG_PACKAGE_crda is not set
|
||||
# CONFIG_PACKAGE_ebtables is not set
|
||||
# CONFIG_PACKAGE_ebtables-utils is not set
|
||||
|
@ -1134,8 +1135,8 @@ CONFIG_PACKAGE_iptables-mod-nat=y
|
|||
# CONFIG_PACKAGE_iptables-mod-ulog is not set
|
||||
# CONFIG_PACKAGE_iptables-utils is not set
|
||||
# CONFIG_PACKAGE_iw is not set
|
||||
CONFIG_PACKAGE_mii-tool=y
|
||||
CONFIG_PACKAGE_ppp=y
|
||||
# CONFIG_PACKAGE_chat is not set
|
||||
# CONFIG_PACKAGE_ppp-mod-pppoa is not set
|
||||
CONFIG_PACKAGE_ppp-mod-pppoe=y
|
||||
# CONFIG_PACKAGE_ppp-mod-radius is not set
|
||||
|
|
|
@ -0,0 +1,65 @@
|
|||
10
|
||||
|
||||
dir
|
||||
26865
|
||||
svn://svn.openwrt.org/openwrt/packages/net/mii-tool
|
||||
svn://svn.openwrt.org/openwrt
|
||||
|
||||
|
||||
|
||||
2010-02-18T05:57:08.274103Z
|
||||
19702
|
||||
swalker
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
3c298f89-4303-0410-b956-a3cf2f4a3e73
|
||||
|
||||
patches
|
||||
dir
|
||||
|
||||
Makefile
|
||||
file
|
||||
|
||||
|
||||
|
||||
|
||||
2010-07-24T17:59:57.653388Z
|
||||
643a840ccdc4c9045554eb5f11b42f51
|
||||
2010-02-18T05:57:08.274103Z
|
||||
19702
|
||||
swalker
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
1141
|
||||
|
|
@ -0,0 +1,41 @@
|
|||
#
|
||||
# Copyright (C) 2006-2010 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=mii-tool
|
||||
PKG_VERSION:=1.9.1.1
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||
PKG_SOURCE_URL:=http://downloads.openwrt.org/sources
|
||||
PKG_MD5SUM:=f65dbeb1c2392acffd4c94138b1f2e52
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/mii-tool
|
||||
SECTION:=net
|
||||
CATEGORY:=Network
|
||||
TITLE:=configure media type using MII commands
|
||||
URL:=http://freshmeat.net/projects/mii-tool/
|
||||
endef
|
||||
|
||||
define Package/mii-tool/description
|
||||
The mii-tool command allows you to set or autodetect the media type
|
||||
or mii chipset-based ethernet devices. It traditionally had been
|
||||
distributed in the net-tools package. This is a single distribution
|
||||
optimized for embedded systems and fully automated cross/-sysroot-builds
|
||||
endef
|
||||
|
||||
MAKE_FLAGS += CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE -I. -idirafter ./include/"
|
||||
|
||||
define Package/mii-tool/install
|
||||
$(INSTALL_DIR) $(1)/usr/sbin
|
||||
$(CP) $(PKG_BUILD_DIR)/mii-tool $(1)/usr/sbin/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,mii-tool))
|
|
@ -0,0 +1,41 @@
|
|||
#
|
||||
# Copyright (C) 2006-2010 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=mii-tool
|
||||
PKG_VERSION:=1.9.1.1
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||
PKG_SOURCE_URL:=http://downloads.openwrt.org/sources
|
||||
PKG_MD5SUM:=f65dbeb1c2392acffd4c94138b1f2e52
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/mii-tool
|
||||
SECTION:=net
|
||||
CATEGORY:=Network
|
||||
TITLE:=configure media type using MII commands
|
||||
URL:=http://freshmeat.net/projects/mii-tool/
|
||||
endef
|
||||
|
||||
define Package/mii-tool/description
|
||||
The mii-tool command allows you to set or autodetect the media type
|
||||
or mii chipset-based ethernet devices. It traditionally had been
|
||||
distributed in the net-tools package. This is a single distribution
|
||||
optimized for embedded systems and fully automated cross/-sysroot-builds
|
||||
endef
|
||||
|
||||
MAKE_FLAGS += CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE -I. -idirafter ./include/"
|
||||
|
||||
define Package/mii-tool/install
|
||||
$(INSTALL_DIR) $(1)/usr/sbin
|
||||
$(CP) $(PKG_BUILD_DIR)/mii-tool $(1)/usr/sbin/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,mii-tool))
|
|
@ -0,0 +1,62 @@
|
|||
10
|
||||
|
||||
dir
|
||||
26865
|
||||
svn://svn.openwrt.org/openwrt/packages/net/mii-tool/patches
|
||||
svn://svn.openwrt.org/openwrt
|
||||
|
||||
|
||||
|
||||
2008-04-21T17:58:56.460113Z
|
||||
10902
|
||||
juhosg
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
3c298f89-4303-0410-b956-a3cf2f4a3e73
|
||||
|
||||
001-include_linux_sockios.patch
|
||||
file
|
||||
|
||||
|
||||
|
||||
|
||||
2010-07-24T17:59:57.653388Z
|
||||
b7e234d20c3696d9eac1199bc5da5c4a
|
||||
2008-04-21T17:58:56.460113Z
|
||||
10902
|
||||
juhosg
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
377
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
Index: mii-tool-1.9.1.1/mii-tool.c
|
||||
===================================================================
|
||||
--- mii-tool-1.9.1.1.orig/mii-tool.c
|
||||
+++ mii-tool-1.9.1.1/mii-tool.c
|
||||
@@ -50,6 +50,7 @@ static char version[] =
|
||||
#include <linux/if_arp.h>
|
||||
#include <linux/if_ether.h>
|
||||
#endif
|
||||
+#include <linux/sockios.h>
|
||||
#include "mii.h"
|
||||
|
||||
#define MAX_ETH 8 /* Maximum # of interfaces */
|
|
@ -0,0 +1,12 @@
|
|||
Index: mii-tool-1.9.1.1/mii-tool.c
|
||||
===================================================================
|
||||
--- mii-tool-1.9.1.1.orig/mii-tool.c
|
||||
+++ mii-tool-1.9.1.1/mii-tool.c
|
||||
@@ -50,6 +50,7 @@ static char version[] =
|
||||
#include <linux/if_arp.h>
|
||||
#include <linux/if_ether.h>
|
||||
#endif
|
||||
+#include <linux/sockios.h>
|
||||
#include "mii.h"
|
||||
|
||||
#define MAX_ETH 8 /* Maximum # of interfaces */
|
Loading…
Reference in New Issue