Commit Graph

7285 Commits

Author SHA1 Message Date
Tony Ambardar
2bca9fa86d bpftools: update to v5.11.16, simplify make
Update to the latest stable upstream version.

Drop unneeded make variables to remove redundant assignments seen during
invocation of package Makefile.

Also remove the following patch now included upstream:

  * 200-fix-install-param-order-on-macos.patch

Compile and run-tested on malta/mips32be, using bpftool directly and also
libbpf (linked with tc) to inspect and load simple eBPF programs.

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2021-04-25 23:14:20 +08:00
Tony Ambardar
fbdf2805af bpftools: fix feature override for masking clang
Rename feature variable clang-bpf-global-var following upstream changes.
This restores the HAVE_CLANG feature override and should avoid rare build
errors where a recent host clang and BTF-enabled host kernel are present.

Fixes: 23be333401 ("bpftools: update to 5.10.10")
Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2021-04-25 23:13:56 +08:00
DENG Qingfang
6ac172b42d ccache: update to 4.2.1
Update ccache to 4.2.1

Signed-off-by: DENG Qingfang <dqfext@gmail.com>
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> [refresh patch]
2021-04-25 23:13:24 +08:00
Chen Minqiang
51588fbdc3 kernel: add kmod-ipvlan support
This kmod is similar to macvlan with the difference being that the
endpoints have the same mac address.

It is useful on cloud where only one mac address allowed on port,
where macvlan not works but ipvlan would.

One use case is where multiple IPs and gateways assign on one net port

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
2021-04-22 23:16:35 +08:00
Tony Ambardar
7e1b5e281a iproute2: avoid unneeded compiles to speed building
Skip building Makefile targets that aren't packaged: tipc, dcb, ifstat,
rtacct, lnstat, and man. Also, only compile targets needed for the current
build variant i.e. don't compile 'tc' when building an 'ip' variant and
vice versa.

These changes reduce typical build times by over 30%:
  $ make package/iproute2/clean && time make -j8 package/iproute2/compile
  (old)
  ...
  real    2m24.985s
  user    3m12.537s
  sys     0m26.677s

  (new)
  ...
  real    1m36.945s
  user    2m8.734s
  sys     0m20.046s

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2021-04-22 23:15:31 +08:00
Mattraks
46661ede4b
luci-app-ssr-plus: bump to 183-11
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-04-21 15:52:11 +08:00
ricksuzade-maker
3afb47ed42
wireguard-tool: Update to 1.0.20210315
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-04-20 18:07:11 +08:00
ricksuzade-maker
a4986426be
wireguard: Update to 1.0.20210219
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-04-20 18:06:23 +08:00
EnnawYang
1497fcddf9
cypress-firmware: bump to v5.4.18-2021_0114
Ref: https://community.cypress.com/t5/Wi-Fi-Bluetooth-for-Linux/Cypress-Linux-WiFi-Driver-Release-FMAC-2021-01-14/m-p/268899
2021-04-19 17:00:03 +08:00
AmadeusGhost
f0983b56fc ipq40xx: hiwifi c526a: work-around soft reboot issues
Ref: openwrt/mt76/issues#316
However, that is a hardware bug of mt7615.
2021-04-19 11:28:27 +08:00
Tianling Shen
1b76d7006b
scripts/download.pl: only call our own mirror when failed to download
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-04-19 01:36:37 +08:00
Tianling Shen
29b53e375a
scripts/download.pl: add aliyun(cn) mirror
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-04-19 00:15:44 +08:00
AmadeusGhost
d3e5668943 autocore-arm: add mt76 temperature for hiwifi c526a
Ref: c7f82146ef
2021-04-19 00:04:43 +08:00
AmadeusGhost
d2f3889c61 ipq40xx: hiwifi c526a: add 128m nand version
Warning: This version does not support pbboot and uses
all space of the nand.

Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>
2021-04-19 00:01:13 +08:00
AmadeusGhost
fad6849f47 Revert "ramips: mt7530 swconfig: fix race condition in register access"
This reverts commit a5b9ff72cf. Fix: #359
2021-04-18 23:55:20 +08:00
Rosen Penev
12509785d2 toolchain/gdb: fix compilation with ccache
For some reason, one of the configure checks results in some infinite
loop and ends up spawning endless gcc processes, causing OOM. Just pass
a configure var to avoid it.

Same fix as 6e23813c1e

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-04-18 23:40:34 +08:00
DENG Qingfang
7558d7817f kernel/modules: move act_gact into kmod-sched-core
As the name suggests, act_gact has the generic actions such as dropping
and accepting packets, so move it into kmod-sched-core.

Signed-off-by: DENG Qingfang <dqfext@gmail.com>
2021-04-18 23:39:46 +08:00
bluskai
0d217b28ef
frp: Update to 0.36.2
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-04-18 22:27:50 +08:00
Hans Dedecker
d54dd0b5ef glibc: update to latest 2.33 commit
12ff80b312 Remove PR_TAGGED_ADDR_ENABLE from sys/prctl.h
1bf38e7260 Fix SXID_ERASE behavior in setuid programs (BZ #27471)
a7b8e8ec9b Enhance setuid-tunables test
ee16c81063 tst-env-setuid: Use support_capture_subprogram_self_sgid
267e174f19 support: Add capability to fork an sgid child
249c486ce8 support: Pass environ to child process
45b2c57d34 support: Typo and formatting fixes
e07abf59b2 tunables: Fix comparison of tunable values
3e9ca60a58 linux: always update select timeout (BZ #27706)
8380ca5833 linux: Normalize and return timeout on select (BZ #27651)
85e4dc415a libsupport: Add support_select_normalizes_timeout
b5b4aa62c1 libsupport: Add support_select_modifies_timeout
3d525dd639 misc: Fix tst-select timeout handling (BZ#27648)
830674605f tst: Provide test for select

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2021-04-18 18:28:52 +08:00
EnnawYang
c77613a4d6 cypress-firmware: bump to v5.4.18-2020_0925
Ref: https://community.cypress.com/t5/Resource-Library/Cypress-Linux-WiFi-Driver-Release-FMAC-2020-09-25/ta-p/251089
2021-04-18 18:28:19 +08:00
Álvaro Fernández Rojas
2e3f0517e1 cypress-firmware: add proper package conflicts
There are linux firmwares packages for 43362, 43430 and 43455 which shouldn't
be installed at the same time as Cypress firmwares.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2021-04-18 18:25:09 +08:00
Beginner
fb0fd5e2fa
v2ray-core: update to 4.38.0
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-04-17 21:23:27 +08:00
Tianling Shen
dc9a1187b9
luci-app-ssr-plus: move ss-rust hack to configuration
Finally fixed this...

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-04-17 00:59:37 +08:00
Tianling Shen
9961791b9e
scripts/download.pl: remove unavailable mirror
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-04-17 00:12:02 +08:00
badgv
1687ea5cfc
dnsforwarder: fix dnsmasq configuration modification logic
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-04-17 00:03:22 +08:00
Rosen Penev
01b72fdea1 libsemanage: fix pkgconfig paths
The pkgconfig file currently points to host paths.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-04-15 23:18:53 +08:00
DENG Qingfang
a5b9ff72cf ramips: mt7530 swconfig: fix race condition in register access
The mt7530_{r,w}32 operation over MDIO uses 3 mdiobus operations and
does not hold a lock, which causes a race condition when multiple
threads try to access a register, they may get unexpected results.

To avoid this, handle the MDIO lock manually, and use the unlocked
__mdiobus_{read,write} in the critical section.

This fixes the "Ghost VLAN" artifact[1] in MT7530/7621 when the VLAN
operation and the swconfig LED link status poll race between each other.

[1] https://forum.openwrt.org/t/mysterious-vlan-ids-on-mt7621-device/64495

Signed-off-by: DENG Qingfang <dqfext@gmail.com>
2021-04-15 23:18:31 +08:00
Koen Vandeputte
cda237f66d kernel: backport fix for flexcan bug
This patch fixes a DIV/0 error which was introduced in 4.14.225
This patch was forgotten in upstream <= 4.14 and is now queued for
future release.

Signed-off-by: Koen Vandeputte <koen.vandeputte@citymesh.com>
2021-04-14 23:15:44 +08:00
Koen Vandeputte
a3f306c549 mac80211: backport upstream fixes
Refreshed all patches.
Includes all fixes up to 4.19.184

Signed-off-by: Koen Vandeputte <koen.vandeputte@citymesh.com>
2021-04-14 23:15:26 +08:00
Hauke Mehrtens
662a7b3aa5 mac80211: Remove 357-mac80211-optimize-skb-resizing.patch
This patch was adapted to apply on top of some stable changes, but we
are not sure if this is working correctly. Felix suggested to remove
this patch for now.

Fixes: 0a59e2a76e ("mac80211: Update to version 4.19.161-1")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2021-04-14 23:15:08 +08:00
Rafał Miłecki
bf1bbe4a0b kernel: limit crypto-hw-ccp to the x86
CRYPTO_DEV_CCP depends on X86 or ARM64
CRYPTO_DEV_CCP_DD depends on CPU_SUP_AMD or ARM64

Compiling this driver makes sense for x86 mainly. If one day support for
ARM64 board with AMD Secure Processor gets added this package may be
updated.

Trying to build this package on bcm4908 was causing:
ERROR: module 'build_dir/target-aarch64_cortex-a53_musl/linux-bcm4908_generic/linux-5.4.110/drivers/crypto/ccp/ccp-crypto.ko' is missing.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2021-04-14 23:12:05 +08:00
Rafał Miłecki
9d03842e2c kernel: crypto: format "crypto-hw-ccp" dependencies
Use multiples lines for better readability and sort lines.

Suggested-by: Stijn Tintel <stijn@linux-ipv6.be>
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2021-04-14 23:11:15 +08:00
Tianling Shen
4f53a26f06
scripts/download.pl: update mirrors
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-04-13 21:33:25 +08:00
Tianling Shen
c4436cbb56
luci-app-ssr-plus: re-append protocol arg for ss-rust
Fixes: 4fdf4ff65a ("luci-app-ssr-plus: move shadowsocks UDP argument to configuration")

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-04-13 14:05:38 +08:00
Beginner
ad2021a174
v2ray-core: update to 4.37.3
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-04-12 23:46:09 +08:00
Hauke Mehrtens
ee678b689f
toolchain: gcc: Update to version 10.3.0
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-04-12 20:22:07 +08:00
Hauke Mehrtens
b0f4576423
valgrind: Fix compile problem with MIPS soft float
valgrind does not compile any more when using a GCC 10 for MIPS with
soft float. Just remove the parts which are generating assembler which
would not work.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-04-12 20:21:28 +08:00
Tianling Shen
4fdf4ff65a
luci-app-ssr-plus: move shadowsocks UDP argument to configuration
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-04-12 20:17:59 +08:00
swxk
5e528d43fc
luci-app-ssr-plus: fix netflix shunt bug
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-04-12 19:36:16 +08:00
Daniel Golle
b7237dd61a umdns: add missing syscalls to seccomp filter
Looks like 'openat', 'pipe2' and 'ppoll' are now needed, possibly due
to changes on libraries used by umdns now using slightly different
calls.

Found using
/etc/init.d/umdns trace
now use umdns, ie. cover all ubus call etc., then
/etc/init.d/umdns stop
find list of syscalls traced in /tmp/umdns.*.json

Fixes: FS#3355 ("UMDNS: does not start on master with seccomp")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-04-11 23:23:25 +08:00
Mattraks
821d4bba4d
luci-app-ssr-plus: Update uTLS fingerprints
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-04-11 02:15:53 +08:00
Tianling Shen
a5e28e4678
kernel: bump to 4.9.265, 4.14.229, 4.19.185
Refreshed all patches.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-04-10 17:30:47 +08:00
Tianling Shen
f703f8937c
lienol: move LuCI apps to luci feed
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-04-10 14:37:37 +08:00
Tianling Shen
6214af00d0
lienol: move packages to packages feed
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-04-10 14:26:35 +08:00
lichao0223
cc2d67aa77
uugamebooster: Update to 2.10.0
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-04-10 13:47:27 +08:00
Beginner
6fa070f11a
v2ray-core: update to 4.37.2 2021-04-09 23:29:46 +08:00
AmadeusGhost
d6dd580d60 rtl8812au-ac: update to latest git HEAD 2021-04-08 23:29:30 +08:00
AmadeusGhost
4b855e35fc sunxi/h5: set max cpu freq to 1296MHz 2021-04-08 23:27:46 +08:00
Eason
552d33e65c
luci-app-zerotier: fix iptables bug
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-04-06 20:52:30 +08:00
Hans Dedecker
07267d373a
glibc: update to latest git HEAD (BZ #27468, BZ #27511)
e78ea9bd26 Update Nios II libm-test-ulps.
98bb18f52a malloc: Fix a realloc crash with heap tagging [BZ 27468]
fc4ecce85b S390: Also check vector support in memmove ifunc-selector [BZ #27511]

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-04-06 20:50:29 +08:00