diff -Naur --exclude=.svn freetz-stable-1.0.orig/.config freetz-stable-1.0/.config --- freetz-stable-1.0.orig/.config 1970-01-01 01:00:00.000000000 +0100 +++ freetz-stable-1.0/.config 2009-06-09 14:11:22.000000000 +0200 @@ -0,0 +1,509 @@ +# +# Automatically generated make config: don't edit +# +FREETZ_HAVE_DOT_CONFIG=y + +# +# General -------------------------------- +# +FREETZ_AVM_VERSION_04_70=y +# FREETZ_TYPE_300IP_AS_FON is not set +# FREETZ_TYPE_2170 is not set +# FREETZ_TYPE_FON is not set +# FREETZ_TYPE_FON_5010 is not set +# FREETZ_TYPE_FON_5050 is not set +# FREETZ_TYPE_FON_5140 is not set +# FREETZ_TYPE_FON_WLAN is not set +# FREETZ_TYPE_FON_WLAN_7050 is not set +# FREETZ_TYPE_FON_WLAN_7113 is not set +# FREETZ_TYPE_FON_WLAN_7140 is not set +# FREETZ_TYPE_FON_WLAN_7141 is not set +# FREETZ_TYPE_FON_7150 is not set +FREETZ_TYPE_FON_WLAN_7170=y +# FREETZ_TYPE_FON_WLAN_7240 is not set +# FREETZ_TYPE_FON_WLAN_7270 is not set +# FREETZ_TYPE_WLAN_3020 is not set +# FREETZ_TYPE_WLAN_3030 is not set +# FREETZ_TYPE_WLAN_3130 is not set +# FREETZ_TYPE_WLAN_3131 is not set +# FREETZ_TYPE_WLAN_3170 is not set +# FREETZ_TYPE_WLAN_3270 is not set +# FREETZ_TYPE_SPEEDPORT_W501V is not set +# FREETZ_TYPE_SPEEDPORT_W701V is not set +# FREETZ_TYPE_CUSTOM is not set +# FREETZ_TYPE_ALIEN_HARDWARE is not set +FREETZ_AVM_VERSION_STRING="04.70" +FREETZ_TYPE_LANG_DE=y +# FREETZ_TYPE_LANG_A_CH is not set +# FREETZ_TYPE_LANG_EN is not set +FREETZ_TYPE_LANG_STRING="de" +FREETZ_TYPE_STRING="7170" +FREETZ_INSTALL_BASE=y +FREETZ_REPLACE_BUSYBOX=y +FREETZ_REPLACE_KERNEL_AVAILABLE=y +FREETZ_REPLACE_KERNEL=y +FREETZ_SHOW_ADVANCED=y +FREETZ_TARGET_REF="8mb_26" +FREETZ_KERNEL_REF="8mb_26" +FREETZ_KERNEL_LAYOUT="ohio" +FREETZ_KERNEL_MTD_SIZE=119 +FREETZ_HAS_PHONE=y +FREETZ_HAS_WLAN=y +# FREETZ_HAS_USB_CLIENT is not set +FREETZ_HAS_USB_HOST=y +# FREETZ_HAS_AVM_INETD is not set + +# +# Branding +# +# FREETZ_BRANDING_1und1 is not set +FREETZ_BRANDING_avm=y +# FREETZ_BRANDING_freenet is not set + +# +# Mod ------------------------------------ +# +FREETZ_LANG_DE=y +# FREETZ_LANG_EN is not set +FREETZ_LANG_STRING="de" + +# +# Patches +# +# FREETZ_REMOVE_HELP is not set +# FREETZ_REMOVE_ASSISTANT is not set +# FREETZ_REMOVE_TR069 is not set +# FREETZ_PATCH_DSL_EXPERT is not set +# FREETZ_PATCH_VCC is not set +# FREETZ_PATCH_ENUM is not set +# FREETZ_PATCH_SIGNED is not set +FREETZ_PATCH_USBSTORAGE=y +FREETZ_USBSTORAGE_AUTOMOUNT=y +# FREETZ_AUTOMOUNT_EXT2 is not set +# FREETZ_AUTOMOUNT_EXT3 is not set +# FREETZ_AUTOMOUNT_NTFS is not set +# FREETZ_AUTORUN_AUTOEND is not set +# FREETZ_PATCH_MAXDEVCOUNT is not set +# FREETZ_PATCH_GETCONS is not set +# FREETZ_REMOVE_UPNP is not set +# FREETZ_REMOVE_USERMAN is not set +# FREETZ_REMOVE_FTPD is not set +# FREETZ_REMOVE_MEDIASRV is not set +# FREETZ_REMOVE_SMBD is not set +# FREETZ_REMOVE_MINID is not set +# FREETZ_REMOVE_AURA_USB is not set +# FREETZ_REMOVE_AVM_VPN is not set +# FREETZ_REMOVE_DSLD is not set +# FREETZ_REMOVE_CAPIOVERTCP is not set +# FREETZ_REMOVE_VOIP_ISDN is not set + +# +# Package selection +# + +# +# Standard packages +# +# FREETZ_PACKAGE_BFTPD is not set +# FREETZ_PACKAGE_BIRD is not set +# FREETZ_PACKAGE_BRIDGE_UTILS is not set +# FREETZ_PACKAGE_CALLMONITOR is not set +# FREETZ_PACKAGE_CHECKMAILD is not set +# FREETZ_PACKAGE_CIFSMOUNT is not set +# FREETZ_PACKAGE_CPMACCFG is not set +# FREETZ_PACKAGE_CURL is not set +# FREETZ_PACKAGE_DECO is not set +# FREETZ_PACKAGE_DNSMASQ is not set +FREETZ_PACKAGE_DROPBEAR=y +# FREETZ_PACKAGE_DROPBEAR_SERVER_ONLY is not set +FREETZ_PACKAGE_DROPBEAR_WITH_ZLIB=y +# FREETZ_PACKAGE_DTMFBOX is not set +# FREETZ_PACKAGE_ESPEAK is not set +# FREETZ_PACKAGE_FUSE is not set +# FREETZ_PACKAGE_INETD is not set +FREETZ_PACKAGE_IPROUTE2=y +# FREETZ_PACKAGE_KNOCK is not set +# FREETZ_PACKAGE_MC is not set +# FREETZ_PACKAGE_MINI_FO is not set +# FREETZ_PACKAGE_MTR is not set +# FREETZ_PACKAGE_NANO is not set +# FREETZ_PACKAGE_NETCAT is not set +# FREETZ_PACKAGE_NETSNMP is not set +# FREETZ_PACKAGE_NTFS is not set +# FREETZ_PACKAGE_OPENNTPD is not set +# FREETZ_PACKAGE_OPENVPN is not set +# FREETZ_PACKAGE_PINGTUNNEL is not set +# FREETZ_PACKAGE_PRIVOXY is not set +# FREETZ_PACKAGE_RCAPID is not set +# FREETZ_PACKAGE_SAMBA is not set +# FREETZ_PACKAGE_SCREEN is not set +# FREETZ_PACKAGE_STUNNEL is not set +# FREETZ_PACKAGE_TCPDUMP is not set +# FREETZ_PACKAGE_TOR is not set +# FREETZ_PACKAGE_VPNC is not set +# FREETZ_PACKAGE_VSFTPD is not set + +# +# Web interface +# +# FREETZ_PACKAGE_AVM_FIREWALL is not set +# FREETZ_PACKAGE_DOWNLOADER is not set +# FREETZ_PACKAGE_RRDSTATS is not set +# FREETZ_PACKAGE_SPINDOWN_CGI is not set +# FREETZ_PACKAGE_SYSLOGD_CGI is not set +# FREETZ_PACKAGE_VIRTUALIP_CGI is not set +# FREETZ_PACKAGE_WOL_CGI is not set + +# +# Debug helpers +# +# FREETZ_PACKAGE_LDD is not set +# FREETZ_PACKAGE_LSOF is not set +# FREETZ_PACKAGE_LTRACE is not set +# FREETZ_PACKAGE_NANO_SHELL is not set +FREETZ_PACKAGE_STRACE=y + +# +# Testing +# +# FREETZ_GROUP_APACHE_PHP is not set +# FREETZ_PACKAGE_BASH is not set +# FREETZ_PACKAGE_BIP is not set +# FREETZ_PACKAGE_BLUEZ_UTILS is not set +# FREETZ_PACKAGE_CRYPTSETUP is not set +# FREETZ_PACKAGE_CTORRENT is not set +# FREETZ_PACKAGE_DEBOOTSTRAP is not set +# FREETZ_PACKAGE_DNS2TCP is not set +# FREETZ_PACKAGE_E2FSPROGS is not set +# FREETZ_PACKAGE_EMPTY is not set +FREETZ_PACKAGE_FSTYP=y +# FREETZ_PACKAGE_INADYN_MT is not set +# FREETZ_PACKAGE_INOTIFY_TOOLS is not set +# FREETZ_PACKAGE_IODINE is not set +# FREETZ_PACKAGE_IRSSI is not set +# FREETZ_PACKAGE_JAMVM is not set +# FREETZ_PACKAGE_LYNX is not set +# FREETZ_PACKAGE_LUA is not set +# FREETZ_PACKAGE_MADPLAY is not set +# FREETZ_PACKAGE_MATRIXTUNNEL is not set +# FREETZ_PACKAGE_MODULE_INIT_TOOLS is not set +# FREETZ_PACKAGE_NFSROOT is not set +# FREETZ_PACKAGE_OBEXFTP is not set +# FREETZ_PACKAGE_PPTP is not set +# FREETZ_PACKAGE_PPTPD is not set +# FREETZ_PACKAGE_QUAGGA is not set +# FREETZ_PACKAGE_RRDTOOL is not set +# FREETZ_PACKAGE_RUBY is not set +# FREETZ_PACKAGE_SISPMCTL is not set +# FREETZ_PACKAGE_STREAMRIPPER is not set +# FREETZ_PACKAGE_TINYPROXY is not set +# FREETZ_PACKAGE_TRANSMISSION is not set +# FREETZ_PACKAGE_USBIP is not set +# FREETZ_PACKAGE_USBROOT is not set +# FREETZ_PACKAGE_VIM is not set +# FREETZ_PACKAGE_WGET is not set +# FREETZ_PACKAGE_XRELAYD is not set +# FREETZ_SHOW_UNSTABLE_PACKAGES is not set +FREETZ_PACKAGE_HASERL=y +FREETZ_PACKAGE_MODCGI=y + +# +# Advanced options +# +# FREETZ_DL_OVERRIDE is not set +FREETZ_DL_SITE="ftp://ftp.avm.de/fritz.box/fritzbox.fon_wlan_7170/firmware/deutsch" +FREETZ_DL_SOURCE="FRITZ.Box_Fon_WLAN_7170.29.04.70.image" + +# +# Freetz package download sites +# +FREETZ_MOD_DL_NUM_SITES="5" + +# +# Download site #1 - default: http://freetz.3dfxatwork.de +# +FREETZ_MOD_DL_SITE_1="http://freetz.3dfxatwork.de" + +# +# Download site #2 - default: http://freetz.wirsind.info +# +FREETZ_MOD_DL_SITE_2="http://freetz.wirsind.info" + +# +# Download site #3 - default: http://freetz.magenbrot.net +# +FREETZ_MOD_DL_SITE_3="http://freetz.magenbrot.net" + +# +# Download site #4 - default: empty (reserved for later use) +# +FREETZ_MOD_DL_SITE_4="" + +# +# Download site #5 - user-defined +# +FREETZ_MOD_DL_SITE_5="" +FREETZ_VERBOSITY_LEVEL=2 +FREETZ_FAVICON_NONE=y +# FREETZ_FAVICON_DSL123 is not set +# FREETZ_FAVICON_CUMA is not set +# FREETZ_FAVICON_HANSOLO is not set +FREETZ_FAVICON_STRING="none" +FREETZ_SUBVERSION_STRING=y +FREETZ_DEVELOPER_VERSION_STRING=y +# FREETZ_SQUASHFS_BLOCKSIZE_ORIG is not set +# FREETZ_SQUASHFS_BLOCKSIZE_16384 is not set +# FREETZ_SQUASHFS_BLOCKSIZE_32768 is not set +FREETZ_SQUASHFS_BLOCKSIZE_65536=y +# FREETZ_SQUASHFS_BLOCKSIZE_131072 is not set + +# +# BusyBox options +# +# FREETZ_BUSYBOX_AR is not set +# FREETZ_BUSYBOX_DIFF is not set +# FREETZ_BUSYBOX_INETD is not set +# FREETZ_BUSYBOX_PATCH is not set +# FREETZ_BUSYBOX_START_STOP_DAEMON is not set +FREETZ_BUSYBOX_WGET=y +# FREETZ_BUSYBOX_LESS is not set +# FREETZ_BUSYBOX_NICE is not set +# FREETZ_BUSYBOX_LS_COLOR is not set +# FREETZ_BUSYBOX_FASTPROC is not set +# FREETZ_BUSYBOX_KEYS is not set +# FREETZ_BUSYBOX_BRCTL is not set +# FREETZ_BUSYBOX_UDHCPD is not set +# FREETZ_BUSYBOX_SEQ is not set + +# +# Kernel modules +# +# FREETZ_MODULES_ALL is not set + +# +# crypto +# +# FREETZ_MODULE_aes is not set +# FREETZ_MODULE_arc4 is not set +# FREETZ_MODULE_sha1 is not set +# FREETZ_MODULE_sha256 is not set + +# +# drivers +# +# FREETZ_MODULE_loop is not set +# FREETZ_MODULE_nbd is not set +# FREETZ_MODULE_cdrom is not set +# FREETZ_MODULE_capiconn is not set +# FREETZ_MODULE_nand is not set +# FREETZ_MODULE_ohio_nand is not set +# FREETZ_MODULE_dummy is not set +# FREETZ_MODULE_ppp_async is not set +# FREETZ_MODULE_ppp_deflate is not set +# FREETZ_MODULE_ppp_generic is not set +# FREETZ_MODULE_ppp_mppe_mppc is not set +# FREETZ_MODULE_scsi_mod is not set +# FREETZ_MODULE_sd_mod is not set +# FREETZ_MODULE_sg is not set +# FREETZ_MODULE_sr_mod is not set +# FREETZ_MODULE_slhc is not set +# FREETZ_MODULE_usblp is not set +# FREETZ_MODULE_usb_storage is not set +# FREETZ_MODULE_usbmon is not set +# FREETZ_MODULE_usbcore is not set +# FREETZ_MODULE_usbip is not set +# FREETZ_MODULE_usbip_common_mod is not set +# FREETZ_MODULE_usbserial is not set +# FREETZ_MODULE_pl2303 is not set +# FREETZ_MODULE_ftdi_sio is not set +# FREETZ_MODULE_hci_usb is not set +# FREETZ_MODULE_dm_mod is not set +# FREETZ_MODULE_dm_crypt is not set + +# +# fs +# +# FREETZ_MODULE_cifs is not set +# FREETZ_MODULE_coda is not set +# FREETZ_MODULE_ext3 is not set +# FREETZ_MODULE_ext2 is not set +# FREETZ_MODULE_fat is not set +# FREETZ_MODULE_fuse is not set +# FREETZ_MODULE_jbd is not set +# FREETZ_MODULE_lockd is not set +# FREETZ_MODULE_mini_fo is not set +# FREETZ_MODULE_minix is not set +# FREETZ_MODULE_nfsd is not set +# FREETZ_MODULE_exportfs is not set +# FREETZ_MODULE_nfs is not set +# FREETZ_MODULE_nls_cp437 is not set +# FREETZ_MODULE_nls_cp852 is not set +# FREETZ_MODULE_nls_iso8859_15 is not set +# FREETZ_MODULE_nls_iso8859_1 is not set +# FREETZ_MODULE_nls_utf8 is not set +# FREETZ_MODULE_ntfs is not set +# FREETZ_MODULE_reiserfs is not set +# FREETZ_MODULE_smbfs is not set +# FREETZ_MODULE_udf is not set +# FREETZ_MODULE_unionfs is not set +# FREETZ_MODULE_vfat is not set +# FREETZ_MODULE_msdods is not set +# FREETZ_MODULE_jffs2 is not set +# FREETZ_MODULE_mbcache is not set + +# +# lib +# +# FREETZ_MODULE_crc_ccitt is not set + +# +# net +# +# FREETZ_MODULE_bluetooth is not set +# FREETZ_MODULE_l2cap is not set +# FREETZ_MODULE_bnep is not set +# FREETZ_MODULE_rfcomm is not set +# FREETZ_MODULE_sunrpc is not set +FREETZ_MODULE_sch_cbq=y +FREETZ_MODULE_cls_u32=y + +# +# Shared libraries +# + +# +# Libraries ------------------------------- +# +# FREETZ_LIB_libbluetooth is not set +# FREETZ_LIB_libopenobex is not set + +# +# Crypto & SSL +# + +# +# GnuPG ---------------------------------- +# +# FREETZ_LIB_libgpg_error is not set +# FREETZ_LIB_libgcrypt is not set + +# +# SSL ------------------------------------ +# +# FREETZ_LIB_libcyassl is not set +# FREETZ_LIB_libmatrixssl is not set +# FREETZ_LIB_libxyssl is not set +# FREETZ_LIB_libcrypto is not set +# FREETZ_LIB_libssl is not set + +# +# Data compression +# +# FREETZ_LIB_liblzo2 is not set +FREETZ_LIB_libz=y + +# +# Graphics & fonts +# +# FREETZ_LIB_libfreetype is not set +# FREETZ_LIB_libart_lgpl_2 is not set +# FREETZ_LIB_libjpeg is not set +# FREETZ_LIB_libpng12 is not set + +# +# uClibc +# +FREETZ_LIB_ld_uClibc=y +FREETZ_LIB_libcrypt=y +FREETZ_LIB_libdl=y +FREETZ_LIB_libm=y +FREETZ_LIB_libnsl=y +FREETZ_LIB_libpthread=y +# FREETZ_LIB_libresolv is not set +FREETZ_LIB_librt=y +# FREETZ_LIB_libthread_db is not set +FREETZ_LIB_libuClibc=y +FREETZ_LIB_libutil=y +# FREETZ_LIB_libuClibcxx is not set +FREETZ_LIB_libgcc_s=y +# FREETZ_LIB_libglib is not set + +# +# GLib2 +# +# FREETZ_LIB_libglib2 is not set +# FREETZ_LIB_libgobject2 is not set +# FREETZ_LIB_libgmodule2 is not set +# FREETZ_LIB_libgthread2 is not set + +# +# ncurses +# +# FREETZ_LIB_libncurses is not set + +# +# terminfo database +# + +# +# Select terminfo database entries to install (see help of 'Show all items') +# +# FREETZ_LIB_libterminfo is not set +# FREETZ_LIB_libform is not set +# FREETZ_LIB_libmenu is not set +# FREETZ_LIB_libpanel is not set +# FREETZ_LIB_libcapi20 is not set +# FREETZ_LIB_libcurl is not set +# FREETZ_LIB_libevent is not set +# FREETZ_LIB_libid3tag is not set +# FREETZ_LIB_libmad is not set +# FREETZ_LIB_libpcap is not set + +# +# Readline +# +# FREETZ_LIB_libreadline is not set +# FREETZ_LIB_libhistory is not set +# FREETZ_LIB_libusb is not set +# FREETZ_LIB_libelf is not set +# FREETZ_LIB_libintl is not set +# FREETZ_LIB_libiconv is not set +# FREETZ_LIB_libftdi is not set +# FREETZ_LIB_libsysfs is not set +# FREETZ_LIB_libpopt is not set +# FREETZ_LIB_libdevmapper is not set + +# +# Compiler options +# +FREETZ_DOWNLOAD_TOOLCHAIN=y +# FREETZ_BUILD_TOOLCHAIN is not set +FREETZ_TARGET_CROSS="mipsel-linux-uclibc-" +FREETZ_TARGET_MAKE_PATH="toolchain/target/bin" +FREETZ_TARGET_CFLAGS="-Os -pipe -march=4kc -Wa,--trap" +FREETZ_JLEVEL=2 +FREETZ_KERNEL_CROSS="mipsel-unknown-linux-gnu-" +FREETZ_KERNEL_MAKE_PATH="toolchain/kernel/bin" +FREETZ_KERNEL_VERSION_2_6_13_1=y +# FREETZ_KERNEL_VERSION_2_6_19_2 is not set +FREETZ_KERNEL_VERSION="2.6.13.1" +# FREETZ_TARGET_UCLIBC_VERSION_0_9_28 is not set +FREETZ_TARGET_UCLIBC_VERSION_0_9_29=y +FREETZ_TARGET_GCC_VERSION="4.2.1" +FREETZ_TARGET_UCLIBC_VERSION="0.9.29" +FREETZ_TARGET_BINUTILS_VERSION="2.17.50.0.17" +FREETZ_TARGET_UCLIBC_REF="mod" +# FREETZ_STATIC_TOOLCHAIN is not set +FREETZ_TARGET_GXX=y +# FREETZ_TARGET_CCACHE is not set +# FREETZ_TARGET_NLS is not set +FREETZ_TARGET_LFS=y +FREETZ_KERNEL_GCC_VERSION="3.4.6" +FREETZ_KERNEL_BINUTILS_VERSION="2.17.50.0.17" + +# +# GNU debugger (gdb) +# +# FREETZ_PACKAGE_GDB is not set +# FREETZ_PACKAGE_GDB_SERVER is not set +# FREETZ_PACKAGE_GDB_HOST is not set diff -Naur --exclude=.svn freetz-stable-1.0.orig/kernel/Config.in freetz-stable-1.0/kernel/Config.in --- freetz-stable-1.0.orig/kernel/Config.in 2009-06-10 21:36:08.000000000 +0200 +++ freetz-stable-1.0/kernel/Config.in 2009-06-09 14:10:59.000000000 +0200 @@ -343,4 +343,12 @@ bool "sunrpc.ko" default n +config FREETZ_MODULE_sch_cbq + bool "sch_cbq.ko" + default n + +config FREETZ_MODULE_cls_u32 + bool "cls_u32.ko" + default n + endmenu diff -Naur --exclude=.svn freetz-stable-1.0.orig/make/Config.in freetz-stable-1.0/make/Config.in --- freetz-stable-1.0.orig/make/Config.in 2009-06-10 21:36:20.000000000 +0200 +++ freetz-stable-1.0/make/Config.in 2009-06-09 12:45:01.000000000 +0200 @@ -26,6 +26,7 @@ source make/espeak/Config.in source make/fuse/Config.in source make/inetd/Config.in +source make/iproute2/Config.in source make/knock/Config.in source make/mc/Config.in source make/mini_fo/Config.in diff -Naur --exclude=.svn freetz-stable-1.0.orig/make/iproute2/Config.in freetz-stable-1.0/make/iproute2/Config.in --- freetz-stable-1.0.orig/make/iproute2/Config.in 1970-01-01 01:00:00.000000000 +0100 +++ freetz-stable-1.0/make/iproute2/Config.in 2009-06-09 12:35:47.000000000 +0200 @@ -0,0 +1,5 @@ +config FREETZ_PACKAGE_IPROUTE2 + bool "iproute2" + default n + help + iproute2 is the advanced ip and tc tools \ Kein Zeilenumbruch am Dateiende. diff -Naur --exclude=.svn freetz-stable-1.0.orig/make/iproute2/iproute2.mk freetz-stable-1.0/make/iproute2/iproute2.mk --- freetz-stable-1.0.orig/make/iproute2/iproute2.mk 1970-01-01 01:00:00.000000000 +0100 +++ freetz-stable-1.0/make/iproute2/iproute2.mk 2009-06-09 14:09:05.000000000 +0200 @@ -0,0 +1,34 @@ +$(call PKG_INIT_BIN, 2.6.16-060323) +$(PKG)_SOURCE:=iproute2-$($(PKG)_VERSION).tar.gz +#$(PKG)_DIR:=iproute2-$($(PKG)_VERSION)/$($(PKG)_DIR)/tc +$(PKG)_SITE:=http://devresources.linux-foundation.org/dev/iproute2/download/ +$(PKG)_SOURCE_FILE:=$($(PKG)_DIR)/tc/tc.c +$(PKG)_BINARY:=$($(PKG)_DIR)/tc/tc +$(PKG)_TARGET_BINARY:=$($(PKG)_DEST_DIR)/sbin/tc + +$(PKG_SOURCE_DOWNLOAD) +$(PKG_UNPACKED) +$(PKG_CONFIGURED_NOP) + +$($(PKG)_BINARY): $($(PKG)_DIR)/.configured + PATH="$(TARGET_PATH)" \ + $(MAKE) CC="$(TARGET_CC)" \ + CROSS_COMPILE="$(TARGET_MAKE_PATH)/$(TARGET_CROSS)" \ + EXTRA_CFLAGS="$(TARGET_CFLAGS)" \ + ARCH="mipsel" \ + -C $(IPROUTE2_DIR) + +$($(PKG)_TARGET_BINARY): $($(PKG)_BINARY) + $(INSTALL_BINARY_STRIP) + +$(pkg): + +$(pkg)-precompiled: $($(PKG)_TARGET_BINARY) + +$(pkg)-clean: + -$(MAKE) -C $(IPROUTE2_DIR) clean + +$(pkg)-uninstall: + $(RM) $(IPROUTE2_TARGET_BINARY) + +$(PKG_FINISH) diff -Naur --exclude=.svn freetz-stable-1.0.orig/make/iproute2/Makefile.in freetz-stable-1.0/make/iproute2/Makefile.in --- freetz-stable-1.0.orig/make/iproute2/Makefile.in 1970-01-01 01:00:00.000000000 +0100 +++ freetz-stable-1.0/make/iproute2/Makefile.in 2009-06-09 12:42:15.000000000 +0200 @@ -0,0 +1,3 @@ +ifeq ($(strip $(FREETZ_PACKAGE_IPROUTE2)),y) +PACKAGES+=iproute2 +endif diff -Naur --exclude=.svn freetz-stable-1.0.orig/make/iproute2/patches/001-Makefile.patch freetz-stable-1.0/make/iproute2/patches/001-Makefile.patch --- freetz-stable-1.0.orig/make/iproute2/patches/001-Makefile.patch 1970-01-01 01:00:00.000000000 +0100 +++ freetz-stable-1.0/make/iproute2/patches/001-Makefile.patch 2009-06-09 14:06:49.000000000 +0200 @@ -0,0 +1,20 @@ +--- Makefile.orig 2005-07-09 00:08:47.000000000 +0200 ++++ Makefile 2009-06-09 14:02:37.000000000 +0200 +@@ -10,7 +10,7 @@ + DEFINES= -DRESOLVE_HOSTNAMES + + #options if you have a bind>=4.9.4 libresolv (or, maybe, glibc) +-LDLIBS=-lresolv ++#LDLIBS=-lresolv + ADDLIB= + + #options for decnet +@@ -27,7 +27,7 @@ + + LDLIBS += -L../lib -lnetlink -lutil + +-SUBDIRS=lib ip tc misc netem ++SUBDIRS=lib ip tc + + LIBNETLINK=../lib/libnetlink.a ../lib/libutil.a + diff -Naur --exclude=.svn freetz-stable-1.0.orig/root/etc/init.d/rc.mod freetz-stable-1.0/root/etc/init.d/rc.mod --- freetz-stable-1.0.orig/root/etc/init.d/rc.mod 2009-06-10 21:36:08.000000000 +0200 +++ freetz-stable-1.0/root/etc/init.d/rc.mod 2009-06-10 20:01:47.000000000 +0200 @@ -20,6 +20,7 @@ /etc/init.d/rc.crond /etc/init.d/rc.telnetd /etc/init.d/rc.webcfg + /etc/init.d/rc.tc if [ -e /etc/static.pkg ]; then for pkg in $(cat /etc/static.pkg); do diff -Naur --exclude=.svn freetz-stable-1.0.orig/root/etc/init.d/rc.tc freetz-stable-1.0/root/etc/init.d/rc.tc --- freetz-stable-1.0.orig/root/etc/init.d/rc.tc 1970-01-01 01:00:00.000000000 +0100 +++ freetz-stable-1.0/root/etc/init.d/rc.tc 2009-06-10 20:02:00.000000000 +0200 @@ -0,0 +1,19 @@ +#!/bin/sh + +DEV=eth0 +DEV=tiwlan0 +TC=tc +RATE=768kbit + +# erase all old +$TC qdisc del dev $DEV root + +# set new +modprobe cls_u32 + +$TC qdisc add dev $DEV root handle 1: cbq avpkt 1000 bandwidth 10mbit +$TC class add dev $DEV parent 1: classid 1:1 cbq rate $RATE \ + allot 1500 prio 5 bounded isolated + +$TC filter add dev $DEV parent 1: protocol ip prio 16 u32 \ + match ip dst 0.0.0.0/0 flowid 1:1