Commit Graph

5886 Commits

Author SHA1 Message Date
Tianling Shen
fe01c9e9e5
Merge branch '1806-mt76-updates' into openwrt-18.06-dev
Compile-tested-on: ramips
Runtime-tested-on: mt7621 newifi-d2

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-05-07 20:04:02 +08:00
Lucian Cristian
dabe73bc08
kernel: video: add multimedia-input driver
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
[rebase commit, apply review recommendations]
Signed-off-by: AmadeusGhost <amadeus@immortalwrt.org>
[rebase commit, only apply generic part]
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-05-07 18:44:41 +08:00
David Bauer
72ff571876
mt76: update to the latest version
5c768de mt76: mt76x0: disable GTK offloading

Signed-off-by: David Bauer <mail@david-bauer.net>
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-05-07 18:36:35 +08:00
David Bauer
6680b7efac
mt76: update to the latest version
4ba1709 mt76: mt7603: add additional EEPROM chip ID

Signed-off-by: David Bauer <mail@david-bauer.net>
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-05-07 18:36:31 +08:00
Mattraks
4690eb0097
luci-app-ssr-plus: add vless gRPC support
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-05-07 17:32:48 +08:00
Tianling Shen
b1723be7bf
luci-app-ssr-plus: add basic ss server support
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
Co-authored-by: Mattraks <mattraks@gmail.com>
2021-05-07 17:16:27 +08:00
Tianling Shen
0aaa145e34
qt: add missing dependencies
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-05-05 22:27:36 +08:00
AmadeusGhost
d887cecd15 dnsmasq: refresh patches 2021-05-05 21:08:03 +08:00
Alan Swanson
37590aa02a dnsmasq: Update to version 2.85
Fixes issue with merged DNS requests in 2.83/2.84 not being
retried on the firsts failed request causing lookup failures.

Also fixes the following security problem in dnsmasq:
* CVE-2021-3448:
  If specifiying the source address or interface to be used
  when contacting upstream name servers such as:
  server=8.8.8.8@1.2.3.4, server=8.8.8.8@1.2.3.4#66 and
  server=8.8.8.8@eth0 then all would use the same socket
  bound to the explicitly configured port. Now only
  server=8.8.8.8@1.2.3.4#66 will use the explicitly
  configured port and the others random source ports.

Remove upstreamed patches and update remaining patch.

Signed-off-by: Alan Swanson <reiver@improbability.net>
[refreshed old runtime support patch]
Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2021-05-05 21:05:57 +08:00
Hauke Mehrtens
842d799bb4
mac80211: Update to backports version 4.19.189-1
The removed patches were applied upstream.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-05-05 16:29:30 +08:00
lean
669bb7ac30
luci-app-kodexplorer: fix libxml dependence
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-05-05 16:25:45 +08:00
Hauke Mehrtens
0107a192d5
ltq-dsl-base: Make package nonshared to fix image builder
This package depends on the lantiq target and is only build for that
target. A normal package would be build by the SDK builder probably
under a different target and then this package will not be selected.
Mark it as nonshared to build it when the lantiq target gets build.

Fixes: FS#3773, FS#3774
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-05-05 16:25:18 +08:00
Hauke Mehrtens
71e1901781 busybox: backport fix for CVE-2021-28831
This backports a fix for the low priority CVE-2021-28831:
  decompress_gunzip.c in BusyBox through 1.32.1 mishandles the error bit
  on the huft_build result pointer, with a resultant invalid free or
  segmentation fault, via malformed gzip data.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2021-05-05 12:00:30 +08:00
Álvaro Fernández Rojas
cf553d1b84
bcm27xx-gpu-fw: update to latest version
This is needed to add support for CM4 and RPI 400.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-05-05 01:18:01 +08:00
Tianling Shen
9433ca3567
luci-app-ssr-plus: drop ss stream-cipher support
They're totally unsafe, and deprecated in new designs.
All of your data encrypted in these way could be replayed and decrypted.

For details, see:
https://shadowsocks.org/assets/whitepaper.pdf
https://phuker.github.io/shadowsocks-active-probing.html
https://github.com/edwardz246003/shadowsocks

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-05-05 01:12:38 +08:00
lean
795397e7dd
luci-app-kodexplorer: fix php7-mod-dom support
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-05-04 22:22:02 +08:00
kuma
a47038d83f
luci-app-ssr-plus: bug fixes
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-05-03 17:18:46 +08:00
Tianling Shen
f75fc2554f
luci-app-ssr-plus: correct protocol place for ss
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-05-03 15:45:26 +08:00
greekstreet
703b0e04f6
luci-app-ssr-plus: make it compatible with procps-ng-ps
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-05-03 15:44:14 +08:00
AmadeusGhost
705dd55888 sunxi: nanopi-r1s-h5: remove non-existent usb node
(cherry picked from commit b8ec046701)
Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>
2021-05-02 23:22:02 +08:00
Vieno Hakkerinen
6d369ccdb7 kernel: netdev: add qlcnic
Add driver for QLogic QLE8240 and QLE8242 Converged Ethernet devices.

Signed-off-by: Vieno Hakkerinen <vieno@hakkerinen.eu>
2021-05-01 11:35:58 +08:00
AmadeusGhost
4177c3c85d r8168: switch to use git source
There's no reason to keep the src here.
2021-04-28 23:51:49 +08:00
AmadeusGhost
594fc11cfc rtl8189es: update to latest git HEAD 2021-04-28 23:50:30 +08:00
Tianling Shen
9cceb412d7
v2ray: remove package
This is replaced by v2ray-core.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-04-27 20:52:14 +08:00
Beginner
b69b82b70c
v2ray-core: update to 4.38.1
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-04-27 00:17:25 +08:00
Tianling Shen
d391739dcd
UnblockNeteaseMusic-Go: Update to 0.2.10
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-04-26 23:36:11 +08:00
Mattraks
e30252cace
luci-app-ssr-plus: allow run socks5 server independently
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-04-26 17:38:59 +08:00
SuLingGG
1c61d2946d cypress-firmware:remove outdate firmwares
Lists:
 cypress-firmware-4359-pcie
 cypress-firmware-4359-sdio
 cypress-firmware-89459-pcie
2021-04-25 23:18:21 +08:00
João Henriques
fe67fade15 dnsmasq: add ignore hosts dir to dnsmasq init script
When running multiple instances of dnsmasq, for example one being for the lan
and another for a guest network, it might not be desirable to have the same dns names
configured in both networks

Signed-off-by: João Henriques <joaoh88@gmail.com>
2021-04-25 23:15:49 +08:00
Hans Dedecker
f752caf745 nat46: update to git HEAD
9df230a Zero checksum handling  (#25)
7688102 skip generating a UDP4 csum if the UDP6 csum is 0 and zero_csum_pass is set
4a9e4b1 zero csum: avoid calling the checksum adjustment function if udp csum is zero
2de14c5 add a module argument to skip checksum adjust for UDP if checksum is zero

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2021-04-25 23:15:01 +08:00
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
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
d3e5668943 autocore-arm: add mt76 temperature for hiwifi c526a
Ref: c7f82146ef
2021-04-19 00:04:43 +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
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
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
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
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
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
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
Eason
552d33e65c
luci-app-zerotier: fix iptables bug
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-04-06 20:52:30 +08:00
Stijn Tintel
949e9a6101
lldpd: further size reductions
Size difference on mips_4kec:
Before: 120196
After:  120006

Closes https://github.com/openwrt/openwrt/pull/3823

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Suggested-by: Lucian Cristian <lucian.cristian@gmail.com>
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-04-06 20:50:24 +08:00
Stijn Tintel
b737530a49
lldpd: enable LTO
Size difference on mips_4kec:
W/o LTO: 139674
W/ LTO:  120196

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Suggested-by: Lucian Cristian <lucian.cristian@gmail.com>
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-04-06 20:50:20 +08:00
Stijn Tintel
69a15b59c5
lldpd: bump to 1.0.9
Contains fixes related to CVE-2020-27827.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-04-06 20:50:05 +08:00
Stijn Tintel
b7f06252e3
lldpd: add libcap dependency
Now that libcap is in OpenWrt base, we can drop our custom patch to
disable libcap support and have lldpd depend on it instead. This will
allow the monitor process to drop its privileges instead of running as
root, improving security.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-04-06 20:49:59 +08:00
Stijn Tintel
d992dfb22a
libcap: bump to 2.48
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-04-06 20:49:52 +08:00
Stijn Tintel
01601a0bf6
libcap: drop invalid copyright header
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-04-06 20:49:43 +08:00
Stijn Tintel
2bf1f6771d
libcap: import from packages feed
Having libcap in OpenWrt base allows us to enable libcap support in
other packages in base.

In lldpd, this would allow the monitor process to drop its privileges
instead of running as root, improving security. It will also allow us to
drop our patch to disable libcap.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-04-06 20:49:35 +08:00
Beginner
b740d4c1f7
v2ray-core: update to 4.37.1 2021-04-06 10:09:57 +08:00
Tianling Shen
282666dd83
uugamebooster: keep config when upgrade
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-04-04 20:38:52 +08:00
Rui Salvaterra
8bdc2362e8 zram-swap: bail out early if the kernel doesn't support swap
Since KERNEL_SWAP is only enabled by default for !SMALL_FLASH targets, we need
to check if the current kernel supports swap before trying to configure
zram-swap, as opkg can't check for kernel dependencies.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
2021-04-04 12:18:54 +08:00
Rui Salvaterra
2515f96050 zram-swap: clean up the makefile
Break dependencies into separate lines, to improve the readability. Trim
trailing whitespace.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
2021-04-04 12:18:35 +08:00
Alexander Egorenkov
2c898cfb59 base-files: fix status display command
If service() is called w/o parameter then the status display for services
with multiple instances is incorrect. E.g. samba4 or wpad have 2 instances.

Signed-off-by: Alexander Egorenkov <egorenar-dev@posteo.net>
2021-04-04 12:10:30 +08:00
Tony Ambardar
c5ad183dde iproute2: fix libbpf detection with NLS enabled
Upstream iproute2 detects libbpf using a one-line $CC test-compile, which
normally ignores LDFLAGS. With NLS enabled however, LDFLAGS includes an
"rpath-link" linker option needed to resolve libintl.so. Its absence
causes both the compile and libbpf detection to fail:

  ld: warning: libintl.so.8, needed by libbpf.so, not found (try using
      -rpath or -rpath-link)
  ld: libelf.so.1: undefined reference to `libintl_dgettext'
  collect2: error: ld returned 1 exit status

Fix this by directly including $LDFLAGS in the test-compile command.

Reported-by: Ian Cooper <iancooper@hotmail.com>
Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2021-04-04 12:09:59 +08:00
Tony Ambardar
c6bce19b09 binutils: fix libbfd missing DSO dependency if NLS enabled
The libbfd package definition uses $(ICONV_DEPENDS) and $(INTL_DEPENDS)
but links against neither, leading to libbfd detection failures in other
packages (e.g. bpftools) and on-target relocation problems with libintl.so:

  root@OpenWrt:/# ldd /usr/lib/libbfd.so
        ldd (0x77db6000)
        libc.so => ldd (0x77db6000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x77c6d000)
  Error relocating /usr/lib/libbfd.so: libintl_dgettext: symbol not found

Add NLS-conditional linking of "libintl" to fix this. Also remove libbfd
package dependency $(ICONV_DEPENDS) which is not used during building or
linking.

Tested with QEMU on malta/be32, after building all packages from binutils,
bpftools and iproute2, using different libc options musl and glibc.

Fixes: 08e8175696 ("binutils: use nls.mk to fix libbfd link errors in
other packages")
Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2021-04-04 12:09:37 +08:00
Tony Ambardar
54a9b2e5ab bpftools: drop unneeded libintl linking for NLS
There is no direct linking of libintl from bpftools, only secondary linking
through libelf, so remove "-lintl" from TARGET_LDFLAGS.

Fixes: 5582fbd613 ("bpftools: support NLS, fix ppc build and update to 5.8.9")
Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2021-04-04 12:09:18 +08:00
lllrrr2
6c146b7ef3
trojan-go: Update to 0.8.3
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-04-04 10:25:46 +08:00
Beginner
cda641ce13
v2ray: update to 4.37.0 2021-04-03 10:18:26 +08:00
Jo-Philipp Wich
1cc103bdd2 firewall4: update to latest Git HEAD
29fba84 tests: expand testing
6bf82a8 fw4.uc: fix family test functions
25b2c7d fw4.uc: fix parsing boolean "0" values
694d428 rule.uc: fix redundant whitespace in rules without target
7f69fbb ruleset.uc: reduce empty lines in output
8f8e42c fw4.uc: gracefully handle missing defaults section
25287af treewide: remove ucode module preloading
802b685 fw4.uc: remove upvalue caching

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-04-01 23:21:02 +08:00
Jo-Philipp Wich
11d5b1444b ucode: update to latest Git HEAD
973cc6c compiler: actually expand block scope fix to for/while alt syntax
97bf297 compiler: ensure that alternative if/for/while syntax has own block scope
f0e2a64 tests: add missing test case for fixed switch codegen

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-04-01 23:20:36 +08:00
Hans Dedecker
ec709c35a4 firewall: update to latest git HEAD
a4355a6 firewall3: clean up the flow table detection logic
edd0dc5 firewall3: create a common helper to find strings in files

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2021-04-01 23:20:12 +08:00
dwj0
6c54c00b15
luci-app-n2n_v2: add n2n supernode ports and rules
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-04-01 18:07:03 +08:00
Tianling Shen
3e63e4724f
phicomm-k3screenctrl: move to packages feed
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-31 23:56:27 +08:00
Tianling Shen
6c5b7ba578
open-app-filter: move to pacakges feed
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-31 23:55:40 +08:00
xiaorouji
c04d124589
luci-app-passwall: bump to 4-19
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-31 23:26:40 +08:00
Tianling Shen
d70ee37f48
ntlf9t: move all LuCI apps to luci feed
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-31 23:10:38 +08:00
Tianling Shen
6f85331c74
luci-app-kodexplorer: fix dependencies
Renamed `nginx` to `nginx-ssl`.

Fixes: #335

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-30 23:45:08 +08:00
Paul Spooren
1a4e8bc3f1 ncurses: add screen-256color terminfo
The terminfo is required by the popular terminal multiplexer screen and
tmux, offer it by default as the size impact is minimal with 885 Bytes.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2021-03-30 23:13:57 +08:00
Paul Spooren
231e4dfe4d ncurses: split long line of supported terminfo
The terminfo files were all in one row which is terrible to read.
Split them over multiple lines to improve readability.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2021-03-30 23:13:32 +08:00
Jo-Philipp Wich
a1adf0b141 ucode: update to latest Git HEAD
aa9621d compiler: rework switch statement code generation
b5f0de1 vm: add trace mode instruction dump output fixes
0341d64 vm: fix another for-loop memory leak
00d9419 vm: fix further memory leaks in trace mode
20a3763 vm: fix loop variable memory leak in NEXTK/NEXTKV instruction
9a6ef2b lib: prevent use-after-free after uc_shift()
03f1324 object: free prototype object when registering existing ressource type
b3d758b compiler: fix for/break miscompilation
86e3970 lib: fix value refcount of uc_unshift() return value
fe464ea run_tests.sh: allow passing tests to run as arguments
091ae1b compiler: fix another try/catch miscompilation
fcedb19 lib: fix passing uninitialized memory to sigprocmask()
0d0357d vm: fix leaking source context strings in trace mode
7a41fb3 lib: use execvp() in system()

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-03-30 23:10:08 +08:00
Tony Ambardar
c72855895d firewall3: update to latest git HEAD
This includes several improvements and fixes:

  61db17e rules: fix device and chain usage for DSCP/MARK targets
  7b844f4 zone: avoid duplicates in devices list
  c2c72c6 firewall3: remove last remaining sprintf()
  12f6f14 iptables: fix serializing multiple weekdays
  00f27ab firewall3: fix duplicate defaults section detection
  e8f2d8f ipsets: allow blank/commented lines with loadfile
  8c2f9fa fw3: zones: limit zone names to 11 bytes
  78d52a2 options: fix parsing of boolean attributes

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2021-03-30 23:09:45 +08:00
Tianling Shen
6e0750dcce
autocore-x86: fix link to project
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-30 03:47:47 +08:00
Tianling Shen
20ce1ca321
autocore: add link to project
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-30 01:08:55 +08:00
klever1988
cb9b44834b
luci-app-xlnetacc: update to 1.0.5
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-30 01:05:46 +08:00
lichao0223
97fee2843e
uugamebooster: Update to 2.9.0
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-30 01:05:21 +08:00
Jarao
724089c426
luci-app-unblockmusic: fix can't change provider in go version
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-30 01:04:38 +08:00
Tianling Shen
c70c2b56a5
ntlf9t: move packages to packages feed
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-29 23:13:57 +08:00
Tianling Shen
08ca6f7816
Package ntlf9t: cleanup Makefiles
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-29 22:59:37 +08:00
Tianling Shen
a7b1bdaf67
qBittorrent: Update to 4.3.4.10
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-28 15:07:30 +08:00
Eneas U de Queiroz
a361b749b7 openssl: bump to 1.1.1k
This version fixes 2 security vulnerabilities, among other changes:

 - CVE-2021-3450: problem with verifying a certificate chain when using
   the X509_V_FLAG_X509_STRICT flag.

 - CVE-2021-3449: OpenSSL TLS server may crash if sent a maliciously
   crafted renegotiation ClientHello message from a client.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2021-03-27 11:20:44 +08:00
xiaorouji
c08fecad10
luci-app-passwall: bump to 4-18
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-26 21:21:23 +08:00
AmadeusGhost
1e603d80f2 openvpn-easy-rsa: remove duplicate package 2021-03-26 20:16:42 +08:00
AmadeusGhost
66ea9d183d ndpi-netfilter: remove outdated package 2021-03-26 20:15:10 +08:00
Tony Ambardar
166f2bd670 elfutils: enable building with MIPS16
Building with MIPS16 was disabled in 2013 due to an issue with GCC TLS:
https://dev.archive.openwrt.org/ticket/13572. But after the problematic
GCC version was retired, this change wasn't revisited.

Re-enable MIPS16 builds to reduce average elfutils library sizes ~10%.
This was compile-tested on malta/mips32be and malta/mips32le, and linked
with iproute2 for run-testing. Package sizes follow:

Library  MIPS16:=0  MIPS16:=1
-------  ---------  ---------
libelf1    43217      37492
libasm1    12481      11658
libdw1    229723     205793

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2021-03-26 20:00:31 +08:00
Daniel Golle
d81d24333a mwlwifi: add PKG_FLAGS:=nonshared
This should fix the problem of mwlwifi-firmware-* not being found
when using the ImageBuilder.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-03-25 23:28:47 +08:00
Daniel Golle
3118dbb833 ucode: fix PKG_MIRROR_HASH
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-03-25 23:28:22 +08:00
xiaorouji
8ffac602da
luci-app-passwall: sync with upstream source
Co-authored-by: badgv <45598380+badgv@users.noreply.github.com>
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-24 00:52:40 +08:00
Tianling Shen
e02f8393eb
brcmfmac4366c0-firmware-vendor: move to firmware
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-23 22:55:32 +08:00
Tianling Shen
0a70e73dab
luci-app-turboacc: import from LuCI
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-23 22:53:17 +08:00
Tianling Shen
7ad4177396
luci-app-qos-gargoyle: import from core
This is only available for this branch.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-23 18:25:01 +08:00
Tianling Shen
8704d4af19
ctcgfw: move LuCI apps to luci feed
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-23 17:55:48 +08:00
Tianling Shen
b335ab8032
baidupcs-web/iptvhelper: move to packages
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-23 17:51:26 +08:00
Tianling Shen
fbc552569f
treewide: move kernel pacakges from ctcgfw to kernel
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-23 17:46:58 +08:00
Tianling Shen
7b67123d7f
treewide: move some of ctcgfw packages from core to pacakges feed
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-23 17:29:33 +08:00
Tianling Shen
49e3204f02
Revert "treewide: add mirrors for GitHub Codeload"
This reverts commit 9796619efc.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-23 16:58:11 +08:00
Tianling Shen
66a13ba4b4
Revert "treewide: add mirrors for GitHub Archives"
This reverts commit 19980fd5b9.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-23 16:58:11 +08:00
Mauri Sandberg
40dbdcba8c packages: kernel: add gpio-nxp-74hc153
NXP 74HC153 is a GPIO expander. Its original source cide sits in ar71xx
architecture tree. It has been slightly modified to get GPIO pin
configuration from the device tree rather than a MACH file.

 Changes to the source file:
  - Remove struct nxp_74hc153_config
  - in nxp_74hc153_probe(), fetch GPIO configuration from device tree
  - allow GPIO framework decide the base number by passing -1 to it
  - remove support for kernel versions below 4.5.0
  - add OF device compatibility string

 Create a package for inclusion in image.

References: https://lore.kernel.org/linux-gpio/545111184.50061.1615922388276@ichabod.co-bxl/
Signed-off-by: Mauri Sandberg <sandberg@mailfence.com>
[added link to driver usptreaming work in progress]
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2021-03-23 11:26:20 +08:00
Jan Pavlinec
632b306c50 igmpproxy: remove package
Moved to packages repo because it was considered
non-essential for most router configurations.

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
[shorten commit title]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2021-03-23 11:22:21 +08:00
Florian Eckert
ea5c570a76 base-files: add logging for configuration import
Make sysupgrade backup import more verbose.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2021-03-23 11:19:00 +08:00
Tianling Shen
fa4d6e9e0b
Revert "Package ctcgfw: use package-immortalwrt.mk"
This reverts commit 36c9fc3bda.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-23 09:26:08 +08:00
Tianling Shen
cdb36b7846
iptables: remove dummy cgroup package
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-22 22:36:08 +08:00
Tianling Shen
36c9fc3bda
Package ctcgfw: use package-immortalwrt.mk
Moved all duplicate parts to a single .mk file

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-22 21:56:03 +08:00
Tianling Shen
ce3595a8ba
iptables: drop iptables-mod-cgroup
This was included in iptables-mod-extra already.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-22 21:40:48 +08:00
Tianling Shen
cf0bd81aff
netfilter: drop kmod-ipt-cgroup
This was included in ipt-extra already.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-22 17:05:47 +08:00
xiaorouji
1076688f9d
luci-app-passwall: sync with upstream source
Co-authored-by: lededev <30518126+lededev@users.noreply.github.com>
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-22 16:53:28 +08:00
AmadeusGhost
1711018763 filebrowser: update to 2.13.0
Fix: #326
2021-03-20 12:30:22 +08:00
Philip Prindeville
d9053b1c6c libnfnetlink: quote $(FPIC) on command line
When $(FPIC) gets expanded on the command line (for instance
when setting environment variables for libtool, configure, or
make) we can't count on it not needing quoting (i.e. it could
contain multiple flags separated with spaces).

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2021-03-20 11:56:16 +08:00
Daniel Golle
a148529eae umdns: add syscalls needed on Aarch64
Now that ujail supports seccomp also on Aarch64, add missing syscall
'fstat' to the list of allowed syscalls.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-03-20 11:55:52 +08:00
Jo-Philipp Wich
058f5e44dd firewall4: introduce package
This commit introduces firewall4, an nftables based reimplementation of the
UCI iptables firewall.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-03-20 11:54:00 +08:00
Jo-Philipp Wich
a5e051407c ucode: introduce package
This commit introduces ucode, a tiny template processor utilizing a syntax
closely resembling ECMA Script for embedded script blocks.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-03-20 11:53:36 +08:00
Tony Ambardar
7289665dad iproute2: separate tc into tiny and full variants
This change was investigated previously [1] but not deemed necessary. With
the recent addition [2] of modern BPF loader support, however, tc gained
dependencies on libelf and libbpf, with a larger installation footprint.

Similar to ip-tiny/ip-full, split tc into tc-full and tc-tiny variants,
where the latter excludes the eBPF loader, uses a smaller executable, and
avoids libelf and libbpf package dependencies. Both variants provide the
'tc' virtual package, with tc-tiny as the default.

The previous tc package included a loadable module for iptables actions.
Separate this out into a common package, tc-mod-iptables, which both
variants depend on. Some package sizes on mips_24kc:

Before:
  148343  tc_5.11.0-1_mips_24kc.ipk

After:
  144833  tc-full_5.11.0-2_mips_24kc.ipk
  138430  tc-tiny_5.11.0-2_mips_24kc.ipk  (and no libelf or libbpf)
    4115  tc-mod-iptables_5.11.0-2_mips_24kc.ipk

Also fix up some Makefile indentation.

[1] https://github.com/openwrt/openwrt/pull/1627#issuecomment-447619962
[2] b048a305a3 ("iproute2: update to 5.11.0")

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2021-03-20 11:41:41 +08:00
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
jerrykuku
54e9e5a6c1 luci-theme-argonv3: update to 1.7.2 2021-03-12 12:08:16 +08:00
Daniel Golle
109c08604d
opkg: update to git HEAD
d71856a pkg: pass-through ABIVersion to status file

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-03-11 23:10:42 +08:00
Tianling Shen
3c61869695
shadowsocks-rust: fix hash key for aarch64 binary
Let's "thank" GitHub CDN.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-11 17:53:36 +08:00
Tianling Shen
4698803206
qBittorrent-Enhanced-Edition: Update to 4.3.3.10
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-11 16:47:55 +08:00
Tianling Shen
f3686b9af1
qt5: Update to 5.15.2
Removed upstreamed patches.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-11 16:46:23 +08:00
Tianling Shen
99a9f78ee3
treewide: adjust tencent mirror
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-11 14:57:01 +08:00
Tianling Shen
ed07042b97
shadowsocks-rust: add new package
shadowsocks-rust is shadowsocks written in rust, with high performance
for AES AEAD ciphers (while much lower for non-ones).

However with the lack of rust toolchain, by now we can only download
pre-compiled binaries for quick setup and this Makefile needs to be
rewritten when rust toolchain is up.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-10 23:02:05 +08:00
Tianling Shen
be7048c373
shadowsocksr-libev: rewrite Makefile
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-10 17:15:56 +08:00
bobo liu
a999af1ec8
luci-app-frpc: add config field of user
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-10 10:43:07 +08:00
Tianling Shen
676f92f839
mbedtls: fix typo error
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-10 02:53:22 +08:00
Dominick Grift
aa96436548 checkpolicy: update to version 3.2
521e6a2f libsepol/cil: fix signed overflow caused by using (1 << 31) - 1
42ae834a libsepol,checkpolicy: optimize storage of filename transitions

Signed-off-by: Dominick Grift <dominick.grift@defensec.nl>
2021-03-09 12:12:55 +08:00
Dominick Grift
9da9632de9 secilc: update to version 3.2
Signed-off-by: Dominick Grift <dominick.grift@defensec.nl>
2021-03-09 12:12:28 +08:00
Dominick Grift
ffddfdf704 policycoreutils: update to version 3.2
Signed-off-by: Dominick Grift <dominick.grift@defensec.nl>
2021-03-09 12:11:54 +08:00
Dominick Grift
d402be60d8 libsemanage: update to version 3.2
Signed-off-by: Dominick Grift <dominick.grift@defensec.nl>
2021-03-09 12:09:53 +08:00
Dominick Grift
240acb1b00 libselinux: update to version 3.2
Signed-off-by: Dominick Grift <dominick.grift@defensec.nl>
2021-03-09 12:09:26 +08:00
Dominick Grift
94d3a98da6 libsepol: update to version 3.2
Signed-off-by: Dominick Grift <dominick.grift@defensec.nl>
2021-03-09 12:08:57 +08:00
Beginner
dd9f1eeb8f
v2ray-plugin: update to 4.35.1
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-08 20:52:50 +08:00
Tianling Shen
8f96a896fe
include/target: move specific cflags to own Makefile
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-08 20:18:52 +08:00
zxlhhyccc
3cde6e15e8
naiveproxy: refresh dependencies
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-08 14:46:03 +08:00
Tianling Shen
d0af50427c
OpenClash: sync with upstream source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-08 13:06:49 +08:00
Derry
76c3c51046
OpenAppFilter: bump to 5.0.1
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-08 12:34:15 +08:00
AmadeusGhost
741458f444 luci-theme-edge: update to 2.5 2021-03-08 12:08:46 +08:00
Georgi Valkov
dec2a01ea4 bpftools: fix param order for install on macOS
Fix: bpftools 5.11.2 does not compile on macOS, because the -m option
was placed between src and dst. Corrected by moving -m 644 before src.

Signed-off-by: Georgi Valkov <gvalkov@abv.bg>
2021-03-08 12:03:57 +08:00
Tony Ambardar
bbeb4950a0 bpftools: fix libbpf pkgconfig file
The pkgconfig file hardcodes a host library directory which cannot be
overridden by OpenWrt during builds. Use SED to fix this and potential
include directory problems, as is done with several other packages.

This fixes a strange issue intermittently seen building iproute2 on the
oxnas target:

iptables modules directory: /usr/lib/iptables
libc has setns: yes
SELinux support: no
libbpf support: no
	libbpf version 0.3.0 is too low, please update it to at least 0.1.0
	LIBBPF_FORCE=on set, but couldn't find a usable libbpf

Fixes: 2f0d672088 ("bpftools: add utility and library packages
supporting eBPF usage")
Reported-by: Russell Senior <russell@personaltelco.net>
Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2021-03-08 12:03:31 +08:00
Tianling Shen
bd6bea74ca
v2ray: Update to 4.35.1
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-07 23:00:34 +08:00
Tianling Shen
4d7d6034d2
mbedtls: hidden ARMv8 Crypto Extensions option for broadcom devices
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-07 20:46:08 +08:00
QiuSimons
a1836ccb53
mbedtls: Implements AES and GCM with ARMv8 Crypto Extensions
A compact patch that provides AES and GCM implementations that utilize the
ARMv8 Crypto Extensions. The config flag is MBEDTLS_ARMV8CE_AES_C, which
is disabled by default as we don't do runtime checking for the feature.
The new implementation lives in armv8ce_aes.c.

Provides similar functionality to https://github.com/ARMmbed/mbedtls/pull/432
Thanks to Barry O'Rourke and others for that contribtion.

Tested on a Cortex A53 device and QEMU. On a midrange phone the real AES-GCM
throughput increases about 4x, while raw AES speed is up to 10x faster.

[updated Makefile to enable this function, adjusted commit message]
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-07 16:36:02 +08:00
Tianling Shen
691dbcb8ac
naiveproxy: bump to 89.0.4389.72-1
Removed upstreamed patches, refreshed all dependencies.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-07 15:12:56 +08:00
Tianling Shen
490fd504c6
luci-app-turboacc: enable BBR for kernel 4.9 by default
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-07 14:38:44 +08:00
Tianling Shen
05fcf3e7df
luci-app-appfilter: update file permission
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-07 11:39:54 +08:00
Derry
f6a45d9963
luci-app-appfilter: fix upload file err
Fixes: destan19/OpenAppFilter#97

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-07 11:37:13 +08:00
Tianling Shen
b348be7e9c
OpenAppFilter: bump to 5.0
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-06 13:36:24 +08:00
Tianling Shen
473b7f26de
luci-app-appfilter: bump to 5.0
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-06 13:30:02 +08:00
xiaorouji
8effe063ff
luci-app-passwall: bump to 4-16
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-06 13:22:49 +08:00
Lienol
573fee98c8
pingos: update nginx to 1.19.6
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-06 13:21:42 +08:00
Tianling Shen
e0fbd0e1e1
luci-app-ssr-plus: bump to 183-8
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-06 13:14:21 +08:00
Tianling Shen
3a64d244aa
brcmfmac4366c0-firmware-vendor: drop useless INSTALL_DIR
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-06 12:29:18 +08:00
AmadeusGhost
f86cbf3de2
v2ray-plugin: refresh project url
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-06 12:20:32 +08:00
Florian Eckert
b71caca51e rssileds: use new application led trigger backend
This will use the new application led trigger backend. For now this is
the only package that uses leds trigger in user space to configure the
kernel led triggers.

The callback script only emmits a message for now, so that this LED is now
managed by the rssileds service. Until now a generic warning was emitted that
this LED trigger is not supported. But that is not true.

-> Skipping trigger 'rssileds' for led '<name>' due to missing kernel module

I think this callback should be changed in the future to restart the
service.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2021-03-06 12:14:40 +08:00
Florian Eckert
3a4de9de25 base-files: add new application led trigger backend
For now we have only kernel LED trigger support. With this change it is now
possible to use application triggers.

If we configure a LED with a non kernel trigger, then we check on every
restart and boot of the LED service if we have this trigger as an application
in "/usr/libexec/led-trigger". If this file with the name is found, then we
execute this to init the LED.

Possible use cases are:

- Start/Stop/Restart an application led trigger service for this led
- Init a LED that is configured by a hotplug script (VPN tunnel established)

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2021-03-06 12:14:18 +08:00
Tianling Shen
72629fa2e7
v2ray: Update to 4.35.0, mark as BROKEN
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-05 18:50:40 +08:00
Tianling Shen
549efa5b1e
xray-plugin: Update to 1.3.1
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-05 16:47:29 +08:00
Tianling Shen
8075e6c3c0
v2ray-plugin: Update to 4.35.0
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-05 16:42:27 +08:00
AmadeusGhost
2afa61dd64 simple-torrent: update to 1.2.14 2021-03-04 18:05:14 +08:00
AmadeusGhost
b031c8ddf4 GoQuiet: fix build with golang 1.16 2021-03-04 18:02:41 +08:00
Tianling Shen
468e819a32
gowebdav: bump to v0.0.2
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-04 12:56:07 +08:00
AmadeusGhost
69367bbe70 gowebdav: fix build with golang 1.16 2021-03-04 12:39:49 +08:00
AmadeusGhost
8dfc71dc03 tinymembench: add package 2021-03-03 18:05:24 +08:00
Tianling Shen
357b817277
baidupcs-web: rename patch dir
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-03 14:13:38 +08:00
Tianling Shen
b8786367a0
r8125: bump PKG_VERSION
Fixes: 400288d50f ("r8125: bump to 9.005.01")

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-03 12:34:55 +08:00
Donald Hoskins
18044bb097 libunwind: Add MIPS64 dep check
libunwind dependency check does not allow for MIPS64 arch.  Add MIPS64 awareness.

libunwind seems to support MIPS64 without issues, it was limited by the dep arch
check in the Makefile.

Used to compile Suricata6/Rust locally without issue.

Signed-off-by: Donald Hoskins <grommish@gmail.com>
2021-03-02 12:04:21 +08:00
Daniel Golle
b21d60f57c base-files: add support for restoring config from tmpfs
Instead of only relying in /sysupgrade.tgz being present in rootfs to
restore configuration, also grab /tmp/sysupgrade.tar which may have
magically gotten there during preinit...

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-03-02 12:02:13 +08:00
Tianling Shen
bab1bee9b3
treewide: replace old domain with new one
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-01 22:13:00 +08:00
Tianling Shen
0984e354d3
brook: bump to 20210214
Signed-off-by: Tianling Shen <cnsztl@project-openwrt.eu.org>
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-01 22:08:12 +08:00
AmadeusGhost
2a15075c22
baidupcs-web: add missing rice dependency
Fix: #291
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-01 22:08:12 +08:00
AmadeusGhost
974bb763d8
baidupcs-web: fix build with golang 1.16
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-01 22:08:11 +08:00
Tianling Shen
8a8796fedb
luci-app-docker(man): add missing dependencies
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-01 20:27:05 +08:00
jerrykuku
969712261d
luci-app-jd-dailybonus: sync with upstream source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-01 20:22:50 +08:00
vernesong
cb50478daf
OpenClash: bump to v0.42.02-beta
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-01 20:21:51 +08:00
xiaorouji
ef4c6d32ef
luci-app-passwall: sync with upstream source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-01 20:19:55 +08:00
jerrykuku
5afff93976
luci-app-vssr: bump to latest git HEAD
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-01 20:16:25 +08:00
Beginner-Go
8e34b03718
luci-app-vssr: use xray-plugin instead v2ray-plugin
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-01 20:15:38 +08:00
xiaoqingfeng
fc1ee90f12
luci-theme-infinityfreedom: adjust style for luci-app-softethervpn
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-01 20:11:13 +08:00
Tianling Shen
c8ba0e3586
luci-app-unblockneteasemusic: sync with upstream source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-01 20:08:39 +08:00
Tony Ambardar
f296b74a46 bpftools: update to latest stable 5.11.2
Compile and run-tested on malta/mip32be, 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-03-01 18:16:29 +08:00
Tony Ambardar
062d6c465d iproute2: update to 5.11.0
The latest iproute2 version brings various improvements and fixes:
https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/log/?qt=range&q=v5.10.0..v5.11.0

In particular, ip and tc now use libbpf as the standard way to load BPF
programs, rather than the old, limited custom loader. This allows more
consistent and featureful BPF program handling e.g. support for global
initialized variables.

Also fix a longstanding problem with iproute2 builds where unneeded DSO
dependencies are added to most utilities, bloating their installation
footprint. From research and testing, explicitly using a "--as-needed"
linker flag avoids the issue. Update accordingly and drop extra package
dependencies from Makefile.

Additional build and packaging updates include:

  - install missing development header to iproute2/bpf_elf.h
  - propagate OpenWrt verbose flag during build
  - update and refresh patches

Compile and run tested: QEMU/malta-mips32be on kernels 5.4 & 5.10.

All iproute2 packages were built and installed to the test image. Some
regression testing using ip-full and tc was successfully performed to
exercise several kmods, tc modules, and simple BPF programs.

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2021-03-01 18:16:16 +08:00
Jan Pavlinec
391e7e4693 igmpproxy: update to version 0.3
Changes:
- Remove custom Build/Compile because it's no longer needed
- Remove std=gnu99 which is added automaticaly by igmpproxy if needed
- Remove -Dlog from CFLAGS because igmpproxy doesn't have log function

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2021-03-01 12:15:44 +08:00
Rosen Penev
f6452fe7a0 libpcap: update to 1.10.0
Simplify cmake option handling by putting everything in blocks.

Add openssl patch as there's no easy way to disable.

Rebase the skip manpages patch.

Remove the monitor mode patch as it no longer applies.

Remove flex patch as normal Makefile is no longer used.

Remove USB path patch. While it is deprecated, the codepath is never
taken. /sys/bus/usb/devices is checked before hand. If it exists, the
function does stuff and returns. Additionally, this path is used
elsewhere in the code.

Refresh other patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-03-01 12:13:45 +08:00
Alexey Dobrovolsky
753ca8b1d3 busybox: sysntpd: option to bind server to iface
NTPD in busybox has option -I to bind server to IFACE.
However, capabilities of the busybox are limited, the -I option cannot be
repeated and only one interface can be effectively specified in it.
This option is currently not configurable via UCI.
The patch adds an interface option to the system config, ntp section.
Also sort options for uci_load_validate alphabetically.

Signed-off-by: Alexey Dobrovolsky <dobrovolskiy.alexey@gmail.com>
2021-03-01 12:12:48 +08:00
Daniel Golle
2b77adcdbe selinux-policy: update to version 0.7
a857b45 resolv/locale: eventually this should be more efficient
 11ed281 some more optimization
 764a475 add redundant calls to file.search_conffile_dirs()
 7d4558e fs: treat devtmpfs that same as tmpfs
 81b677e adds irqbalance skeleton
 5506244 irqbalance rules
 cc96cd8 adds usbutil and gtpfdisk skels
 01e2a55 some fsck, gptfdisk, mkfs and usbutil rules
 d6d1e7d usbutil: output to terminal
 da576fa fsck, gptfdisk and usbutil rules
 09b39e9 unbound
 241a029 hotplugcall: allow dac_read_search (is a subset of dac_override)
 af0fe90 adds label for tcsh
 160f79e adds tcpdump
 6d02b96 adds coreutil execfile for busybox alternatives
 ac54884 coreutilexecfile: these are known to require privileges, so exclude
 8cb3b66 adds chrootexecfile
 6d329d3 this saves 9KiB and its a bit more robust
 88e2425 move addpart/delpart/partx to gptfdisk.cil
 261012d ntphotplug: reads ubox data files
 0473ace various
 740e820 work through to genfs_seclabel_symlinks loose ends (Linux 5.10)
 bef21f5 TODO adds a note about how I dont need to upgrade to polver 33 from 31
 cb2e5a3 ubus uses ntpdhotplug fd, and some genfs_seclabel_symlink changes
 07df9b9 luci, rpcd and wpad (mainly genfs_selabel related but not all)
 8d86cab genfs_seclabel loose ends for blockmount, hotplugcall, irqbalance, zram-swap
 b8156cd adds a note about how i forgot to target blockd
 6e82ab8 adds blockd and related
 254ff43 Makefile: exclude blockd from mintesttgt
 4dc6bc2 pppd update related and unbound-odhcp rules

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-03-01 12:10:41 +08:00
Ilya Lipnitskiy
65ec34d7d5 wireguard-tools: depend on kmod-wireguard
To the vast majority of the users, wireguard-tools are not useful
without the underlying kernel module. The cornercase of only generating
keys and not using the secure tunnel is something that won't be done on
an embedded OpenWrt system often. On the other hand, maintaining a
separate meta-package only for this use case introduces extra
complexity. WireGuard changes for Linux 5.10 remove the meta-package.
So let's make wireguard-tools depend on kmod-wireguard
to make WireGuard easier to use without having to install multiple
packages.

Fixes: ea980fb9 ("wireguard: bump to 20191226")
Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
2021-02-27 12:35:45 +08:00
David Bauer
faf18cc0c6 download: add mirror alias for Debian
Add an alias for Debian packages and download them from the Debian
mirror redirector.

Signed-off-by: David Bauer <mail@david-bauer.net>
2021-02-27 12:11:33 +08:00
ElonH
691ef679e4 openwrt-dnsforwarder: removed 2021-02-25 21:27:33 +08:00
Álvaro Fernández Rojas
981322ad15 cypress-firmware: fix PKG_SOURCE_URL
Download link has been moved.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2021-02-25 12:09:43 +08:00
Adrian Schmutzler
f1b4206dc5 zlib: properly split patches
This package had two patches (with two headers etc.) in one file,
which would have quilt merging them during a refresh.

Separate these patches into two files, as the original intent seems
to be having them separate.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2021-02-25 12:01:45 +08:00
garypang13
1f430bbe56 luci-app-kodexplorer: fix missing work directory 2021-02-24 12:32:36 +08:00
Rosen Penev
4bf2ea6c49 pcre: disable C++ bindings
Nothing uses them. Allows to simplify the Makefile.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-02-24 12:26:13 +08:00
Eneas U de Queiroz
20e328abab openssl: always build with GOST engine support
The packages feed has a proposed package for a GOST engine, which needs
support from the main openssl library.  It is a default option in
OpenSSL.  All that needs to be done here is to not disable it.

Package increases by a net 1-byte, so it is not really really worth
keeping this optional.

This commit also includes a commented-out example engine configuration
in openssl.cnf, as it is done for other available engines.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2021-02-24 12:23:33 +08:00
Eneas U de Queiroz
783000b956 wolfssl: bump to v4.7.0-stable
Biggest fix for this version is CVE-2021-3336, which has already been
applied here.  There are a couple of low severity security bug fixes as
well.

Three patches are no longer needed, and were removed; the one remaining
was refreshed.

This tool shows no ABI changes:
https://abi-laboratory.pro/index.php?view=objects_report&l=wolfssl&v1=4.6.0&v2=4.7.0

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2021-02-24 12:23:07 +08:00
Georgi Valkov
73cb5543a7 libusb: Fix parsing of descriptors for multi-configuration devices
Prerequisite patch:
Correct a typo in the Changelog and clean up a stray file

Fix changes in libusb which introduced a regression:
Commit e2be556bd2 ("linux_usbfs: Parse config descriptors during device
initialization") introduced a regression for devices with multiple
configurations. The logic that verifies the reported length of the
configuration descriptors failed to count the length of the
configuration descriptor itself and would truncate the actual length by
9 bytes, leading to a parsing error for subsequent descriptors.

Signed-off-by: Georgi Valkov <gvalkov@abv.bg>
2021-02-22 12:02:39 +08:00
xiaorouji
ede10e4196
luci-app-passwall: typo err fixes
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-22 02:30:19 +08:00
vernesong
d8be0e6aee
OpenClash: bump to v0.42.01-beta
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-22 02:25:50 +08:00
CN_SZTL
d799ed3ce5
nps: fix installing binary for each package
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-21 18:12:38 +08:00
AmadeusGhost
17bb437c66 baidupcs-web: update to 3.7.3 2021-02-21 18:06:45 +08:00
AmadeusGhost
08dee8337e rtl8821cu: disable default cflags for arm again 2021-02-21 18:05:06 +08:00
CN_SZTL
bbab272407
luci-app-passwall: drop non-exsit option for Trojan-Go sharelink
Referred from https://p4gefau1t.github.io/trojan-go/developer/url/, `tls`,
`allowInsecure` and `mux` are not exsited on the sharelink of Trojan-Go.

Reported-by: DuckSoft <realducksoft@gmail.com>
Signed-off-by: Tianling Shen <cnsztl@project-openwrt.eu.org>
2021-02-21 15:54:21 +08:00
xiaorouji
d4ff724ded
luci-app-passwall: sync with upstream source
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-21 15:53:54 +08:00
CN_SZTL
a3eb950cdd
openssl: use https for download urls
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-21 15:49:33 +08:00
Christian Lamparter
01eae6502e wolfssl: fix Ed25519 typo in config prompt
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2021-02-21 12:05:11 +08:00
David Bauer
e60f938959 openssl: update package sources
OpenSSL downloads itself are distributed using Akamai CDN, so use these
sources as the highest priority.

Remove a stale mirror which seems to be offline for a longer time
already.

Add fallbacks to the old release path also for the mirrors.

Signed-off-by: David Bauer <mail@david-bauer.net>
2021-02-20 12:32:06 +08:00
Chuck
3d194b80c0
autocore: optimize the performance of obtaining CPU usage
Preformance Test (on NanoPi R2s, repeat 1000 times):

old command

cpu_usage=$(expr 100 - $(cat /tmp/top_tmp | grep 'CPU:' | awk -F '%' '{print$4}' | awk -F ' ' '{print$2}'))

```
real    0m 14.25s
user    0m 7.96s
sys     0m 20.33s
```

new command

cpu_usage=$(cat /tmp/top_tmp | awk '/^CPU/ { printf("%d%%", 100 - $8) }')

```
real    0m 6.91s
user    0m 4.29s
sys     0m 6.06s
```

Signed-off-by: Chuck <fanck0605@qq.com>
[adjusted for our own tree]
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-20 00:21:43 +08:00
Chuck
1e53f0d4f3
autocore: optimize the performance of obtaining CPU temperature
Preformance Test (on NanoPi R2s, repeat 1000 times):

old command:

temp="$(awk "BEGIN{printf (\"%.1f\n\",$(cat /sys/class/thermal/thermal_zone0/temp)/1000) }")°C"

```
real    0m 9.20s
user    0m 3.29s
sys     0m 6.24s
```

new command:

temp="$(awk '{ printf("%.1f °C", $0 / 1000) }' /sys/class/thermal/thermal_zone0/temp)"

```
real    0m 5.57s
user    0m 1.78s
sys     0m 3.97s
```

Signed-off-by: Chuck <fanck0605@qq.com>
[adjusted for our own tree]
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-20 00:05:06 +08:00
fliaping
dfd087d2a1
ddns-scripts_dnspod: fix updating records for dual-stack domain
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-19 23:42:39 +08:00
AmadeusGhost
b6d96714b7 rtl8821cu: fix build on x86 platform
Fix: #286
2021-02-19 23:40:20 +08:00
CN_SZTL
7bc843e539
xray-plugin: add new package
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-19 20:02:06 +08:00
xiaorouji
914c99c143
luci-app-passwall: sync with upstream source
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-19 17:25:46 +08:00
xiaorouji
06a7f6a904
luci: drop local DNS option
Let the local DNS directly use dnsmasq upstream

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-19 17:24:34 +08:00
CN_SZTL
3fc57f2c6b
luci-app-wrtbwmon: rollback to old version
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-19 17:19:38 +08:00
CN_SZTL
e171b967a6
Revert "package: libs: ncurses/readline use PKG_ABI_VERSION"
This reverts commit f2ee0fb376.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-19 03:28:41 +08:00
CN_SZTL
e99269f8fb
tinyfecVPN: switch git source
As github tarball doesn't include the files of submodules,
so switch to git source to fetch them.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-19 00:12:54 +08:00
CN_SZTL
06531db685
naiveproxy: backport patch to fix building on OpenWrt x86 platform
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-18 22:52:38 +08:00
CN_SZTL
9109439c37
luci-app-wrtbwmon: update Copyright info
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-18 20:17:12 +08:00
CN_SZTL
ba32b64140
luci-app-wrtbwmon: sync with upstream source
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-18 20:05:10 +08:00
Mattraks
8ffe564799
luci-app-ssr-plus: bug fixes
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-18 19:31:13 +08:00
ShanStone
90544c4c56
luci-app-passwall: sync with upstream source
Co-authored-by: xiaorouji <60100640+xiaorouji@users.noreply.github.com>
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-18 19:28:11 +08:00
CN_SZTL
e6bf8a2f00
include/version: set default distribution name to ImmortalWrt
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-18 19:07:14 +08:00
AmadeusGhost
827094a0c1 rtl_wifi: bump to latest git HEAD
Refresh all patches.

Signed-off-by: AmadeusGhost <amadeus@project-openwrt.eu.org>
2021-02-18 18:30:44 +08:00
AmadeusGhost
818121551d gotop: update to 4.1.1 2021-02-18 18:26:12 +08:00
AmadeusGhost
719d668063 filebrowser: update to 2.11.0 2021-02-18 18:24:58 +08:00
AmadeusGhost
81280a80f3 bpytop: update to 1.0.62 2021-02-18 18:23:04 +08:00
CN_SZTL
cb76771895
image: rename distribution to ImmortalWrt
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-18 17:44:25 +08:00
CN_SZTL
87dc029db3
kernel: drop outdated version detection
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-18 02:24:17 +08:00
CN_SZTL
400288d50f
r8125: bump to 9.005.01
Enabled RSS support for performance.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-17 22:14:16 +08:00
Eneas U de Queiroz
82686f6b00 openssl: bump to 1.1.1j
This fixes 4 security vulnerabilities/bugs:

- CVE-2021-2839 - SSLv2 vulnerability. Openssl 1.1.1 does not support
  SSLv2, but the affected functions still exist. Considered just a bug.

- CVE-2021-2840 - calls EVP_CipherUpdate, EVP_EncryptUpdate and
  EVP_DecryptUpdate may overflow the output length argument in some
  cases where the input length is close to the maximum permissable
  length for an integer on the platform. In such cases the return value
  from the function call will be 1 (indicating success), but the output
  length value will be negative.

- CVE-2021-2841 - The X509_issuer_and_serial_hash() function attempts to
  create a unique hash value based on the issuer and serial number data
  contained within an X509 certificate. However it was failing to
  correctly handle any errors that may occur while parsing the issuer
  field (which might occur if the issuer field is maliciously
  constructed). This may subsequently result in a NULL pointer deref and
  a crash leading to a potential denial of service attack.

- Fixed SRP_Calc_client_key so that it runs in constant time. This could
  be exploited in a side channel attack to recover the password.

The 3 CVEs above are currently awaiting analysis.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2021-02-17 18:18:23 +08:00
Rosen Penev
f04015ca41 gettext-full: update to 0.21
Add m4 patch to avoid conflict with tools/autoconf-archive.

Add build parallel as it seems to work now.

Remove a bunch of uClibc-ng hacks as it is not in the tree anymore.

Format security patch was fixed upstream.

Refreshed other patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-02-17 18:16:21 +08:00
jeff Collins
d3266b4fea package: libs: ncurses/readline use PKG_ABI_VERSION
fix samba4 install:
 Collected errors:
 * pkg_hash_fetch_best_installation_candidate: Packages for libreadline8 found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package libreadline8.
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for luci-app-samba4:
 *      libncursesw6
 * opkg_install_cmd: Cannot install package luci-app-samba4.

Signed-off-by: jeff Collins <jeffcollins9292@gmail.com>
2021-02-17 12:00:25 +08:00
Tianling Shen
7a9414f608
build: reorder more BuildPackages lines to deal with ABI_VERSION
After the ABI version rework, packages need to be declared in the order of their
dependencies, so that dependent packages will use the right ABI version

Signed-off-by: Tianling Shen <cnsztl@project-openwrt.eu.org>
2021-02-17 04:09:22 +08:00
Felix Fietkau
013ad0d613
build: reorder more BuildPackages lines to deal with ABI_VERSION
After the ABI version rework, packages need to be declared in the order of
their dependencies, so that dependent packages will use the right ABI version

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Tianling Shen <cnsztl@project-openwrt.eu.org>
2021-02-16 19:30:48 +08:00
Tianling Shen
2babd29a6d
luci-app-adguardhome: fix version detection
Reported-by: AmadeusGhost <amadeus@project-openwrt.eu.org>
Signed-off-by: Tianling Shen <cnsztl@project-openwrt.eu.org>
2021-02-16 16:53:09 +08:00
jerrykuku
c62ad0fad3
luci-theme-argonv3: update to 1.7.1
Signed-off-by: Tianling Shen <cnsztl@project-openwrt.eu.org>
2021-02-16 14:44:01 +08:00
Mattraks
1d84e0c91e
luci-app-ssr-plus: fix the client v2ray/xray type display
Signed-off-by: Tianling Shen <cnsztl@project-openwrt.eu.org>
2021-02-16 14:29:41 +08:00
李欣
b6eff00008
luci-app-ssr-plus: fix misinterpretation of trojan subscription
Signed-off-by: Tianling Shen <cnsztl@project-openwrt.eu.org>
2021-02-16 14:29:29 +08:00
Felix Fietkau
efb1bcb5a0 util-linux: move libuuid BuildPackage line further up to fix ABI versioning
After the ABI version rework, packages need to be declared in the order of
their dependencies, so that dependent packages will use the right ABI version

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2021-02-16 12:16:32 +08:00
Rosen Penev
8a70efcdbc libnftnl: update to 1.1.8
Fix license information.

Fix wrong ABI version. The library is versioned as libnftnl.so.11.4.0

Add PKG_BUILD_PARALLEL for faster compilation.

Remove autoreconf as nothing is being patched.

Minor cleanups for consistency between packages.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-02-15 12:14:56 +08:00
Rosen Penev
b22f8affdc libevent2: update to 2.1.12
Remove upstream backports.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-02-15 12:14:40 +08:00
Rosen Penev
60ae77c65a readline: update to 8.1
Fix license.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-02-15 12:14:20 +08:00
Rosen Penev
2abd0c6a6b gmp: update to 6.2.1
Fix license information.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-02-15 12:13:58 +08:00
Rosen Penev
9a2e126cc8 f2fs-tools: update to 1.14.0
Fix license information.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-02-15 12:13:39 +08:00
Rosen Penev
e7585b8349 busybox: remove useless busybox patches
The first two are useless as /bin/sh can execute those scripts just
fine. Shellcheck reports no problems.

Telnetd patch is useless as telnet is no longer used in OpenWrt.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-02-15 12:12:39 +08:00
Rosen Penev
24d2b57291 busybox: update to 1.33
Remove stime backport.

Remove static libgcc patch as upstream fixed it with
BUSYBOX_DEFAULT_STATIC_LIBGCC which defauls to off.

Remove date -k patch as it no longer applies. It's also pointless as
busybox' hwclock utility can do the same thing.

Remove ntpd patch as that seems to have been applied upstream.

Add smalll patch fixing compilation with SELinux. Upstream commit
2496616b0a8d1c80cd1416b73a4847b59b9f969a renamed the variable without
renaming it in the SELinux path.

Refresh config and patches.

Config refresh:

Refresh commands, run after busybox is first built once:

  cd package/utils/busybox/config/
  ../convert_menuconfig.pl ../../../../build_dir/target-mips_24kc_musl/busybox-default/busybox-1.33.0
  cd ..
  ./convert_defaults.pl < ../../../build_dir/target-mips_24kc_musl/busybox-default/busybox-1.33.0/.config > Config-defaults.in

Manual edits needed afterward:

* Config-defaults.in:  OpenWrt config symbol IPV6 logic applied to
  BUSYBOX_DEFAULT_FEATURE_IPV6
* Config-defaults.in:  OpenWrt configTARGET_bcm53xx logic applied to
  BUSYBOX_DEFAULT_TRUNCATE (commit 547f1ec)
* editors/Config.in: Add USE_GLIBC dependency to
  BUSYBOX_CONFIG_FEATURE_VI_REGEX_SEARCH (commit f141090)
* shell/Config.in : change at "Options common to all shells"  the symbol
  SHELL_ASH  -->  BUSYBOX_CONFIG_SHELL_ASH
   (discussion in http://lists.openwrt.org/pipermail/openwrt-devel/2021-January/033140.html
     Apparently our script does not see the hidden option while
     prepending config options with "BUSYBOX_CONFIG_" which leads to a
     missed dependency when the options are later evaluated.)
* Edit Config.in files by adding quotes to sourced items in
  config/Config.in, networking/Config.in and util-linux/Config.in (commit 1da014f)

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
[Added comments from Hannu Nyman to commit message]
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-02-15 12:12:19 +08:00
Rosen Penev
2f84ce82f1 base-files: use hwclock --systz
The date -k patch is non standard and will be removed in the next
commit.

Tested behavior to be identical with a simple C program:

 #define _GNU_SOURCE
 #include <unistd.h>
 #include <stdio.h>
 #include <sys/time.h>
 #include <sys/syscall.h>

int main()
{
        struct timezone tt;
	struct timezone tz;

        int a = syscall(SYS_gettimeofday, NULL, &tt);
        int b = gettimeofday(NULL, &tz);
        printf("%d - %d, %d\n", a, tt.tz_minuteswest, tt.tz_dsttime);
        printf("%d - %d, %d\n", b, tz.tz_minuteswest, tz.tz_dsttime);
}

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-02-15 12:11:11 +08:00
AmadeusGhost
aab43e6fd3 luci-app-adguardhome: fix path error if core download from the Internet 2021-02-14 16:20:17 +08:00
monokoo
0ec77d950f
luci-app-passwall: fix shunt bug caused by order
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-13 18:08:17 +08:00
xiaorouji
df3d3d9fa0
luci-app-passwall: bump to 4-15
Co-authored-by: ShanStone <31815718+ShanStone@users.noreply.github.com>
Co-authored-by: Jingye-Xia <70971515+Jingye-Xia@users.noreply.github.com>
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-13 16:45:18 +08:00
CN_SZTL
4ea42dafa2
chinadns-ng: bump to latest git HEAD
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-13 16:36:34 +08:00
Hauke Mehrtens
dcb54c420b wolfssl: Backport fix for CVE-2021-3336
This should fix CVE-2021-3336:
DoTls13CertificateVerify in tls13.c in wolfSSL through 4.6.0 does not
cease processing for certain anomalous peer behavior (sending an
ED22519, ED448, ECC, or RSA signature without the corresponding
certificate).

The patch is backported from the upstream wolfssl development branch.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2021-02-10 12:05:53 +08:00
xiaorouji
216c1c1f14
luci-app-passwall: bump to 4-14
Co-authored-by: tritu <tri_tu@163.com>
Co-authored-by: ShanStone <31815718+ShanStone@users.noreply.github.com>
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-09 22:02:01 +08:00
Mattraks
f353b10ebe
luci-app-ssr-plus: fix typo err
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-09 21:13:56 +08:00
AmadeusGhost
7e779f435c sunxi: Nanopi R1S H5: add missing device package
That is required by the Reset button.

Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>
2021-02-09 12:40:22 +08:00
AmadeusGhost
0b3b8825a7 rtl8188eu: add package (not tested) 2021-02-09 12:32:11 +08:00
AmadeusGhost
1beeb3fe4e rtl8812au-ac: remove useless build variables 2021-02-09 12:29:20 +08:00
Ilya Lipnitskiy
9bf22b3f53 acx-mac80211: replace dead URLs with OpenWrt CDN
erley.org no longer exists; attempting to connect to it during package
download results in lengthy timeouts. Use the new OpenWrt CDN alias to
download from reliable OpenWrt mirrors.

Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
2021-02-08 12:12:02 +08:00
Paul Spooren
0bc6a69776 treewide: unify OpenWrt hosted source via @OPENWRT
Multiple sources are hosted on OpenWrts source server only. The source
URLs to point to the server vary based on different epochs in OpenWrts
history.

Replace all by @OPENWRT which is an "empty" mirror, therefore using the
fallback servers sources.cdn.openwrt.org and sources.openwrt.org.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2021-02-08 12:11:32 +08:00
CN_SZTL
dfc285f60f
cdnspeedtest: add new package
A useful tool for getting the fastest ips of CDN to your network.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-08 03:35:24 +08:00
CN_SZTL
b02404150f
gotop: fix build err
GO_PKG_BUILD_PKG seems to be wrong, so just drop it here.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-07 19:43:44 +08:00
CN_SZTL
83ef1da2a4
go-nats: add new pakage
Go-NATs is a NAT type discovery tool using STUN written purely in Go.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-07 19:37:24 +08:00
xiaorouji
3902cb885d
luci-app-passwall: bump to 4-13
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-07 15:53:41 +08:00
CN_SZTL
636b1c3b06
default-settings: format fix
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-06 23:53:52 +08:00
CN_SZTL
a54d1ee860
default-settings: fix typo error
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-06 23:51:24 +08:00
Daniel Golle
71d998011d
opkg: update to git HEAD
9bbc7ea pkg_hash: pkg_hash_check_unresolved: fix segfault

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-06 23:29:49 +08:00
jerrykuku
8fa03fb939
luci-app-vssr: fix typo error
Signed-off-by: Tianling Shen <cnsztl@gmail.com>
2021-02-06 23:19:39 +08:00
CN_SZTL
1f7baded2a
banner: re-disign for ImmoralWrt
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-06 21:04:21 +08:00
CN_SZTL
44cc8e0e89
microsocks: fix download url
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-06 20:54:40 +08:00
CN_SZTL
63897e46c1
[OpenWrt-18.06] LuCI: Mod 21.02
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-06 19:09:41 +08:00
CN_SZTL
5620a17957
base-files: set hostname to ImmortalWrt
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-06 19:03:42 +08:00
Mattraks
05113dc6fd
microsocks: bump to 1.0.2
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-06 18:49:42 +08:00
Beginner-Go
598ecf4704
luci-app-vssr: sync with upstream source
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-06 18:46:14 +08:00
Promix953
3f83a0fc55
luci-app-jd-dailybonus: sync with upstream source
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-06 18:39:55 +08:00
xiaorouji
d7d07fdeaf
luci-app-passwall: sync with upstream source
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-06 18:38:55 +08:00
CN_SZTL
cef6593412
treewide: update Copyright info
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-06 17:52:37 +08:00
CN_SZTL
7c8d14f671
luci-app-unblockneteasemusic-mini: remove outdated server
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-06 17:30:40 +08:00
Daniel Golle
041b825af2 selinux-policy: update to version 0.6
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-02-06 12:05:18 +08:00
CN_SZTL
2a4203c81e
autocore: style improvements
Acked-by: AmadeusGhost <amadeus@project-openwrt.eu.org>
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-06 04:14:25 +08:00
AmadeusGhost
e06823880d rtl8189es: add package 2021-02-05 18:25:30 +08:00
AmadeusGhost
9b5659f066 autocore-arm: add target sunxi support 2021-02-05 18:23:44 +08:00
AmadeusGhost
144c82515c sunxi: add support for FriendlyARM NanoPi R1S H5
Specification:
  CPU: Allwinner H5, Quad-core Cortex-A53
  DDR3 RAM: 512MB
  Network: 10/100/1000M Ethernet x 2
  WiFi: RTL8189ETV, 802.11b/g/n 1T1R
  USB Host: Type-A x 1
  MicroSD Slot x 1
  MicroUSB: for power input
  Debug Serial Port: 3Pin pin-header
  LED: WAN, LAN, SYS
  KEY: Reset
  Power Supply: DC 5V/2A

Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>
2021-02-05 18:12:53 +08:00
Jayantajit Gogoi
d20975bfbc sunxi: add support for FriendlyARM NanoPi R1
Specification:

- CPU: Allwinner H3, Quad-core Cortex-A7 Up to 1.2GHz
- DDR3 RAM: 512MB/1GB
- Network:
    10/100/1000M Ethernet x 1,
    10/100M Ethernet x 1
- WiFi: 802.11b/g/n, with SMA antenna interface
- USB Host: Type-A x2
- MicroSD Slot x 1
- MicroUSB: for OTG and power input
- Debug Serial Port: 3Pin 2.54mm pitch pin-header
- LED:
    nanopi:red:status
    nanopi:green:wan
    nanopi:green:lan
- KEY:
    reset
- Power Supply: DC 5V/2A

Installation:

- Write the image to SD Card with dd
- Boot NanoPi from the SD Card

Signed-off-by: Jayantajit Gogoi <jayanta.gogoi525@gmail.com>
2021-02-05 18:01:10 +08:00
David Bauer
7c23f6fcde base-files: add function for generating random MAC
This adds a function for generating a valid random MAC address (unset MC
bit / set locally administered bit).

It is necessary for devices which do not have a MAC address programmed
by the manufacturer.

Signed-off-by: David Bauer <mail@david-bauer.net>
2021-02-05 12:26:15 +08:00
Sungbo Eo
ad523ce465 base-files: add functions to set or clear bit in MAC address
Some devices (e.g. Arduino Yun) need bitwise operations during MAC address
setup. This commit adds generalized versions of macaddr_setbit_la(), which
are helpful when manipulating a single bit in a MAC address.

Signed-off-by: Sungbo Eo <mans0n@gorani.run>
2021-02-05 12:25:08 +08:00
Mattraks
4bf328701a
luci-app-ssr-plus: bump to 183-6
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-03 22:02:48 +08:00
xiaorouji
db1f516662
luci-app-passwall: sync with upstream source
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-03 22:02:47 +08:00
CN_SZTL
6e72f01d54
xray: remove upstreamed package
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
(backport from ba30665ea3)
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-03 21:23:53 +08:00
Curtis Deptuck
159bff1ae8 iptables: update to 1.8.7
ChangeLog:
https://netfilter.org/projects/iptables/files/changes-iptables-1.8.7.txt

Refresh patch:
None required

Signed-off-by: Curtis Deptuck <curtdept@me.com>
2021-02-03 12:28:56 +08:00
CN_SZTL
bf38de5ce6
[OpenWrt-18.06] Core: Update to Mod 21.02
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-02 23:48:53 +08:00
David Bauer
3e329ecf75 dnsmasq: abort dhcp_check on interface state
Abort the dhcp-check based on the interface instead of the carrier
state. In cases where the interface is up but the carrier is down,
netifd won't cause a dnsmasq reload, thus dhcp won't become active
on this interface.

Signed-off-by: David Bauer <mail@david-bauer.net>
2021-02-02 18:25:18 +08:00
CN_SZTL
e40ea5a22e fast-classifier: re-added example package
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-02 16:06:18 +08:00
AmadeusGhost
f974f90b44 fast-classifier: clearup Makefile
Fast-classifier should be started last, so just let luci control it.
2021-02-02 15:50:03 +08:00
AmadeusGhost
381764db1d luci-app-turboacc: update dependencies of shortcut-fe
No need to specifically select the noload version.
Fixes: 4201dbd ("Package Lean: Cleanup Makefile")
2021-02-02 12:18:11 +08:00
Rosen Penev
2db38112f1
util-linux: remove custom pkgconfig patch
Replace with sed as done elsewhere.

Fixes error with at least btrfs-progs:

Package '@LIBSELINUX@', required by 'mount', not found
Package '@LIBCRYPTSETUP@', required by 'mount', not foun

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Tianling Shen <cnsztl@gmail.com>
2021-02-02 01:03:04 +08:00
Daniel Golle
60610ff4c6
selinux-policy: update to git tag v0.5
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Tianling Shen <cnsztl@gmail.com>
2021-02-02 01:02:47 +08:00
CN_SZTL
80c7de1a91
rtl_wifi: update PKG_MAINTAINTER
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-01 20:18:54 +08:00
AmadeusGhost
8c637017e4 mt7601u-ap: build error fixes 2021-02-01 20:08:31 +08:00
CN_SZTL
33b80c2ba1
luci-app-adguardhome: fix wrong conf dir
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-01 18:58:20 +08:00
CN_SZTL
478548d7d2
luci-app-adguardhome: update dependencies
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-01 10:18:48 +08:00
xiaorouji
144f53cb17
luci-app-passwall: sync with upstream source
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-01 00:09:38 +08:00
CN_SZTL
69f50eed03
xray-core: bump to 1.2.4
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-01 00:08:21 +08:00
AmadeusGhost
89e1421c18 tinyfecVPN: update to version 20210116 2021-01-31 22:26:28 +08:00
Geordan Neukum
9a20d5bef4 strace: update package to v5.10
v5.10 has been released for strace. As such, let's go ahead bring in the
latest version of this package.

See here for the changelog:
    https://github.com/strace/strace/releases/tag/v5.10

Signed-off-by: Geordan Neukum <gneukum1@gmail.com>
2021-01-31 22:09:39 +08:00
Brian Norris
b3e6339dcd base-files: mount pstore if present
Pstore (persistent store) can be used to stash debug information (kernel
console, panics, ftrace) across reboots or crashes. If the filesystem is
present, mount it.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
2021-01-31 22:09:14 +08:00
Paul Menzel
e4f6c3948e ca-certicficates: Update to version 20210119
Update the ca-certificates and ca-bundle package from version 20200601 to
version 2021019.

This version uses Python 3 for the build, fixing a build issue on systems,
where `/usr/bin/python3` is a wrapper script [1].

[1]: https://github.molgen.mpg.de/mariux64/mxtools/issues/148
[2]: https://metadata.ftp-master.debian.org/changelogs//main/c/ca-certificates/ca-certificates_20210119_changelog

Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de>
2021-01-31 22:06:46 +08:00
CN_SZTL
47f9294dbb
nps: refactor upx compresstion
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-31 14:26:25 +08:00
CN_SZTL
fae46404a0
AdGuardHome: remove upstreamed package
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-31 13:24:17 +08:00
CN_SZTL
d7e6f64f42
luci-app-adguardhome: adjust config for upstream
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-31 13:23:46 +08:00
garypang13
9fe0ea1a28
vlmcsd: fix mistake caused by wrong source file in my env
Co-authored-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-31 13:16:18 +08:00
CN_SZTL
ffab952833
default-settings: fix missing INSTALL_DIR
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-31 11:43:41 +08:00
CN_SZTL
4b01a61311
Package Lean: fix typo err of PKG_SOURCE_DATE
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-31 02:59:08 +08:00
CN_SZTL
4201dbd9bb
Package Lean: Cleanup Makefile
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-30 20:09:14 +08:00
CN_SZTL
31a39f976a
wireguard: bump to 1.0.20210124
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-30 20:01:22 +08:00
xiaorouji
d9b9fd8365
luci-app-passwall: sync with upstream source
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-30 19:25:58 +08:00
Promix953
7df9dffe94
luci-app-jd-dailybonus: sync with upstream source
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-30 19:22:44 +08:00
garypang13
9b6254e099
ChinaDNS: fix download url
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-30 19:14:09 +08:00
Adrian Schmutzler
5a2cbf522c
base-files: remove execute bit and shebang from functions.sh
/lib/functions.sh was executable for no obvious reason and its
execute property was even checked in package-ipkg.mk just to
source it afterwards.

Remove the execute bit and shebang as this is clearly a library.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Reviewed-by: Philip Prindeville <philipp@redfish-solutions.com>
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-29 22:36:08 +08:00
Adrian Schmutzler
f36ab2f662
treewide: drop shebang from non-executable lib files
This drops the shebang from another bunch of files in various /lib
folders, as these are sourced and the shebang is useless.

Fix execute bit in one case, too.

This should cover almost all trivial cases now, i.e. where /lib is
actually used for library files.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-29 22:36:07 +08:00
Kevin Darbyshire-Bryant
e7f3fc4e4f dnsmasq: Bump to v2.84
dnsmasq v2.84rc2 has been promoted to release.

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2021-01-29 22:30:08 +08:00
CN_SZTL
fb6fb1e597
Package CTCGFW/Lienol: Cleanup Makefile
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-29 21:23:11 +08:00
CN_SZTL
f22c6ed39e
smartdns: move to feeds
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-29 15:10:18 +08:00
CN_SZTL
349b61756b
smartdns: bump to latest git HEAD
Removed upstreamed patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-29 15:07:13 +08:00
CN_SZTL
c358438250
brook: build with OpenWrt golang toolchain
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-29 14:51:43 +08:00
CN_SZTL
4bdb5a3dac
microsocks11: fix bugs made by upstream
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-29 13:42:40 +08:00
CN_SZTL
829c5aa67b
microsocks11: add new package
MicroSocks11 is a SOCKS5 library and server based on the microsocks project that uses
CMake and C++11 for cross-platform support. MicroSocks11 supports IPv4, IPv6, and DNS.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-29 13:11:17 +08:00
CN_SZTL
de8846e94f
cxxopts: add new package
This is needed by microsocks11.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-29 13:11:17 +08:00
CN_SZTL
5ac5056bbc
nps: build with OpenWrt golang toolchain
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-29 12:21:52 +08:00
CN_SZTL
7c67cf7e48
ipt2socks-alt: fix build dir
Fixes: dca292d0f1 ("ipt2socks-alt: add package")

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-29 04:21:54 +08:00
Aes64X
0fcadc1802
exFAT-oot: bump to 5.11.1
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-29 01:02:13 +08:00
CN_SZTL
9ff20b99e9
v2ray: fix typo error
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-28 23:10:40 +08:00
CN_SZTL
d16a6010b3
package zxlhhyccc: move to ctcgfw
As zxlhhyccc is a member of CTCGFW, it's no reason to keep it separated.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-28 22:00:35 +08:00
CN_SZTL
70d79f7c79
luci-app-ssr-plus: bump to 183-5
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>

Co-authored-by: Mattraks <16359027+Mattraks@users.noreply.github.com>
Co-authored-by: lean <coolsnowwolf@gmail.com>
2021-01-28 21:31:38 +08:00
CN_SZTL
dca292d0f1
ipt2socks-alt: add package
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-28 21:25:38 +08:00
CN_SZTL
5039dc2917
ipt2socks: cleanup Makefile
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-28 21:23:26 +08:00
Derry
f20cd5a040
OpenAppFilter: bump to latest git HEAD
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-28 21:23:22 +08:00
xiaorouji
2ebdd81936
luci-app-passwall: bump to 4-12
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-28 19:54:57 +08:00
老竭力
1c5dbc06a8
luci-app-jd-dailybonus: bump to 1.0.3
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-28 19:53:15 +08:00
Tim Zhang
f790f0ca78
OpenClash: Fix DNS-hijacking related firewall rules
Co-authored-by: vernesong <42875168+vernesong@users.noreply.github.com>
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-28 19:45:52 +08:00
AmadeusGhost
dc69016ea6 rtl8812au-ac: fix bug after enable concurrent mode support
Fixes: 8ea8e4be95 ("rtl8812au-ac: enable concurrent mode support")
2021-01-28 12:20:33 +08:00
Paul Spooren
ed6c0eeae8 base-files: bump Copyright to 2021
This commit is only added to keep the PKG_RELEASE correct after fixing
the $(COMMITCOUNT) logic in the previous commit.

This way the PKG_RELEASE stays the same while the compiled packages
content isn't changed.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2021-01-27 12:20:07 +08:00
Jeffrey Elms
bc1aecc42a px5g-wolfssl: Fix certificate signature
Certificate signature algorithm was being set after call to
`wc_MakeCert`, resulting in a mismatch between specified signature in
certificate and the actual signature type.

Signed-off-by: Jeffrey Elms <jeff@wolfssl.com>
[fix commit subject, use COMMITCOUNT]
Signed-off-by: Paul Spooren <mail@aparcar.org>
2021-01-27 12:19:12 +08:00
Paul Spooren
a14e666e0c umdns: bump to 2021-01-26
* i78aa36b umdns: fix 64-bit time format string
* Update Copyright

Signed-off-by: Paul Spooren <mail@aparcar.org>
2021-01-27 12:18:06 +08:00
Tony Ambardar
9752eb45dc bpftools: update to 5.10.10
Use the latest stable kernel since the previous 5.8.x series is EOL.

Also drop the following patches recently accepted upstream:

  * 001-libbpf-ensure-no-local-symbols-counted-in-ABI-check.patch
  * 002-libbpf-fix-build-failure-from-uninitialized-variable.patch
  * 003-bpftool-allow-passing-BPFTOOL_VERSION-to-make.patch
  * 004-v5.9-bpftool-use-only-ftw-for-file-tree-parsing.patch

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2021-01-26 12:05:07 +08:00
AmadeusGhost
5cb63c747f rtl8821cu: fix the link rate on some devices
From user feedback, we should change this option to avoid slow link
speed on some wireless network cards.
Ref: brektrou/rtl8821CU/issues #5
2021-01-25 20:10:14 +08:00
Kevin Darbyshire-Bryant
22fd7dfc3d dnsmasq: Update to 2.84test3
dnsmasq v2.83 has a bug in handling duplicate queries which means it may
try to reply using the incorrect network socket.  This is especially
noticeable in dual stack environments where replies may be mis-directed to
IPv4 addresses on an IPv6 socket or IPv6 addresses on an IPv4 socket.

This results in system log spam such as:
dnsmasq[16020]: failed to send packet: Network unreachable
dnsmasq[16020]: failed to send packet: Address family not supported by protocol

dnsmasq v2.84test3 resolves these issues.

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2021-01-25 12:03:08 +08:00
liwenjie119
d3c39a460e luci-app-kodexplorer: fix nginx info
修复nginx的path_info,以及可道云中查看数据库的adminer的依赖
2021-01-25 12:01:28 +08:00
Adrian Schmutzler
f0428617ad maccalc: remove package
This is a helpful utility, but it does not have any dependencies
in this repository. Move it to packages feed.

The package does not seem to have a maintainer.

Cc: Jo-Philipp Wich <jo@mein.io>
Cc: Nick Hainke <vincent@systemli.org>
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2021-01-24 12:02:01 +08:00
Adrian Schmutzler
d9e355865b owipcalc: remove package
This is a helpful utility, but it does not have any dependencies
in this repository. Move it to packages feed.

Cc: Jo-Philipp Wich <jo@mein.io>
Cc: Nick Hainke <vincent@systemli.org>
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2021-01-24 12:01:36 +08:00
CN_SZTL
015df15104
bpytop: install missing theme files
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-24 01:19:42 +08:00
CN_SZTL
7078e1470a
tinyfecvpn: cleanup Makefile
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-23 23:14:11 +08:00
CN_SZTL
e2d52f3593
tinyportmapper: cleanup Makefile
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-23 23:12:26 +08:00
CN_SZTL
2aaece6c54
bpytop: bump to 1.0.60
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-23 23:06:00 +08:00
CN_SZTL
d9083e21c6
autocore: display ? if "model name" doesn't exist
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
(cherry-pick from 285bb05ca3)
2021-01-23 22:40:43 +08:00
CN_SZTL
c05a66e3f9
autocore: remove hack for ARMv8
The related issue was fixed so this hack is totally useless now.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
(cherry-pick from 68692453e2)
2021-01-23 21:43:10 +08:00
Paul Spooren
c18befafbc
uboot-envtools: use $(AUTORELEASE) for PKG_RELEASE
Use `$(AUTORELEASE)` variable rather than setting a PKG_RELEASE
on every commit manually.

Signed-off-by: Paul Spooren <mail@aparcar.org>
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-23 20:48:20 +08:00
Paul Spooren
1c45a75927
base-files: use $(COMMITCOUNT) in PKG_RELEASE
The newly added `$(COMMITCOUNT)` varialbe allows automatic versioning
based on the number of Git commits of a package. Replace *tedious to
bump* and *merge conflict causing* `PKG_RELEASE` and replace it with
`$(COMMITCOUNT)`.

Signed-off-by: Paul Spooren <mail@aparcar.org>
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-23 20:47:49 +08:00
Florian Eckert
8e9268c899
iperf3: remove
This package is not needed in base. It will be imported in the packages
feed.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-23 20:46:47 +08:00
Florian Eckert
8be7cdc375
iperf: remove
This package is not needed in base. It will be imported in the packages
feed.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-23 20:46:46 +08:00
CN_SZTL
091d84d34a
shadowsocksr-libev: remove empty package call
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-23 20:42:42 +08:00
Mattraks
67e3f5351f
luci-app-ssr-plus: sync with upstream source
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-23 20:41:19 +08:00
lean
3fcf40b0df
luci-app-uugamebooster: add qcode
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-23 19:37:36 +08:00
Beginner
47de7e6331
xray: Update to v1.2.3
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-23 19:36:01 +08:00
xiaorouji
d7dd4bfecb
luci-app-passwall: bump to 4-10
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-23 19:33:28 +08:00
jerrykuku
e988e529b8
luci-app-jd-dailybonus: bump to 1.0.1
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-23 19:29:07 +08:00
vernesong
d2d2a0d6cb
OpenClash: add auto restart support
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-23 19:22:42 +08:00
jerrykuku
296e65d890
luci-app-vssr: bump to v1.22
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-23 18:48:17 +08:00
ardanzhu
77f6cfb52d dnsmasq: place 'OPT_FILTER_AAAA' before 'OPT_LAST' 2021-01-23 12:38:59 +08:00
hue715
e392642bdd
luci-app-speederv2: fix bin check
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-21 23:53:56 +08:00
CN_SZTL
38d81ee457
feeds: packages: sync with OpenWrt snapshot
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-21 23:45:26 +08:00
xiaorouji
849594d74f
luci-app-passwall: bump to 4-9
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-21 23:25:21 +08:00
AmadeusGhost
599e9680fe
dnsmasq: add missing definition
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-21 23:11:41 +08:00
AmadeusGhost
8bd397327c
dnsmasq: refresh patches
Fix: #260
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-21 23:11:33 +08:00
Hauke Mehrtens
734782df28
dnsmasq: Update to version 2.83
This fixes the following security problems in dnsmasq:
* CVE-2020-25681:
  Dnsmasq versions before 2.83 is susceptible to a heap-based buffer
  overflow in sort_rrset() when DNSSEC is used. This can allow a remote
  attacker to write arbitrary data into target device's memory that can
  lead to memory corruption and other unexpected behaviors on the target
  device.
* CVE-2020-25682:
  Dnsmasq versions before 2.83 is susceptible to buffer overflow in
  extract_name() function due to missing length check, when DNSSEC is
  enabled. This can allow a remote attacker to cause memory corruption
  on the target device.
* CVE-2020-25683:
  Dnsmasq version before 2.83 is susceptible to a heap-based buffer
  overflow when DNSSEC is enabled. A remote attacker, who can create
  valid DNS replies, could use this flaw to cause an overflow in a heap-
  allocated memory. This flaw is caused by the lack of length checks in
  rtc1035.c:extract_name(), which could be abused to make the code
  execute memcpy() with a negative size in get_rdata() and cause a crash
  in Dnsmasq, resulting in a Denial of Service.
* CVE-2020-25684:
  A lack of proper address/port check implemented in Dnsmasq version <
  2.83 reply_query function makes forging replies easier to an off-path
  attacker.
* CVE-2020-25685:
  A lack of query resource name (RRNAME) checks implemented in Dnsmasq's
  versions before 2.83 reply_query function allows remote attackers to
  spoof DNS traffic that can lead to DNS cache poisoning.
* CVE-2020-25686:
  Multiple DNS query requests for the same resource name (RRNAME) by
  Dnsmasq versions before 2.83 allows for remote attackers to spoof DNS
  traffic, using a birthday attack (RFC 5452), that can lead to DNS
  cache poisoning.
* CVE-2020-25687:
  Dnsmasq versions before 2.83 is vulnerable to a heap-based buffer
  overflow with large memcpy in sort_rrset() when DNSSEC is enabled. A
  remote attacker, who can create valid DNS replies, could use this flaw
  to cause an overflow in a heap-allocated memory. This flaw is caused
  by the lack of length checks in rtc1035.c:extract_name(), which could
  be abused to make the code execute memcpy() with a negative size in
  sort_rrset() and cause a crash in dnsmasq, resulting in a Denial of
  Service.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-21 23:11:00 +08:00
zxlhhyccc
60d63904de
naiveproxy: bump to 88.0.4324.96-1
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-21 13:35:31 +08:00
ZhenYu
da8aa70efb uugamebooster & luci-app-uugamebooster (#6217)
* uugamebooster: rebuild startup service
* luci-app-uugamebooster: use standerd terms
* luci-app-uugamebooster: use inter-startup funcion
* luci-app-uugamebooster: fix typo
2021-01-20 12:09:41 +08:00
lean
1e52ee2da7 Add luci-app-uugamebooster for uuplugin 2021-01-20 12:08:54 +08:00
Nick Hainke
9a8c1fa2e2 owipcalc: remove clone in cidr_contains6
The "cidr_contains6" functions clones the given cidr. The contains4
does not clone the cidr. Both functions do not behave the same.

I see no reason to push the cidr. I think that we get only a negligible
performance gain, but it makes ipv4 and ipv6 equal again.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2021-01-20 12:05:20 +08:00
Beginner
3a7d5224ca
kcptun: update to v20210103
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-19 23:08:00 +08:00
taowazi007
10e725ec6c
luci-app-ssrserver-python: add support for IPv6 and chacha20 cipher
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-19 23:07:16 +08:00
Mattraks
7d245fe3d4
luci-app-ssr-plus: bug fixes
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-19 23:01:34 +08:00
taowazi007
f0442438e8
luci-app-ssr-plus: add support for IPv6
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-19 18:18:22 +08:00