Commit Graph

3909 Commits

Author SHA1 Message Date
AmadeusGhost
23378ed9a4
netifd: add dynamic wireless reconfiguration (#4518)
Set new option 'reconf' in 'wifi-device' section to enable dynamic re-configuration on that radio. Also fix wifi relay and 'netifd: radio1 (9654): Command failed'.
2020-05-02 19:11:45 +08:00
CN_SZTL
e56373ae93
Merge Lean's source 2020-05-02 16:48:51 +08:00
CN_SZTL
b000095a6e
luci-app-rclone: sync with upstream source 2020-05-02 16:45:26 +08:00
CN_SZTL
31ae6bfa10
OpenClash: bump to v0.37.6-beta 2020-05-02 16:38:01 +08:00
AmadeusGhost
3c510baf47
ramips: fix support for Redmi AC2100 (#4500)
This commit fix switch and image config for Redmi AC2100.

Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>
2020-05-01 22:37:45 +08:00
CN_SZTL
0c3df07d9d
luci-app-ssrserver-python: switch to python3 2020-05-01 13:00:14 +08:00
coolsnowwolf
01aeb5df0e ramips: Add support for Xiaomi Redmi Router AC2100 (RM2100) 2020-05-01 12:23:28 +08:00
coolsnowwolf
d0cc3d0230 luci-app-qbittorrent: update python3 for search 2020-05-01 11:53:30 +08:00
ardanzhu
21b36d6f9f
Update to frp 0.33.0 version (#4486) 2020-05-01 11:48:08 +08:00
AmadeusGhost
a5c4c8899c
linux-firmware: enable qca4019 (#4488) 2020-05-01 11:47:50 +08:00
CN_SZTL
920cf867f4
Merge Mainline 2020-05-01 10:38:39 +08:00
CN_SZTL
49a4a56c9f
luci-app-ssr-plus: sync with upstream source 2020-04-30 20:33:06 +08:00
CN_SZTL
c5f7f484e7
OpenClash: sync with upstream source 2020-04-30 20:22:10 +08:00
Kevin Darbyshire-Bryant
1b0285c07e
umdns: update to version 2020-04-25
cdac046 dns.c: fix input validation fix

Due to a slight foobar typo, failing to de-reference a pointer, previous
fix not quite as complete as it should have been.

Improve CVE-2020-11750 fix

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2020-04-30 18:55:59 +08:00
Kevin Darbyshire-Bryant
cb61f6347f
relayd: bump to version 2020-04-25
f4d759b dhcp.c: further improve validation

Further improve input validation for CVE-2020-11752

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2020-04-30 18:55:46 +08:00
Antonio Quartulli
c39feefc22
wpad-wolfssl: fix crypto_bignum_sub()
Backport patch from hostapd.git master that fixes copy/paste error in
crypto_bignum_sub() in crypto_wolfssl.c.

This missing fix was discovered while testing SAE over a mesh interface.

With this fix applied and wolfssl >3.14.4 mesh+SAE works fine with
wpad-mesh-wolfssl.

Cc: Sean Parkinson <sean@wolfssl.com>
Signed-off-by: Antonio Quartulli <a@unstable.cc>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-04-30 18:52:33 +08:00
Jason A. Donenfeld
8da799bab3
wireguard: bump to 1.0.20200429
* compat: support latest suse 15.1 and 15.2
* compat: support RHEL 7.8's faulty siphash backport
* compat: error out if bc is missing
* compat: backport hsiphash_1u32 for tests

We now have improved support for RHEL 7.8, SUSE 15.[12], and Ubuntu 16.04.

* compat: include sch_generic.h header for skb_reset_tc

A fix for a compiler error on kernels with weird configs.

* compat: import latest fixes for ptr_ring
* compat: don't assume READ_ONCE barriers on old kernels
* compat: kvmalloc_array is not required anyway

ptr_ring.h from upstream was imported, with compat modifications, to our
compat layer, to receive the latest fixes.

* compat: prefix icmp[v6]_ndo_send with __compat

Some distros that backported icmp[v6]_ndo_send still try to build the compat
module in some corner case circumstances, resulting in errors.  Work around
this with the usual __compat games.

* compat: ip6_dst_lookup_flow was backported to 3.16.83
* compat: ip6_dst_lookup_flow was backported to 4.19.119

Greg and Ben backported the ip6_dst_lookup_flow patches to stable kernels,
causing breaking in our compat module, which these changes fix.

* git: add gitattributes so tarball doesn't have gitignore files

Distros won't need to clean this up manually now.

* crypto: do not export symbols

These don't do anything and only increased file size.

* queueing: cleanup ptr_ring in error path of packet_queue_init

Sultan Alsawaf reported a memory leak on an error path.

* main: mark as in-tree

Now that we're upstream, there's no need to set the taint flag.

* receive: use tunnel helpers for decapsulating ECN markings

ECN markings are now decapsulated using RFC6040 instead of the old RFC3168.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-04-30 18:50:43 +08:00
AmadeusGhost
e19377e68b Merge Lean's source 2020-04-30 18:09:47 +08:00
Daniel Golle
91c48cd6f6 ugps: nmea: fix time comparision
Fix bug causing system time to be set over and over again, and causing
massive log pollution.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-04-30 12:00:25 +08:00
coolsnowwolf
f2f84a682e jquery v3.5.0 mark 2020-04-30 11:31:31 +08:00
coolsnowwolf
e3e03876c2 add rclone package and luci-app-rclone 2020-04-30 10:14:30 +08:00
coolsnowwolf
6cdf4ded1f ath10k-firmware: move CT firmwares to new package 2020-04-30 10:11:11 +08:00
David Bauer
14ab4369bc kernel: hwmon: add Analog Devices AD741x support
Signed-off-by: David Bauer <mail@david-bauer.net>
2020-04-30 08:15:11 +08:00
AmadeusGhost
64b3974593 Merge Lean's source 2020-04-29 17:35:14 +08:00
Felix Fietkau
7411cf939e mt76: update to the latest version
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2020-04-29 17:28:51 +08:00
lunatickochiya
11848e8b43
shadowsocksr-libev:reduce file size (#4467)
参数来源:c54a826086 (diff-517378957dd5ecc51358b1ae79836edb)
经测试,对于ssr也可以优化
测试平台:ar71xx ramips
2020-04-28 13:58:13 +08:00
coolsnowwolf
cbba577f6d Merge branch 'master' of https://github.com/coolsnowwolf/lede 2020-04-27 12:50:13 +08:00
coolsnowwolf
4787dbaf3c mac80211: ath10k: increase rx buffer size to 2048 2020-04-27 12:49:57 +08:00
Chuck
55e06fdb00
dropbear: only bind lan by default (#4456) 2020-04-27 12:31:07 +08:00
AmadeusGhost
40f24da8a7 Merge Lean's source 2020-04-27 09:28:51 +08:00
Lucian Cristian
3e32ce5e59 uboot-envtools: update to 2020.04
also revert to directly download the archive from https

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2020-04-27 09:00:56 +08:00
Luiz Angelo Daros de Luca
befbdc3fd8 gdb: disable gdbserver for arc
Although gdb is supported, gdbserver is still not.

 checking whether gdbserver is supported on this host... no

Build breaks as gdbserver executable is not found during packaging.

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2020-04-27 08:54:34 +08:00
Yangbo Lu
9da88d82c9 perf: build with NO_LIBCAP=1
Build with NO_LIBCAP=1. This is to resolve build issue.

Package perf is missing dependencies for the following libraries:
libcap.so.2

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2020-04-27 08:53:56 +08:00
Adrian Schmutzler
a51b43b9fa mvebu: tidy up support for GL.iNet GL-MV1000
This fixes a bunch of cosmetic issues with GL.iNet GL-MV1000:

- apply alphabetic sorting in multiple files
- use armada-3720 prefix for DTS like for other devices
- fix vendor capitalization for model in DTSes
- remove trivial comment in DTS files
- use DEVICE_VENDOR/DEVICE_MODEL
- remove redundant SUPPORTED_DEVICES
- use SOC instead of DEVICE_DTS
- remove empty line at EOF

Fixes: 050c24f05c ("mvebu: add support for GL.iNet GL-MV1000")

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-04-27 08:47:41 +08:00
Li Zhang
d63319113c mvebu: add support for GL.iNet GL-MV1000
This patch adds supports for GL-MV1000.

Specification:
	- SOC: Marvell Armada 88F3720 (1GHz)
	- Flash: 16MB (W25Q128FWSIG)
	- RAM: 1GB DDR4
	- Ethernet: 3x GE (1 WAN + 2 LAN)
	- EMMC: 8GB EMMC (KLM8G1GETF-B041)
	- MicroSD: 1x microSD slot
	- USB: 1x USB 2.0 port(TypeA),1x USB 3.0 port(TypeC)
	- Button: 1x reset button,1x slide switch
	- LED: 3x greed LED
	- UART: 1x UART on PCB (JP1: 3.3V, RX, TX, GND)

	Update firmware instructions
	============================
	In the compiled,please gzip -d xxx.img.gz,then update firmware on uboot web.

Signed-off-by: Li Zhang <li.zhang@gl-inet.com>
[Copied dts file to files-5.4]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2020-04-27 08:45:28 +08:00
David Bauer
d545ddacb4 kernel: netdev: fix kmod-sfp symbols
Fixes: ec2f7a47d3 ("kernel: add module to support SFP cages")

Signed-off-by: David Bauer <mail@david-bauer.net>
2020-04-27 08:40:17 +08:00
David Bauer
8f584b5398 kernel: netdev: fix kmod-sfp description capitalization
Signed-off-by: David Bauer <mail@david-bauer.net>
2020-04-27 08:38:29 +08:00
David Bauer
f0b2de05f4 kernel: netdev: add phylink dependency for sfp
Fixes: ec2f7a47d3 ("kernel: add module to support SFP cages")

Signed-off-by: David Bauer <mail@david-bauer.net>
2020-04-27 08:37:06 +08:00
David Bauer
5faf865d71 kernel: netdev: add kmod-phylink
Signed-off-by: David Bauer <mail@david-bauer.net>
2020-04-27 08:35:12 +08:00
Mattraks
a561416254
v2ray-plugin:Add GOPROXY support (#4421) 2020-04-27 00:57:24 +08:00
coolsnowwolf
b0fd180162 Revert "mac80211 ath10k: increase rx buffer size to 2048"
This reverts commit 2c0a9d403e.
2020-04-26 16:37:04 +08:00
coolsnowwolf
9206d58b34 luci-app-ipsec-vpnd: fix outboud rules with some China android phones 2020-04-26 16:20:39 +08:00
coolsnowwolf
fcfde03578 UnblockNeteaseMusic: update search api 2020-04-26 16:09:40 +08:00
coolsnowwolf
f43d194449 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2020-04-26 15:28:01 +08:00
coolsnowwolf
2c0a9d403e mac80211 ath10k: increase rx buffer size to 2048 2020-04-26 15:27:50 +08:00
wybb
ceb6d06fd0
fix xlnetacc logout (#4422)
迅雷快鸟openwrt的原作者项目:https://github.com/sensec/luci-app-xlnetacc/blob/master/files/root/etc/init.d/xlnetacc
原项目并没有采用kill -9的强杀方式
lean项目中迁移后的版本使用kill -9会导致不能正确注销,从而产生如下问题。
1、luci 快鸟web界面中切换从“启用”切换为“不启用”后,短期内无法停止提速效果(因为只是强杀xlnetacc.sh)
2、强杀将导致未注销就丢失了最近一次的sessionid(该变量为xlnetacc.sh的临时变量,强杀后就丢失了)。根据迅雷快鸟的官方规则,在前一次未注销的情况下,假如ip变化,那么新ip在24小时内将无法再次加速。
所以导致了在
a.重启路由
b.重启光猫
c.重新插拔光猫网线
d.web界面中手工停用快鸟后又进行了重新拨号

这些操作都将导致24小时内无法再次提速

原始项目中采用不加-9的kill能够安全发送信号导致注销操作
2020-04-26 15:25:46 +08:00
René van Dorst
d2763883a6 kernel: add module to support SFP cages
Enables kernel SFP case support.

Signed-off-by: René van Dorst <opensource@vdorst.com>
2020-04-26 12:01:22 +08:00
AmadeusGhost
aac401fc39 lantiq: sync official source code 2020-04-25 18:29:43 +08:00
CN_SZTL
9446333d6e
luci-app-sfe: drop outdated option 2020-04-25 12:28:59 +08:00
AmadeusGhost
c5b7a0d3a4 package: lantiq/layerscape: sync upstream source code 2020-04-25 11:55:38 +08:00
Adrian Schmutzler
1abda0fe4d kernel: replace "+@" IPV6 dependency by "+"
The combination +@IPV6:kmod-ipsec6 is not valid, the +a:b
syntax implies the @. Fix it.

Fixes: 2e6b6f9fca ("kernel: add @IPv6 dependency to ipv6 modules")

Reported-by: Oldřich Jedlička (@oldium)
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-04-25 11:25:59 +08:00
CN_SZTL
38032f3a97
Merge Mainline 2020-04-25 08:43:48 +08:00
CN_SZTL
5a192cf749
mtwifi: remove outdated package 2020-04-25 08:42:58 +08:00
CN_SZTL
05b71f090b mt76: refresh patches 2020-04-25 08:14:12 +08:00
AmadeusGhost
c129b6304c mt76: add mt7615-common 2020-04-24 11:25:42 +08:00
ElonH
02a16ed461
baidupcs-web: add architecture dependence 2020-04-23 18:17:38 +08:00
ElonH
c844c2ef7f
AdGuardHome: add architecture dependence 2020-04-23 18:17:38 +08:00
ElonH
c3cc95a1b3
verysync: add architecture dependence 2020-04-23 18:17:38 +08:00
ElonH
637fd485a3
dnscrypt-proxy-full: add architecture dependence 2020-04-23 18:17:37 +08:00
ElonH
d97fb67bf3
npc: add architecture dependence
fix https://github.com/project-openwrt/openwrt-latest-isco/issues/138
2020-04-23 18:17:37 +08:00
ElonH
debc16f7d9
filebrowser: add architecture dependence 2020-04-23 18:17:36 +08:00
AmadeusGhost
463b6ac050
mac80211: fixed slow wireless startup (#4420)
* hostapd: reduce to a single instance per service

* mac80211: sync upstream source code

* iw: bump to 5.4
2020-04-23 16:42:46 +08:00
ElonH
528a781cef
mentohust: more robust in makefile
fix #146
2020-04-23 14:24:09 +08:00
ElonH
6cc3e77a2d
libpcap: fix prefix path 2020-04-23 14:24:08 +08:00
CN_SZTL
e957fd98fd
redsocks2: drop test code 2020-04-23 11:15:04 +08:00
CN_SZTL
c349c067af
redsocks2: fix compatible with openssl 1.1.x, support reuseport 2020-04-23 10:48:29 +08:00
CN_SZTL
fc7ff01576
openssl: bump to 1.1.1g (#4415)
Fixes NULL dereference in SSL_check_chain() for TLS 1.3, marked with
high severity, assigned CVE-2020-1967.

Ref: https://www.openssl.org/news/secadv/20200421.txt

Cherry-pick from openwrt/openwrt@3773ae1.
Also add mirror for mainland China user in this commit.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>

Co-authored-by: Petr Štetiar <ynezz@true.cz>
2020-04-23 10:47:31 +08:00
ElonH
262ff95ef6
rtl8821cu: __fswab16 and __fswab32 redefine in powerpc arch 2020-04-23 04:40:48 +08:00
CN_SZTL
f69260725e
libubox: backport fixes
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-04-23 04:28:58 +08:00
CN_SZTL
0ca52ff1d7
OpenClash: fix typo error 2020-04-23 03:35:30 +08:00
CN_SZTL
682cb19496
Merge Mainline 2020-04-23 03:12:44 +08:00
CN_SZTL
4b4948f75b
OpenClash: bump to v0.37.4-beta 2020-04-23 03:09:15 +08:00
CN_SZTL
39d4c7314d
luci-app-serverchan: bump to v1.78 2020-04-23 03:08:32 +08:00
CN_SZTL
15aae46668
r8168: fix dependency 2020-04-23 03:08:02 +08:00
CN_SZTL
91c64798df
Merge Mainline 2020-04-23 02:54:31 +08:00
CN_SZTL
1e3f993f39
treewide: adjust boot order 2020-04-23 02:51:26 +08:00
CN_SZTL
8e2e62cb6f
Merge Mainline 2020-04-22 23:18:30 +08:00
Petr Štetiar
725e595526 openssl: bump to 1.1.1g
Fixes NULL dereference in SSL_check_chain() for TLS 1.3, marked with
high severity, assigned CVE-2020-1967.

Ref: https://www.openssl.org/news/secadv/20200421.txt
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2020-04-22 22:26:01 +08:00
AmadeusGhost
f352e3bf7d iw: bump to 5.4 2020-04-22 18:10:22 +08:00
AmadeusGhost
014283bc8b hostapd: reduce to a single instance per service 2020-04-22 18:09:30 +08:00
AmadeusGhost
7c28f81c70 hostapd: reduce to a single instance per service 2020-04-22 17:26:39 +08:00
AmadeusGhost
96e7e840b4 iw: bump to 5.4 2020-04-22 12:21:23 +08:00
CN_SZTL
d42417c49c
Merge Mainline 2020-04-21 23:22:58 +08:00
CN_SZTL
03e75fbd87
Merge Lean's source 2020-04-21 23:19:45 +08:00
ElonH
2c5b53d366
rtl8192: missing ipv6 header
https://github.com/project-openwrt/openwrt-kisco/issues/40
2020-04-21 22:51:41 +08:00
ElonH
68548788db
rtl88x2bu: __fswab16 and __fswab32 redefine in powerpc arch
https://github.com/project-openwrt/openwrt-kisco/issues/38
2020-04-21 21:59:10 +08:00
ElonH
7fc016b1d2
elfutils: fix build on powerpc musl
This commit fixed https://github.com/project-openwrt/openwrt-kisco/issues/41
2020-04-21 19:54:32 +08:00
AmadeusGhost
2eed55ed55 Update CONTRIBUTED.md 2020-04-21 12:15:21 +08:00
AmadeusGhost
5b0196da80 scutclient: update to 3.1.2 2020-04-21 12:01:39 +08:00
Pawel Dembicki
96ee6cae9c
uboot-kirkwood: update to 2020.04
Update U-Boot to current 2020.04 release for kirkwood platform.

Catch up with upstream and move some configuration options from
the header files to the corresponding defconfig files.

Compile tested: all devices
Run tested: nsa310, pogoplugv4

Tested-by: Cezary Jackiewicz <cezary@eko.one.pl> [nsa310]
Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
2020-04-21 09:22:31 +08:00
CN_SZTL
800441b632
Merge Upstream 2020-04-21 09:22:13 +08:00
Alexander Couzens
e91175b592
base-files: ensure VERBOSE is set
If not set, it shows the following error
sh: out of range

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
2020-04-21 09:18:15 +08:00
CN_SZTL
3bb1af32ad
mbedtls: update to 2.16.6 (#4387)
Security fixes for:
* CVE-2020-10932
* a potentially remotely exploitable buffer overread in a DTLS client
* bug in DTLS handling of new associations with the same parameters

Full release announement:
https://tls.mbed.org/tech-updates/releases/mbedtls-2.16.6-and-2.7.15-released

Cherry-pick from: openwrt/openwrt@02fcbe2.

Signed-off-by: Magnus Kroken <mkroken@gmail.com>
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>

Co-authored-by: Magnus Kroken <mkroken@gmail.com>
2020-04-20 21:04:48 +08:00
CN_SZTL
b20f9a70dc
luci-app-unblockmusic: drop outdated server (#4386) 2020-04-20 21:02:20 +08:00
AmadeusGhost
380519a5fd mentohust: change to strnormalize version 2020-04-20 20:38:17 +08:00
CN_SZTL
5104595381
Merge Mainline 2020-04-20 18:52:54 +08:00
CN_SZTL
7613a26543
procd: fix jail when running on glibc 2020-04-20 18:46:46 +08:00
Kevin Darbyshire-Bryant
04e5e1ac43
umdns: update to version 2020-04-20
e74a3f9 dns.c: improve input validation

Addresses CVE-2020-11750

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2020-04-20 18:40:46 +08:00
Kevin Darbyshire-Bryant
526fb965dc
relayd: bump to version 2020-04-20
796da66 dhcp.c: improve input validation & length checks

Addresses CVE-2020-11752

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2020-04-20 18:40:35 +08:00
CN_SZTL
ffeaf944c9
gowebdav: fix typo error 2020-04-20 18:32:26 +08:00
AmadeusGhost
b609e9f67e rtl8821cu: fix build for x86
This commit fix https://github.com/project-openwrt/openwrt/issues/143

Run-compiled-on: x86, ipq40xx
2020-04-20 15:08:05 +08:00
AmadeusGhost
6577d6ae05 bcm47xx/63xx: add kernel 5.4 support 2020-04-20 08:30:18 +08:00
CN_SZTL
9916ccef79
luci-app-gowebdav: adjust settings 2020-04-19 23:46:19 +08:00
CN_SZTL
3e16fa51e0
gowebdav: add package 2020-04-19 23:25:40 +08:00
CN_SZTL
33e571e012
Merge Mainline 2020-04-19 20:04:51 +08:00
CN_SZTL
80d18a0f7e
luci-app-serverchan: bump to v1.77 2020-04-19 20:03:12 +08:00
CN_SZTL
0bd3bb5365
OpenClash: bump to v0.37.3-beta 2020-04-19 20:01:35 +08:00
CN_SZTL
8b41b12f5b
Merge Mainline 2020-04-19 19:58:30 +08:00
Hauke Mehrtens
c0204980f8
dante: Fix compile with glibc
When compiled with glibc the config_scan.c wants to use the
cpupolicy2numeric() function which is only available when
HAVE_SCHED_SETSCHEDULER is set. It looks like the wrong define was used here.

This fixes a build problem with glibc in combination with the force
ac_cv_func_sched_setscheduler=no in the OpenWrt CONFIGURE_VARS.

This fixes the following compile error with glibc:
----------------------------------------------------------------------
/bin/ld: config_scan.o: in function `socks_yylex':
dante-1.4.1/sockd/config_scan.l:461: undefined reference to `cpupolicy2numeric'
collect2: error: ld returned 1 exit status
make[5]: *** [Makefile:522: sockd] Error 1

Fixes: aaf46a8fe2 ("dante: disable sched_getscheduler() - not implemented in musl")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2020-04-19 19:57:16 +08:00
Hauke Mehrtens
8aab70081b
upgs: Remove extra _DEFAULT_SOURCE definition
This extra _DEFAULT_SOURCE definition results in a double definition
which is a compile error.

This fixes the following compile error with glibc:
----------------------------------------------------------------------
ugps-2019-06-25-cd7eabcd/nmea.c:19: error: "_DEFAULT_SOURCE" redefined [-Werror]
 #define _DEFAULT_SOURCE

<command-line>: note: this is the location of the previous definition
cc1: all warnings being treated as errors

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2020-04-19 19:57:05 +08:00
Hauke Mehrtens
5440f3dc01
busybox: backport Remove stime() function calls
glibc 2.31 does not provide stime() any more, backport a fix from
current busybox master to avoid using this function.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2020-04-19 19:56:51 +08:00
Magnus Kroken
f66fb8a94d
openvpn: update to 2.4.9
This is primarily a maintenance release with bugfixes and improvements.
This release also fixes a security issue (CVE-2020-11810) which allows
disrupting service of a freshly connected client that has not yet
negotiated session keys. The vulnerability cannot be used to
inject or steal VPN traffic.

Release announcement:
https://openvpn.net/community-downloads/#heading-13812
Full list of changes:
https://community.openvpn.net/openvpn/wiki/ChangesInOpenvpn24#OpenVPN2.4.9

Signed-off-by: Magnus Kroken <mkroken@gmail.com>
2020-04-19 19:56:35 +08:00
Hans Dedecker
b09f99b1df
binutils: add ALTERNATIVES for strings (FS#3001)
Don't move strings anymore to /bin/strings to avoid clash with
busybox /usr/bin/strings but move it to /usr/bin/binutils-strings.
Use ALTERNATIVES support to install it as /usr/bin/strings

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2020-04-19 19:56:11 +08:00
CN_SZTL
2a92a973a9
luci-app-unblockneteasemusic-mini: drop outdated server 2020-04-19 19:52:26 +08:00
CN_SZTL
a20ee5eabf
Merge Lean's source 2020-04-19 19:35:34 +08:00
Kui Wu
b7e9fc662c
luci-app-frpc: add proxy_protocol_version option for proxy config (#4370) 2020-04-18 20:20:40 +08:00
CN_SZTL
0def38e520
Merge Upstream 2020-04-18 12:21:38 +08:00
Magnus Kroken
aad709ab60
mbedtls: update to 2.16.6
Security fixes for:
* CVE-2020-10932
* a potentially remotely exploitable buffer overread in a DTLS client
* bug in DTLS handling of new associations with the same parameters

Full release announement:
https://tls.mbed.org/tech-updates/releases/mbedtls-2.16.6-and-2.7.15-released

Signed-off-by: Magnus Kroken <mkroken@gmail.com>
2020-04-18 12:20:56 +08:00
AmadeusGhost
2f924edfea mac80211: sync upstream source code 2020-04-18 11:55:28 +08:00
ricksuzade-maker
b8f8afb7d0
Bump wireguard to 1.0.20200413 (#4361)
Bump to the newest version of wireguard
2020-04-18 11:20:24 +08:00
CN_SZTL
79bd145310
perf: add libcap as a dependency 2020-04-18 02:47:16 +08:00
CN_SZTL
f7697d198d
sched-cake-oot: fix recursive dependency 2020-04-17 23:31:00 +08:00
Kevin Darbyshire-Bryant
d506227aa6
kmod-sched-cake: rename to kmod-sched-cake-oot
In preparation for dropping the out of tree cake module and using
in tree cake from upstream, rename the package to kmod-sched-cake-oot
(out of tree)

Initially add a PROVIDES kmod-sched-cake so that package dependencies
can be satisfied.

Ultimately this package will be removed when linux 4.14 is removed.

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2020-04-17 23:15:20 +08:00
CN_SZTL
7f9ab3cee4
Merge Upstream 2020-04-17 22:40:20 +08:00
CN_SZTL
1211ab828d
Merge Lean's source 2020-04-17 22:37:21 +08:00
ElonH
da93ca09f7
Merge Upstream 2020-04-17 21:48:27 +08:00
ElonH
4f82564b3b
rtl8821cu: fixing in kernel>=5.2
https://github.com/project-openwrt/openwrt-kisco/issues/12
2020-04-17 21:24:50 +08:00
ElonH
ab66132288
rtl8821cu: enable job server in packages 2020-04-17 21:24:37 +08:00
Lucian Cristian
ae5bb65cc6
elfutils: aarch64 fix build on musl
aarch64_initreg.c: In function 'aarch64_set_initial_registers_tid':
aarch64_initreg.c:85:37: error: invalid operands to binary & (have 'long double' and 'unsigned int')
     dwarf_fregs[r] = fregs.vregs[r] & 0xFFFFFFFF;
                      ~~~~~~~~~~~~~~ ^

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2020-04-17 21:06:56 +08:00
AmadeusGhost
3994147b98 kernel: update linux modules 2020-04-17 17:35:06 +08:00
Xiaok
639f3631e8
n2n: update to v2.6.0-stable (#4349) 2020-04-17 11:51:15 +08:00
CN_SZTL
14cd0c3225
Merge Upstream 2020-04-17 03:57:30 +08:00
CN_SZTL
6185d309d6
Merge Lean's source 2020-04-17 01:15:46 +08:00
Chuck
5f3f4e3566
netdevices.mk: fix SFC9x00 config(#4271) (#4328) 2020-04-17 00:45:03 +08:00
CN_SZTL
9c41ab717b
ndpi-netfilter: fix compatibility with kernel 5.0+ 2020-04-17 00:15:04 +08:00
CN_SZTL
447dce768b
Merge Upstream 2020-04-16 20:23:36 +08:00
CN_SZTL
645caaa6e6
pandownload-fake-server: add package 2020-04-16 20:14:56 +08:00
ElonH
0898c0cb6f
umbim: supress warning about pointers to members of a packed struct in gcc9 2020-04-16 19:53:06 +08:00
CN_SZTL
0a3f6069c1
luci-app-ssr-plus: fix ssr-server display
Reference: fw876/helloworld@8c7f623
2020-04-16 19:51:28 +08:00
AmadeusGhost
caf22aa4ce apm821xx/archs38/armvirt/gemini/imx6/kirkwood/lantiq/malta: add kernel 5.4 support 2020-04-16 18:09:15 +08:00
Xiaok
a5570642c6
frp: bump version to v0.32.1 and dos2unix for Makefile (#4338) 2020-04-16 16:12:16 +08:00
coolsnowwolf
036efba3c1 hostapd: backport usleep patch 2020-04-16 12:59:49 +08:00
fw876@outlook.com
988acf9daa remove obsolete package 2020-04-16 12:27:11 +08:00
CN_SZTL
072eefb32e
luci-theme-bootstrap-mod: sync with upstream source 2020-04-16 03:20:19 +08:00
CN_SZTL
1daec6448a
Merge Upstream 2020-04-16 03:19:36 +08:00
CN_SZTL
0d4d880245
luci-app-serverchan: sync with upstream source 2020-04-16 03:18:19 +08:00
CN_SZTL
7870632c83
OpenClash: sync with upstream source 2020-04-16 03:17:11 +08:00
CN_SZTL
8042cac5c5
automount: fix typo 2020-04-16 00:29:59 +08:00
CN_SZTL
4c05596690
kernel/fs: use native exFAT driver for Kernel 5.4+ 2020-04-16 00:19:36 +08:00
CN_SZTL
1d9a198011
Merge Upstream 2020-04-15 21:15:07 +08:00
CN_SZTL
37f6f5b89c
luci-app-ssr-plus: drop useless acl file 2020-04-15 21:12:53 +08:00
CN_SZTL
06c80d3dd0
Merge Lean's source 2020-04-15 21:06:54 +08:00
lean
6c8c96cedf Merge branch 'master' of https://github.com/coolsnowwolf/lede 2020-04-15 20:42:34 +08:00
lean
7262d9503e luci-app-ssr-plus:hide ssr server option when shadowsocks-libev-ss-server is not installed 2020-04-15 20:42:20 +08:00
HQ Ong
2284f0da80
Add ACL rule to compatible with trunk Luci requirement (#4323)
Add ACL rule to compatible with trunk Luci requirement
2020-04-15 20:40:07 +08:00
lean
2125e805d1 luci-app-ssr-plus: revert lock feature 2020-04-15 20:39:16 +08:00
Mattraks
8a02b49078
luci-app-ssr-plus:Fix Socks5 startup errors (#4310)
* luci-app-ssr-plus:Fix Socks5 startup errors

* luci-app-ssr-plus:Fix pdnsd EOF warning errors

* luci-app-ssr-plus: ssr-switch Adjust Output

* luci-app-ssr-plus: Data Update
2020-04-15 00:48:29 +08:00
CN_SZTL
e07120f1fb
Merge Upstream 2020-04-14 21:11:11 +08:00
CN_SZTL
96e1776a85
luci-app-serverchan: bump to v1.63 2020-04-14 21:07:18 +08:00
CN_SZTL
fb6b776781
luci-app-diskman: sync with upstream source 2020-04-14 21:06:35 +08:00
CN_SZTL
2ed9f9b187
OpenClash: bump to v0.37.3-beta 2020-04-14 21:03:36 +08:00
CN_SZTL
fbcb6ed522
mtwifi: support kernel 4.14 only 2020-04-14 21:01:37 +08:00
CN_SZTL
534f1abc20
Merge Upstream 2020-04-14 20:33:17 +08:00
Rosen Penev
a6092813a4
hostapd: backport usleep patch
Optionally fixes compilation with uClibc-ng.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-04-14 20:29:39 +08:00
Rosen Penev
d4a6de1eb7
elfutils: update to 0.179
Removed sys/cdefs usage. The header is deprecated.

Removed canonicalize_file_name define. It's already fixed upstream.

Added --disable-debuginfod. Seems to be needed.

Modified patch 005 to build more stuff. It was failing before. It still
only builds libraries.

Modified patch 100 to use strerror under non-glibc. It is used under
glibc as strerror is not thread safe. It is under musl and uClibc-ng.
strerror_l is not available under uClibc-ng.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-04-14 20:28:43 +08:00
CN_SZTL
f92f7a9e0f
Merge Upstream 2020-04-14 19:40:47 +08:00
CN_SZTL
a5e61fd196
tcpping: add necessary dependency
This fix project-openwrt/openwrt#132.
2020-04-14 19:36:08 +08:00
Chen Minqiang
b10fadf919 wireless-regdb: custom fix txpower and dfs
Edit: enable 160MHz BW in channel 36~64
2020-04-14 10:39:43 +08:00
AmadeusGhost
782dcaa700 wireless-regdb: bump to latest 2020-04-14 10:39:11 +08:00
CN_SZTL
3ad7a35c91
luci-app-ssr-plus: use "&" to instead of "-d" (daemon mode) (#4307) 2020-04-14 09:25:59 +08:00
Mattraks
9cf7ebae5f
luci-app-ssr-plus:Fix kcptun startup errors (#4303)
* Fix Errors

* Updated version

* luci-app-ssr-plus:require "luci.model.uci"

* luci-app-ssr-plus:Revised explanation
2020-04-14 09:25:17 +08:00
hyird
f4a9966616
luci-app-unblockmusic: add flac switch for nodejs (#4302)
* Update unblockmusic.lua

* Update unblockmusic
2020-04-14 09:21:40 +08:00
Jeffery To
8b57e6e520
cryptodev-linux: Fix error when compiling with 5.4 kernel
Currently, cryptodev-linux fails to compile with a
'"crypto_givcipher_type" undefined' error for targets on the 5.4 kernel,
e.g. armvirt[1].

This backports an upstream patch[2] that fixes this error.

[1]: https://downloads.openwrt.org/snapshots/faillogs/aarch64_generic/base/cryptodev-linux/compile.txt
[2]: f971e0cd4a

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-04-14 05:46:51 +08:00
CN_SZTL
468ae867b8
target/ipq40xx: init kernel 5.4 support 2020-04-14 05:19:58 +08:00
CN_SZTL
8853e1aa06
kernel/video: fix dependency 2020-04-14 04:19:28 +08:00
Adrian Schmutzler
4ebd92c226
kernel: use older kernel for explicitly setting dependencies
It is generally more desirable to use older kernel versions for
dependencies, as this will require less changes when newer kernels
are added (they will by default select the newer packages).

Since we currently only have two kernels (4.14 and 4.19) in master,
this patch applies this logic by converting all LINUX_4_19 symbols
to their inverted LINUX_4_14 equivalents.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-04-14 04:09:17 +08:00
Luiz Angelo Daros de Luca
2ce89e258d
kernel: load rtl8366_smi and rtl8367b on boot
This external switch driver should be loaded on boot for network support
in failsafe mode.

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
[alter commit message]
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
2020-04-14 03:59:07 +08:00
Tim Harvey
f71e92e373
kernel: fix lib-xor for ARM64
use LINUX_KARCH in directory path to avoid failures in non-arm targets.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
2020-04-14 03:57:02 +08:00
Eneas U de Queiroz
d9aea0982c
kernel: add @IPV6 dependency to ipv6 modules
IPv6 modules should all depend on @IPV6, to avoid circular dependencies
problems, especially if they select a module that depends on IPV6 as
well.  In theory, if a package A depends on IPV6, any package doing
'select A' (DEPENDS+= A) should also depend on IPV6; otherwise selecting
A will fail.  Sometimes the build system is forgiving this, but
eventually, and unexpectedly, it may blow up on some other commit.

Alternatively one can conditionally add IPv6 dependencies only if
CONFIG_IPV6 is selected: (DEPENDS+= +IPV6:package6).

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2020-04-14 03:56:47 +08:00
Hauke Mehrtens
6642f92907
kernel: Add of_touchscreen.ko to kmod-input-touchscreen-ads7846
kmod-input-touchscreen-ads7846 depends on of_touchscreen.ko since
kernel 5.4.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2020-04-14 03:54:16 +08:00
Koen Vandeputte
11e9533e23
kernel: mode_beet mode_transport mode_tunnel xfram modules
This adds the new xfrm4_mode_beet, xfrm4_mode_transport,
xfrm4_mode_tunnel and their IPv6 versions on kernel 5.4. These modules
were newly added in kernel 5.2.

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
2020-04-14 03:53:04 +08:00
Norbert van Bolhuis
732fc5e9cd
linux-atm: Include linux/sockios.h for SIOCGSTAMP
Since linux kernel commit 0768e17073dc527ccd18ed5f96ce85f9985e9115
(2019-04-19) the asm-generic/sockios.h header no longer defines
SIOCGSTAMP. Instead it provides only SIOCGSTAMP_OLD.

The linux/sockios.h header now defines SIOCGSTAMP using either
SIOCGSTAMP_OLD or SIOCGSTAMP_NEW as appropriate. This linux only
header file is not included so we get a build failure.

Signed-off-by: Norbert van Bolhuis <nvbolhuis@aimvalley.nl>
2020-04-14 03:52:54 +08:00
Chen Minqiang
7b93b863e8
x86: make crashdump works
1. KERNEL_CRASH_DUMP should depends on KERNEL_PROC_KCORE (kexec use it)
2. select crashkernel mem size by totalmem
   mem <= 256M disable crashkernel by default
   mem >= 4G use 256M for crashkernel
   mem >= 8G use 512M for crashkernel
   default use 128M
3. set BOOT_IMAGE in kdump.init
4. resolve a "Unhandled rela relocation: R_X86_64_PLT32" error

Tested on x86_64

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
2020-04-14 03:51:40 +08:00
Hauke Mehrtens
af18655142
kernel: Adapt moved crodic.ko module
The module was moved in the kernel, adapt OpenWrt.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2020-04-14 03:51:27 +08:00
CN_SZTL
b83e6fc529
kernel/fs: exFAT: fix dependency 2020-04-14 03:44:32 +08:00
CN_SZTL
37ebeddeca
kernel/usb: adjust dependency 2020-04-14 03:41:15 +08:00
CN_SZTL
070cc9bdfd
kernel/fs: init exFAT fs driver for Kernel 5.4 2020-04-14 03:38:32 +08:00
Hauke Mehrtens
04f18e584d
kernel: Remove chash.ko from kmod-drm-amdgpu
This module was added with kernel 4.15, but is was removed again with
kernel version 5.3. OpenWrt does not support specifying a kernel version
range so just break it with kernel 4.14 and only support recent kernel
versions.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2020-04-14 02:56:11 +08:00
Adrian Schmutzler
ae10bb2273
broadcom-wl: fix compilation with kernel >= 4.15
Since kernel 4.15, init_timer is not available anymore, and has been
replaced by timer_setup. The fixes compilation of wl_linuc.c, which
returned the following errors beforehand (line-wrapped manually):

.../broadcom-wl-5.10.56.27.3/driver/wl_linux.c: In function 'wl_init_timer':
.../broadcom-wl-5.10.56.27.3/driver/wl_linux.c:2576:2: error: implicit
	declaration of function 'init_timer'; did you mean 'init_timers'?
	[-Werror=implicit-function-declaration]
  init_timer(&t->timer);
  ^~~~~~~~~~
  init_timers
.../broadcom-wl-5.10.56.27.3/driver/wl_linux.c:2577:10: error:
	'struct timer_list' has no member named 'data'
  t->timer.data = (ulong) t;
          ^
.../broadcom-wl-5.10.56.27.3/driver/wl_linux.c:2578:20: error: assignment
	to 'void (*)(struct timer_list *)' from incompatible pointer type
	'void (*)(ulong)' {aka 'void (*)(long unsigned int)'}
	[-Werror=incompatible-pointer-types]
  t->timer.function = wl_timer;

This should fix build of several devices on bcm63xx with testing
kernel (4.19).

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-04-14 02:55:38 +08:00
Martin Blumenstingl
21d1be2d07
lantiq: ltq-deu: fix compatibility with Linux 5.3+
Upstream commit 84ede58dfcd1d ("crypto: hash - remove
CRYPTO_ALG_TYPE_DIGEST") drops the CRYPTO_ALG_TYPE_DIGEST define because
it has the same value as CRYPTO_ALG_TYPE_HASH. This was the case for
earlier kernels as well. Switch to CRYPTO_ALG_TYPE_HASH to fix building
against Linux 5.4.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
2020-04-14 02:54:21 +08:00
Koen Vandeputte
f5f2193e3f
kernel: Make kmod-rtc-pcf2123 depend on kmod-regmap-spi
In kernel 5.4 kmod-rtc-pcf2123 depends on kmod-regmap-spi, add this missing
dependency.

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
2020-04-14 02:52:32 +08:00
Mathias Kresin
0cc005294a
ltq-atm: add Linux 5.0+ compatibility
Upstream commit 96d4f267e40f95 ("Remove 'type' argument from access_ok()
function") removes the first argument to access_ok.
Adjust the code so it builds with Linux 5.4.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Mathias Kresin <dev@kresin.me>
2020-04-14 02:52:08 +08:00
Hauke Mehrtens
1fb04b0c7e
kernel: Add roles.ko to kmod-usb-chipidea
kmod-usb-chipidea depends on roles.ko since kernel 5.4.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2020-04-14 02:51:26 +08:00
Hauke Mehrtens
9b6bfe6e35
kernel: Make kmod-gpio-pca953x depend on kmod-regmap-i2c
In kernel 5.4 kmod-gpio-pca953x depends on kmod-regmap-i2c.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2020-04-14 02:42:57 +08:00
Hauke Mehrtens
b5f1fb38f9
kernel: module v4l2-common.ko was removed
The content of v4l2-common.ko was merged into videodev.ko and it was
removed in kernel 5.4.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2020-04-14 02:42:51 +08:00
Hauke Mehrtens
fd921218ba
kernel: Make kmod-fs-f2fs depend on kmod-nls-base
Since kernel 5.4 kmod-fs-f2fs is depending on kmod-nls-base.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2020-04-14 02:41:29 +08:00
Hauke Mehrtens
b94070de6f
nat46: Fix compile with kernel 5.4
nf_reset() was renamed to nf_reset_ct() in upstream Linux commit
895b5c9f206e ("netfilter: drop bridge nf reset from nf_reset)"

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2020-04-14 02:41:14 +08:00
CN_SZTL
2d1746ff2b
kernel/linux: netfilter: adjust dependency 2020-04-14 02:20:04 +08:00
CN_SZTL
e179005f27
kernel/linux: adjust dependency 2020-04-14 02:14:05 +08:00
Hauke Mehrtens
01d9db21c1
kernel: Remove kmod-gigaset for kernel 5.4
gigaset was moved to staging in kernel 5.4, just deactivate it on
recent kernel versions instead of adapting it.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2020-04-14 00:34:49 +08:00