52634 Commits

Author SHA1 Message Date
QiuSimons
641e65380c
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:38:11 +08:00
Tianling Shen
b584916501
rockchip: use native mac address for NanoPi R4S
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-07 15:43:59 +08:00
Tianling Shen
7f9f5b08a8
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:14:02 +08:00
Tianling Shen
9a55f40390
Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-07 11:43:41 +08:00
Tianling Shen
7d05ea66fd
luci-app-appfilter: update file permission
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-07 11:39:21 +08:00
Derry
1b41e9a0e1
luci-app-appfilter: fix upload file err
Fixes: destan19/OpenAppFilter#97

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-07 11:38:52 +08:00
Hauke Mehrtens
8b3d879861 kernel: bump 5.4 to 5.4.102
Refreshed all patches.

Compile-tested on: ath79, lantiq, ipq40xx, x86_64
Runtime-tested on: ipq40xx, x86_64

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2021-03-06 15:51:54 +01:00
Tianling Shen
8cba0f0ffd
OpenAppFilter: bump to 5.0
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-06 13:36:52 +08:00
Tianling Shen
313f365ce1
luci-app-appfilter: bump to 5.0
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-06 13:36:52 +08:00
xiaorouji
1ab39aabda
luci-app-passwall: bump to 4-16
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-06 13:23:28 +08:00
Lienol
47a93b16af
pingos: update nginx to 1.19.6
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-06 13:20:42 +08:00
Tianling Shen
3fa68f1ff4
luci-app-ssr-plus: bump to 183-8
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-06 13:16:29 +08:00
Tianling Shen
10596c7e40
Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-06 13:04:11 +08:00
Tianling Shen
21210ec5f3
brcmfmac4366c0-firmware-vendor: drop useless INSTALL_DIR
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-06 12:29:30 +08:00
AmadeusGhost
c5818ca87f
v2ray-plugin: refresh project url
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-06 12:21:14 +08:00
Rui Salvaterra
7e1ab3b746 kernel: backport GCC 10 usbip build fix for 5.4
From the original commit message:

"With GCC 10, building usbip triggers error for multiple definition
of 'udev_context', in:
- libsrc/vhci_driver.c:18 and
- libsrc/usbip_host_common.c:27.

Declare as extern the definition in libsrc/usbip_host_common.c."

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
(cherry picked from commit 0eef8402ee2ad014121932c860174e6d95440e17)
2021-03-05 14:54:35 +01:00
Daniel González Cabanelas
5601da24a8 kernel: b53: update the BCM5365 UID
BCM63XX internal PHYs and BCM5365 SoC internal switch are both using the
same phy_driver->phy_id, causing conflicts and unnecessary probes. E.g
the BCM63XX phy internal IRQ is lost on the first probe.

The full BCM5365 UID is 0x00406370.

Use an additional byte to mask the BCM5365 UID to avoid duplicate driver
phy_id's. This will fix the IRQ issue in internal BCM63XX PHYs and avoid
more conflicts in the future.

Signed-off-by: Daniel González Cabanelas <dgcbueu@gmail.com>
(merge both cherry-picked commits)
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
(cherry-picked from commits cbcac4fde8 and cfa43f8119)
2021-03-05 12:23:25 +01:00
Álvaro Fernández Rojas
bdb18e0f84 bcm27xx: bcm2711: disable HW_RANDOM_BCM2835
This driver is only present on BCM2708, BCM2709 and BCM2710.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
(cherry-picked from commit bac74aff5e)
2021-03-05 12:16:04 +01:00
Tianling Shen
aad45b7c99
v2ray: Update to 4.35.0, mark as BROKEN
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-05 19:12:37 +08:00
Tianling Shen
f4fc5db70c
xray-plugin: Update to 1.3.1
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-05 16:48:10 +08:00
Tianling Shen
9da655f681
v2ray-plugin: Update to 4.35.0
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-05 16:48:04 +08:00
Tianling Shen
d974ab363d
kernel: 5.4: refresh hack patches
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-05 16:30:01 +08:00
AmadeusGhost
37a7e13c78
simple-torrent: update to 1.2.14
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-05 16:24:06 +08:00
AmadeusGhost
661efc3844
GoQuiet: fix build with golang 1.16
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-05 16:24:02 +08:00
Tianling Shen
3968ea6107
gowebdav: bump to v0.0.2
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-04 12:56:44 +08:00
Petr Štetiar
ceb6869cd9 build: add which command to build requirements
`which` utility is not shipped by default for example on recent Arch
Linux and then any steps relying on its presence fails, like for example
following Python3 prereq build check:

 $ python3 --version
 Python 3.9.1

 $ make
 /bin/sh: line 1: which: command not found
 ...
 Checking 'python3'... failed.

So make `which` utility host build requirement.

References: PR#3820 FS#3525
Signed-off-by: Petr Štetiar <ynezz@true.cz>
(cherry picked from commit 13069b1a1dcbef0bb9b42db98025fa9203283220)
2021-03-03 23:03:25 +01:00
Clemens Fruhwirth
27c5db998c Revert "build: replace which with Bash command built-in"
This reverts commit c7aec47e5e3a3ff7b5fdaa11cd1e62cae6746acb.

The original commit replaces 'which' with 'command'. Sadly most of
them are not equivalent and for 'which -a', there is no easy
replacements that would not reimplement PATH parsing logic. Hence
revert. Keeping a dependency on which is absolutely fine.

Signed-off-by: Clemens Fruhwirth <clemens@endorphin.org>
(cherry picked from commit 1f5e7224868109a170a9248d18f8d2b6124e9c5a)
2021-03-03 23:02:30 +01:00
Petr Štetiar
a29b398324 build: fix checks for GCC11
Fedora 34 already uses GCC11.

Reported-by: Marcin Juszkiewicz <marcin-openwrt@juszkiewicz.com.pl>
Signed-off-by: Petr Štetiar <ynezz@true.cz>
(cherry picked from commit cae69d558135456976b8fc6cb08530d1358cf6d5)
2021-03-03 23:01:18 +01:00
Perry Melange
ff6b36b954 feeds.conf.default: remove freifunk feed
The freifunk feed is being removed becasue
a) it is an external project and the OpenWrt team does not have access to it.
b) upon original addition of the feed, there was only a very weak tendency for
the addition.
c) there is a general lack of interest in the freifunk repo to review and/or
merge pull requests.
d) as far as can be found, all projects which use the freifunk feed have their
own make system and self-maintained feeds list.  They do not use the
feeds.conf.default from the openwrt repo.

more information can be read at the following links:

http://lists.openwrt.org/pipermail/openwrt-devel/2021-February/033807.html
https://github.com/freifunk/openwrt-packages/issues/37

Signed-off-by: Perry Melange <isprotejesvalkata@gmail.com>
(cherry picked from commit 20caa68fec4fe033f72c9d488639f8dd2bcfa02c)
2021-03-03 22:59:04 +01:00
Tianling Shen
518af6d967
r8125: bump PKG_VERSION
Fixes: d7317353446874f1234a90da62b939f25e3bd7d3 ("r8125: bump to 9.005.01")

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-03 12:36:34 +08:00
Tianling Shen
6bd4042232
Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-02 22:05:03 +08:00
Tianling Shen
38f1ccbec6
feeds: sync with OpenWrt 21.02-SNAPSHOT
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-02 20:02:18 +08:00
Ronny Kotzschmar
e4d061cd1a uboot-envtools: adjust compile patch to version v2021.01
with u-boot v2020.07 some variables have been renamed so this patch needs to be adjusted
otherwise at least with macOS as build system there are build errors

Signed-off-by: Ronny Kotzschmar <ro.ok@me.com>
(cherry picked from commit 547a932ee97d95a966bae947a84140556d07c3ce)
2021-03-01 21:50:08 +01:00
Georgi Valkov
e9e2310c6a uboot-sunxi: add missing type __u64
Non Linux systems e.g. macOS lack the __u64 type and produce build errors:
In file included from tools/aisimage.c:9:
In file included from include/image.h:19:
In file included from ./arch/arm/include/asm/byteorder.h:29:
In file included from include/linux/byteorder/little_endian.h:13:
include/linux/types.h:146:9: error: unknown type name '__u64'; did you mean '__s64'?
typedef __u64 __bitwise __le64;

Resolved by declaring __u64 in include/linux/types.h
Build tested on macOS and Ubuntu.

Signed-off-by: Georgi Valkov <gvalkov@abv.bg>
(cherry picked from commit 3cc57ba4627c9c7555f8ad86e4f78d86d8f9ddf0)
2021-03-01 21:49:55 +01:00
Pawel Dembicki
59ba79d675 mpc85xx: p2020: fix cfi-nor detection
At this moment p2020rdb has broken images, because NOR memory connected
to eLBC bus isn't detected.

In 642b1e8dbed7 linux tree commit, config dependencies of MTD_PHYSMAP_OF
was changed and now MTD_PHYSMAP is required.

This patch adds MTD_PHYSMAP option to kernel config in p2020 subtarget
and fix booting of p2020rdb.

Fixes: 13b1db795f05 ("mpc85xx: add support for kernel 5.4")

Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
(cherry picked from commit 76649fd06d454f1b93f2ee74951ef91225155a8c)
2021-03-01 21:49:55 +01:00
Stefan Lippers-Hollmann
7b6ee74ee9 hostapd: P2P: Fix a corner case in peer addition based on PD Request
p2p_add_device() may remove the oldest entry if there is no room in the
peer table for a new peer. This would result in any pointer to that
removed entry becoming stale. A corner case with an invalid PD Request
frame could result in such a case ending up using (read+write) freed
memory. This could only by triggered when the peer table has reached its
maximum size and the PD Request frame is received from the P2P Device
Address of the oldest remaining entry and the frame has incorrect P2P
Device Address in the payload.

Fix this by fetching the dev pointer again after having called
p2p_add_device() so that the stale pointer cannot be used.

This fixes the following security vulnerabilities/bugs:

- CVE-2021-27803 - A vulnerability was discovered in how p2p/p2p_pd.c
  in wpa_supplicant before 2.10 processes P2P (Wi-Fi Direct) provision
  discovery requests. It could result in denial of service or other
  impact (potentially execution of arbitrary code), for an attacker
  within radio range.

Fixes: 17bef1e97a50 ("P2P: Add peer entry based on Provision Discovery Request")
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Signed-off-by: Stefan Lippers-Hollmann <s.l-h@gmx.de>
(cherry picked from commit 1ca5de13a153061feae260864d73d96f7c463785)
2021-03-01 21:49:55 +01:00
Tianling Shen
6a9a1c9b99
treewide: replace old domain with new one
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-01 22:13:52 +08:00
Tianling Shen
7240815123
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:07:52 +08:00
AmadeusGhost
03bc1d2cc8
baidupcs-web: add missing rice dependency
Fix: #291
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-01 22:06:55 +08:00
AmadeusGhost
a372df81de
baidupcs-web: fix build with golang 1.16
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-01 22:06:44 +08:00
Rui Salvaterra
17a627ec82 mvebu/omnia: fix the device tree
Backport [1] and fix [2] hardware buffer management. Also fix the IRQ storm
caused by a misconfiguration of the PCA9538 interrupt pin [3].

[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/arch/arm/boot/dts/armada-385-turris-omnia.dts?id=018b88eee1a2efda26ed2f09aab33ccdc40ef18f
[2] https://lore.kernel.org/linux-arm-kernel/20210217153038.1068170-1-rsalvaterra@gmail.com/
[3] https://lore.kernel.org/linux-arm-kernel/20210220231144.32325-1-kabel@kernel.org/

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
(cherry picked from commit 6fe6b631ef91a8a44d7324329ad6aaec6f08ada6)
2021-03-01 13:41:29 +01:00
Tianling Shen
5526ae6bd3
luci-app-docker: add missing dependencies
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-01 20:26:26 +08:00
vernesong
e0b7e207a9
OpenClash: bump to v0.42.02-beta
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-01 20:25:02 +08:00
Beginner-Go
207a30c972
luci-app-vssr: use xray-plugin instead v2ray-plugin
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-01 20:25:01 +08:00
jerrykuku
bbbbc1e0eb
luci-app-vssr: bump to latest git HEAD
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-01 20:25:01 +08:00
Tianling Shen
dc367e79a5
luci-app-unblockneteasemusic: sync with upstream source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-01 20:25:01 +08:00
xiaorouji
fd73004369
luci-app-passwall: sync with upstream source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-01 20:25:01 +08:00
jerrykuku
164947845e
luci-app-jd-dailybonus: sync with upstream source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-01 20:24:59 +08:00
Tianling Shen
0d4a1f1dbd
Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-01 20:05:47 +08:00
Mathias Kresin
2638c9801f lantiq: set maximum kernel size
These boards have a fixed size kernel partition but do not limit the
kernel size during image building.

Disable image building for both boards as well, since the kernel of the
last release as well as master are to big to fit into the 2 MByte kernel
partition.

Signed-off-by: Mathias Kresin <dev@kresin.me>
(cherry picked from commit 23dd7867347ab4fd88592d0bfec1ce5a959c09f3)
2021-03-01 00:23:30 +01:00