1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-19 05:04:04 +02:00
Commit Graph

8558 Commits

Author SHA1 Message Date
nbd
a0f95932f7 pptp: kill the call manager process on shutdown
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31606 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 16:56:42 +00:00
nbd
66823c0d82 pptp: add netifd support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31605 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 16:56:28 +00:00
nbd
2945a6df4b pptp: remove the defaultroute option from options.pptp, this is managed by generic ppp code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31604 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 16:56:24 +00:00
nbd
2d0e7f4044 netifd: update to latest version, adds support for host route dependencies
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31603 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 16:56:20 +00:00
nbd
5b987c43d3 pptp: compile with the openwrt cflags instead of -O0
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31600 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 13:06:33 +00:00
kaloz
8a940c0897 [mac80211]: switch to the new linux-firmware git tree, use the new wl12xx firmware files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31575 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-03 21:50:41 +00:00
jow
d0f3681e1e [package] uhttpd: display errors in init script, code formatting changes, bump package version
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31572 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-03 17:19:22 +00:00
jow
37f687e099 uhttpd: added uhttpd.docroot
Passes the document-root to the Lua handler by placing it in uhttpd.docroot.

It could alternatively be placed in env.DOCUMENT_ROOT which would more closely
resemble the CGI protocol; but would mean that it is not available at the time
when the handler-chunk is loaded but rather not until the handler is called,
without any code savings.

Signed-off-by: David Favro <openwrt@meta-dynamic.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31571 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-03 17:19:20 +00:00
jow
8329c6da4f Fixed: [PATCH 2/3] uhttpd URL-codec enhancements.
My apologies, the 2nd of those patches had a syntax error -- that's what
I get for making a last-minute edit, even to the comments, without
testing! :-p

Here is the corrected patch.

-- David

From d259cff104d2084455476b82e92a3a27524f4263 Mon Sep 17 00:00:00 2001
From: David Favro <openwrt@meta-dynamic.com>
Date: Fri, 27 Apr 2012 14:17:52 -0400
Subject: [PATCH] uhttpd URL-codec enhancements.

* uh_urlencode() and uh_urldecode() now return an error condition for
  buffer-overflow and malformed-encoding rather than normal return with corrupt
  or truncated data.  As HTTP request processing is currently implemented, this
  causes a 404 HTTP status returned to the client, while 400 is more
  appropriate.

* Exposed urlencode() to Lua.

* Lua's uhttpd.urlencode() and .urldecode() now raise an error condition for
  buffer-overflow and malformed-encoding rather than normal return with
  incorrect data.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31570 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-03 17:19:18 +00:00
jow
f6dc56506d uhttpd URL-codec bug fixes.
* Fixed output-buffer-overflow bug in uh_urlencode() and uh_urldecode() [tested
  input-buffer index against output-buffer length].  In reality, this would not
  typically cause an overflow on decode, where the output string would be
  expected to be shorter than the input string; and uh_urlencode() seems to have
  been unreferenced in the source.

* Fixed bug: uh_urlencode() and uh_urldecode() both read one extra byte from the
  input-string.  While this could manifest in C code, the result was most
  egregious when called from Lua, where it caused an extra null byte to be
  embedded at the end of the output string.

* uh_urlencode() cleanup: removed redundant bitwise-and.

Signed-off-by: David Favro <openwrt@meta-dynamic.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31569 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-03 17:19:16 +00:00
juhosg
c257a78d55 package/pptp: remove a stray bracket
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31568 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-03 13:29:36 +00:00
juhosg
9d3fb21d4a Fix iptables abuse of kernel header files. Use exported headers instead.
[juhosg: export xt_layer7.h for all kernel versions]

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31566 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-03 09:43:10 +00:00
juhosg
fe8fbd1c05 Fix pptp handling of routes to server.
The existing code is fairly broken. It assumes you're using Legacy IP, and
it assumes that the server is reachable via your default route. Via the
first default route in the 'route -n' output, in fact, regardless of metric.

Fix all those problems by using 'ip route get' to really find the *current*
route to the server, and install a host-specific route to match.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31565 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-03 09:39:01 +00:00
juhosg
f34832554e Add ppp-mod-pppol2tp subpackage to ppp
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31564 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-03 09:38:58 +00:00
florian
ec6780b901 [package] openssl: update to 1.0.1b
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31551 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-02 15:40:32 +00:00
juhosg
a12fd13e23 move CONFIG_BOOKE_WDT_DEFAULT_TIMEOUT to the target configs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31547 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-01 08:00:25 +00:00
nbd
7877ca154f relayd: move the interface fixup to the right place
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31545 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-30 18:27:12 +00:00
nbd
866b5511e1 relayd: use config_load+fixup_interface instead of scan_interfaces to speed up startup time
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31544 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-30 18:24:00 +00:00
nbd
b905c102f0 base-files-network: add a fixup_interface function like with the netifd compatibility scripts - allows selective fixup of individual interface sections instead of having to do the full scan_interfaces
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31543 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-30 18:23:56 +00:00
nbd
5bae60a024 relayd: use an init script instead of a legacy network proto handler (fixes #11276)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31542 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-30 18:23:52 +00:00
nbd
90ed704fdb ath9k: merge a ar93xx ht40 performance fix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31540 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-30 08:20:34 +00:00
nbd
08759f0f3b mac80211: fix station lookup issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31539 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-30 07:57:09 +00:00
nbd
fcaac512c0 mac80211: load lib80211 after cfg80211 (#11342)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31537 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-29 21:00:17 +00:00
juhosg
854a591dbd package/kernel: add module for the Pericom PT7C4338 RTC chip
Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31526 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-29 15:08:23 +00:00
juhosg
c7ff282f4e package/kernel: add i2c module support for Freescale MPC processors
Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31524 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-29 15:08:21 +00:00
juhosg
a9636d6819 package/kernel: add module for the Booke watchdog
Based on a patch by Wojciech Dubowik <Wojciech.Dubowik@neratec.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31522 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-29 15:00:37 +00:00
nbd
907c8fd776 mac80211: fix WDS AP authentication issues (#11261, #11318)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31517 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-29 13:47:37 +00:00
nbd
f5e34b16d4 netifd: update to latest version, fixes address/route list handling issues and fixes dual-stack ppp route handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31516 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-29 12:20:10 +00:00
nbd
f730e825f0 hostapd: update to 20120428, fixes some radius issues and wds ap mac address issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31515 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-29 11:14:53 +00:00
nbd
b037731dd6 pppd: fix parsing the ipv6-{up,down}-script option
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31514 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-29 10:08:33 +00:00
hauke
f8905adb27 broadcom-diag: add missing break into switch case statement.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31506 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-28 23:30:05 +00:00
mirko
6c0bc69bf6 [package/*] remove special treatment when using glibc - support got dropped
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31504 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-28 22:24:16 +00:00
mirko
875ce0bf50 [toolchain/glibc*] purge support for glibc - use eglibc instead!
for reference: http://www.mail-archive.com/openwrt-devel@lists.openwrt.org/msg13425.html

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31503 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-28 22:24:12 +00:00
mirko
5de2780a5e [packages/{e2fsprogs,util-linux,util-linux-ng}] update/rename those packages
This patch makes several changes to the util-linux(-ng) package:
 * rename to util-linux (official name now, util-linux-ng got merged)
 * bump to last stable version 2.21.1 (was 2.13.0.1 before)
 * add several new packages
 * sort packages within Makefile
 * remove patches which got merged upstream

This patch makes some changes to the e2fsprogs package:
 * bump to last stable version 1.42.2
 * libraries moved from e2fsprogs to util-linux - take care of that

Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31499 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-28 19:54:54 +00:00
florian
236e80fbc2 [package] base-files: fix typo in 05_firstboot_skip script (#11359)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31492 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-27 16:49:16 +00:00
florian
0d11882ac3 [package] fix kmod-pcmcia-serial for 3.3+ kernels
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31490 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-27 16:44:44 +00:00
jow
02828770d9 [package] kernel: fix packaging of 8250.ko with Linux 3.x
This commit fixes build breakage in package/kernel leading to missing
subsequent kmods like kmod-usb-serial, this should fix the missing
packages in ar71xx builds.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31477 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-25 13:43:15 +00:00
jogo
c2cc410c54 kernel: add some more missing kernel config symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31458 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-24 09:25:32 +00:00
florian
e7ec62b7cf [package] remove old acx driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31456 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-24 08:05:49 +00:00
florian
ff9443f5d5 [package] acx-mac80211: update to 20122204
Upstream commit id: 15bbffea

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31455 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-24 08:05:46 +00:00
nbd
e8bb79e100 mac80211: update AP multicast fix to latest version submitted to linux-wireless@
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31453 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-23 17:29:29 +00:00
jow
4a7c3ab00a [package] 6to4: follow RFC 6598 and consider 100.61.0.0/10 a private range (#11323)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31444 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-23 10:12:00 +00:00
blogic
9774688eee [kernel] scanning kernel packages for targets
Any modifications in target/linux/*/modules.mk would not come into effect for
subsequent "make menuconfig" unless we delete ./tmp.

Signed-off-by: kalyan <kalyanatejaswi@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31442 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-23 09:37:50 +00:00
juhosg
9fbb2b49b8 Revert "mac80211: add backport of the module_pci_driver macro"
Erm, Hauke was faster.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31439 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-22 11:39:49 +00:00
juhosg
0dd99ec52d mac80211: add backport of the module_pci_driver macro
That is required by various PCI drivers.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31438 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-22 11:37:22 +00:00
hauke
1c813eff0a mac80211: add module_pci_driver to compat
Without module_pci_driver being defined the pci drivers do not get registered.

Should fix #11332


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31437 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-22 11:36:35 +00:00
nbd
d65660976b netifd: improve error handling in legacy script compatibility library, do not fill the log with error messages for interfaces that could not be found
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31432 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-21 20:34:48 +00:00
nbd
06c4117a5a base-files: rename internal variables in config_foreach to make namespace conflicts more unlikely
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31431 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-21 20:34:45 +00:00
nbd
d7fd21d6b0 netifd: make type a local variable in /lib/network/config.sh to avoid clashes with an internal config_foreach variable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31430 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-21 20:34:41 +00:00
nbd
c72e8d4225 mac80211: suppress 3-address multicast frames on WDS APs without non-WDS stations
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31429 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-21 20:34:38 +00:00