Commit Graph

8864 Commits

Author SHA1 Message Date
John Crispin
c7168b64ef dhcp: Fix broadcast parameter validation support, remove unused netmask parameter
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>

SVN-Revision: 40332
2014-03-30 13:07:52 +00:00
John Crispin
1fdf13a9e1 util-linux: add missing dependency
https://dev.openwrt.org/ticket/15417

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

SVN-Revision: 40331
2014-03-30 13:00:50 +00:00
John Crispin
1966d4942c busybox: backport dd conv=swab from 1.22
Some boards have the WLAN EEPROM stored in flash in big-endian format,
whereas the driver requires the EEPROM in little-endian format. The
conv=swab option in dd is particularly useful in this case. This patch
backports this feature from busybox-1.22 based on the following commits:

commit    b941316ae5313be523b64f0a9151ee4decb2b35b dd: support conv=swab
commit    8395bd3f52f8ed46fa3ffc316b2d113afa748bae dd: fix example in a
comment. No code changes.
commit    5b9910f0a4a1b7976c46e6f849aaa263180e5521 dd: fail if swab is
attempted on odd-sized block
commit    0ff0b320a2dbb5e0b5fa245ffd9b2648d7026843 dd: code shrink

v2: include the commit messages from upstream

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>

SVN-Revision: 40327
2014-03-30 09:16:47 +00:00
John Crispin
3fbffbb7b0 ltq-adsl-mei: improve memory allocation
The ltq-adsl-mei driver allocates memory for the ADSL firmware in a
rather stupid way, leading to several 128k allocations, which fail when
many services are enabled. This patch tries to allocate 64 kiB chunks,
and only falls back to larger allocations if the returned pointers are
not correctly aligned. Fixes out-of-memory errors on Danube boards with
32 MiB RAM.

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>

SVN-Revision: 40325
2014-03-30 09:16:39 +00:00
John Crispin
1335853ae5 ltq-vdsl: add led status reporting
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40322
2014-03-30 09:16:27 +00:00
John Crispin
c9d0738645 ltq-vdsl: fix MIPS16 compile breakage
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40308
2014-03-30 09:15:29 +00:00
John Crispin
4001a1ee15 firmware: create a new folder for holfing firmware blobs
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40307
2014-03-30 09:15:25 +00:00
John Crispin
89ecc2fdad util-linux: backport upstream fix for unshare utility
the unshare utility wasn't getting certain defines for mount
anymore.

SVN-Revision: 40302
2014-03-30 09:15:03 +00:00
John Crispin
00d7e84af6 mtd: improve mtd detection
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40301
2014-03-30 09:14:58 +00:00
Felix Fietkau
3ecffab050 dropbear: move options.h editing to Build/Configure
fixes incremental build with change to CONFIG_DROPBEAR_ECC
drop --with-shared which is unknown to configure

Patch by Catalin Patulea <cat@vv.carleton.ca>

SVN-Revision: 40300
2014-03-29 17:10:52 +00:00
Felix Fietkau
f2fdd8ebdb dropbear: add options SSHKeepAlive and IdleTimeout.
Without timeout mechanism, if ssh client disconnected without sending
FIN or RST, forked dropbear servers would hang there for
KEX_RETRY_TIMEOUT seconds (8 hours).

TCP keepalive is not implemented in dropbear yet, thus the name
SSHKeepAlive.

300 seconds in this patch is selected from the default value of
ServerAliveInterval for Debian ssh client (See man ssh_config).

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 40299
2014-03-29 17:05:35 +00:00
Felix Fietkau
dd5a12c5a1 dropbear: fix interface config setting
Patch from #15070

SVN-Revision: 40298
2014-03-29 16:59:33 +00:00
Felix Fietkau
ad52658be7 dropbear: update to 2014.63
Upstream changelog:
https://matt.ucc.asn.au/dropbear/CHANGES

This adds elliptic curve cryptography (ECC) support as an option, disabled
by default.

dropbear mips 34kc uClibc binary size:
before: 161,672 bytes
after, without ECC (default): 164,968
after, with ECC: 198,008

Signed-off-by: Catalin Patulea <cat@vv.carleton.ca>

SVN-Revision: 40297
2014-03-29 16:59:26 +00:00
Jo-Philipp Wich
f5fce5e0da mac80211: skip antenna gain when compiling regdb.txt (#15397)
The antenna gain attribute has been removed from the upstream regulatory database.
Incorperate patch from Luis R. Rodriguez to skip the parsing of the gain attribute
in genregdb.awk in order to emit proper rules again.

Also refresh fuzzy patches while we're at it.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 40296
2014-03-28 16:05:46 +00:00
John Crispin
95a14e1dcd ubox: fix logd (hopefully)
https://dev.openwrt.org/ticket/15357

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

SVN-Revision: 40295
2014-03-27 13:36:01 +00:00
Imre Kaloz
23e3526dc4 update regulatory database to 2013-11-27
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 40293
2014-03-27 11:28:51 +00:00
Felix Fietkau
d99f9ac093 usbmode: switch to http:// instead of git://
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40027
2014-03-26 16:08:06 +00:00
Felix Fietkau
f7d087c4aa jsonpath: switch to http:// instead of git://
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40026
2014-03-26 16:08:02 +00:00
Felix Fietkau
9ca965ba4c libubox: switch to git.openwrt.org as source
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40025
2014-03-26 16:07:58 +00:00
Felix Fietkau
608f4fe3b0 mtd: add support for bad blocks in NAND flash
NAND flash is very likely to contain bad blocks.

Currently, mtd and therefore sysupgrade fails when it encounters a single bad block, potentially leaving an unbootable system.

This patch allows the mtd utility to skip bad blocks in NAND flash and complete sysupgrade successfully.

Patch by: Matthew Redfearn <matt.redfearn@nxp.com>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40021
2014-03-26 10:50:09 +00:00
Steven Barth
0555ebf66d 6rd / ds-lite: make the firewall-zones of nested-protocols configurable
SVN-Revision: 40020
2014-03-26 10:12:49 +00:00
Steven Barth
2a893c2057 dhcp: send 6rd-ORO when expecting 6rd-information
SVN-Revision: 40019
2014-03-26 09:48:20 +00:00
John Crispin
ec44a0f11e fs-tools: add back mount_root, jffs2reset and ffs2mark functionality
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40018
2014-03-25 20:15:50 +00:00
Felix Fietkau
e7de56916a ustream-ssl: update to latest version, adds certificate validation support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40017
2014-03-25 15:06:24 +00:00
Imre Kaloz
3f5749e292 add the TI AM335x PM firmware package
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 40016
2014-03-25 14:56:35 +00:00
Luka Perkov
bf98d81259 util-linux: update to 2.24.1
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 40010
2014-03-24 00:19:44 +00:00
Luka Perkov
8d92259690 libroxml: enable xpath support
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 40008
2014-03-23 16:08:58 +00:00
Felix Fietkau
c295f65da9 ca-certificates: install to /etc/ssl/certs/ directly instead of installing a symlink (fixes #15351)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40007
2014-03-23 11:59:37 +00:00
Felix Fietkau
abd13cd85b uhttpd: update to latest version, improves cgi path handling
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40005
2014-03-22 19:38:48 +00:00
Felix Fietkau
8a17353e75 ustream-ssl: update to the latest version, fixes cyassl build
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40004
2014-03-21 23:39:47 +00:00
Felix Fietkau
9138e8015e uhttpd: update to latest version, fixes HEAD requests to CGI scripts
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40003
2014-03-21 20:49:56 +00:00
Felix Fietkau
5c53e63836 netifd: update to the latest version, adds support for reloading proto handlers on toplogy changes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40001
2014-03-21 15:55:27 +00:00
Felix Fietkau
eb225996ee px5g: rename the old package to px5g-standalone, add a new one that links against polarssl
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40000
2014-03-21 15:55:23 +00:00
Felix Fietkau
6d270ebc2b polarssl: add support for generating rsa keys
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39999
2014-03-21 15:55:18 +00:00
Felix Fietkau
a37db0de7e libroxml: add package (tiny XML parser/writer library)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39998
2014-03-21 15:55:15 +00:00
Felix Fietkau
c53c7a0fe0 hostapd: add pbc_in_m1 option
Option pbc_in_m1 is being used as a WPS capability discovery
workaround for PBC with Windows 7.
Add possibility to enable this workaround from UCI.

To enable it, turn on wps and set wps_pbc_in_m1 parameter to 1.

Signed-off-by: Pawel Kulakowski <pawel.kulakowski@tieto.com>

SVN-Revision: 39995
2014-03-21 15:55:03 +00:00
Felix Fietkau
5a6f00b846 ead: clean up
Remove unused variables
Correct some (non important) memory leaks
Remove fclose(NULL)
Correct possible out of bound access

spotted with cppcheck

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>

SVN-Revision: 39994
2014-03-21 15:54:59 +00:00
Felix Fietkau
7c029cc262 ead: set_nonblock() is doing nothing (typo)
spotted with cppcheck

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>

SVN-Revision: 39993
2014-03-21 15:54:56 +00:00
Felix Fietkau
0945555e14 ppp: remove ppp requirement from chat
This patch removes dependancy of PPP from chat application as chat application can be used for other serial communication as well that is not dependant on PPP and therefore one should be able to install chat without PPP. There also are no dependencies within chat application for PPP.

Signed-off-by: Oskari Rauta <oskari.rauta at gmail.com>

SVN-Revision: 39992
2014-03-21 15:54:52 +00:00
Felix Fietkau
4621a855b2 libnl-tiny: ensure compatibility to libnl version 3 and higher
To be prepared to support keepalived 1.2.10 and higher we need libnl3 or
higher. The attached patch
add some defines so that it can be build be libnl-tiny.
Patch by Thomas Heil

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39991
2014-03-21 15:54:48 +00:00
Felix Fietkau
19f9b22f09 Add Bosch C_CAN/D_CAN modules kernel package
Add Bosch C_CAN/D_CAN driver as a kernel package. The D_CAN controller is used
on BeagleBoneBlack.

Signed-off-by: Jan Kardell <jan.kardell@telliq.com>

SVN-Revision: 39990
2014-03-21 15:54:44 +00:00
Felix Fietkau
5041b8e46c kernel: add can.ko to the kmod-can package.
Build all of the can support as modules, otherwise the kernel image is
changed when a can kernel package is selected, because the can protocol
is then built in into the kernel image.

Signed-off-by: Jan Kardell <jan.kardell@telliq.com>

SVN-Revision: 39989
2014-03-21 15:54:41 +00:00
Felix Fietkau
04d99f29cf mac80211: iwlagn include firmware for 7260 cards
This patch enables including the firmware for Intel Dual Band Wireless-N 7260 and Intel Dual Band Wireless-AC 7260 cards in iwlagn.

Signed-off-by: Matthew Reeve <mreeve@tenxnetworks.com>

SVN-Revision: 39988
2014-03-21 15:54:37 +00:00
Felix Fietkau
dc7ecef0be busybox: remove obsolete brctl linux 2.4 compat patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39987
2014-03-21 15:54:34 +00:00
Felix Fietkau
a66d9b7907 busybox: remove obsolete awk include() patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39986
2014-03-21 15:54:30 +00:00
Felix Fietkau
2b64517dff ustream-ssl: update to latest version, fixes writes before ssl handshake completion
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39985
2014-03-21 15:54:26 +00:00
Felix Fietkau
02373252ba ca-certificates: add system CA certificates package (based on the debian one)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39984
2014-03-21 15:54:22 +00:00
Felix Fietkau
84c3487e5a procd: add a PROCD_DEBUG variable that will dump the ubus calls from init scripts to stderr
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39983
2014-03-21 15:54:18 +00:00
Felix Fietkau
2ba3e0ebe6 mac80211: Enable kmod-rt2800-soc package for rt288x target
Trunk and the latest backport to Attitude Adjustment have the
kmod-rt2800-soc package hidden for the ramips_rt288x target.
This makes the dependency match the dependency given in the
TITLE field.

Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 39976
2014-03-21 15:03:08 +00:00
Florian Fainelli
db87169b41 libusb-compat: install libusb-config in host staging dir
A bunch of packages such as sispctl look for libusb-config to find it, install
libusb-config in staging_dir/*/host/bin which is in the TARGET_PATH.

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

SVN-Revision: 39975
2014-03-20 23:16:06 +00:00