Commit Graph

5352 Commits

Author SHA1 Message Date
Tony Ambardar
3350edab7a kernel/modules: relocate teql hotplug from iproute2 to kmod-sched
The link equalizer sch_teql.ko of package kmod-sched relies on a hotplug
script historically included in iproute2's tc package. In previous
discussion [1], consensus was the hotplug script is best located together
with the module in kmod-sched, but this change was deferred at the time.

Relocate the hotplug script now. This change also simplifies adding a tc
variant for minimal size with reduced functionality.

[1] https://github.com/openwrt/openwrt/pull/1627#issuecomment-447923636

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2021-03-20 11:33:47 +08:00
Tony Ambardar
351dde455d iproute2: add missing limits.h includes
This patch has been submitted upstream to fix an error reported by a few
users. One instance seen using gcc 10.2.0, binutils 2.35.1 and musl 1.1.24:

bpf_glue.c: In function 'get_libbpf_version':
bpf_glue.c:46:11: error: 'PATH_MAX' undeclared (first use in this function);
did you mean 'AF_MAX'?
   46 |  char buf[PATH_MAX], *s;
      |           ^~~~~~~~
      |           AF_MAX

Reported-by: Rui Salvaterra <rsalvaterra@gmail.com>
Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2021-03-20 11:33:14 +08:00
Russell Senior
90acdcbaf4 busybox: udhcpc, allow zero length dhcp options
This patch skips zero length DHCP options instead of failing.

Signed-off-by: Russell Senior <russell@personaltelco.net>
2021-03-20 11:24:35 +08:00
Eike Ritter
39886684e3 ppp: compile fix: unset FILTER variable in Makefile
If the environment variable FILTER is set before compilation,
compilation of the ppp-package will fail with the error message

Package ppp is missing dependencies for the following libraries:
libpcap.so.1

The reason is that the OpenWrt-patch for the Makefile only comments
out the line FILTER=y. Hence the pcap-library will be dynamically
linked if the environment variable FILTER is set elsewhere, which
causes compilation to fail. The fix consists on explicitly unsetting
the variable FILTER instead.

Signed-off-by: Eike Ritter <git@rittere.co.uk>
2021-03-20 11:19:03 +08:00
xiaorouji
fc6fc0d5fe
luci-app-passwall: initial support import vless link
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-19 17:56:59 +08:00
Saxon
e86fe8c7c9
luci-app-unblockmusic: remove outdated music provider
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-19 17:56:22 +08:00
dwj0
0584fcbed0
n2n_v2: add n2n auto-nat
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-19 17:55:39 +08:00
Beginner
4ad4a644ab
UnblockNeteaseMusic-Go: Update to 0.2.9
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-19 17:54:39 +08:00
jerrykuku
5be0b13e80
luci-theme-argonv3: fix bugs
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-19 17:52:28 +08:00
Mattraks
74d7e3d9a6
luci-app-ssr-plus: fix arguments for ss-rust
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-19 17:40:01 +08:00
Tianling Shen
7c7830ac0b
tmate: remove upstreamed pacakge
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-19 17:24:30 +08:00
Tianling Shen
b2da0ad5fe
msgpack-c: remove upstreamed pacakge
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-19 17:24:18 +08:00
xiaorouji
7641c306fa
luci-app-passwall: bug fixes
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-18 16:18:16 +08:00
tty228
3a456a49c4
luci-app-serverchan: bump to 1.81
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-18 16:17:07 +08:00
maple's sky
b9aef3ef79
luci-app-jd-dailybonus: sync with upstream source
Co-authored-by: xujianjie1213 <35050408+xujianjie1213@users.noreply.github.com>
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-18 16:16:24 +08:00
Beginner
37ecc03a58
v2ray-plugin: update to 4.36.2
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-18 12:04:14 +08:00
Álvaro Fernández Rojas
5548482ebb mtd: fix imagetag compilation
Commit b5b0796a13 added an uint32_t to mtd.h without including stdint, which
results in a compilation error for those files not including stdint.h.

In file included from imagetag.c:36:
mtd.h:15:8: error: unknown type name 'uint32_t'
 extern uint32_t opt_trxmagic;
        ^~~~~~~~
imagetag.c: In function 'trx_fixup':
imagetag.c:180:10: warning: unused variable 'res' [-Wunused-variable]
  ssize_t res;
          ^~~
imagetag.c:177:14: warning: unused variable 'scan' [-Wunused-variable]
  void *ptr, *scan;
              ^~~~
imagetag.c: In function 'trx_check':
imagetag.c:246:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
     struct bcm_tag *tag = (const struct bcm_tag *) buf;
                           ^
make[3]: *** [<builtin>: imagetag.o] Error 1

Fixes: b5b0796a13 ("mtd: add option for TRX magic to fixtrx")
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2021-03-17 23:25:41 +08:00
Tianling Shen
3506b828ad
luci-app-ssr-plus: drop ipt2socks-alt from the dependencies
Signed-off-by: Tianling Shen <cnsztl@gmail.com>
2021-03-17 14:04:48 +08:00
maple's sky
dae84e580f
luci-app-jd-dailybonus: sync with upstream source
Co-authored-by: Mattraks <16359027+Mattraks@users.noreply.github.com>
Co-authored-by: jerrykuku <jerrykuku@qq.com>
Signed-off-by: Tianling Shen <cnsztl@gmail.com>
2021-03-17 13:52:21 +08:00
xiaorouji
1805a389a7
luci-app-passwall: sync with upstream source
Co-authored-by: badgv <45598380+badgv@users.noreply.github.com>
Signed-off-by: Tianling Shen <cnsztl@gmail.com>
2021-03-17 13:44:33 +08:00
Magnus Kroken
b05945c5d2 mbedtls: update to 2.16.10
This release of Mbed TLS provides bug fixes and minor enhancements. This
release includes fixes for security issues.

Security fixes:
* Fix a buffer overflow in mbedtls_mpi_sub_abs()
* Fix an errorneous estimation for an internal buffer in
mbedtls_pk_write_key_pem()
* Fix a stack buffer overflow with mbedtls_net_poll() and
mbedtls_net_recv_timeout()
* Guard against strong local side channel attack against base64 tables
by making access aceess to them use constant flow code

Full release announcement:
https://github.com/ARMmbed/mbedtls/releases/tag/v2.16.10

Signed-off-by: Magnus Kroken <mkroken@gmail.com>
2021-03-17 11:28:57 +08:00
Beginner
a91e7d85bb
v2ray: update to 4.36.2
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-16 23:55:44 +08:00
Beginner
733c6a079e
v2ray: update to 4.36.1 2021-03-16 19:51:29 +08:00
INAGAKI Hiroshi
3354895999 mtd: add option for TRX magic to fixtrx
Buffalo uses the TRX header with a different magic and even changes this
magic with different devices. This change allows to specify the header
to use as a command line argument.

This is needed for the Buffalo WSR-2533DHP2 based on mt7622.

Co-Developed-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2021-03-16 11:17:41 +08:00
Rosen Penev
29b028f40c gettext-full: disable nameless locale define
It seems some packages like transmission and json-glib fail with it
enabled.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-03-16 11:12:46 +08:00
Dominick Grift
d7567389d5 selinux-policy: update to version v0.8
Signed-off-by: Dominick Grift <dominick.grift@defensec.nl>
2021-03-16 11:12:13 +08:00
Tianling Shen
0a1c53222e
shadowsocks-rust: drop UPX support
Signed-off-by: Tianling Shen <cnsztl@gmail.com>
2021-03-15 16:47:42 +08:00
Tianling Shen
19980fd5b9
treewide: add mirrors for GitHub Archives
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-15 15:01:44 +08:00
Tianling Shen
9796619efc
treewide: add mirrors for GitHub Codeload
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-15 14:17:10 +08:00
Beginner
72becfbf30
xray-plugin: update to 1.4.0
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-15 12:11:36 +08:00
Beginner
2df8719886
v2ray-plugin: update to 4.36.0 2021-03-15 00:48:41 +08:00
Beginner
f56a3dce91
v2ray: update to 4.36.0 2021-03-15 00:47:59 +08:00
Tianling Shen
51f8dfa498
luci-app-ssr-plus: only selete ss-rust for armv8 devices
ss-libev on x86_64 is good enough.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-14 23:45:15 +08:00
xiaorouji
3ccae98761
luci-app-passwall: bump to 4-17
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-14 23:14:54 +08:00
Tianling Shen
0bc42819ae
luci-app-ssr-plus: fix typo err of binname
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-14 18:59:46 +08:00
Tony Ambardar
fb6c76bbdf elfutils: remove host build from target package
Commit f4da28c301 ("elfutils: Add host build") supplied a libelf host
library to fix a glib2 host build error, but this need was later removed
by b6212c8769 ("glib2: don't use libelf during host build").

More importantly, there are already two sources for libelf host libraries:
OpenWRT build prerequisites [1] and tools/libelf. A third is not needed.

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2021-03-14 11:26:25 +08:00
Hannu Nyman
56947b7bde busybox: backport fixes for 1.33.0
Backport two fixes for 1.33.0
* history file storing
* traceroute command option parsing

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2021-03-14 11:26:05 +08:00
Alin Nastac
6112051eb4 xfrm: simplify the check for necessary kernel support
[ -d /sys/module/xfrm_interface ] is enough to check if
CONFIG_XFRM_INTERFACE support was enabled in kernel.

Signed-off-by: Alin Nastac <alin.nastac@technicolor.com>
2021-03-14 11:23:18 +08:00
Alin Nastac
2613a9fe8b vti: use alternative way to check if kernel support is enabled
When necessary support is built in kernel, vti protocol support is
not enabled in netifd.

Signed-off-by: Alin Nastac <alin.nastac@technicolor.com>
2021-03-14 11:22:54 +08:00
Alin Nastac
8f76805abd gre: use alternative way to check if kernel support is enabled
When necessary support is built in kernel, gre protocol support is
not enabled in netifd.

Signed-off-by: Alin Nastac <alin.nastac@gmail.com>
2021-03-14 11:22:29 +08:00
Tianling Shen
e72037019b
luci-app-ssr-plus: fix bugs
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-13 16:22:14 +08:00
Tianling Shen
3bba3457d7
Revert "shadowsocks-rust: fix hash key for aarch64 binary"
This reverts commit 3c61869695.

Signed-off-by: Tianling Shen <cnsztl@gmail.com>
2021-03-13 11:31:23 +08:00
Mattraks
98bfcbc7ce
luci-app-ssr-plus: allow customized ss plugins
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-13 02:44:54 +08:00
michael
40d16e6b20
uugamebooster: update to 2.7.8
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-13 01:24:56 +08:00
vernesong
352abf6536
OpenClash: Update to v0.42.03-beta
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-13 00:48:52 +08:00
xiaorouji
e43c7b33c4
luci-app-passwall: sync with upstream source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-13 00:44:11 +08:00
Tianling Shen
902a3f2055
luci-app-ssr-plus: fix dependencies
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-13 00:33:13 +08:00
Tianling Shen
e967518d70
luci-app-ssr-plus: add support for shadowsocks-rust
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-13 00:28:54 +08:00
Tianling Shen
50e0d8e11e
cdnspeedtest: Update to 1.4.9
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-12 23:27:04 +08:00
jerrykuku
918c80e7b0 luci-app-argon-config: bump to v0.9 2021-03-12 12:11:18 +08:00