Commit graph

10535 commits

Author SHA1 Message Date
Rafał Miłecki
a7724918c9 kernel: mac80211: backport bcma patch renaming IRQ control function
This backports upstream commit 702131e2a393b45174be326f1dbe20b658b4f157
bcma: move PCI IRQ control function to host specific code

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44969
2015-03-24 10:38:59 +00:00
Jo-Philipp Wich
437d710546 lldpd: add option to disable privilege separation
Helpful to disable when debugging lldpd crashes (when working on it).
When privilege separation is on, some crashes are stack-traced to
some privilege separation code.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>

SVN-Revision: 44967
2015-03-24 10:13:08 +00:00
Felix Fietkau
5d9eeab64a build: remove obsolete references to cris and avr32
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44965
2015-03-24 10:07:40 +00:00
Felix Fietkau
512066dba4 toolchain: remove obsolete checks for avr32
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44963
2015-03-24 10:07:25 +00:00
Steven Barth
321ff8d516 mac80211: disable for uml
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 44953
2015-03-23 14:51:56 +00:00
Imre Kaloz
a86b430a85 mwlwifi: update to the new revision
Adds client mode support and fixes for Apple devices

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44950
2015-03-23 12:45:19 +00:00
Felix Fietkau
59b55e6a94 iwinfo: update to the latest version, fixes 802.11ac capability reporting
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44948
2015-03-23 12:31:28 +00:00
John Crispin
752fc0c8d3 libubox: update to latest git HEAD
fix a bug the made uloop_end() not work when called from within a uloop_process
callback handler

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

SVN-Revision: 44945
2015-03-22 19:30:04 +00:00
Felix Fietkau
7cacd6bdb6 netifd: fix default initialization of RPS/XPS
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44944
2015-03-22 17:40:39 +00:00
Felix Fietkau
78692595e7 netifd: update to the latest version, adds support for configuring RPS/XPS (enabled by default where available)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44943
2015-03-22 16:42:44 +00:00
Felix Fietkau
889e1e4bff fstools: update to the latest version, makes interrupted first boot more reliable
Use xattr to store the filesystem initialization state of the overlay.
As long as the filesystem is not marked as initialized yet (happens in
/etc/init.d/done), all overlay data (except for sysupgrade.tgz) will be
discarded before the system is allowed to boot

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

SVN-Revision: 44942
2015-03-22 15:11:27 +00:00
Felix Fietkau
bc1fc688af base-files: keep sysupgrade.tgz until /etc/init.d/done has been called
This makes interrupted boots after sysupgrade more reliable

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

SVN-Revision: 44941
2015-03-22 15:11:20 +00:00
Nicolas Thill
a96fe7d228 util-linux: replace spaces with tabs
Signed-off-by: Nicolas Thill <nico@openwrt.org>

SVN-Revision: 44938
2015-03-22 12:37:33 +00:00
John Crispin
dbd0e9d092 kernel: fix usb kernel package Makefile
Signed-off-by: zouxf <fl.service@t-firefly.com>

SVN-Revision: 44928
2015-03-21 21:48:04 +00:00
John Crispin
2e15b95799 perf: don't error on warnings
There are some places where there is a redundant declaration of
strlcpy() that prevents building perf otherwise.

Signed-off-by: John Szakmeister <john@szakmeister.net>

SVN-Revision: 44926
2015-03-21 21:47:48 +00:00
John Crispin
b16cf34c95 curl: fix PKG_CONFIG_DEPENDS
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

SVN-Revision: 44925
2015-03-21 21:47:41 +00:00
John Crispin
1312cd9263 lldpd: add Build/InstallDev rule
For using liblldpctl to talk to lldpd (via unix sockets).

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>

SVN-Revision: 44924
2015-03-21 21:47:34 +00:00
Steven Barth
8cfe2fb30b netifd: fix ipv6 route regression
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 44919
2015-03-21 18:28:08 +00:00
Rafał Miłecki
aafe123d02 mac80211: include brcmfmac firmware for BCM43602
It can be found e.g. in Netgear R8000.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44915
2015-03-20 23:57:35 +00:00
Rafał Miłecki
bd82b403cf mac80211: update linux-firmware to 2015-03-20
It includes new Broadcom firmware files for brcmfmac.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44914
2015-03-20 22:36:28 +00:00
Felix Fietkau
34eb384597 kernel: fix ipset related build error (#19231)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44912
2015-03-20 17:01:06 +00:00
Felix Fietkau
9143cf5fc9 mac80211: merge a few performance enhancements
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44910
2015-03-20 16:24:14 +00:00
Felix Fietkau
f7a861615c mac80211: update software queueing patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44909
2015-03-20 16:24:06 +00:00
Imre Kaloz
211a4484a1 mac80211: fix 5ghz variable name
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44907
2015-03-20 12:13:11 +00:00
Imre Kaloz
8f91c80ea1 mac80211: when looking for VHT, check 5GHz support as well
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44906
2015-03-20 11:47:16 +00:00
Felix Fietkau
46efd56b40 netfilter: clean up compatibility code for old kernels
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44904
2015-03-20 11:01:26 +00:00
Steven Barth
3006bc6904 openssl: biweekly critical security update
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 44900
2015-03-20 08:14:42 +00:00
Steven Barth
b27efd6e07 netifd: device update fixes, improvements in policy routing
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 44899
2015-03-20 07:50:45 +00:00
Felix Fietkau
9314180c34 uboot-envtools: add ramips wsr-600/1166 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44897
2015-03-19 21:00:41 +00:00
Felix Fietkau
f88687aaf9 igmpproxy: add names for default config lan/wan phyint sections to make it easier to refer to them from scripts
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44896
2015-03-19 20:37:40 +00:00
Felix Fietkau
eff93e4027 kernel: remove bogus dependency of zram on !TARGET_ep93xx
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44893
2015-03-19 11:59:21 +00:00
Felix Fietkau
b3fdc3cfea kernel: remove obsolete kernel version dependencies
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44892
2015-03-19 11:59:17 +00:00
Felix Fietkau
0db8c86666 ifenslave: remove package, as it depends on obsolete kernels
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44891
2015-03-19 11:59:09 +00:00
Felix Fietkau
31681f0878 ipset: use in-tree kernel modules to fix crash issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44883
2015-03-19 11:58:17 +00:00
John Crispin
8fd3227a95 procd: update to latest git HEAD
fixes parameter handling in askfirst tool

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

SVN-Revision: 44879
2015-03-18 20:08:27 +00:00
Felix Fietkau
f30358d41a kernel: remove the netfilter optimization that skips the filter table, it has caused too many issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44873
2015-03-17 17:14:48 +00:00
Felix Fietkau
2e5125c3d6 mac80211: add some improvements to the software queueing code
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44872
2015-03-17 17:14:43 +00:00
John Crispin
37a4102423 package/uboot-envtools: add OpenMesh OM5P-AN support
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

SVN-Revision: 44865
2015-03-17 09:43:52 +00:00
John Crispin
17564eeaaa package/om-watchdog: add OpenMesh OM5P-AN support
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

SVN-Revision: 44864
2015-03-17 09:43:47 +00:00
John Crispin
29c3611294 igmpproxy: Multiple downlink interfaces fix.
from Erik Tews <erik@datenzone.de>

This patch has two effects. First, the quickleave feature/behaviour is
disabled for all groups that are used on more than one interface. The
idea of quickleave is to leave a group fast and later figure out whether
there is still somebody interested in that group. For groups used on
more than one interface, it is already known that there is still
somebody interested in that group.

Second, when a leave is received for a group that is used on more than
one interface, igmpproxy sends queries on all interface to discover
remeining listeners for that group. Previously these queries were only
send on the interface the leave was received on, so that listeners on
the other interfaces were not discovered and the group might be left on
the upstream router incorrectly.

This patch can be improved by sending the queries only on the interface
the leave was received on and adapting the algorithm in
internAgeRoute(...) in rttable.c in a way that only one interface is
actually processed and all other interfaces of the route are silently
assumed to be still active.

Signed-off-by: Erik Tews <erik@datenzone.de>

SVN-Revision: 44859
2015-03-17 09:43:07 +00:00
John Crispin
0a0cca5fdb ltq-hcd: remove ar10 and vr9 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44858
2015-03-17 09:43:01 +00:00
Felix Fietkau
e1a8e41287 ltq-adsl-mei: fix bugs in linux 3.18 compatiblity change
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44845
2015-03-16 13:05:49 +00:00
Felix Fietkau
6cfad3ca21 ltq-adsl: fix bugs in linux 3.18 compatiblity change
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44844
2015-03-16 13:05:42 +00:00
Nicolas Thill
81ff0511df packages: more (e)glibc fixes after r44701
_GNU_SOURCE has been declared "deprecated" in favor of _DEFAULT_SOURCE in glibc

Signed-off-by: Nicolas Thill <nico@openwrt.org>

SVN-Revision: 44843
2015-03-16 12:32:22 +00:00
Nicolas Thill
4b382a440b packages: some (e)glibc fixes after r44701
Signed-off-by: Nicolas Thill <nico@openwrt.org>

SVN-Revision: 44842
2015-03-16 12:25:06 +00:00
Felix Fietkau
8733c8103b json-c: merge an upstream fix for a compiler warning (fixes #19187)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44826
2015-03-16 07:54:55 +00:00
Rafał Miłecki
f60113762a mac80211: include brcmfmac USB firmware only if support was enabled
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44808
2015-03-16 07:04:28 +00:00
Rafał Miłecki
190cd817b0 mac80211: add option for USB support in brcmfmac
This makes it consistent with other buses configuration.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44807
2015-03-16 06:52:26 +00:00
Rafał Miłecki
e5d89ea721 mac80211: update wiki URLs
linuxwireless.org was moved to wireless.wiki.kernel.org and it RO now

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44806
2015-03-16 06:39:10 +00:00
Felix Fietkau
ff92fe5770 mac80211: add missing dependency for brcmfmac with SDIO support enabled (fixes #19184)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44790
2015-03-15 17:51:16 +00:00
Jo-Philipp Wich
eb7f470e7b netifd: dhcp: install host route to gateway (#19182)
Certain DHCP servers push a gateway outside of the assigned interface subnet,
to support those situations install a host route towards the gateway.

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

SVN-Revision: 44789
2015-03-15 14:48:18 +00:00
Jonas Gorski
798916442d modules: add depenency on usb-gadget for dwc2 also on brcm63xx
Bcm63xx supports usb gadget, so dwc2 will default do dual mode.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 44786
2015-03-15 14:19:14 +00:00
Felix Fietkau
808c460250 toolchain: remove leftovers from old llvm-gcc experiments
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44783
2015-03-15 12:03:01 +00:00
Felix Fietkau
83cdd1623c uhttpd: make generating SSL keys more reliable against interrupted boots
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44772
2015-03-15 10:32:10 +00:00
Felix Fietkau
4568e73396 ltq-vdsl-fw: fix md5sum for new firmware
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44770
2015-03-15 07:57:55 +00:00
Felix Fietkau
876fb249a8 ath9k: disable TPC support for now until bugs have been found and fixed
SVN-Revision: 44768
2015-03-15 07:10:38 +00:00
Felix Fietkau
603975efe8 ltq-vdsl-fw: update firmware cutter URL for newer Speedport firmware (fixes #19160)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44767
2015-03-15 06:51:45 +00:00
Felix Fietkau
ea5c986aa6 ath9k: always select relay support, not just when debugfs is enabled - fixes an unresolved symbol error
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44754
2015-03-14 12:12:25 +00:00
Felix Fietkau
5011d85ee8 grub2: fix processing the serial rts/cts option
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44752
2015-03-14 08:21:02 +00:00
Felix Fietkau
34f831dbd8 ath: fix selecting the module individually (#19162)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44750
2015-03-14 02:00:50 +00:00
Felix Fietkau
90b3984e60 mac80211: fix a rounding issue in minstrel MCS rate duration calculation
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44749
2015-03-14 02:00:44 +00:00
Felix Fietkau
25d13b89ee mac80211: improve powersave handling in the tx queue rework patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44748
2015-03-14 02:00:36 +00:00
John Crispin
ba21cbae3e dnsmasq: enable pxe-prompt, pxe-service config options
DNSMASQ has the ability to provide a menu to a pxeboot system, using
the --pxe-prompt and --pxe-service configuration options.  The current
init.d script converting the "dhcp" file to "dnsmasq.conf" does not
find these options, but they are supported.  This patch thus enables
the options.

Signed-off-by: Derek LaHousse <dlahouss@mtu.edu>

SVN-Revision: 44747
2015-03-13 08:39:08 +00:00
John Crispin
45c34eec46 BusyBox: Netcat 1.10 compatibility require server option
Netcat 1.10 compatibility require server options

1.10 compatibility without server option
produce error "NO OPT l!" and completely not function

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>

SVN-Revision: 44746
2015-03-13 08:38:56 +00:00
John Crispin
f728bfdae0 relayd: bump to latest git HEAD
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44745
2015-03-13 08:38:46 +00:00
John Crispin
fb60dd2ae6 dnsmasq: Make parameters optional in dhcpboot config
The --dhcp-boot option of dnsmasq does not require servername and serveraddress
arguments if the builtin tftp server is used.

Signed-off-by: Stefan Tomanek <stefan.tomanek+openwrt@wertarbyte.de>

SVN-Revision: 44744
2015-03-13 08:38:35 +00:00
John Crispin
31b8de4587 lldpd: make LLDP-MED, DOT1 and DOT3 extensions disable-able
The names for the config options were taken from lldpd's
configure.ac file.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>

SVN-Revision: 44743
2015-03-13 08:38:25 +00:00
John Crispin
d8e61b088f ipset: add ipmark support
Below you'll find a patch to add ipmark module support to ipset.
Changeset 44671 already bumped ipset to version 6.24, but it's still
compiled without ipmark support. This is a requirement for mwan3 v1.6.

Signed-off-by: Jeroen Louwes <jeroen.louwes@gmail.com>

SVN-Revision: 44742
2015-03-13 08:38:17 +00:00
Felix Fietkau
fce7d5cfc9 mac80211: fix a pointer handling error in the new tx queueing code
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44738
2015-03-13 05:17:06 +00:00
Felix Fietkau
1850e0f0a7 Rename 'atheros' target to 'ath25'
Rename 'atheros' target to more precise 'ath25'.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 44736
2015-03-13 03:02:28 +00:00
John Crispin
3e2f578353 toolchain: The glorious return of glibc, ver 2.21
It's the eglibc packaging with a bit of spit-polishing. And testing. :-)

[blogic: merged glibc and eglibc into 1 and made eglibc a glibc variant]

Signed-off-by: Jeff Waugh <jdub@bethesignal.org>
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44701
2015-03-12 19:50:57 +00:00
John Crispin
eff1859f8e busybox: Minor fix for glibc 2.21 compatibility
Signed-off-by: Jeff Waugh <jdub@bethesignal.org>

SVN-Revision: 44700
2015-03-12 19:50:23 +00:00
John Crispin
a7d6427796 fstools: bump to latest git HEAD
this makes fstools compile with latest glibc

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

SVN-Revision: 44699
2015-03-12 19:50:14 +00:00
John Crispin
0164cf9742 procd: bump to latest git HEAD
this makes procd compile with latest glibc

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

SVN-Revision: 44698
2015-03-12 19:50:00 +00:00
Felix Fietkau
690808a3ba ath9k: fix a beacon enable handling bug
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44696
2015-03-12 16:21:53 +00:00
John Crispin
470e89f977 lldpd: add support for 'readonly_mode'
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>

SVN-Revision: 44689
2015-03-12 10:06:08 +00:00
John Crispin
e995ed5060 modules: set dwc2 gadget dependency for at91
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44688
2015-03-12 10:06:01 +00:00
John Crispin
18e5626236 acx-mac80211: fails to build on cobalt
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44687
2015-03-12 10:05:54 +00:00
John Crispin
0d1e13f27b modules: make dwc2 only depend on gadget support for brcm2708
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44683
2015-03-11 17:58:53 +00:00
John Crispin
e69626901e uhttp: update to latest git HEAD
this add json-c 0.12, sorry forgot to push this earlier today

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

SVN-Revision: 44682
2015-03-11 17:58:47 +00:00
John Crispin
5b04e0dc4e ipset: Bump to 6.24
Included you'll find a patch to bump ipset to version 6.24. This
version supports the ip,fwmark set, which is needed for mwan3 1.6.

Signed-off-by: Jeroen Louwes <jeroen.louwes@gmail.com>

SVN-Revision: 44671
2015-03-11 16:41:58 +00:00
Felix Fietkau
a67cd94def mac80211: add missing header file
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44670
2015-03-11 16:36:35 +00:00
Felix Fietkau
790e704fc7 mac80211: remove obsolete patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44669
2015-03-11 16:25:09 +00:00
John Crispin
931b0f6e8a rpcd: update to latest git HEAD
adds 3 fixes from luka

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

SVN-Revision: 44666
2015-03-11 15:56:51 +00:00
John Crispin
59c20174f8 json-c: update to 0.12 and bump all depending services
Version 0.12 deprecates json_object_object_get and moves the header files around

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

SVN-Revision: 44657
2015-03-11 15:54:33 +00:00
Felix Fietkau
24e29efb2f mac80211: Use newer firmware for ath10k
Patch by Bryan Forbes <bryan@reigndropsfall.net>

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

SVN-Revision: 44656
2015-03-11 15:02:54 +00:00
Felix Fietkau
1e5b7c17b0 mac80211: update to wireless-testing 2015-03-09
Based on patch by Bryan Forbes <bryan@reigndropsfall.net>

Also update mt76 to update for API changes

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

SVN-Revision: 44655
2015-03-11 15:02:47 +00:00
Felix Fietkau
ee1e8c2f2d iw: update to 3.17
Patch by Bryan Forbes <bryan@reigndropsfall.net>

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

SVN-Revision: 44654
2015-03-11 15:02:32 +00:00
Luka Perkov
17610e7430 base-files: firstboot: pass down arguments such as -y to jffs2reset
This brings back old behavior.

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 44651
2015-03-10 23:43:25 +00:00
Steven Barth
e151d05622 6rd: make host dependency more specific
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 44636
2015-03-10 08:43:54 +00:00
Steven Barth
853a1d4baf 6in4: make host dependency more specific
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 44635
2015-03-10 08:43:40 +00:00
Nicolas Thill
a7f198b12c ebtables: revert "disable rpath" (closes: #19088)
This reverts commit 9340723d70bce9d905c3f53b2bf415963153b34d.

Signed-off-by: Nicolas Thill <nico@openwrt.org>

SVN-Revision: 44634
2015-03-09 22:07:05 +00:00
John Crispin
28631b65c2 kmod-usb-dwc2: depends on udc-core (kmod-usb-gadget)
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 44633
2015-03-09 14:07:30 +00:00
John Crispin
a7d3219b0c lantiq: ltq-ptm-{ar9, ase, xway}: fix alloc_netdev for 3.18
buildbot complained about
ifxmips_ptm_adsl.c:1445:70: error: macro "alloc_netdev" requires 4 arguments, but only 3 given
         g_net_dev[i] = alloc_netdev(0, g_net_dev_name[i], ether_setup);
                                                                      ^
fix that similar to the change made to ltq_ptm_vdsl.c
compile tested only.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 44632
2015-03-09 14:07:14 +00:00
John Crispin
f1dcfec6d8 ncm, qmi, mbim: Add dependency on wwan package
The wwan package holds the hotplug script to set mobile broadband
interfaces (un)available. Add it as a dependency to comgt-ncm,
uqmi and umbim.

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

SVN-Revision: 44631
2015-03-09 14:07:06 +00:00
John Crispin
6ab19b7f46 ncm: Remove unnecessary proto_set_available commands
Interface should not be set unavailable in all error cases,
returning 1 is enough.

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

SVN-Revision: 44630
2015-03-09 14:06:50 +00:00
John Crispin
3f0f0b8ece wwan: Improve USB modem hotplug script
Adds ncm proto to the list of checked protocols, sets interfaces
unavailable on device removal and removes the unnecessary ifup
command.

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

SVN-Revision: 44629
2015-03-09 14:06:30 +00:00
John Crispin
dfb9e7c31c comgt, wwan: Move USB data files to wwan package
USB modem data files should be a part of the wwan package, which
actually uses them unlike comgt.

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

SVN-Revision: 44628
2015-03-09 14:06:20 +00:00
Nicolas Thill
ba887275ca util-linux: fix pkgconfig files
Upstream choose to not rely on configure.ac and recursively expand paths in pkgconfig files at make time,
leading to absolute /usr/include & /usr/lib in there... And we don't want that when cross-compiling...

Signed-off-by: Nicolas Thill <nico@openwrt.org>

SVN-Revision: 44627
2015-03-09 02:02:50 +00:00
Steven Barth
8dc388f769 odhcpd: improvements for DHCPv4 and compile fixes
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 44619
2015-03-06 14:41:07 +00:00
John Crispin
8573891dfe openssl: enable ARM assembly acceleration
Tested myself on ixp4xx and mvebu, and (originally)
by Daniel on i.MX6. Also tested on a MIPS target,
to make sure the change to ASFLAGS does not break things.

Based on a patch submitted by Daniel Drown:

https://lists.openwrt.org/pipermail/openwrt-devel/2014-July/026639.html

Signed-off-by: Claudio Leite <leitec@staticky.com>
Signed-off-by: Daniel Drown <dan-openwrt@drown.org>

SVN-Revision: 44618
2015-03-06 07:57:10 +00:00
John Crispin
fa097e5ae5 kernel: disbale HAMRADIO in generic config
HAMRADIO enabled in all generic configs, but no one platform directly
use related drivers/protocols. This symbol is only used for kmod-ax25
package modules. Furthermore, half of platforms explicitly disables
this symbol, what silently disables build of modules for kmod-ax25
package.

So disable HAMRADIO by-default in generic config, add it to kmod-ax25
package and remove it from platform specific configs.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 44613
2015-03-06 07:56:21 +00:00
John Crispin
0d414e1c78 lantiq: fix netdev setup in ltq-ptm-vdsl
The initial fix for 3.18 in r44346 wrongly treated the newly added
parameter of alloc_netdev to be another function pointer, causing
ether_config to be skipped during ptm netdev init.
Fix this by partially reverting r44346 and properly setting the newly
added macro parameter.
(Tested on VRX200 board)

A similar change might be needed for ltq-ptm-adsl as well.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 44607
2015-03-05 20:25:18 +00:00
John Crispin
700a53f8e2 kernel: add ip_vti tunnel module
IP VTI (Virtual Tunnel Interface) is used to create a virtual device
for IPsec VPN (similar to OpenVPN).

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>

SVN-Revision: 44606
2015-03-05 20:25:11 +00:00
John Crispin
b48b7a7689 mtd: fix md5sum error checking
In mtd_verify(), the return value of md5sum() has been
interpreted as error if nonzero, while the function
returns number of processed bytes, which caused
mtd_verify() to always fail.

This patch fixes error checking to interpret only
negative values as errors.

Signed-off-by: Zefir Kurtisi <zefir.kurtisi@neratec.com>

SVN-Revision: 44605
2015-03-05 20:25:02 +00:00
John Crispin
8f99faaf21 ath5k: fix reset race
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 44603
2015-03-05 20:24:50 +00:00
John Crispin
ecde3110b5 ath5k: channel change fix
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 44602
2015-03-05 20:24:45 +00:00
Rafał Miłecki
be2abf706f kernel/mac80211: backport bcma changes from 4.1
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44595
2015-03-03 23:15:49 +00:00
Jo-Philipp Wich
c20e46f792 lldpd: fix passing multiple ifnames to the daemon
Instead of multiple -I arguments, lldpd expects a comma separated list.

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

SVN-Revision: 44585
2015-03-01 12:25:02 +00:00
Jonas Gorski
92eb27f56d package: mtd: move bcm963xx_tag definition into source code
Remove the need for the header file to be exported - we don't need most
of it anyway; all we care about are the offset of the rootfs length and
header crc fields.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 44557
2015-02-27 17:38:25 +00:00
Felix Fietkau
1a3028b2fc procd: update to the latest version, fixes musl compile error
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44552
2015-02-27 07:34:47 +00:00
Jo-Philipp Wich
03db988eaa ubox: fix segmentation fault in insmod
Fix segfault in kmodloader insmod mode due to uninitialized module
directory list.

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

SVN-Revision: 44549
2015-02-26 21:23:55 +00:00
Jo-Philipp Wich
b977134dc7 uhttpd: relay stderr to syslog
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44548
2015-02-26 13:44:05 +00:00
Jo-Philipp Wich
fd670d2756 procd: add support for relaying daemon stdio to syslog
Procd enabled init scripts can now specify:

  procd_set_param stdout 1
  procd_set_param stderr 1

... to relay their respective standard IO streams to the system log.

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

SVN-Revision: 44547
2015-02-26 13:42:47 +00:00
Jo-Philipp Wich
e0f48f8d30 libubox: implement ulog_close() and call it on ulog_open()
This is required to properly update syslog idents when switching between
log modes.

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

SVN-Revision: 44546
2015-02-26 13:42:44 +00:00
Jo-Philipp Wich
46432b13b6 fstools: switch to ulog api
Update to git head in order to switch the block, mount_root etc. logging to
the common ulog() api for putting early boot messages into dmesg.

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

SVN-Revision: 44545
2015-02-26 10:25:29 +00:00
Jo-Philipp Wich
cf6c1e5d26 ubox: switch to ulog api
Update to git head in order to switch the kmodloader logging to the common
ulog() api for putting early boot messages into dmesg.

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

SVN-Revision: 44544
2015-02-26 10:25:24 +00:00
Jo-Philipp Wich
9e28fe285b procd: switch to ulog api
Update to git head in order to switch the procd logging to the common ulog()
api for putting early boot messages into dmesg.

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

SVN-Revision: 44543
2015-02-26 10:25:21 +00:00
Jo-Philipp Wich
948483f93c libubox: introduce generic logging api
Update to git head in order to introduce the new ulog() logging api which
supports early boot logging to dmesg.

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

SVN-Revision: 44542
2015-02-26 10:25:18 +00:00
Steven Barth
547ac60813 6rd: honor tunlink in host dependency
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 44541
2015-02-26 07:42:12 +00:00
Steven Barth
0f365e4cb9 firewall: fix some more null-pointer accesses
thanks to Hans Dedecker

Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 44540
2015-02-26 07:14:41 +00:00
Jo-Philipp Wich
ff009fb74c fstools: fix build with enabled ubifs extroot support
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44538
2015-02-25 18:54:13 +00:00
Jo-Philipp Wich
b2eb77089b fstools: fix multiple extroot problems
- Support external overlays on non-MTD systems again
- Account for new directory structure of overlayfs partitions (additional upper/ component)
- Support executing block from either overlay or rom
- Support loading fstab from either overlay or rom
- Log extroot failures to dmesg

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

SVN-Revision: 44535
2015-02-25 13:03:16 +00:00
John Crispin
2f0b826b81 modules: make ahci-platform depend on TARGET_ipq806x
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44534
2015-02-25 12:01:19 +00:00
Jo-Philipp Wich
979e6ca857 ubox: kmodloader: support loading kmods from multiple directories
This is required during early boot in the extroot setup phase to support
loading kmods from the overlay that depend on kmods on the rom partition.

The subsequent mount_root updates will use the LD_LIBRARY_PATH env
variable to pass kmod directories to kmodloader.

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

SVN-Revision: 44533
2015-02-25 11:48:27 +00:00
John Crispin
3f22244009 modules: add ahci-platform
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44524
2015-02-24 12:00:16 +00:00
John Crispin
114da1595a kernel: add qca-nss-gmac as a new module
This driver is used on IPQ806x to instanciate & drive the ethernet
interfaces.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

SVN-Revision: 44521
2015-02-24 11:59:56 +00:00
Felix Fietkau
ae9999a766 samba36: update to 3.6.25, fixes remote code execution bug (CVE-2015-0240)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44515
2015-02-24 07:21:25 +00:00
Imre Kaloz
ad077832bf leds: package the NXP PCA963x driver
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44510
2015-02-23 11:09:03 +00:00
John Crispin
5e7d004633 ppp: Allow PPTP over a specified interface
In a dual-WAN setup, it's useful to specify an interface over which to
have PPTP.

Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>

SVN-Revision: 44507
2015-02-22 08:29:34 +00:00
John Crispin
291e04ee8f comgt: Use TCGETS and TCSETS ioctls for struct termios
When passing struct termios to ioctl TCGETS and TCSETS should be
used instead of TCGETA and TCSETA, which are meant for the older
struct termio. Should fix https://dev.openwrt.org/ticket/19012

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

SVN-Revision: 44506
2015-02-22 08:29:26 +00:00
John Crispin
7938da42f5 kernel: Fix USB gadget modules for v3.18
Updated patch that fixes whitespace and supports kernel v3.3 too.

Signed-off-by: Owen Kirby <osk@exegin.com>

SVN-Revision: 44502
2015-02-22 08:29:01 +00:00
Nicolas Thill
4b8ebb5d50 packages: remove uneeded PKG_BUILD_DIR overrides
Signed-off-by: Nicolas Thill <nico@openwrt.org>

SVN-Revision: 44498
2015-02-22 01:31:21 +00:00
John Crispin
ef87acc6a5 hostapd: fix c&p typo
https://dev.openwrt.org/ticket/19010

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

SVN-Revision: 44484
2015-02-17 15:59:28 +00:00
Steven Barth
c975f83cc2 netifd: various device config / event fixes (thx Hans Dedecker)
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 44480
2015-02-17 14:14:51 +00:00
Steven Barth
c091515d68 iproute2: bump version from v3.18.0 to v3.19.0
with refreshed patches

Signed-off-by: Russell Senior <russell@personaltelco.net>

SVN-Revision: 44479
2015-02-17 14:14:39 +00:00
Rafał Miłecki
a79d10fa01 mac80211: brcmfmac: Add PCIe support option
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44466
2015-02-16 19:36:35 +00:00
Rafał Miłecki
9034bd32af mac80211: brcmfmac: Add SDIO support option
This patch adds SDIO support for the brcmfmac driver.
For now only very few boards need it.

Signed off by: José Vázquez Fernández <ppvazquezfer@gmail.com>
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44465
2015-02-16 19:11:38 +00:00
Felix Fietkau
00d422fc60 netifd: update to the latest version, reverts a commit causing MTU issues (fixes #18869)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44461
2015-02-16 09:07:19 +00:00
John Crispin
dd41c1927c linux: fix kmod-usb-net-* for >= 3.17
Kernel commit 1bb5a356c3ea ("net: reduce USB network driver config
options.") hid the USB network drivers behind the new config symbol
CONFIG_USB_NET_DRIVERS.

Signed-off-by: Bjørn Mork <bjorn@mork.no>

SVN-Revision: 44460
2015-02-16 08:00:17 +00:00
John Crispin
fb57efa79e procd: fix PKG_CONFIG_DEPENDS
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44457
2015-02-15 19:55:37 +00:00
John Crispin
eea462106f uci-defaults: add ucidef_set_led_mmc
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 44446
2015-02-14 20:47:58 +00:00
Nicolas Thill
d0cf5a0530 package/valgrind: fix build on eglibc
configure tries to guess pagesize by calling getconf, provided by eglibc and compiled for the target, not the host.

Signed-off-by: Nicolas Thill <nico@openwrt.org>

SVN-Revision: 44445
2015-02-14 13:53:51 +00:00
John Crispin
8f3e9c91a8 hostapd: backport BSSID black/whitelists
This change adds the configuration options "bssid_whitelist" and
"bssid_blacklist" used to limit the AP selection of a network to a
specified (finite) set or discard certain APs.

This can be useful for environments where multiple networks operate
using the same SSID and roaming between those is not desired. It is also
useful to ignore a faulty or otherwise unwanted AP.

In many applications it is useful not just to enumerate a group of well
known access points, but to use a address/mask notation to match an
entire set of addresses (ca:ff:ee:00:00:00/ff:ff:ff:00:00:00).

This is especially useful if an OpenWrt device with two radios is used to
retransmit the same network (one in AP mode for other clients, one as STA for
the uplink); the following configuration prevents the device from associating
with itself, given that the own AP to be avoided is using the bssid
'C0:FF:EE:D0:0D:42':

config wifi-iface
	option device 'radio2'
	option network 'uplink'
	option mode 'sta'
	option ssid 'MyNetwork'
	option encryption 'none'
	list bssid_blacklist 'C0:FF:EE:D0:0D:42/00:FF:FF:FF:FF:FF'

This change consists of the following cherry-picked upstream commits:

b3d6a0a8259002448a29f14855d58fe0a624ab76
b83e455451a875ba233b3b8ac29aff8b62f064f2
79cd993a623e101952b81fa6a29c674cd858504f
(squashed to implement bssid_{white,black}lists)

0047306bc9ab7d46e8cc22ff9a3e876c47626473
(Add os_snprintf_error() helper)

Signed-off-by: Stefan Tomanek <stefan.tomanek+openwrt@wertarbyte.de>

SVN-Revision: 44438
2015-02-13 10:53:54 +00:00
John Crispin
cd96421b19 kexec-tools: bump version from v2.0.4 to v2.0.9.
- kexec-tools is now distributed with tarballs of .tar.gz and .tar.xz
   format; .tar.bz2 are not provided anymore.
 - Add CONFIG_KEXEC_LZMA for selecting lzma support.

Patches are updated along to:

 - Remove the now unnecessary patch 0004-mips_regdefs.patch.
 - Drop 100-reduce_size.patch because the size reduction is marginal.
 - Allow zlib and lzma support coexist together.  This patch has been
   merged into upstream project.
 - Fix kexec-tools' configure.ac.
 - Fix a few compilation warnings.

Size comparison of stripped binaries of kexec malta target with both
zlib and lzma support enabled.

 - Before: 41447
 - After:  42583

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

SVN-Revision: 44437
2015-02-13 07:42:13 +00:00
John Crispin
15cc0550c7 kexec-tools: show up only when KERNEL_KEXEC is enabled.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 44436
2015-02-13 07:42:05 +00:00
John Crispin
9dd9656e82 brcm2708-gpu-fw: simplify target dependencies
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 44435
2015-02-13 07:38:38 +00:00
Jo-Philipp Wich
e3744a7cc7 base-files: fix target/subtarget value in /etc/openwrt_release
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44409
2015-02-11 15:12:32 +00:00
John Crispin
173809b650 brcm2708-gpu-fw: revert to github releases, adapt to bcm2708 target changes and add back InstallDev
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 44406
2015-02-11 13:50:40 +00:00
John Crispin
0e2c66bb14 mt76: update to latest git HEAD
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44400
2015-02-11 13:05:07 +00:00
Nicolas Thill
693d76466a oprofile: mark broken on uml
Signed-off-by: Nicolas Thill <nico@openwrt.org>

SVN-Revision: 44398
2015-02-11 11:31:38 +00:00
Nicolas Thill
e97228fde9 ebtables: disable rpath
Signed-off-by: Nicolas Thill <nico@openwrt.org>

SVN-Revision: 44396
2015-02-11 11:31:07 +00:00
Nicolas Thill
afccff9f33 util-linux: disable rpath
Signed-off-by: Nicolas Thill <nico@openwrt.org>

SVN-Revision: 44395
2015-02-11 11:31:01 +00:00
John Crispin
408c969626 brcm2708: update to v3.18
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 44392
2015-02-11 10:17:55 +00:00
Felix Fietkau
658a33688e relayd: update to the latest version, adds fixes by Alejandro Enrique
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44389
2015-02-11 10:09:57 +00:00
Jo-Philipp Wich
7aa5766ad1 libevent2: remove defunct download mirror
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44380
2015-02-10 18:55:44 +00:00
John Crispin
9d7a45c24b kernel: add missing symbol to realtek wifi
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44366
2015-02-09 18:15:30 +00:00
Steven Barth
909af3fa4b openssl: fix upstream regression for non-ec builds
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 44364
2015-02-09 15:26:35 +00:00
Jo-Philipp Wich
ba2d7b9c2b rpcd: fix session.{login,list,destroy} method signatures
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44362
2015-02-09 12:54:29 +00:00
Steven Barth
1a014d170a polarssl: bump to 1.3.10, work around rename to mbedtls
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 44361
2015-02-09 12:44:32 +00:00
John Crispin
460b016ed0 lantiq: fix typo in script
Fix typo in firmware installer script.

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

SVN-Revision: 44351
2015-02-09 12:14:22 +00:00
John Crispin
64f9626963 lantiq: fix dsl drivers for 3.18
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44346
2015-02-09 12:12:52 +00:00
John Crispin
5c8b8b36e1 ar7-atm: make it compile under 3.18
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44343
2015-02-09 12:12:09 +00:00
Steven Barth
2ca8a6cce4 openssl: bump to 1.0.2
Fixes CVE-2014-3513, CVE-2014-3567, CVE-2014-3568, CVE-2014-3566

Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 44332
2015-02-09 12:04:00 +00:00
Steven Barth
6ee8d1f178 netifd: fix device config handling and add some config options
Thanks to Hans Dedecker

Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 44331
2015-02-09 08:30:06 +00:00
Jo-Philipp Wich
7be42a71e1 6in4: fix update timeout
The recent rework of the 6in4 endpoint update broke the retry mechanism.
Rework the timeout handling and make the update status more verbose.

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

SVN-Revision: 44327
2015-02-08 22:20:38 +00:00
Jo-Philipp Wich
ccc33238a4 openvpn: autostart openvpn instances for each .conf file in /etc/openvpn
Align init behaviour with other distros by starting an OpenVPN instance
for each config file found in /etc/openvpn/. This removes the additional
requirement to "register" the configs with uci and thus simplifies the
setup.

Make sure to respect the disabled state in uci to not suddenly autostart
instances which have been previously set to disabled, also skip configs
which are already started due to uci configuration.

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

SVN-Revision: 44310
2015-02-07 21:01:28 +00:00
Luka Perkov
71f96048e6 package: uboot-envtools: add nbg6716 to appropriate group
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 44308
2015-02-07 19:59:08 +00:00
Jo-Philipp Wich
84c6ee610b 6in4: don't use /dev/stdout for wget calls
Busybox ash does not implement /dev/stdout, therfore any wget output
is written into a file /dev/stdout instead of onto the standard output.

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

SVN-Revision: 44301
2015-02-07 13:33:15 +00:00
Jo-Philipp Wich
74338a700a libevent2: update to v2.0.22
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44289
2015-02-06 10:30:04 +00:00
Jo-Philipp Wich
5f65074523 busybox: fix build on FreeBSD 10.1
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44284
2015-02-05 23:32:17 +00:00
Jo-Philipp Wich
8f7ce3aa6d mac80211: don't hardcode /bin/bash
Instead of hardcoding /bin/bash, use /usr/bin/env bash - this fixes the
build on FreeBSD 10.1.

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

SVN-Revision: 44283
2015-02-05 23:18:47 +00:00
Jo-Philipp Wich
66fe4fd966 ncurses: add host build for 'tic'
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44282
2015-02-05 23:18:42 +00:00
John Crispin
70b4d641c1 ralink: remove VHT capabilities when not using 802.11ac
The mt76 driver might have some problem working with MT7602.
MT7602 should not have VHT capabilities . But the driver not identity properly.

Signed-off-by: wengbj <fl.service@t-firefly.com>

SVN-Revision: 44257
2015-02-04 06:11:01 +00:00
John Crispin
600548e472 linux/modules: add support for Asix ax88179 USB-Gigabit Ethernet adapters
requested and tested by forum user OWonPi
https://forum.openwrt.org/viewtopic.php?id=55495

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>

SVN-Revision: 44256
2015-02-04 06:10:57 +00:00
John Crispin
5cd8a482f3 base-files: default_postinst() fix variable colision
The name variable contains at first the package name,
and after the last group name.
This patch fixes /etc/rc.d symlink creation (at least).

Change name in pkgname, change the other name in ugname
(user group name), and id in ugid (user group id)

Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>

SVN-Revision: 44253
2015-02-04 06:10:06 +00:00
John Crispin
ee445d7cb2 ath5k: fix spontaneus AR5312 freezes
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 44252
2015-02-04 06:09:51 +00:00
John Crispin
fd2689ecfc map: Fix white space errors
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>

SVN-Revision: 44246
2015-02-03 10:10:54 +00:00
John Crispin
83693349fc cURL: implement new functionality with cleanup and fixes
remove obsolete configuration settings
  --disable-thread
  --enable-nonblocking
  --without-krb4
remove SSPI support
  only supported on windows
correct --with/without-ca-path handling
  only supported with OpenSSL and PolarSSL
correct LDAP/LDAPS protocol
  add dependency libopenldap
added SCP/SFTP protocol
  default "No"
  depends on libssh2
added IDN support
  default "No"
  depends on libidn
added SMB protocol (new in 7.40)
  default "No"
  require 'cryptographic authentication' and either 'GnuTLS' or 'OpenSSL' selected
added Unix sockets support (new in 7.40)
  default "No"
added error verbose messages
  default "No"
changes to Makefile
  Increase PKG_RELEASE
  PKG_CONFIG_DEPENDS and CONFIGURE_ARGS
    extended for new functionality
    use "autoconf_bool" for all --enable/--disable options
    restructure for easier reading
changes to Config.in
  extended for new functionality
  implement dependencies
  restructure and grouping for easier reading
build tested on XUbuntu 14.10 x86 for x86 (generic) and ar71xx (WNDR3800)

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>

SVN-Revision: 44243
2015-02-02 09:02:24 +00:00
John Crispin
a0cc6803c8 mac80211: Revert adding SM Power Save capability to hostapd configuration
Part of rev 44173 added setting the SM Power Save capability in the hostapd.conf
file if the driver indicated that it was supported. It appears this was
incorrect, because the field in the actual HT Capabilities field in the AP
configuration is really a state indication. Just copying the state from the
capability resulted in the AP indicating that it had SMPS enabled all the time
if it supported SMPS. This effectively just disables all clients from sending
packets to the AP with more than one spatial stream, for no good reason.
So remove this part of the change.

Signed-off-by: Robert Hancock <hancockrwd@gmail.com>

SVN-Revision: 44239
2015-02-02 09:01:44 +00:00
Jo-Philipp Wich
119b90759b util-linux: only enable curses support if required
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44236
2015-02-01 13:11:17 +00:00
Zoltan Herpai
b0826467ee modules: fix usb-gadget build on 3.18
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 44235
2015-02-01 09:35:52 +00:00
Jo-Philipp Wich
135bd1d765 linux: enable kmod-bcma on ppc40x after r44230
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44231
2015-01-31 16:49:26 +00:00
Jo-Philipp Wich
fdb0d6d860 linux: convert CompareKernelPatchVer to version tagged symbols
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44229
2015-01-31 13:55:51 +00:00
Jo-Philipp Wich
ab26904c79 linux: fix framebuffer kmods for >= 3.15
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44227
2015-01-31 13:15:45 +00:00
John Crispin
00a548aea8 mac80211: Revision r36939 breaks support for RT5370 (rt2800usb)
http://patchwork.ozlabs.org/patch/434532/

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

SVN-Revision: 44222
2015-01-30 08:06:47 +00:00
John Crispin
b86545c86d mac80211: fix NULL pointer crash in monitor frame injection TX path
This "patch to the patch" fixes a NULL pointer derefence crash in the new
intermediate software queues. The crash can be reproduced by injecting an
802.11 frame with a BSSID that does not belong to a configured vif. The
wperf tool (https://github.com/anyfi/wperf) may be convenient for doing
this.

Signed-off-by: Johan Almbladh <ja@anyfi.net>

SVN-Revision: 44220
2015-01-30 08:06:28 +00:00
Jo-Philipp Wich
50364b2d08 linux: add kmod-udptunnel4 & kmod-udptunnel6 required by kmod-vxlan and kmod-l2tp for >= 3.16
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44210
2015-01-29 22:58:40 +00:00
Jo-Philipp Wich
d0bebbbf43 linux: kmod-usb-net-huawei-cdc-ncm depends on kmod-usb-net-cdc-ncm
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44209
2015-01-29 22:58:35 +00:00
Jo-Philipp Wich
46b1577bfc linux: kmod-zram requires kmod-lib-lz4 for >= 3.15
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44205
2015-01-29 21:59:03 +00:00
Jo-Philipp Wich
3fda4c9866 linux: fix kmod-usbip* for >= 3.17
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44204
2015-01-29 21:58:57 +00:00
Jo-Philipp Wich
fefba5d685 Revert "x86_64: enable PCIE support"
This reverts commit daadd4320c4eadce3937e8ca13ede0ce1b97e125 which erroneously
introduced unrelated changes.

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

SVN-Revision: 44202
2015-01-29 19:15:45 +00:00
Jo-Philipp Wich
44eecf6392 x86_64: enable PCIE support
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44201
2015-01-29 19:12:29 +00:00
Jo-Philipp Wich
6dd422a256 curl: fix build with --disable-crypto-auth (#18838)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44192
2015-01-29 16:52:15 +00:00
Nicolas Thill
fc5cec97d2 curl: fix typo in 2 config symbols
Signed-off-by: Nicolas Thill <nico@openwrt.org>

SVN-Revision: 44191
2015-01-29 16:37:08 +00:00
John Crispin
ac1fd175ca modules: Add support for Realtek r8712 and RTL8192SU.
This patch adds support for Realtek r8712 and RTL8188SU/RTL8191SU/RTL8192SU
family of fullmac usb wireless cards. The r8712u staging driver only supports
WEXT but works with no problems in OpenWRT.

Signed off by: José Vázquez Fernández <ppvazquezfer@gmail.com>

SVN-Revision: 44184
2015-01-28 19:19:57 +00:00
John Crispin
623716dd43 comgt-ncm: Fix NCM protocol
This patch fixes the NCM protocol by adding the missing ifname
to the netifd script and changing one unintended "send" statement to
"print" in runcommand.gcom. It also cleans up logging and makes the
manufacturer names case-insensitive. Furthermore, comgt-ncm should
not depend on the USB-serial-related kernel modules, as the cdc-wdm
control device works without them. There is also no need to depend on
kmod-huawei-cdc-ncm, since other manufacturers (like Sony-Ericsson
and Samsung) which use other kernel modules should also be supported.

I'd appreciate if someone with Samsung or Sony-Ericsson modems could
test this, I was only able to test it with Huawei E3276, E3372 and
E353.

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

SVN-Revision: 44182
2015-01-28 19:19:33 +00:00
Jo-Philipp Wich
e25e6df2cf linux: add upstream patch to allow building dwc2 as module on 3.18
Also add the required config symbols to usb.mk

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

SVN-Revision: 44181
2015-01-28 13:45:06 +00:00
Jo-Philipp Wich
772a664571 fstools: fix exit code of uci-defaults script
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44180
2015-01-28 13:44:37 +00:00
John Crispin
c3f2e8fb08 uboot-lantiq: fix P-2812HNU-F1/3 package dependency
After r43987 TARGET_lantiq_xrx200_P2812HNUFX does not exist anymore.
Fix empty menuconfig bootloader selection by making u-boot depend on
one of the new target profiles.

Signed-off-by: Antti Seppälä <a.seppala@gmail.com>

SVN-Revision: 44179
2015-01-28 12:08:13 +00:00
John Crispin
43b0486a1d libubox: update to latest git HEAD
adds "ignore SIGPIPE by default"

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

SVN-Revision: 44178
2015-01-28 12:08:04 +00:00
John Crispin
25a1cb4e16 procd: update to latest git HEAD
adds a zram size calculation bug fix

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

SVN-Revision: 44177
2015-01-28 12:07:55 +00:00
John Crispin
89df45295e cURL: Update to version 7.40.0
* Update to version 7.40.0
* remove non existing config options around enable/disable HTTPS protocoll
* remove --with-ca-path if ssl support disabled
* set proxy support as default like all versions before CC did

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>

SVN-Revision: 44176
2015-01-28 12:07:47 +00:00
John Crispin
895edf7c43 libertas: set wireless macaddr
Update the wireless macaddr with the value retrieved from the H/W.

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

SVN-Revision: 44175
2015-01-28 12:07:35 +00:00
John Crispin
cae76f611a libertas: configure sysfs symlinks
Update the libertas driver to configure symlinks in sysfs.  This enables
the driver to be handled correctly by the mac80211/netifd/hostapd scripts.
With this patch, the wireless interface is functional on Guruplug Server Plus.

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

SVN-Revision: 44174
2015-01-28 12:07:29 +00:00
John Crispin
04f104e74d mac80211: Add some missing 802.11n capabilities to hostapd configuration
Add some missing 802.11n capabilities to the hostapd ht_capab string when
supported by the hardware: Spatial Multiplexing Power-Save and 7935-byte AMSDUs.

Signed-off-by: Robert Hancock <hancockrwd@gmail.com>

SVN-Revision: 44173
2015-01-28 12:07:21 +00:00
John Crispin
e0aaac8434 mac80211: fix fallback to macaddr
If '/sys/class/ieee80211/phyN' is not a symlink, the call to readlink
produces either an empty path (if /sys/class/ieee80211/phyN/device doesn't
exist) or a path that begins with '/sys/class/ieee80211' (which does not
work with the subsequent line to strip '/sys/devices' from the beginning of
the path).  Modify the checks to detect these conditions, and fallback to
using the macaddr.

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

SVN-Revision: 44172
2015-01-28 12:07:08 +00:00
John Crispin
f283700396 mac80211: update libertas_sdio package name
Change the name of the package to match the module name so it matches the
package name referenced by the Kirkwood (Guruplug) profile.

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

SVN-Revision: 44171
2015-01-28 12:06:59 +00:00
John Crispin
5337fa2204 modules: select grace_period config option for nfs-common
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 44170
2015-01-28 12:06:52 +00:00
John Crispin
494b980f69 modules: add lz4 compression support
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 44169
2015-01-28 12:06:45 +00:00
Felix Fietkau
73cdcde24c kernel: fix regression in building kmod-serial-8250 on linux 3.8 (#18821)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44154
2015-01-27 00:06:42 +00:00
Jo-Philipp Wich
542b6c30e5 fix subject in generated certificates
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44149
2015-01-25 23:33:49 +00:00
Jo-Philipp Wich
3cb7c2cd4d linux: disable kmod-bcma on ppc40x, it does not build
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44146
2015-01-25 21:55:36 +00:00
Jo-Philipp Wich
48b0c50a05 linux: disable kmod-zram on ep93xx, it does not export unmap_kernel_range
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44145
2015-01-25 21:02:12 +00:00
Jo-Philipp Wich
a7c27877e2 uhttpd: fix another remaining relro issue in the Lua plugin
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44143
2015-01-25 20:43:17 +00:00
Jo-Philipp Wich
f2508ab437 linux: fix broken kmod-i2c-mux-pca9541 after r44113
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44142
2015-01-25 20:03:26 +00:00
Jo-Philipp Wich
634c8c215c uhttpd: fix time_t type mismatch on 32bit systems
The previous update introducing LFS support unconditionally changed the
sprintf() pattern used to print the file modification time to use PRIx64.

Explicitely convert the st_mtime member of the stat struct to uint64_t in
order to avoid type mismatch errors when building for non-64bit targets.

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

SVN-Revision: 44138
2015-01-25 17:59:08 +00:00
Jo-Philipp Wich
b82bd94b62 uhttpd: fix crash with enabled relro, memory leak in dirlists and lfs
* Fix the ubus plugin to not make its uhttpd_plugin entry symbol
   constant as uhttpd needs to modify its list_head member
 * Make sure that uhttpd supports large files by using 64bit ints
   where appropriate and by passing _FILE_OFFSET_BITS=64 to the build
 * Plug a possible memleak in the directory listing code

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

SVN-Revision: 44135
2015-01-25 17:23:26 +00:00
Jo-Philipp Wich
2d523f7d59 procd: make build of upgraded optional
Update to latest git head in order to support disabling the build
of upgraded which causes linker errors on avr32.

This also adds some fixes to the ubus system.info and system.board
methods.

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

SVN-Revision: 44134
2015-01-25 16:12:52 +00:00
Jo-Philipp Wich
8f5c0708ed uhttpd: fix exit code of mod-ubus postinstall script
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44132
2015-01-25 15:54:43 +00:00
Felix Fietkau
1aad0e6878 kernel: fix typo in hwmon.mk (#18813)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44120
2015-01-25 11:21:48 +00:00
Felix Fietkau
b8303e0337 kernel: eliminate a few kernel_patchver_*/CompareKernelPatchVer calls
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44114
2015-01-24 22:13:31 +00:00
Felix Fietkau
47e651e2eb kernel: drop obsolete kernel version checks
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44113
2015-01-24 22:13:22 +00:00
Felix Fietkau
3120c9c9c2 build: drop obsolete kernel version dependencies
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44110
2015-01-24 20:02:09 +00:00
Felix Fietkau
768d09be87 mac80211/hostapd: fix HT mode setup for RSN ad-hoc networks
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44100
2015-01-24 19:27:22 +00:00
Felix Fietkau
c180e8df1e relayd: prevent start for disabled interfaces
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44099
2015-01-24 18:12:09 +00:00
Felix Fietkau
ea638e4eba netifd: fix a regression with some VLAN configurations introduced in the last update
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44098
2015-01-24 14:16:36 +00:00
Felix Fietkau
929559c946 ppp: on PPPoE, always send PADT when shutting down the connection
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44097
2015-01-24 13:41:10 +00:00
Felix Fietkau
18d4b8783c netifd: do not stop service on shutdown, only call ifdown
Also add a small delay, like on restart

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

SVN-Revision: 44096
2015-01-24 13:41:04 +00:00
Jo-Philipp Wich
639f388fc2 ppp: rework host-uniq support to take hex encoded strings
The previous implementation of the "host-uniq" option used plain strings for
passing the value to pppd which made it impossible to specify binary data.

Switch the format to a hex encoded string to support binary data.

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

SVN-Revision: 44094
2015-01-24 11:30:45 +00:00
Felix Fietkau
c71cf8e6e4 netifd: update to the latest version, fixes bridge reload (#18351) and device config issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44093
2015-01-24 00:30:36 +00:00
Jo-Philipp Wich
1f6411e436 netifd: store additional DHCP lease information
Extend the DHCPv4 handler script to store additional information from the
DHCP lease in the per-interface data object.

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

SVN-Revision: 44092
2015-01-23 22:19:29 +00:00
Jo-Philipp Wich
4ec8d515b2 include, base-files: align default repository url with changed buildbot structure
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44091
2015-01-23 13:09:54 +00:00
John Crispin
b54f3ad6e7 base-files: fix led script to skip missing triggers
this is based on http://patchwork.ozlabs.org/patch/424451/

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

SVN-Revision: 44087
2015-01-23 12:33:04 +00:00
John Crispin
255a680a99 uboot-lantiq: add a cgu fix for arx100
http://patchwork.ozlabs.org/patch/431024/

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

SVN-Revision: 44086
2015-01-23 12:32:54 +00:00
John Crispin
ef336da6ed modules: add 6LoWPAN over Bluetooth Low Energy
Adding support 6LoWPAN over Bluetooth Low Energy in kernel 3.18.
Creating new bluetooth_6lowpan group with CONFIG_6LOWPAN and CONFIG_BT_6LOWPAN.
Adding kernel object dependencies for 6LoWPAN over Bluetooth Low Energy.

Signed-off-by: Lukasz Duda <lukasz.duda@nordicsemi.no>
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44084
2015-01-23 12:32:36 +00:00
Felix Fietkau
bc31129b03 gmp: use http instead of ftp download (#18805)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44082
2015-01-23 10:54:56 +00:00
Felix Fietkau
d7274cf747 ubus: update to the latest version
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44081
2015-01-23 10:54:52 +00:00
Felix Fietkau
e10da3edbf libubox: update to the latest version
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44080
2015-01-23 10:54:45 +00:00
John Crispin
bebf1e6e6e modules: f2fs: enable support for xattr
To use overlayfs on f2fs, xattr needs to be supported.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 44075
2015-01-22 09:35:35 +00:00
John Crispin
4d0056ed24 modules: f2fs: add missing symbols for 3.18
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 44074
2015-01-22 09:35:29 +00:00
Zoltan Herpai
5df21f8444 modules: install the newly introduced grace.ko in nfs-common in 3.18
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 44068
2015-01-20 23:49:44 +00:00
Zoltan Herpai
be86eab8e6 packages: uboot-sunxi: add support for Lamobo R1
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 44067
2015-01-20 22:50:52 +00:00
Zoltan Herpai
9b103cc1f3 packages: uboot-sunxi: fix GMAC TX delay for Bananapi
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 44066
2015-01-20 22:49:47 +00:00
Steven Barth
fd0e95fe7b nftables: bump for minor fixes
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 44062
2015-01-20 13:42:47 +00:00
Jo-Philipp Wich
555492e41a polarssl: patch CVE-2015-1182
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44060
2015-01-20 12:49:54 +00:00
John Crispin
29207748b9 base-files: Use 200ms LED timing as before for the new phase preinit_regular.
This restores normal pre-r43715 200ms blink-period for the System LED we're all accustomed to see while our OpenWrt routers are booting.

Failsafe possibility will now be signalled with a new 100ms blinking, which is easily recognizable from the normal 200ms booting.

So no existing user will be scared by a new 500ms LED pattern, since such a slow pattern could easily be mistaken for something wrong... I was like "ok why my router is collapsing now, is this a bad flash, a kernel panic, or what else" when I've seen it for the first time ;)

Sorry for not having explained myself better in v1 of this patch.

Original:
Preinit, failsafe is possible: 200ms
Preinit, failsafe not possible anymore, booting normally: 200ms
Failsafe entered: 50ms

Now (after preinit_regular has been introduced):
Preinit, failsafe is possible: 200ms
Preinit, failsafe not possible anymore, booting normally: 500ms *here is the "offending" change*
Failsafe entered: 50ms

With my proposed patch:
Preinit, failsafe is possible: 100ms *indicate this condition with a new timing, that prompts the user to press the key if they want to start failsafe*
Preinit, failsafe not possible anymore, booting normally: 200ms *keep this as before*
Failsafe entered: 50ms

Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>

SVN-Revision: 44056
2015-01-20 06:54:53 +00:00
John Crispin
eb6acdf6b4 comgt: Allow using non-TTY devices
Some Huawei mobile broadband sticks utilizing the NCM protocol expose
the control channel as a cdc-wdm device node instead of a virtual TTY.
This device node does not support the terminal ioctls. This patch
adds a check whether the provided device is a TTY or not and does not
attempt to use the terminal ioctls if they are not supported.

v2: reduce diffstat by simplifying code a little
Signed-off-by: Matti Laakso <malaakso@elisanet.fi>

SVN-Revision: 44054
2015-01-20 06:33:49 +00:00
Rafał Miłecki
7aba4f1539 uclient: update to the latest version with timeout support
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44053
2015-01-19 16:02:59 +00:00
Rafał Miłecki
e171dc4cf5 libubox: update to the latest commit with JSON and usock fixes
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44052
2015-01-19 15:56:06 +00:00
Steven Barth
99fa07d07e netifd: add option to customize IPv6 interface identifiers (thx Hans Dedecker)
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 44050
2015-01-19 08:39:04 +00:00
Zoltan Herpai
a5c36c26eb packages: uboot-sunxi: uEnv is used as a script rather than default env
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 44048
2015-01-19 00:00:57 +00:00
Zoltan Herpai
8bf446a16b packages: uboot-sunxi: re-add Olimex A13 SOM which went AWOL in u-boot trunk
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 44039
2015-01-18 16:56:08 +00:00
Zoltan Herpai
4d0d09be10 packages: uboot-sunxi: remove unused Hackberry target
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 44038
2015-01-18 16:47:50 +00:00
Luka Perkov
64653e6373 uboot-envtools: fix Linksys EA3500 env size
Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 44037
2015-01-18 16:45:11 +00:00
Zoltan Herpai
d41d7cc199 packages: update uboot-sunxi to 2015.01
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 44035
2015-01-18 16:42:42 +00:00
John Crispin
94aebc6bd7 mac80211: add throughput trigger to ath10k
add a led trigger to ath10k based on the ath9k code

Signed-off-by: Gianluca Anzolin <gianluca@sottospazio.it>

SVN-Revision: 44033
2015-01-18 10:26:57 +00:00
Felix Fietkau
2f43d3dcba igmpproxy: add patch to silence unnecessary logging of downstream igmp traffic
This patch adds a simple check to silence logging of messages about
unrecognized igmp packets which originate from devices in local network.

Without this patch igmpproxy floods openwrt syslog with messages such as:
  user.warn igmpproxy[19818]: The source address 192.168.1.175 for group
  239.255.250.250, is not in any valid net for upstream VIF.

Signed-off-by: Antti Seppälä <a.seppala@gmail.com>

SVN-Revision: 44020
2015-01-18 00:42:43 +00:00
John Crispin
16b45d21c6 dnsmasq: add option --quiet-dhcp
The --quiet-dhcp setting increases privacy by omitting DHCP lease logs including MAC addresses.

Signed-off-by: Lars Kruse <devel@sumpfralle.de>

SVN-Revision: 44006
2015-01-17 14:38:55 +00:00
John Crispin
491f3fc048 Support for building an hardened OpenWRT
Introduce configuration options to build an "hardened" OpenWRT.

Options to enable Stack-Smashing Protection, FORTIFY_SOURCE and RELRO
have been introduced.

uClibc makefile now automatically detects if SSP support is necessary.

hostapd makefile has been fixed to use "^" as sed separator since
using a comma was problematic when using "-Wl,-z,now" and the like in
TARGET_CFLAGS.

Currently enabling SSP on user space depends on enabling SSP kernel
side, this is due to the fact that TARGET_CFLAGS are used to build
kernel modules (at least). Suggestions on how to avoid this are welcome.
Using "select" instead of "depends on" doesn't seem to work with choice
entries.

Tested with a lantiq (WBMR) router, GCC 4.8, uClibc and a subset of
the available packages.
Needs to be tested with GCC 4.9 and the remaining packages.
PIE not currently included.

Signed-off-by: Alessandro Di Federico <ale+owrt@clearmind.me>

SVN-Revision: 44005
2015-01-17 14:31:30 +00:00
John Crispin
744298b8a0 base-files: Add ucidef_set_led_timer to uci-defaults.sh
Signed-off-by: Gerald Kerma <dreagle@doukki.net>

SVN-Revision: 44000
2015-01-17 13:58:14 +00:00
John Crispin
5010e2d2dd modules: Add kmod-w1-slave-ds2413
This patch adds support for building the ds2413 one-wire kernel module.

Signed-off-by: Wouter Paesen <wouter@blue-gate.be>

SVN-Revision: 43999
2015-01-17 13:58:09 +00:00
John Crispin
09a08fb9e6 toolchain: Add libatomic when using external toolchain
Otherwise libatomic cannot be used in conjunction with external toolchains.

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

SVN-Revision: 43998
2015-01-17 13:58:03 +00:00
John Crispin
ff3448adaa curl: allow enabling https protocol
Provide optional --enable-https flag for curl.

Signed-off-by: Lars Kruse <devel@sumpfralle.de>

SVN-Revision: 43997
2015-01-17 13:57:56 +00:00
Felix Fietkau
6774c43dde add iperf3, a new and smaller version of iperf
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43996
2015-01-17 13:14:02 +00:00
John Crispin
748d452899 add pkgconfig information for popt library
Modify makefile to record pkgconfig information for the popt library.

Signed-off-by: Mike Brady <mikebrady@eircom.net>

SVN-Revision: 43994
2015-01-17 12:52:28 +00:00
Steven Barth
18f76fbef1 iproute2: add package for bridge program
The 'bridge' program has been part of iproute2 for a while, and it was once
declared[1] to the the intended longterm replacement for bridge-utils, but
its features are still mostly distinct[2] from the venerable brctl.

[1] http://lwn.net/Articles/435845/
[2] http://sgros-students.blogspot.com/2013/11/comparison-of-brctl-and-bridge-commands.html

Signed-off-by: Russell Senior <russell@personaltelco.net>

SVN-Revision: 43993
2015-01-17 10:58:34 +00:00
Steven Barth
d644d1bd5e iproute2: fix header problem for musl
iproute2 includes "sanitized" linux kernel headers, which work fine for uClibc, however
with musl there is some header conflict, principally some ipv6 structure redefinition.  This
patch removes <linux/in6.h> from include/linux/if_bridge.h to solve the problem.

Signed-off-by: Russell Senior <russell@personaltelco.net>

SVN-Revision: 43992
2015-01-17 10:58:29 +00:00
Steven Barth
148684bbf4 iproute2: bump version to 3.18.0
Signed-off-by: Russell Senior <russell@personaltelco.net>

SVN-Revision: 43991
2015-01-17 10:58:22 +00:00
John Crispin
03a708a0db kernel: add references to openwrt alternative button handling
Add documentation that makes it easier to find the alternative,
recommended, and default handling for buttons in OpenWrt.

Signed-off-by: Karl Palsson <karlp@tweak.net.au>

SVN-Revision: 43989
2015-01-17 07:07:28 +00:00
Jo-Philipp Wich
59cab6dd48 dnsmasq: support and use local-service by default (#14951)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 43982
2015-01-16 19:04:19 +00:00
Imre Kaloz
8a103d5c56 mvebu: fixups for the new driver
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 43978
2015-01-16 08:44:15 +00:00
Steven Barth
3138207f48 openssl: update to 1.0.1l *sigh*
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 43976
2015-01-15 17:59:06 +00:00
Felix Fietkau
a570ccd7e2 ath9k: fix irq storm issues (#18483)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43971
2015-01-14 13:20:38 +00:00
Luka Perkov
5b0849b97f mdns: install uci package as config
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 43967
2015-01-14 09:59:26 +00:00
Steven Barth
252bb0eeae map: export calculated ruleset to /tmp
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 43961
2015-01-13 19:00:39 +00:00
Rafał Miłecki
adaac86c7f hostapd: backport patch fixing handling new stations
This patch fixes adding new stations for some specific drivers when
using more than 1 BSS.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43951
2015-01-12 22:10:00 +00:00
Steven Barth
98cb5c3a55 nftables: add missing patch
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 43949
2015-01-12 12:40:08 +00:00
Steven Barth
05220c415c nftables: bump again and disable building docs
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 43948
2015-01-12 12:39:14 +00:00
Imre Kaloz
a2ed38f7b6 pwm support can't be compiled as a module
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 43947
2015-01-12 11:58:41 +00:00
Steven Barth
d73c382a73 map: ignore psid and psidlen if psidlen is 0
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 43946
2015-01-12 10:56:54 +00:00
Steven Barth
6150714eb0 nftables: bump to latest and enable debugging
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 43944
2015-01-12 06:16:51 +00:00
Nicolas Thill
a46965888a fuse: update to 2.9.3
Signed-off-by: Nicolas Thill <nico@openwrt.org>

SVN-Revision: 43941
2015-01-11 22:15:03 +00:00
Jo-Philipp Wich
e0daabc8ec ltq-vmmc: fix broken autoconf invocation
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 43934
2015-01-11 16:53:59 +00:00
Jo-Philipp Wich
18fd9db4e3 ltq-tapi: fix broken autoconf invocation
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 43933
2015-01-11 16:53:52 +00:00
Jo-Philipp Wich
cb01d94199 ltq-ifxos: fix broken autoconf invocation
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 43932
2015-01-11 16:53:45 +00:00
Jo-Philipp Wich
d6beac80f8 ltq-adsl: fix broken autoconf invocation
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 43931
2015-01-11 16:53:34 +00:00
Felix Fietkau
2ff6a5f618 libusb: update to version 1.0.19
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43930
2015-01-11 16:14:23 +00:00
Zoltan Herpai
2513eb6c19 uboot-sunxi: fix bananapro target, update patch
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 43921
2015-01-10 19:12:35 +00:00
Felix Fietkau
64e7b41b2e popt: update to latest upstream version, fixes build breakage after autofools changes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43901
2015-01-09 19:52:27 +00:00
Zoltan Herpai
157e1da749 uboot-sunxi: various updates - use mainline uboot-sunxi version (2015.01-rc3) - add support for Bananapro
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 43899
2015-01-09 19:19:35 +00:00
Jo-Philipp Wich
5cda3e9f7f gettext-full: update to v0.19.4
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 43896
2015-01-09 14:51:29 +00:00
Jo-Philipp Wich
da9782f935 thc-ipv6: update to v2.7
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 43894
2015-01-09 12:49:55 +00:00
Jo-Philipp Wich
39d0b8fea8 lldpd: update to v0.7.13
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 43891
2015-01-09 12:35:09 +00:00
Steven Barth
4fde177b7a procd: fix console bringup on UML (again...)
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 43890
2015-01-09 08:39:16 +00:00
John Crispin
31eadd07f2 base-files: Fix switch settings for uci-defaults-new.sh.
The enable and reset settings need to be added even when they're false. This is true at least for 'enable', that seems to default to true otherwise.

Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>

SVN-Revision: 43887
2015-01-08 20:26:52 +00:00
John Crispin
52c949e448 openvpn: procd_set_param respawn
Makes sure that the openvpn instance gets restarted in case of a crash.

Intentional stops using /etc/init.d/openvpn stop will not result in
respawning. Anything else will, e.g. killall openvpn.

Signed-off-by: Lars Gierth <larsg@systemli.org>

SVN-Revision: 43886
2015-01-08 20:26:41 +00:00
Steven Barth
dbca1e5662 openssl: bump to 1.0.1j
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 43875
2015-01-08 18:29:26 +00:00
Jo-Philipp Wich
a6a142caf6 firewall: respect src_dip option for reflection (#18544)
Also fix wrong IPv4 netmask calculation on x86-64, thanks Ulrich Weber.

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

SVN-Revision: 43874
2015-01-08 16:10:46 +00:00
Jo-Philipp Wich
3f26960a5c base-files: update default url template and complete kconfig help
Change the kconfig default for the repository url template to use "%s"
instead of "%T" as well.

Also complete the kconfig help text do cover the recently introduced
manufacturer, product and hwrev options.

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

SVN-Revision: 43872
2015-01-08 12:46:44 +00:00