Commit Graph

6407 Commits

Author SHA1 Message Date
Jo-Philipp Wich
0422ba4687 ppp: remove stray bracked in ppp-up script, thanks swalker
SVN-Revision: 31647
2012-05-07 22:41:41 +00:00
Jonas Gorski
80650c9475 base-files: wait for wifi modules to settle
On slower devices wifi drivers might take too long for detecting
devices, resulting in the wifi detect call not seeing them.

This was observed on a bcm6348 with bcm4318 wifi. Adding a one second
pause was enough for b43 to expose the device.

SVN-Revision: 31639
2012-05-06 21:25:42 +00:00
Felix Fietkau
c3f0b757a3 pptp: fix installation path for netifd proto handler
SVN-Revision: 31636
2012-05-06 21:19:04 +00:00
Hauke Mehrtens
8ff6417c41 kernel: remove kernel modules and references to kernels <= 2.6.36
OpenWrt does not support kernel version <= 2.6.36 any more, remove all modules only build for those kernels and all conditions specific for those kernel versions.

SVN-Revision: 31634
2012-05-06 20:43:17 +00:00
Hauke Mehrtens
a42570bc3e kernel: remove kmod-usb-serial-airprime
This was removed from kernel 2.6.27

SVN-Revision: 31633
2012-05-06 20:40:54 +00:00
Hauke Mehrtens
2f93cd1fad kernel: remove kmod-usb-video
This was remove in kernel 2.6.38 and is not needed any more.

The last commit (r31631) has the wrong message, kmod-usb-phidget was removed in kernel 2.6.30.

SVN-Revision: 31632
2012-05-06 20:40:19 +00:00
Hauke Mehrtens
34c32d3a9d kernel: remove kmod-usb-video
This was remove in kernel 2.6.38 and is not needed any more.

SVN-Revision: 31631
2012-05-06 20:37:08 +00:00
Hauke Mehrtens
0fd86465d0 kernel: add video-videobuf2
This should fix #11349 and #11142

SVN-Revision: 31630
2012-05-06 20:35:54 +00:00
Hauke Mehrtens
655a320a6b kernel: build kmod-video-gspca-gl860 and kmod-video-gspca-jeilinj on all kernel versions
This module is available on all supported kernel versions

SVN-Revision: 31629
2012-05-06 20:34:55 +00:00
Hauke Mehrtens
216853d6ba kernel: add kmod-video-gspca-konica and remove kmod-video-konica
kmod-video-konica was removed from kernel 2.6.38 and is now replaced by kmod-video-gspca-konica

SVN-Revision: 31628
2012-05-06 20:34:00 +00:00
Hauke Mehrtens
865ac15306 kernel: remove kmod-video-ov511 and kmod-video-ovcamchip
These two modules where removed from kernel with kernel version 2.6.36, use kmod-video-gspca-ov519 instead.

SVN-Revision: 31627
2012-05-06 20:33:17 +00:00
Felix Fietkau
ffa7a3ac35 ubus: update to latest version, add LUAPATH to cmake options - fixes #11398
SVN-Revision: 31622
2012-05-06 08:27:40 +00:00
Jo-Philipp Wich
7dc263ddaa ubus: update to current git, package up libubus-lua
SVN-Revision: 31619
2012-05-05 20:47:38 +00:00
Gabor Juhos
71dc2715a9 package/ar7-atm: allow to build on 3.3
SVN-Revision: 31613
2012-05-05 17:32:33 +00:00
Gabor Juhos
1e041ba72a package/ar7-atm: refresh patches
SVN-Revision: 31612
2012-05-05 17:32:29 +00:00
Felix Fietkau
73383c252e pptp: kill the call manager process on shutdown
SVN-Revision: 31606
2012-05-05 16:56:42 +00:00
Felix Fietkau
3225530e1e pptp: add netifd support
SVN-Revision: 31605
2012-05-05 16:56:28 +00:00
Felix Fietkau
b76a1b49aa pptp: remove the defaultroute option from options.pptp, this is managed by generic ppp code
SVN-Revision: 31604
2012-05-05 16:56:24 +00:00
Felix Fietkau
50edcbde35 netifd: update to latest version, adds support for host route dependencies
SVN-Revision: 31603
2012-05-05 16:56:20 +00:00
Felix Fietkau
7591ffded8 pptp: compile with the openwrt cflags instead of -O0
SVN-Revision: 31600
2012-05-05 13:06:33 +00:00
Imre Kaloz
44631ef595 switch to the new linux-firmware git tree, use the new wl12xx firmware files
SVN-Revision: 31575
2012-05-03 21:50:41 +00:00
Jo-Philipp Wich
8e9d914343 uhttpd: display errors in init script, code formatting changes, bump package version
SVN-Revision: 31572
2012-05-03 17:19:22 +00:00
Jo-Philipp Wich
54b34ccbc5 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>

SVN-Revision: 31571
2012-05-03 17:19:20 +00:00
Jo-Philipp Wich
bcd8d530d1 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.

SVN-Revision: 31570
2016-03-20 20:05:13 +01:00
Jo-Philipp Wich
2bfb1e012a 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>

SVN-Revision: 31569
2012-05-03 17:19:16 +00:00
Gabor Juhos
6e5db7ed69 package/pptp: remove a stray bracket
SVN-Revision: 31568
2012-05-03 13:29:36 +00:00
Gabor Juhos
3349cf2691 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>

SVN-Revision: 31566
2012-05-03 09:43:10 +00:00
Gabor Juhos
60db046ef2 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>

SVN-Revision: 31565
2012-05-03 09:39:01 +00:00
Gabor Juhos
97697c332f Add ppp-mod-pppol2tp subpackage to ppp
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

SVN-Revision: 31564
2012-05-03 09:38:58 +00:00
Florian Fainelli
e69d1b9940 openssl: update to 1.0.1b
SVN-Revision: 31551
2012-05-02 15:40:32 +00:00
Gabor Juhos
70322ba3d1 move CONFIG_BOOKE_WDT_DEFAULT_TIMEOUT to the target configs
SVN-Revision: 31547
2012-05-01 08:00:25 +00:00
Felix Fietkau
7a8d12bafa relayd: move the interface fixup to the right place
SVN-Revision: 31545
2012-04-30 18:27:12 +00:00
Felix Fietkau
ea1d49fc90 relayd: use config_load+fixup_interface instead of scan_interfaces to speed up startup time
SVN-Revision: 31544
2012-04-30 18:24:00 +00:00
Felix Fietkau
4ea86b956c 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
SVN-Revision: 31543
2012-04-30 18:23:56 +00:00
Felix Fietkau
8a790d9730 relayd: use an init script instead of a legacy network proto handler (fixes #11276)
SVN-Revision: 31542
2012-04-30 18:23:52 +00:00
Felix Fietkau
f8868fc87b ath9k: merge a ar93xx ht40 performance fix
SVN-Revision: 31540
2012-04-30 08:20:34 +00:00
Felix Fietkau
897abd824f mac80211: fix station lookup issues
SVN-Revision: 31539
2012-04-30 07:57:09 +00:00
Felix Fietkau
a85af68ad0 mac80211: load lib80211 after cfg80211 (#11342)
SVN-Revision: 31537
2012-04-29 21:00:17 +00:00
Gabor Juhos
5528e0b008 package/kernel: add module for the Pericom PT7C4338 RTC chip
Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>

SVN-Revision: 31526
2012-04-29 15:08:23 +00:00
Gabor Juhos
8c60f7825b package/kernel: add i2c module support for Freescale MPC processors
Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>

SVN-Revision: 31524
2012-04-29 15:08:21 +00:00
Gabor Juhos
01a9103254 package/kernel: add module for the Booke watchdog
Based on a patch by Wojciech Dubowik <Wojciech.Dubowik@neratec.com>

SVN-Revision: 31522
2012-04-29 15:00:37 +00:00
Felix Fietkau
bfa2c971a0 mac80211: fix WDS AP authentication issues (#11261, #11318)
SVN-Revision: 31517
2012-04-29 13:47:37 +00:00
Felix Fietkau
f44934b9ae netifd: update to latest version, fixes address/route list handling issues and fixes dual-stack ppp route handling
SVN-Revision: 31516
2012-04-29 12:20:10 +00:00
Felix Fietkau
d4d223edad hostapd: update to 20120428, fixes some radius issues and wds ap mac address issues
SVN-Revision: 31515
2012-04-29 11:14:53 +00:00
Felix Fietkau
873cdb190c pppd: fix parsing the ipv6-{up,down}-script option
SVN-Revision: 31514
2012-04-29 10:08:33 +00:00
Hauke Mehrtens
164dd71afe broadcom-diag: add missing break into switch case statement.
SVN-Revision: 31506
2012-04-28 23:30:05 +00:00
Mirko Vogt
232b7aa65b remove special treatment when using glibc - support got dropped
SVN-Revision: 31504
2012-04-28 22:24:16 +00:00
Mirko Vogt
334fd4199b purge support for glibc - use eglibc instead!
for reference: http://www.mail-archive.com/openwrt-devel@lists.openwrt.org/msg13425.html

SVN-Revision: 31503
2012-04-28 22:24:12 +00:00
Mirko Vogt
90f58064be 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>

SVN-Revision: 31499
2012-04-28 19:54:54 +00:00
Florian Fainelli
129afe12b7 base-files: fix typo in 05_firstboot_skip script (#11359)
SVN-Revision: 31492
2012-04-27 16:49:16 +00:00