Commit Graph

9796 Commits (7cea5ae5de67f01a4db9528fdc6e04670ffe4ff2)

Author SHA1 Message Date
Felix Fietkau 4c8c6257d4 uhttpd: fix another small hang issue with the same symptoms
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35291 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-22 09:38:00 +00:00
Felix Fietkau fbfc90de7d uhttpd: fix connection hangs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35290 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-22 09:28:55 +00:00
Felix Fietkau d7496d57df tcpdump: add SLL parsing support to tcpdump-mini, use -ffunction-sections, -fdata-sections and --gc-sections to reduce size
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35288 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-22 07:51:15 +00:00
Jo-Philipp Wich fa2240a9bb base-files: network.sh: fix typo in previous commit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35287 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-21 19:02:38 +00:00
Jo-Philipp Wich 4f988432cb base-files: network.sh: simplify network_get_prefix6()
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35286 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-21 18:54:58 +00:00
Felix Fietkau 9e2b006414 uhttpd: fix unencrypted passwords in httpd.conf
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35265 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-21 12:46:41 +00:00
Felix Fietkau cea37da121 ath9k: add support for more antenna mask combinations on AR93xx
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35264 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-21 12:46:37 +00:00
Steven Barth 7057d10c26 6relayd: fix shell library includes in init-script
Thanks to Daniel Golle

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35262 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-21 11:27:03 +00:00
Steven Barth 180a1254ca 6relayd: avoid a race-condition with looping RAs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35260 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-21 10:42:31 +00:00
Steven Barth 98901eabf5 netifd: Fix segfaults in IPv6 prefix handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35259 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-21 09:21:30 +00:00
Steven Barth 7b90a50edb odhcp6c: Fix address assignment with infinite validity
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35258 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-21 07:58:58 +00:00
Felix Fietkau 6c5a013f22 uhttpd: fix selecting the right ustream implementation when openssl is to be used (#12857)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35257 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-20 21:15:43 +00:00
Felix Fietkau b56cf99bb9 ath9k: merge another round of cleanups and stability fixes, refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35255 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-20 18:33:21 +00:00
Felix Fietkau 9099dc3b63 netifd: update to latest version, fixes alias support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35251 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-20 15:47:09 +00:00
Felix Fietkau e92abf2362 network/iproute2: Bump version to 3.7.0
Updated to latest stable version and added an upstream patch to handle
a link failure

Signed-off-by: Oliver Smith <olipro@8.c.9.b.0.7.4.0.1.0.0.2.ip6.arpa>
[dgolle@allnet.de: refreshed patches]
Signed-off-by: Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35250 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-20 11:25:18 +00:00
Felix Fietkau b5a9786bc0 uhttpd: update to a newer version, fixes chunked transfer on some POST requests
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35249 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-19 22:55:46 +00:00
Felix Fietkau 2f518a61da uhttpd: switch to uhttpd2, it is now feature complete
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35247 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-19 18:47:09 +00:00
Jo-Philipp Wich d5203450e1 netifd: add a band-aid fix for the wifi setup vs. netifd init race by increasing the wait time to five seconds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35240 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-19 10:13:14 +00:00
Jo-Philipp Wich 4dce17cf63 busybox: add an upstream ntpd fix (#12841)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35239 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-19 10:11:34 +00:00
Steven Barth 2a6b173e6d ipv6-support: adapt UCI defaults to new ordering
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35219 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-18 12:52:51 +00:00
Jo-Philipp Wich 111a88c94b base-files: use numerically prefixed uci-defaults names
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35218 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-18 12:46:43 +00:00
Steven Barth edeb64dc65 odhcp6c: Fix parsing more than one DNS server
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35215 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-18 08:21:35 +00:00
Steven Barth 1184a39eb6 ipv6-support: Rename enable-ipv6 UCI defaults
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35205 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-17 16:16:06 +00:00
Steven Barth 15eb7e1cb6 base-files: rename ULA generation script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35204 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-17 16:16:02 +00:00
Jo-Philipp Wich ad5b8fca45 xtables-addons: rework uid/gid compat patch to use KUIDT_INIT() and KGIDT_INIT() macros
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35203 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-17 16:05:30 +00:00
Jo-Philipp Wich dc2e5bd944 xtables-addons: move to package/, add myself as maintainer
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35193 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-17 12:29:26 +00:00
Felix Fietkau 0d7861511b kernel: 8250.ko is called 8250_core.ko on linux 3.7+, fixes package/kernel build error in snapshot builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35190 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-17 09:08:09 +00:00
Steven Barth 777625776a odhcp6c: Detect a different MAC if interface has none
* Fixes DHCPv6 behaviour over PPP and similar

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35189 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-17 08:29:01 +00:00
Steven Barth 3e08305deb ppp: don't automatically set IPv6 default route
* Fixes "ndisc_router_discovery() failed to add default route"

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35188 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-17 08:28:57 +00:00
Steven Barth 06527bee18 netifd: @aliases use layer 3 devices instead of main devices
Fixes dhcpv6 protocol alias

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35187 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-17 08:28:51 +00:00
Florian Fainelli c8c55991b4 kernel: allow building kmod-rtc-marvell for mvebu target
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35177 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-15 19:55:26 +00:00
Steven Barth 4713aef3ff ipv6-support: Switch to native IPv6 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35174 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-15 13:08:19 +00:00
Steven Barth ca6e8fdcec 6rd: add support for native IPv6 prefix handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35173 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-15 13:08:14 +00:00
Steven Barth cbfa80a7d3 6to4: add support for native IPv6 prefix handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35172 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-15 13:08:10 +00:00
Steven Barth 80abeea6ad 6in4: add support for native IPv6 prefix handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35171 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-15 13:08:05 +00:00
Steven Barth d9d045a475 6relayd: add suitable default configuration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35170 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-15 13:08:00 +00:00
Steven Barth 326a6a6193 6distributed: Remove obsolete service (replaced by netifd)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35169 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-15 13:07:56 +00:00
Steven Barth b04bf87a8d base-files: add support for ipv6-prefixes in connection with netifd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35168 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-15 13:07:51 +00:00
Steven Barth ddc921275c netifd: Introduce native IPv6 prefix-handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35167 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-15 13:07:41 +00:00
Gabor Juhos 7f75ce2336 package/kernel: move input modules into a separate submenu
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35161 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-14 18:18:03 +00:00
Felix Fietkau 99c603b264 kernel: make sure that packages are generated for built-in crypto modules to avoid dependency errors with kmod-crypto-core on 3.7
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35158 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-14 17:09:16 +00:00
Florian Fainelli 13a8637676 kernel: avoid recursive dependency caused by kmod-i2c-mv64xxx
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35157 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-14 17:03:45 +00:00
Jo-Philipp Wich 16345d0356 netfilter.mk: add addrtype match to iptables-mod-extra (kmod-ipt-extra)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35155 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-14 16:12:56 +00:00
Felix Fietkau 71abb04e4b ath9k: fix a soft lockup on smp systems
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35152 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-14 15:58:46 +00:00
Felix Fietkau 46e56ff4d0 ath9k: remove a lock to fix a deadlock on hw reset
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35147 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-14 09:51:53 +00:00
Felix Fietkau b35a5a31cd mac80211: fix monitor mode injection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35145 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-13 22:10:14 +00:00
Gabor Juhos 6cbd4dde8a mac80211: rt2x00: fix PCI eeprom patch
Fixes the following warnings:

  CC [M] <...>/drivers/net/wireless/rt2x00/rt2800pci.o
<...>/drivers/net/wireless/rt2x00/rt2800pci.c: In function 'rt2800pci_read_eeprom_file':
<...>/drivers/net/wireless/rt2x00/rt2800pci.c:95:2: warning: 'return' with a value, in function returning void [enabled by default]
<...>/drivers/net/wireless/rt2x00/rt2800pci.c: In function 'rt2800pci_read_eeprom':
<...>/drivers/net/wireless/rt2x00/rt2800pci.c:994:2: warning: 'retval' may be used uninitialized in this function [-Wuninitialized]

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35143 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-13 20:44:14 +00:00
Jo-Philipp Wich 7522fdc608 libnfnetlink: update to v1.0.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35142 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-13 19:49:06 +00:00
Jo-Philipp Wich 8fb906d2d2 ubus: update to git head, passes u64 blob types as doubles to Lua
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35141 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-13 19:49:01 +00:00
Jo-Philipp Wich fdcfda2ae8 netifd: update to git head, adds 64bit counters
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35140 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-13 19:48:52 +00:00
Felix Fietkau c0ba491f01 ath9k: fix memory corruption issues on ar5416/ar91xx
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35139 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-13 18:55:39 +00:00
Steven Barth 8b19f35255 odhcp6c: Send RS on start
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35137 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-13 18:06:24 +00:00
Steven Barth 24df9aecc1 odhcp6c: Add preliminary proto-handler
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35135 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-13 17:35:09 +00:00
Steven Barth c5752d0129 ipv6-support: don't use disable_ipv6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35134 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-13 17:25:43 +00:00
Steven Barth ae972de3fb 6relayd: Rewrite init-script logic
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35133 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-13 17:25:38 +00:00
Felix Fietkau 8953f9e8d7 add ustream-ssl, an ustream abstraction library for SSL stream sockets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35131 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-13 15:57:05 +00:00
Felix Fietkau 6c81472528 libubox: update to latest version, adds small blobmsg enhancements and license fixes - package is now ISC/BSD-3c
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35128 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-13 14:31:27 +00:00
Felix Fietkau 4cd763cb53 kernel: make kmod-ledtrig-usbdev depend on usb core support instead of selecting it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35120 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-12 13:21:08 +00:00
Felix Fietkau 2e12554148 mac80211: fix enabling HT40-
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35096 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-11 13:24:20 +00:00
Vasilis Tsiligiannis d16f38ce7a [package] base-files: Don't pass '--set-worker /lib/hotplug2/worker_fork.so' to hotplug2 (#12781)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35095 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-11 13:20:51 +00:00
Felix Fietkau 787f29add7 mac80211: add a fix for ht40 connections
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35094 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-11 11:49:11 +00:00
Felix Fietkau 499fa67774 ath9k: add updated tx gain tables, fixes stability issues on TL-WDR4300 and other devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35089 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-10 18:46:36 +00:00
Felix Fietkau 118a4cd196 ath9k: add some calibration fixes from wireless-testing
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35081 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-10 14:09:50 +00:00
Florian Fainelli 19ef28eb3b toolchain: fix libpthread package for musl based toolchains (#12651)
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35069 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-09 15:36:43 +00:00
Felix Fietkau 6ae52f05eb ath9k: correct a logic error in the rx path fix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35067 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-09 15:16:52 +00:00
Felix Fietkau 3d243e744e mac80211, ath9k: merge some pending fixes from linux-wireless@
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35066 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-09 12:56:25 +00:00
Felix Fietkau 83842c1fc6 mac80211: update to 2013-01-07, add several ath9k stability fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35063 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-09 12:45:28 +00:00
Florian Fainelli 6fbb9313b6 kernel: add kmod-mvsdio MMC host controller for Marvell targets
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35061 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-08 22:20:30 +00:00
Florian Fainelli ae783bbce7 kernel: make kmod-of-i2c available for the mvebu target
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35060 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-08 22:20:25 +00:00
Florian Fainelli 6ed10f74d2 kernel: adjust orion/kirkwood packages to also build for mvebu target
Armada XP/370 boards share these hardware blocks with Orion and Kirkwood
SoCs.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35059 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-08 22:20:21 +00:00
Florian Fainelli 44cf7625b0 kernel: add more SCTP related configuration symbols
These symbols are used by 3.8+ kernels

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35054 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-08 22:18:23 +00:00
Felix Fietkau d9f9ef4ef9 mac80211: apply network interface configuration for adhoc + wpa2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35049 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-07 21:12:33 +00:00
Florian Fainelli 991f750018 ncurses: fix typo on INSTALL_LIBSTDCPP configuration symbol
Thanks to kyak for spotting this

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35047 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-07 18:19:31 +00:00
Mirko Vogt e729fd3640 [package/boot/uboot-xburst] fix typo in Makefile
Thanks to Stefan Hellermann for pointing this out!

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35042 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-07 17:11:15 +00:00
Felix Fietkau 156686ddcf libubox: update to latest version, contains several uloop/ustream fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35039 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-07 15:25:03 +00:00
Mirko Vogt 130b30fbba This patch updates uboot-xburst from 2009.11 to 2012.10-rc2 - Ingenic SoC support went upstream
Summary:
* remove all files/* (since merged to upstream)
* patches on nand-spl, mmc and lcd driver

Thanks a lot to Xiangfu Liu!

Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35034 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-07 14:10:01 +00:00
Vasilis Tsiligiannis 16b08bfc59 [package] zram-swap: Install init script with 0755 mode
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35033 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-07 12:01:11 +00:00
Jo-Philipp Wich a4e7f8c157 kernel: fix kmod-ipsec load order (#12552)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35032 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-07 10:54:56 +00:00
Hauke Mehrtens 4e78e2ca42 zram-swap: make the zram init.d executable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35028 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-06 20:23:49 +00:00
Hauke Mehrtens e9450bb64f compcache: remove package, use zram-swap instead
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35026 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-06 17:14:53 +00:00
Hauke Mehrtens 71830c60f7 zram: add package to use compressed ram disk for swap
The busybox size is increased by 3.2KByte uncompressed on bcm47xx with 
this commit.

This zram-swap automatically creates a zram device, a swap partition on 
it and make the kernel swap pages to it.

Thank you Bastian Bittorf <bittorf@bluebottle.com> for idea and the 
script.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35025 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-06 16:21:29 +00:00
Felix Fietkau ab3ff6e46b kernel: add a module for the isl1208 rtc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35022 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-06 15:09:43 +00:00
John Crispin 3dad88cbb5 [kernel] fix regmap debloat patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35015 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-05 00:20:05 +00:00
Felix Fietkau 0e41af577f mac80211: add dependency of PACKAGE_MAC80211_DEBUGFS
I wanted to use some statistics from /sys/kernel/debug/ieee80211,
so I enabled PACKAGE_MAC80211_DEBUGFS.  But I could not use it,
because CONFIG_KERNEL_DEBUG_FS was not set and it's a little bit
hidden. After manually setting CONFIG_KERNEL_DEBUG_FS to y,
everything was fine. This patch automatically selects
CONFIG_KERNEL_DEBUG_FS if PACKAGE_MAC80211_DEBUGFS is set.

Additionally, the help text says "Say N unless you know you need this.",
but it's default y. This help text is copied verbatim from the
kernel's Kconfig and not true for us. So remove this part of the
help text

Signed-off-by: Stefan Hellermann <stefan@the2masters.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35014 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-04 17:41:23 +00:00
Felix Fietkau 32d1003a5d uci: update to latest version, adds list delete, removes unused plugin support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35013 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-04 16:10:17 +00:00
Steven Barth d2072402f7 firewall: Add ULA site border for IPv6 traffic
This prevents private traffic from leaking out to the internet

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35012 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-04 15:59:28 +00:00
Jo-Philipp Wich 7e0eb5f61c iwinfo: don't use the txpower value from debugfs for now, it does not match the values reported via wext
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35007 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-04 14:08:08 +00:00
John Crispin 902905286e [libiwinfo-lua] don't depend on lua
Delete +lua from libiwinfo-lua.

Signed-off-by: Stefan Hellermann <stefan@the2masters.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35005 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-04 09:32:06 +00:00
Hauke Mehrtens f57bb848e9 mac80211: b43: add firmware for HT-PHY by default.
remove firmware for LP-Phy core rev 14, I have never seen such a device.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35000 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-03 18:52:08 +00:00
Felix Fietkau 1691223d48 kernel: move regmap bloat out of the kernel image if it is only being used in modules
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34999 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-03 18:39:50 +00:00
Felix Fietkau d774dfa969 add kmod-fs-configfs to replace kernel bloat added by selecting kmod-mmc-over-gpio
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34998 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-03 18:04:04 +00:00
Hauke Mehrtens 48aaa4ce65 broadcom-diag: add diag support for Linksys E1000 V1
This adds diag leds/buttons support for Linksys E1000 V1. It worked on
my router, however it may need some tweaking by people more familiar
with openwrt and c to make it fit for commiting.

Thank you hhm for this patch.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34996 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-03 02:07:11 +00:00
Hauke Mehrtens 207fa73846 brcm47xx: build b44 as a module
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34994 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-03 02:00:25 +00:00
Hauke Mehrtens c16de866d5 switch: ROBO Switch Gigabit MII Support
I wrote this patch some time ago because I had a need for one of the
Gigabit ports (Linksys E3000) to be forced to 100FD.  This is based
on the robocfg sources included w/ the RT-N16 sources from ASUS.
Since work is progressing on a BGMAC driver that could be included in
OpenWRT, this may be useful to someone else.

In testing, forcing the speed to 10/100 or 1000 worked fine; however,
when trying to force full-duplex mode, the result was always
half-duplex.  I was not able to isolate the source of the problem
(this patch, driver or H/W limitation).  The only way I could get it
to work was to set the port to Auto, but then only advertise 100FD
(not included in this patch).

I have a modified version of the robocfg package as well, I'd have to
clean it up a little first (remove the full-duplex hack) before
submitting it if there is interest.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34992 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-03 01:58:01 +00:00
Hauke Mehrtens 477d74b42b switch: improve error messages
This is in part based on a patch send by Nathan Hintz <nlhintz@hotmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34991 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-03 01:57:19 +00:00
Hauke Mehrtens 880dc8381a brcm47xx: add a new version of the nvram rewrite patch
This is the version like it was send for mainline inclusion.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34988 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-03 01:53:30 +00:00
Steven Barth e1c79f5058 ipv6-support: Update iteration
* Add support for blocking forwarding while address assignments
* Fix relay restarting function

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34985 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-02 23:05:44 +00:00
Steven Barth 1e7f1c6ab7 odhcp6c: Add support for SNTP and SIP options
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34984 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-02 23:05:39 +00:00
Steven Barth 8ed0bcabf0 6relayd: Announce RDNSS and DNSSL via RA
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34983 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-02 23:05:35 +00:00
Jo-Philipp Wich 5dcb273a97 iwinfo: replace more wext calls with nl80211 equivalents, attempt to infer nl80211 tx power from debugfs before querying wext
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34982 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-02 19:10:29 +00:00
Felix Fietkau 00b8e3793b ath9k: disable TX_IQ_ON_AGC_CAL on AR934x, should improve stability
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34979 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-02 17:37:30 +00:00
Jo-Philipp Wich ec20bc2d5d sysupgrade: clarify online help
Fixes #12346.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34975 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-02 16:21:30 +00:00
Jo-Philipp Wich 21df4e7130 sysupgrade: do not require an extra argument after --restore-backup
Neither --create-backup nor --restore-backup need an image name (following
the backup filename). Treat them in uniform way.

Mostly fixes #12346.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34974 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-02 16:21:26 +00:00
Jo-Philipp Wich 64324ccfca dnsmasq: allow dhcp host entries without mac addresses (#11928)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34971 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-02 15:14:19 +00:00
Jo-Philipp Wich 090f7dbbad lldpd: various enhancements
- introduce "list interface" options to specify the ifaces to listen on, takes uci- or network device name
	- set the default system description to distrib @ hostname, e.g. "OpenWrt Barrier Breaker r34744 @ vbox"
	- introduce "option lldp_description" to override the automatically generated description

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34970 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-02 14:35:43 +00:00
John Crispin d1c1b7bdd8 Remove remaining etrax references
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34968 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-02 11:28:11 +00:00
John Crispin 88f49b517b [kernel] fix typo in HFS kernel module
Signed-off-by: Ian Leonard <antonlacon@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34963 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-02 10:29:45 +00:00
John Crispin 4fd71cb4c3 [mac80211] fixes libertas firmware install path
fixes #12712

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34961 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-02 10:08:54 +00:00
John Crispin 4cb8191681 [kernel] fix video modules package generation
The folder layout changed between 3.6 and 3.7

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34960 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-02 09:43:07 +00:00
Steven Barth c1e3448510 6relayd: Detect changes of default routes for RAs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34958 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-01 21:41:37 +00:00
Steven Barth 269ae87c6f ipv6-support: Remove unnecessary code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34957 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-01 21:41:32 +00:00
Gabor Juhos 8d62993e1f package/kernel: select crypto-sha256 for cifs on 3.7+
Based on a patch from #12711

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34956 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-01 19:04:20 +00:00
Gabor Juhos d92a67bfa5 package/kernel: create separate package for the sha256 crypto module
Based on a patch from #12711

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34955 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-01 19:04:17 +00:00
Steven Barth d87be0cd09 ipv6-support: Fix typo in dhcpv6-script
* thanks to KarlHegbloom for reporting

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34940 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-31 09:38:59 +00:00
Hauke Mehrtens b3759e07e0 rtc-rv5c386a: fix compilation for kernel >= 3.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34938 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-30 15:32:53 +00:00
Hauke Mehrtens acbd0b6c21 acx-mac80211: fix compilation
Some header files from mac80211 are now moved to the uapi dir.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34937 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-30 15:28:28 +00:00
Felix Fietkau a50e37f61d uci: disable parallel builds again, the lua<->libuci dependency is not safe
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34936 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-30 14:58:37 +00:00
Steven Barth fc35fadc1b ipv6-support: Use more consistent default values
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34913 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-29 10:12:31 +00:00
Felix Fietkau 52db048af3 mac80211: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34911 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-28 21:05:57 +00:00
Felix Fietkau ff6fdc0f9b mac80211: assume 2-byte aligning for 802.11 packets, slightly improves code size and performance
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34910 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-28 21:05:49 +00:00
Steven Barth 7bd61ec3c9 ipv6-support: Updated functionality
* Add site-border feature again
* Add option to always announce a default router

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34908 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-28 12:02:22 +00:00
Steven Barth fc3fe40330 6distributed: Add null-route for delegated prefix
* Fixes forwarding loops for unused subprefixes

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34907 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-28 12:02:17 +00:00
Steven Barth d9720b53f1 6relayd: Announce DNS search domain via DHCPv6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34906 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-28 12:02:12 +00:00
Felix Fietkau 29e5082560 uci: update to latest version (adds list delete support), enable parallel build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34899 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-27 17:37:10 +00:00
Steven Barth 1f93761a65 ipv6-support: Remove site-border feature
* was causing routing problems
* will be reimplemented using firewall

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34898 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-27 15:47:53 +00:00
Steven Barth 97f157187d Remove site-border routing filter due to problems
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34897 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-27 15:47:47 +00:00
Steven Barth 81dbe78117 ipv6-support:
* Automatically detect and propagate MTU from upstream interfaces
* Add site-border feature (RFC 6204, ULA-4)
* Fix a typo

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34896 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-27 14:10:17 +00:00
Steven Barth 969eddef42 6distributed: feature update
* Add feature to decrease IPv6-specific MTU on-demand
* Add commands to enable / disable a site-border

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34895 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-27 14:10:12 +00:00
Steven Barth 5d14d45927 6relayd: Advertise IPv6-specific MTU instead of generic
* Fixes announced MTU when using tunnels

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34894 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-27 14:10:07 +00:00
Steven Barth 625d2318ae base-files: Fix a typo in config_list_foreach
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34893 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-27 14:10:01 +00:00
Jo-Philipp Wich a6a3bd8d57 base-files: ipcalc.sh: fix broken calculations on 64bit systems
Calculate complements by using awk's xor() function with a mask of 0xffffffff
instead of relying on the compl() function which appears to produce broken
results on certain 64bit architectures.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34875 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-23 22:18:43 +00:00
Steven Barth dd4befa7e2 ipv6-support: Fix default RA settings for dnsmasq
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34873 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-23 18:22:48 +00:00
Felix Fietkau 1c2e2fe906 busybox: (vconfig) do not attempt to open /proc/net/vlan/config for no good reason (fixes #12663)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34872 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-23 10:59:57 +00:00
Felix Fietkau da6849d9ab opkg: keep package list files compressed when src/gz is used, reduces tmpfs usage
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34869 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 19:31:37 +00:00
Felix Fietkau dd07d18592 dropbear: convert init script to procd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34867 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 18:56:13 +00:00
Felix Fietkau d8c3a7ef19 base-files: add basic procd integration, let procd start (and restart) ubus instead of having an ubus init script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34866 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 18:56:09 +00:00
Felix Fietkau 56e6c5df09 procd: add initial implementation
procd is the new OpenWrt process management daemon. It keeps track of processes
started from init scripts (via ubus calls), and can suppress redundant service
start/restart requests when the config/environment has not changed.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34865 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 18:56:06 +00:00
Felix Fietkau 16e46a4dd8 libnl-tiny: add includedir to pkg-config cflags
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34864 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 18:56:01 +00:00
Felix Fietkau eca53dd739 dropbear: use network_get_device instead of scan_interfaces to get the device name
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34863 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 18:55:57 +00:00
Steven Barth 0e4a0f7b38 ipv6-support: Preliminary support for dnsmasq >=2.66
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34858 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 13:00:53 +00:00
Steven Barth 70a28cb7bb 6relayd: Fix detection of prefix changes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34857 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 13:00:49 +00:00
Steven Barth c350703d01 odhcp6c: Fix build on arch where char is unsigned
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34856 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 13:00:45 +00:00
Steven Barth 497a2434ad 6distributed: Improve prefix deprecation algorithm
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34855 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 13:00:40 +00:00
Gabor Juhos 7fe8ed80bf package/kernel: remove obsolete CONFIG_USB_[EO]HCI_RT3883=y symbols
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34844 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 12:11:09 +00:00
John Crispin d417c0b4fe [gpio-button-hotplug] add OF binding
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34834 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-21 20:03:49 +00:00
John Crispin 211751d6f9 [lantiq] adsl firmware in wrong submenu
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34819 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-21 13:47:30 +00:00
John Crispin 3ac632e1dd [lantiq] minor cleanup for adsl firmware handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34818 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-21 13:47:25 +00:00
John Crispin a07a9a8200 [lantiq] properly symlink the adsl firmware
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34817 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-21 13:47:20 +00:00
Mirko Vogt 1a59d79237 [package/base-files] hot-fix nameclash in sysupgrade: rename pivot() to supivot() in sysupgrade
Sysupgrade defines its very own pivot() function.
Prior merging boot.sh and functions.sh sysupgrade just included boot.sh,
now it includes functions.sh which defines pivot() as well, however
slightly different which causes sysupgrade to fail.

This is a hot-fix to unbreak sysupgrade, however those two pivot()
functions should actually get merged.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34815 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-21 12:10:21 +00:00
Luka Perkov b0eb2879af [package] base-files: we don't need /etc/functions.sh symlink anymore
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34802 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-20 15:15:30 +00:00
Mirko Vogt 4f4f7ca182 merge /lib/functions/boot.sh and /lib/functions.sh
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34794 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-19 16:07:53 +00:00
Mirko Vogt fd18877418 Do not overload mount-call - trying to reduce confusion
The behaviour of calling 'mount' differed depending on whether it called
the busybox-mount, the mount of util-linux, the mount defined in
/lib/functions.sh and /lib/functions/boot.sh

/etc/preinit even included /lib/functions.sh and /lib/functions/boot.sh,
both re-defining 'mount'.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34792 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-19 16:07:46 +00:00
Mirko Vogt 667779e4f8 change prefix for util-linux binaries from / to /usr
The prefix / causes executables like mount, umount, etc. to be placed
in /bin /sbin which therewith replace the busybox symlinks.
mount and umount e.g. are linked again libmount.so.

This is e.g. fatal during a sysupgrade, where /bin/mount,
/bin/umount, etc. but not libmount.so get copied into a ramdisk
which will result in non working executables within the ramdisk.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34791 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-19 16:07:42 +00:00
Jo-Philipp Wich 6d12ce8a24 block-mount: add a delay between sto pand start in fstab init restart action, fixes a lock race condition observed in VirtualBox
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34784 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-19 09:41:28 +00:00
John Crispin ab19d67c09 ltq-hcd usb fix high speed hub mode
Simple update for USB api changes.

Signed-off-by: Conor O'Gorman <i@conorogorman.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34770 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-18 19:31:46 +00:00
Gabor Juhos b52a4171cc ipset: update to 6.16.1 to fix build with kernel 3.7
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34752 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-18 14:50:44 +00:00
Gabor Juhos 9958bb049f kernel: fix module names for crypto modules in 3.7
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34751 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-18 14:50:43 +00:00
Felix Fietkau 76bae84957 libubox: fix a jshn array sequence counter bug, fixes some network.sh issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34746 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-18 13:08:50 +00:00
Felix Fietkau be621b6356 netifd: update to latest version, fixes interface error reporting for shell proto handlers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34741 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-17 22:24:31 +00:00
Felix Fietkau d28fdf7e93 ncurses: fix build error in libncursesw
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34739 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-17 15:11:47 +00:00
Felix Fietkau 68e9783897 sierra-directip: delete, replaced by upstream drivers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34738 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-17 15:11:43 +00:00
Felix Fietkau 59de6c0111 netifd: update to latest version, no longer needs the removed jshn_append() shell function
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34734 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-17 14:57:15 +00:00
Jo-Philipp Wich 2e6a28720c base-files: use json_is_a() in network.sh
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34733 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-17 13:07:42 +00:00
Jo-Philipp Wich ed8ca02154 libubox: update to latest git head, introduces jshn json_is_a() helper
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34732 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-17 13:07:38 +00:00
Jo-Philipp Wich 8b39aa4636 base-files: rework cache handling in network.sh to keep the entire parsed ifstatus, use jshn namespaces to support using it concurrently with other jshn users
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34725 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-16 20:17:18 +00:00
Felix Fietkau 72280d14cc libubox: another jshn update, fixes array handling issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34723 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-16 18:59:01 +00:00
Jo-Philipp Wich b1c39b2c14 base-files: various enhancements to network.sh
- support reading inactive gateways and DNS information in
	  network_get_gateway(), network_get_dnsserver() and network_get_dnssearch()
	  by passing "true" as optional last argument
	- internally cache fetched values to speed up subsequent accesses to the same
	  data, introduce network_flush_cache() to clear them
	- add some inline function documentation

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34722 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-16 18:22:02 +00:00
Felix Fietkau 8389e38c46 libubox: fix some jshn variable handling regressions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34720 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-16 17:05:46 +00:00
Felix Fietkau 5943a6d8c3 libubox: update to latest version, adds jshn namespace support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34718 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-16 16:49:47 +00:00
Felix Fietkau 511f2b5f6d wpa_supplicant.sh: always use parameters from the current section
Using variables from the outer scope unnecessarily complicates the code and
leads to issues.

This patch fixes the bug when having an "adhoc" wifi-iface section before a
"sta" section prevents wpa_supplicant from using the key specified in the
corresponding section as it tries to use the "adhoc" key instead (1 by
default).

Signed-off-by: Paul Fertser <fercerpav@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34716 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-16 13:23:37 +00:00
John Crispin 631fa2c18c [include] fixes uapi helper define
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34715 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-16 11:04:27 +00:00
Felix Fietkau 5f136d1d2b kernel: add a module for ipv6 gre
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34709 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-15 21:59:56 +00:00
Felix Fietkau 692ebc4524 ubus: update to latest version, fixes request timeout handling issues, hangs on lots of requests, adds object notification support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34705 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-15 17:19:29 +00:00
Felix Fietkau a9600d7cae netifd: call /etc/udhcp.user from the netifd dhcp.script
This was done previously when dhcp was handled by the network scripts.
So netifd should behave the same.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34704 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-15 17:19:24 +00:00
John Crispin 53ccbdf3f1 [lantiq] allow to load only 1 usb port on AR9 / VR9
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34700 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-15 11:01:05 +00:00
John Crispin 8b01a37718 [lantiq] move voice packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34695 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-15 02:00:45 +00:00
John Crispin cc2dee64f0 [lantiq] move ltq-adsl-tool
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34694 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-15 02:00:39 +00:00
John Crispin 2218caeed3 [lantiq] move ltq-adsl
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34693 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-15 02:00:33 +00:00
John Crispin bb0a7ef4d8 [lantiq] move ltq-ifxos
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34692 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-15 02:00:26 +00:00
John Crispin cf52d3d0c8 [lantiq] add ltq-ptm
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34690 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-15 02:00:13 +00:00
John Crispin 1e83d38b96 [lantiq] add ltq-deu
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34689 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-15 02:00:05 +00:00
John Crispin 0c60875d34 [lantiq] add ltq-hcd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34688 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-15 01:59:53 +00:00
John Crispin 39d02a1398 [lantiq] fixes uboot dependency
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34686 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-15 01:59:35 +00:00
John Crispin 98f385de49 [kernel] add crypto-pcompress
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34685 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-15 01:59:29 +00:00
John Crispin 599eec46ae [ppp] make use of uapi directory wrapper
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34684 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-15 01:59:19 +00:00
Gabor Juhos 74ee635064 package/swconfig: don't use kernel headers
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34679 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-14 12:11:50 +00:00
Hauke Mehrtens 111262207d broadcom-wl: Pass physical address to wl_attach
wl_attach expects a physical address, as it performs the mapping internally.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34671 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-13 18:55:49 +00:00
Felix Fietkau 7d67b79951 netifd: update to latest version, fixes purging old resolv.conf entries after ifdown
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34664 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-13 16:14:41 +00:00
Felix Fietkau 5ee3e74ec9 build: only install packages for selected variants, fixes building multiple variant selections in one tree
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34656 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-13 13:07:01 +00:00
Hauke Mehrtens e26a7dcc11 kernel: in kernel 3.6.8 and later tg3 depends on hwmon.ko
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34652 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-13 00:09:55 +00:00
Gabor Juhos a38aced958 base-files: add mtd_find_chardev helper
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34648 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-12 16:49:50 +00:00
Mirko Vogt 02c0c5873b Revert "remove function find_mtd_part() from /lib/functions.sh"
Reverting commit 34641.
Function find_mtd_part() is needed by some scripts deployed
for certain targets but not including boot.sh after all.
Still, all this certainly needs some love.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34642 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-12 13:41:56 +00:00
Mirko Vogt fcdaf31751 remove function find_mtd_part() from /lib/functions.sh
Since all scripts using this function include /lib/functions/boot.sh -
where this function is defined as well - it can be dropped
from /lib/functions.sh. Also avoids further confusion about this
function being declared and defined in two different places.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34641 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-12 12:38:31 +00:00
Gabor Juhos 64dc67c44a mac80211: update rt2x00 rx_status patch
Also remove the superfluous ones for ath5k, p54.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34637 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-11 17:49:11 +00:00
Steven Barth 381b57a6ea ipv6-support: Make ULA addresses secondary
* Deprecates ULA prefixes when there are other public prefixes
* Fixes issues with clients using incorrect source addresses

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34630 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-11 16:56:37 +00:00
Steven Barth 91b24ac85b 6distributed: Add support for secondary addresses
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34629 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-11 16:56:32 +00:00
Steven Barth 01ae10e8da 6relayd: Fix announcement of deprecated prefixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34628 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-11 16:56:27 +00:00
Gabor Juhos 6ff2a66a2f mac80211: zero-out rx_status in rt2x00, ath5k, p54
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34627 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-11 14:16:23 +00:00
Gabor Juhos 515fa69f8f mac80211: fix possible NULL pointer dereference in ath9k
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34624 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-10 23:21:02 +00:00
Florian Fainelli 1d24cf3f90 package/kernel: enable CONFIG_SND_SOC_DMAENGINE_PCM in sound-soc-core
This is required for 3.6+ kernels and some sound SoC modules.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34618 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-10 21:05:32 +00:00
Florian Fainelli 39dd073880 package/kernel: snd-soc-core depends on regmap
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34616 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-10 21:05:15 +00:00
Florian Fainelli ae840bef98 package/kernel: package kmod-input-matrixkmap
This is required by some keyboard drivers in 3.6+

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34614 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-10 21:05:06 +00:00
Felix Fietkau c0ef7ab7ce kernel: include the xfrm_algo module on 3.6+ (fixes #12552)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34611 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-10 18:49:30 +00:00
Felix Fietkau 722553af77 mac80211: fix channel context related warnings when using wds ap mode (fixes #12585)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34610 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-10 18:29:17 +00:00
Steven Barth c88dfafb1e ipv6-support: Add support for NPT status tracking
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34609 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-10 16:46:59 +00:00
Steven Barth 06cba95902 6distributed: add status-call for luci-integration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34608 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-10 16:46:54 +00:00
Felix Fietkau 04d293ebae b43: fix tx path skb leaks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34607 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-10 16:43:01 +00:00
Gabor Juhos 23fe7d4e4f mac80211: ath9k: allow to load EEPROM data via firmware API
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34606 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-10 15:46:15 +00:00
Gabor Juhos f7b644774f mac80211: ath9k: fix OTP register offsets for AR9340
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34605 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-10 15:46:13 +00:00
Felix Fietkau ed9c523990 ath5k: fix skb leaks (should fix #12199)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34603 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-10 15:42:34 +00:00
Felix Fietkau f7a9482416 mac80211: fix setting txpower (#12594)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34594 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-10 13:51:09 +00:00
Felix Fietkau b418474e27 iw: sync with nl80211.h to fix setting antenna gain
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34593 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-10 13:51:06 +00:00
Felix Fietkau ec9496391e ath9k: improve signal strength / channel noise reporting accuracy
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34592 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-10 13:51:02 +00:00
Felix Fietkau af2a7d18d1 mac80211: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34591 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-10 13:50:58 +00:00
Felix Fietkau 469e1c3a80 mac80211: merge fix for carl9170 upstream regression
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34590 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-10 13:50:54 +00:00
Steven Barth 03819fd978 ipv6-support: Next iteration
* Make ula_prefix a global option
* Add preliminary support for NAT (Linux >= 3.7, ip6tables >= 1.4.17)
* Minor fixes for prefix fallback

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34586 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-09 13:54:22 +00:00
Steven Barth ae5c745c07 6distributed: Correctly handle duplicate prefixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34585 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-09 13:32:30 +00:00
Steven Barth be0ee748d3 6relayd: Always send NA with hop-limit 255
* thanks risa2000 for investigating

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34584 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-09 12:33:28 +00:00
Hauke Mehrtens 0ef1d5d758 mac80211: do not build mwifiex driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34573 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-07 18:10:14 +00:00
Felix Fietkau 6ec11910ca mac80211: update to wireless-testing 2012-12-06
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34571 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-07 16:46:04 +00:00
Hauke Mehrtens 104526605c mac80211: brcmsmac: do a read after write when writing objmem to device.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34570 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-07 16:24:35 +00:00
Jo-Philipp Wich 1309ba379e firewall: fix typo in reflection hotplug script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34569 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-07 13:08:28 +00:00
Steven Barth 387fdc15a7 6to4: Remove static radvd-integration
* Please use the new ipv6-support package

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34567 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-07 08:53:53 +00:00
Florian Fainelli 0e99db6d76 mac80211: add support for adm8211 wireless driver
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34560 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-06 22:40:45 +00:00
Steven Barth e20634512b ipv6-support: next iteration
* Introduce mode 6rd
* Introduce mode 6to4
* Fix announcement of DNS-Servers received from DHCPv6
* Fix some corner-cases in relaying behaviour

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34542 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-06 20:52:40 +00:00
Steven Barth 555733dc19 6relayd: More RFC-compatibility and size reduction
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34541 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-06 20:52:35 +00:00
Steven Barth e8d86f1a8e 6distributed: Add compatibility with 6rd and 6to4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34540 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-06 20:52:30 +00:00
Jo-Philipp Wich 5308e09135 ppp: unconditionally start pppd with nodefaultroute and usepeerdns (#12580)
Since the switch to netifd, proto handlers may always set the defaultroute
and provide dns server addresses, netifd will decide in the generic code
path whether the announced values are masked or not.

Additionally protocol handlers should not modify the routing tables themselves
and prevent any launched services from doing so.

Remove the additional defaultroute and peerdns option handling from the ppp.sh
protocol handler and rely on netifd to mask or not mask the values.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34536 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-06 18:17:21 +00:00
Felix Fietkau f5754d8095 kernel: fix video-core build on 3.6+
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34533 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-06 14:11:19 +00:00
Felix Fietkau aaf2783f6c mac80211: clean up patches, replace patching config.mk with a generated sed expression
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34531 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-06 14:11:09 +00:00
Florian Fainelli b43862ba7b libiconv-full: add clause to Makefile to actually install iconv
At present, if you select the iconv utility it will be built but not
installed. This patch adds the clauses necessary to the Makefile to
actually install iconv.

Signed-off-by: Mike Brady <mikebrady@eircom.net>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34530 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-05 18:05:04 +00:00
Florian Fainelli eebdec56b1 linux-atm: put all packages into their own submenus
Now that we package individual tools as well, the list of ATM tools is
pretty big to deserve its own submenu.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34504 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-05 14:58:54 +00:00
Florian Fainelli 489c3ed133 linux-atm: fix typo introduced in r34502
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34503 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-05 14:37:03 +00:00
Florian Fainelli cdcf1f1393 linux-atm: package each available atm debug tool individually
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34502 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-05 14:18:08 +00:00
Felix Fietkau ce739282b4 netifd: update to latest version, fixes resolv.conf writes on interface setting changes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34500 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-05 13:28:56 +00:00
Florian Fainelli 46e32ed7fa dropbear: update to 2012.55 and refresh patches
Upstream has a few code cleanups, more eagerly burns sensitive memory and
includes the fix for CVE-2012-0920. Full changelog:
https://matt.ucc.asn.au/dropbear/CHANGES

Local changes:
- Removed PKG_MULTI which is no longer in options.h (even before 2011.54)
- Merged DO_HOST_LOOKUP into 120-openwrt_options.patch
- Removed LD from make opts (now included in TARGET_CONFIGURE_OPTS)
- Removed 400-CVE-2012-0920.patch which is included in 2012.55

Signed-off-by: Catalin Patulea <cat@vv.carleton.ca>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34496 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-04 16:40:17 +00:00
Florian Fainelli 7e47109379 linux-atm: create atm-debug-tools package
Instead of commenting the inclusion of some binaries, just make them
available using a new package "atm-debug-tools."

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34477 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-04 16:19:24 +00:00
Florian Fainelli ae346cafa2 linux-atm: factor common descriptions
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34476 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-04 16:19:21 +00:00
Jo-Philipp Wich b0ab057b72 firewall: extend nat reflection support
- use comment match to keep track of per-network rules
	- setup reflection for any interface which is part of a masqueraded zone, not just "wan"
	- delete per-network reflection rules if network is brought down

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34472 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-04 15:24:21 +00:00
Felix Fietkau c9250641c4 mac80211, hostapd: Fix macfilter for multi bssid setups
Previously only the first macfilter configuration would have been used
on all interfaces. However, the configuration was always done per vif
already. Hence, move the macfilter setup into hostapd.sh where and
create one mac list file per vif.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34470 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-04 12:06:40 +00:00
Mirko Vogt f456e95ddd Make ltq-dsl-app compile with an eglibc-based toolchain
Signed-Off-By: Frank Meerkötter <frank@meerkoetter.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34468 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-03 12:46:57 +00:00
Steven Barth 70d19c877a ipv6-support: Second Iteration
* mode 'downstream' renamed to 'router'
* mode 'upstream' renamed to 'dhcpv6'
* mode 'relay' added
* cleanups and minor bugfixes in state handling

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34466 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-03 09:18:53 +00:00
Steven Barth 0789334c3c netifd: empty hotplug handler removed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34465 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-03 07:20:44 +00:00
Gabor Juhos 7faa98983a mac80211: refresh patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34464 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-02 20:41:39 +00:00
Gabor Juhos 523556378b mac80211: rename a misnamed ath9k patch
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34463 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-02 20:41:37 +00:00
Steven Barth 8be018013d 6distributed: Poll for ubus to come up (fix race)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34462 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-02 19:06:48 +00:00
Felix Fietkau a2cd55ec72 libubox: update to latest version, fixes blob/blobmsg endian issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34456 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-02 16:50:39 +00:00
Hauke Mehrtens 19d0fc1c10 broadcom-wl: get the mmio address directly from the struct if bcma is used.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34452 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-02 16:07:43 +00:00
Gabor Juhos 0e27bbf8b9 Make teql hotplug script run sooner
In particular, it wants to run before the ntpclient script. Which may
block for a long time attempting to do DNS lookups for NTP servers. In
my case, that would have *worked* if the new device had been added to
teql first, rather than timing out.

This was effectively causing a huge delay between an interface coming
up, and routing actually starting to work.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34442 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-02 13:04:03 +00:00
Jo-Philipp Wich 6acaf2e470 package: use file_copy to deploy files/ in the package/install phase
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34438 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-02 12:20:38 +00:00
Florian Fainelli b2e588b1c6 [package] kernel: remove references to TARGET_ubicom32
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34431 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-30 10:53:51 +00:00
Steven Barth f82b5ce453 ipv6-support: Add conffiles section
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34423 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-29 20:33:17 +00:00
Steven Barth 83e4d3209b ipv6-support: Add new IPv6-support meta-package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34422 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-29 20:14:28 +00:00
Steven Barth d9c6bfbf8e odhcp6c: Add new embedded DHCPv6 client
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34421 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-29 20:14:23 +00:00
Steven Barth 513fd1b52a 6distributed: add local IPv6 prefix distributor
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34420 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-29 20:14:18 +00:00
Steven Barth 53241a5e18 6relayd: Fix some RFC 6204 compatibility issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34419 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-29 20:14:14 +00:00
Steven Barth 13a478551d Remove old IPv6 sysctl-config (deprecated)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34418 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-29 20:14:09 +00:00
Steven Barth aa193c1117 Remove default sysctl-entry for IPv6 here (races)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34417 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-29 20:14:04 +00:00
Luka Perkov e1af779da1 [boot] uboot-kirkwood: build in $(BUILD_DIR)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34401 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-29 01:04:37 +00:00
Jo-Philipp Wich 2883f9c19c gettext-full: use shipped libxml for the host build, fixes lzma references from creeping in on certain distributions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34400 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-28 21:02:53 +00:00
Jo-Philipp Wich 19cfe5300b trace-cmd: lazily evaluate extra plugins list, fixes stray build errors causing by missing operands to cp if the package was never built yet
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34390 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-27 18:08:42 +00:00
Jo-Philipp Wich 11df5c8068 grub2: fix another case of gnulib failing under gnu libc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34389 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-26 16:03:40 +00:00
Hauke Mehrtens 42adbc07a1 broadcom-wl: fix two problems when more then one wifi card is available.
* The device should get a unique name at the beginning and not wl%d.
* load the nvram just one time into the own buffer, also when there is
  more than one device.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34381 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-25 20:11:15 +00:00
Gabor Juhos 2a55c53a47 base-files: add support for the morse LED trigger
Write "delay" and "message" options to their respective files,
allowing Morse code message configuration through UCI.
The delay (dit length) defaults to 150ms (about 8 words per minute,
suitable for beginners).

Signed-off-by: Petr Viktorin <encukou@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34380 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-25 17:20:49 +00:00
Florian Fainelli b2336ec05a [package] modules: remove obsolete comment (#12514)
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34327 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-25 11:41:07 +00:00
Florian Fainelli 86438fe65e [package] iptables: fix typo in iptables musl patch after r34313
Thanks to Frank Meerkötter and Szabolcs Nagy for spotting the issue.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34326 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-25 11:40:59 +00:00
Florian Fainelli 24cc4007ce [buildroot] add preliminary support for musl
Musl is an alternative C-library, see http://www.musl-libc.org for more infos.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34314 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-23 20:02:29 +00:00
Florian Fainelli ee048e8c32 [package] iptables: add some musl portability fixes
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34313 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-23 20:02:23 +00:00
Florian Fainelli be55423704 [package] linux-atm: add portability fixes
Spotted while building against musl libc.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34312 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-23 20:02:19 +00:00
Florian Fainelli 356acc1661 [package] busybox: fix arping applet building on musl
musl-libc is more strict about missing includes.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34311 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-23 20:02:14 +00:00
Florian Fainelli 331832ea11 [package] netfid: fix build on musl
AF_INET* is provided by sys/socket.h

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34310 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-23 20:02:10 +00:00
Florian Fainelli d7ee83152b [package] busybox: define musl specificities in platform.h
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34309 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-23 20:02:06 +00:00
Florian Fainelli 66fc4eb6d5 [package] base-files: use a natural mount syntax
Busybox built against musl-libc will choke on these otherwise, besides that
it is more natural to use the filesystem type, then options, then name, then
mountpoint.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34308 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-23 20:02:02 +00:00
Florian Fainelli 77ef686521 [package] busybox: change the date -k patch to be more portable
Not all libcs have support for tm_gmtoff which is only available for BSD
compatibility, and guarded with __USE_BSD defines, use __tm_gmtoff otherwise.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34307 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-23 20:01:58 +00:00
Florian Fainelli 3d41c1d126 [package] grub2: accept the linux-musl* tuple
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34306 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-23 20:01:53 +00:00
Luka Perkov f7ba578269 [boot] uboot-lantiq: add new package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34305 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-23 18:16:05 +00:00
Luka Perkov 2153755fc6 [boot] uboot-kirkwood: update to 2012.10
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34303 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-22 21:16:04 +00:00
Jonas Gorski 971a80da10 package: kernel: make crypto kmods always visible
Don't hide crypo submodules unless crypo-core is selected.

Fixes kmods depending on crypto modules being unselectable
until crypto core is selected (like ext4 on 3.6 or mac80211).

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34298 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-22 11:55:18 +00:00
Florian Fainelli 5410eb0e09 [package] hostapd: include sys/stat.h for a struct stat definition
Some libcs need this header to be explicitely included (e.g: musl)

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34295 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-21 20:27:06 +00:00
Florian Fainelli c7b5d2b21a [package] mtd: do not include error.h
We do not use anything from it, and it is not available with all libcs.
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34294 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-21 20:27:02 +00:00
Florian Fainelli 7a7bfbf471 [package] valgrind: re-categorize from utils to devel
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34293 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-21 20:26:58 +00:00
Florian Fainelli 75add71bb9 [toolchain] libthread-db: fix libthread_db.so installation.
libthread_db.so.$(LIBC_SO_VERSION) is only valid for uClibc, (e)glibc just
provides libthread_db.so.1.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34292 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-21 20:26:55 +00:00
Florian Fainelli 12658b104a [package] gdb: recategorize from utils to devel in menuconfig
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34291 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-21 20:26:51 +00:00
John Crispin be2b7fab8c [linux-atm] actually deploy atmarp and atmarpd and not just their libtool wrapper
due to a small error in the atm-tools package we are not deploying
atmarp/atmarpd but instead the (useless) libtool-wrappers.

Signed-Off-By: Frank Meerkötter <frank@meerkoetter.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34287 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-21 06:07:23 +00:00
Gabor Juhos e71db9dfd9 mac80211/rt2x00: add rf_vals for Rt3352 with Xtal=20MHz
[juhosg: move ramips specific stuff into a followup patch]

Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34269 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-20 07:19:09 +00:00
Gabor Juhos d830c243a0 mac80211/rt2x00: support Rt3352 with external PA
This is needed for WiFi to work e.g. on DIR-615 rev.H1.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34268 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-20 07:19:08 +00:00
Florian Fainelli 58f1a4677b [package] gdb: fix debugging of MIPS(el) applications
GDB previously failed with the following:

root@OpenWrt:/# gdb busybox
[snip]
(gdb) r
Starting program: /bin/busybox
GDB bug: target.c (gdb_signal_from_host): unrecognized real-time signal

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34258 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-19 14:38:02 +00:00
Florian Fainelli 0f572a0877 [package] gdb: add missing zlib dependency
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34256 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-19 14:37:22 +00:00
Hauke Mehrtens a47fb21bf8 brcm47xx: add support for kernel 3.6
This is based on the patch by Peter Wagner.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34252 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-18 21:27:00 +00:00
Imre Kaloz 2b0cba6755 [linux-atm]: shouldn't use kernel headers from userspace
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34246 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-18 18:29:58 +00:00
Gabor Juhos 1477d7f2e7 package/uboot-envtools: add OpenMesh MR600 support
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34236 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-18 09:32:40 +00:00
Steven Barth 568a7e08a6 6relayd: add conffiles section, thanks swalker
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34222 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-17 09:44:41 +00:00
Florian Fainelli 4592bacb84 [package] ar7-atm: make it depend on the generic AR7 platform
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34205 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-16 13:00:41 +00:00
Steven Barth d1afb91198 6relayd: various updates & fixes
- Add RD- and DHCPv6-server functionality
	- Rework configuration and add example UCI file
	- Fix various bugs and be more RFC compliant

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34204 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-16 09:27:56 +00:00
Jo-Philipp Wich fa89666694 opkg: fix find logic introduced by previous commit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34203 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-15 20:53:51 +00:00
Jo-Philipp Wich bb9647c459 opkg: various additions
- only wrap package descriptions when outputting to a tty, simplifies parsing descriptions with external utils
	- introduce -i (--nocase) flag which makes all matching operations case insensitive
	- introduce "find" command which searches package names and descriptions (e.g. opkg -i find "*autoconfig*")

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34202 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-15 20:17:49 +00:00
Jo-Philipp Wich 99bdb18a78 ppp:
- fix multilink ppp with custom ifnames, patch by George Kashperko <george@znau.edu.ua>
  - refresh patches

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34171 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-12 19:13:45 +00:00
Jonas Gorski 7367c272b8 kernel: modules: ext4 depends on crypto-hash on 3.6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34159 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-11 19:42:35 +00:00
Florian Fainelli cf559d0283 [package] i2c-gpio-mux: fix build for 3.6+ kernels
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34152 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-11 18:40:43 +00:00
Felix Fietkau ac7d1d747a mac80211: add more tx skb free fixes (hopefully final fix to #11894)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34133 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-10 02:47:33 +00:00
Jo-Philipp Wich 18a6820243 resolveip: fix endless getopt() loop when compiled for arm (#12290)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34116 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-08 10:48:08 +00:00
John Crispin 4ca51f2e67 [kernel] Load schedule modules
They were missing the AUTOLOAD directive.

Signed-off-by: Jonh Wendell <jonh.wendell@oiwifi.com.br>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34107 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-07 19:36:56 +00:00
Jo-Philipp Wich ee76e2804a buildroot: isolate the .install stamp files for build variants (#12279)
This fixes missing embedded packages if multiple build variants are selected in
the build config, e.g. missing ppp if CONFIG_PACKAGE_ppp=y and
CONFIG_PACKAGE_ppp-multilink=m .

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34106 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-07 16:15:22 +00:00
Jonas Gorski b8e5c3fb59 linux: export bcm963xx_tag.h to userspace
Export bcm963xx_tag.h so mtd can use it without using kernel includes.

Signed-off-by: Catalin Patulea <cat@vv.carleton.ca>
[jonas.gorski@gmail.com: fixup bcm63xx patches, completely remove header
 from original location, refresh patches, use  a more matching patch
 number, port to 3.6]
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34103 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-06 15:21:46 +00:00
John Crispin 14c3415c87 remove bogus file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34099 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-06 07:43:08 +00:00
John Crispin b6b9f3d883 [lantiq] unbreak ltq-dsl-fw
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34098 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-06 07:41:44 +00:00
John Crispin a3453d5c5d [lantiq] prepare dsl driver for 3.6 and split fw into a seperate package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34096 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-06 07:38:18 +00:00
Jo-Philipp Wich 4d3fffae81 netifd: don't send a default client identifier in DHCP requests if no clientid uci option is given (#12426)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34089 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-05 19:28:24 +00:00
Gabor Juhos 78d65692fd Add ledtrig-oneshot module for 3.6 kernels
This patch adds a package for the ledtrig-oneshot module, available in
3.6 and later.

[juhosg: change dependency from LINUX_3_6 to !LINUX_3_3]

Signed-off-by: Roman A. aka BasicXP <x12ozmouse@ya.ru>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34079 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-05 07:10:35 +00:00
Felix Fietkau 3c25d86e28 mtd: avoid adding the kernel dir to includes, use the toolchain headers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34071 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-04 17:01:30 +00:00
Felix Fietkau a20833a4b8 ppp: add more pppol2tpv3 related structs from the kernel headers to fix compile issues with linux 3.6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34070 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-04 17:01:27 +00:00
Felix Fietkau 466dbc9c08 iptables: remove support for libipq, it has been obsolete for years and is unsupported in newer kernels
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34069 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-04 17:01:23 +00:00
Felix Fietkau 2c525f683e libubox: add more uloop timer fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34039 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-31 19:30:21 +00:00
Felix Fietkau c95a30f2a6 libubox: update to latest version, fixes a timer calculation issue in uloop
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34037 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-31 19:06:46 +00:00
Felix Fietkau 8c9249413e libubox: pass the lua path to cmake to avoid build errors
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34033 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-31 16:05:02 +00:00
Felix Fietkau 4523fb277f mac80211: prevent reconfigure calls while interfaces are down
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34030 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-31 14:59:12 +00:00
Steven Barth aeb1a26e2e 6relayd: auto-configure local interfaces as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34027 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-31 12:48:54 +00:00
Felix Fietkau c1af5b9e30 libubox: add build dependency on lua
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34022 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-30 21:50:07 +00:00
Jo-Philipp Wich 1369cbd8de uhttpd: update to latest git head, improves handling of invalid requests
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34010 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-30 13:13:21 +00:00
Steven Barth 493af9e1a1 6relayd: update to work around a raw-socket bug
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34009 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-30 07:43:07 +00:00
Steven Barth f7f20aaacb ipv6: add 6relayd (RD-, DHCPv6- & NDP-Proxy)
6relayd is an IPv6-tool that relays IPv6-management protocols like router
discovery, neighbor discovery and DHCPv6 so that clients on routed
(non-bridged) interfaces can use the public address prefix, DHCPv6 and
DNS-service of a master interface. This is useful to avoid NAT in chained
IPv6-routers.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34008 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-30 07:14:07 +00:00
Felix Fietkau ca6c7769b7 gdb: depend on zlib if zlib is selected
gdb can read debug informations in produced binaries with compressed debug sections if gdb is compiled with `zlib'.

Signed-off-by: Jiri Slachta <slachta@cesnet.cz>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34007 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-30 00:45:51 +00:00
Felix Fietkau 606fbaef0b netifd: update to latest version, fixes adding an alias during config reload for an interface that is already up
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34006 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-30 00:24:31 +00:00
Felix Fietkau 00b1066a0c libubox: update to the latest version
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34005 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-29 23:06:20 +00:00
Jo-Philipp Wich ee9636ff5b iwinfo: properly initialize memory of global nl80211_state, fixes random libnl-tiny assertions when using nl80211_probe() on not supported devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34003 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-29 22:11:57 +00:00
Felix Fietkau 3753ef279f add trace-cmd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34002 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-29 19:25:43 +00:00
Felix Fietkau 8c6fff315d gdb: use the libthread-db package instead of throwing the lib into the gdbserver package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34000 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-29 19:25:34 +00:00
Felix Fietkau c67c1f6bd0 toolchain: add a package for libthread_db
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33999 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-29 19:25:30 +00:00
Felix Fietkau 1fd4f869f2 gdb: update to version 7.5
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33998 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-29 19:25:26 +00:00
Felix Fietkau 826d107930 readline: update to version 6.2, enable parallel builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33997 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-29 19:25:21 +00:00
Felix Fietkau a3a0a5f116 mac80211: report tx status for dropped frames, should fix some remaining stability issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33991 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-29 13:29:12 +00:00
Felix Fietkau aca13bdc53 ath9k: add a patch that prevents excessive retry of single frames during an aggregation session
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33989 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-29 12:44:37 +00:00
Imre Kaloz 1ff907f2b9 add missing =y
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33988 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-29 10:12:47 +00:00
Imre Kaloz dc8d837bab add missing 3.6 symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33986 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-29 10:00:02 +00:00
Imre Kaloz 6fa2c07efa [package/kernel]: remove references to 2.6.39
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33967 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-27 13:47:23 +00:00
Gabor Juhos d440ced2ef package/kernel: arc4 needs blkcipher support on 3.6
[   78.530000] arc4: Unknown symbol blkcipher_walk_done (err 0)
[   78.530000] arc4: Unknown symbol blkcipher_walk_virt (err 0)
[   78.540000] arc4: Unknown symbol crypto_blkcipher_type (err 0)

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33965 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-27 12:33:00 +00:00
Gabor Juhos bde82ceab2 package/uboot-envtools: add CAP4200AG support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33959 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-27 08:55:41 +00:00
Gabor Juhos cdeefe000e generic: allow to disable [25]GHz support in ath9k via platform data
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33954 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-27 08:55:36 +00:00
Felix Fietkau 098e94e4c3 ath9k: fix a stale bf->bf_next pointer, potentially leading to double-free errors and "Failed to stop Tx DMA" errors
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33938 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-25 21:41:56 +00:00
Felix Fietkau 1fa1af041c mac80211: refresh patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33937 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-25 21:41:52 +00:00
Hauke Mehrtens 8adcce4e7d acx-mac80211: add md5sum for acx-mac80211 file, to download it from the mirror.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33933 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-25 16:26:16 +00:00
Hauke Mehrtens 0878c11aab mac80211: add md5sum for linux-firmware file, to download it from the mirror.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33932 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-25 16:25:45 +00:00
Hauke Mehrtens b214739adf mac80211: update carl9170 firmware
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33930 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-25 16:07:30 +00:00
Felix Fietkau 395ddf801e kernel: fix the pcspkr module, add proper dependencies, add the actual sound module
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33921 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-25 15:11:35 +00:00
Hauke Mehrtens 183c8129ef kernel: update bcma and ssb to master-2012-10-18 from wireless-testing
* update the flash driver for bcm47xx to use the stubs already in bcma
* do some misc enhancements to the flash drivers for bcm47xx


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33920 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-25 14:33:47 +00:00
Felix Fietkau 1e4b9a79ca hostapd: merge some pending fixes (fixes assoc errors when moving between vaps of the same wifi device)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33919 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-25 14:31:17 +00:00
Florian Fainelli 59d0f03c9a [package] uclibc++: make it depend on INSTALL_LIBSTDCPP
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33910 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-24 13:05:18 +00:00
Florian Fainelli a246bdf3c4 [package] ncurses: build C++ bindings only our toolchain supports C++
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33909 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-24 13:05:15 +00:00
Florian Fainelli 092d3dcf5c [package] netfilter: ip_queue has been removed in 3.6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33905 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-24 13:05:01 +00:00
Florian Fainelli 58ab3ed1f8 [package] i2c muxes modules have a different prefix since 3.5
Kernel 3.5 started prefixing i2c muxes modules with i2c-mux-, account for that

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33904 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-24 13:04:57 +00:00