Commit Graph

5252 Commits

Author SHA1 Message Date
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