Commit Graph

12313 Commits (c07d8fffd3bda085f52cf4f2c2a3f7fb43417f4b)

Author SHA1 Message Date
Felix Fietkau c07d8fffd3 netifd: update to the latest version, reverts a commit causing MTU issues (fixes #18869)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44461 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-16 09:07:19 +00:00
John Crispin 4093cf4d1c 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44460 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-16 08:00:17 +00:00
John Crispin c373922a13 procd: fix PKG_CONFIG_DEPENDS
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44457 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-15 19:55:37 +00:00
John Crispin 60759662cb uci-defaults: add ucidef_set_led_mmc
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44446 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-14 20:47:58 +00:00
Nicolas Thill ed4bc0aec1 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44445 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-14 13:53:51 +00:00
John Crispin b79d1ca819 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44438 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-13 10:53:54 +00:00
John Crispin 83f1e61682 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44437 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-13 07:42:13 +00:00
John Crispin 36a3eba434 kexec-tools: show up only when KERNEL_KEXEC is enabled.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44436 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-13 07:42:05 +00:00
John Crispin 876f6efca9 brcm2708-gpu-fw: simplify target dependencies
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44435 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-13 07:38:38 +00:00
Jo-Philipp Wich 656eef3a50 base-files: fix target/subtarget value in /etc/openwrt_release
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44409 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-11 15:12:32 +00:00
John Crispin 93a0c121de 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44406 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-11 13:50:40 +00:00
John Crispin 45155038a9 mt76: update to latest git HEAD
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44400 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-11 13:05:07 +00:00
Nicolas Thill 80922f654a oprofile: mark broken on uml
Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44398 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-11 11:31:38 +00:00
Nicolas Thill ede8135f37 ebtables: disable rpath
Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44396 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-11 11:31:07 +00:00
Nicolas Thill df38033647 util-linux: disable rpath
Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44395 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-11 11:31:01 +00:00
John Crispin c291f76d24 brcm2708: update to v3.18
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44392 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-11 10:17:55 +00:00
Felix Fietkau 23d7535d49 relayd: update to the latest version, adds fixes by Alejandro Enrique
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44389 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-11 10:09:57 +00:00
Jo-Philipp Wich 2f64ecd2ac libevent2: remove defunct download mirror
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44380 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-10 18:55:44 +00:00
John Crispin 3a3c8e4aa4 kernel: add missing symbol to realtek wifi
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44366 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-09 18:15:30 +00:00
Steven Barth a98b1cf597 openssl: fix upstream regression for non-ec builds
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44364 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-09 15:26:35 +00:00
Jo-Philipp Wich 68814e38a3 rpcd: fix session.{login,list,destroy} method signatures
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44362 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-09 12:54:29 +00:00
Steven Barth 2fa3bd79fd polarssl: bump to 1.3.10, work around rename to mbedtls
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44361 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-09 12:44:32 +00:00
John Crispin 503a887610 lantiq: fix typo in script
Fix typo in firmware installer script.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44351 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-09 12:14:22 +00:00
John Crispin f4502d48f7 lantiq: fix dsl drivers for 3.18
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44346 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-09 12:12:52 +00:00
John Crispin face9b819a ar7-atm: make it compile under 3.18
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44343 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-09 12:12:09 +00:00
Steven Barth c10ed85ffb 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44332 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-09 12:04:00 +00:00
Steven Barth d22b024754 netifd: fix device config handling and add some config options
Thanks to Hans Dedecker

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44331 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-09 08:30:06 +00:00
Jo-Philipp Wich 5eb79fdc7b 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44327 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-08 22:20:38 +00:00
Jo-Philipp Wich 6a61b200d8 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44310 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-07 21:01:28 +00:00
Luka Perkov b7c188b9a9 package: uboot-envtools: add nbg6716 to appropriate group
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44308 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-07 19:59:08 +00:00
Jo-Philipp Wich 03bbda6840 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44301 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-07 13:33:15 +00:00
Jo-Philipp Wich daf0abacc2 libevent2: update to v2.0.22
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44289 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-06 10:30:04 +00:00
Jo-Philipp Wich bfe1d210b6 busybox: fix build on FreeBSD 10.1
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44284 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-05 23:32:17 +00:00
Jo-Philipp Wich 2467d38ca5 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44283 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-05 23:18:47 +00:00
Jo-Philipp Wich 38aa3a820c ncurses: add host build for 'tic'
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44282 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-05 23:18:42 +00:00
John Crispin b0cb6d1bb8 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44257 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-04 06:11:01 +00:00
John Crispin 13093b4fad 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44256 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-04 06:10:57 +00:00
John Crispin 60552298d7 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44253 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-04 06:10:06 +00:00
John Crispin e17c34de65 ath5k: fix spontaneus AR5312 freezes
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44252 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-04 06:09:51 +00:00
John Crispin 25b37fea13 map: Fix white space errors
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44246 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-03 10:10:54 +00:00
John Crispin 1b42778f27 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44243 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-02 09:02:24 +00:00
John Crispin 680c15c9ea 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44239 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-02 09:01:44 +00:00
Jo-Philipp Wich 61a9131702 util-linux: only enable curses support if required
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44236 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-01 13:11:17 +00:00
Zoltan HERPAI 997f52e970 modules: fix usb-gadget build on 3.18
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44235 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-01 09:35:52 +00:00
Jo-Philipp Wich 23bc9e0b5c linux: enable kmod-bcma on ppc40x after r44230
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44231 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-31 16:49:26 +00:00
Jo-Philipp Wich a3626aca95 linux: convert CompareKernelPatchVer to version tagged symbols
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44229 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-31 13:55:51 +00:00
Jo-Philipp Wich 823bc4caac linux: fix framebuffer kmods for >= 3.15
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44227 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-31 13:15:45 +00:00
John Crispin a6c25ecffc mac80211: Revision r36939 breaks support for RT5370 (rt2800usb)
http://patchwork.ozlabs.org/patch/434532/

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44222 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-30 08:06:47 +00:00
John Crispin f223ab856d 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44220 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-30 08:06:28 +00:00
Jo-Philipp Wich a03621e0b0 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44210 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-29 22:58:40 +00:00