52005 Commits

Author SHA1 Message Date
CN_SZTL
a5d575bef9
Merge Official Source
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-11 21:00:20 +08:00
xiaorouji
9278a7282a
luci-app-passwall: bug fixes
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-11 20:27:03 +08:00
CN_SZTL
44020663f1
treewide: replace wrong PKG_ARCH with PKGARCH
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-11 20:22:21 +08:00
CN_SZTL
cb8035bc10
sub-web: add examples from ACL4SSR and Subconverter
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-11 19:59:50 +08:00
CN_SZTL
5b98de0531
sub-web: fix display issue when it is deployed at a sub-path
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-11 19:33:47 +08:00
CN_SZTL
66f939fadc
sub-web: marked as a general package for all arch 2021-01-11 18:50:21 +08:00
CN_SZTL
fb337168ee
sub-web: add new package
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-11 18:44:22 +08:00
CN_SZTL
d1e94bf2da
subconverter: fix init 2021-01-11 18:44:21 +08:00
Thomas Nixon
c625c821d1 tools/ccache: find libzstd using rpath
Previously, ccache would end up using the system libzstd, which is not
supposed to be a build requirement.

Signed-off-by: Thomas Nixon <tom@tomn.co.uk>
2021-01-10 21:40:23 -10:00
David Bauer
b1150de9e4 rockchip: add missing Kconfig symbols
When compiling with CONFIG_ALL_KMODS enabled, compilation might stall
due to unset rockchip-specific config symbols. Disable these to avoid
stalling this step.

Signed-off-by: David Bauer <mail@david-bauer.net>
2021-01-11 06:00:49 +01:00
Paul Spooren
5876ba6460 qemu: remove obsolete package
Instead of using an ancient qemu version in-tree the building machine
should just have qemu-utils installed.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2021-01-10 12:29:23 -10:00
Paul Spooren
ca289e322d build/image: warn if missing qemu-img for VDI/VMDK
Currently `qemu-img` is used to convert raw x86 images to VDI and VMDK
images, used for virtual machines.

Having `qemu-img` in tree requires us to maintain an ancient version of
`qemu-utils`, which recently required extra work to compile with newer
compiler version.

This commit prints a warning message in case `qemu-img` is missing.

As a next step the in-tree version of `qemu-img` can be removed.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2021-01-10 12:28:14 -10:00
Daniel Golle
cbd67dbdcd mac80211: use hostapd PID returned from config_add
Use PID returned from config_add instead of querying procd when adding
configuration to hostapd.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-01-10 19:18:29 +00:00
Daniel Golle
2d305ff13a hostapd: return PID on config_add call
To simplify the way netifd acquires the PIDs of wpa_supplicant and
hostapd let the config_add method of both of them return the PID of the
called process. Use the returned PID instead of querying procd when
adding wpa_supplicant configuration.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-01-10 19:15:51 +00:00
CN_SZTL
ffc8f3e8a4
iptables: drop upstream merged patch 2021-01-11 00:22:11 +08:00
Beginner
7f0e0fdb4a
xray: Update to 1.2.1 2021-01-10 21:34:25 +08:00
CN_SZTL
8b63aebeec
verysync: Makefile cleanups 2021-01-10 21:32:34 +08:00
CN_SZTL
3c0f586555
Merge Official Source 2021-01-10 21:28:25 +08:00
Hans Dedecker
425e392466 glibc: update to latest 2.32 commit (BZ #24973)
0d9793e82a Fix buffer overrun in EUC-KR conversion module (bz #24973)

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2021-01-10 13:14:19 +01:00
Florian Fainelli
0f8fd1d0bf kernel-defaults: Manage the enabling/disabling of ZSTD
Linux 5.9 introduces support for ZSTD ramdisk and initrd compression,
make sure we enable/disable the relevant options when building an
initramfs enabled kernel.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2021-01-09 14:49:48 -08:00
Florian Fainelli
09760cbb3b kernel-defaults: Delete external source tree user_headers
When we use an external kernel tree which may not have been fully
cleaned, there may be user_headers left which do not match the target
architecture, leading to build failures for packages that do an explicit
inclusion of user_headers (such as iproute2 or iptables). Make sure we
delete them while preparing the directory.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2021-01-09 14:49:48 -08:00
CN_SZTL
2d567d75fd
trojan-plus: Makefile cleanups 2021-01-10 01:46:52 +08:00
CN_SZTL
2a3cef8a90
trojan: Makefile cleanups 2021-01-10 01:46:51 +08:00
CN_SZTL
2c065c2419
trojan-go: cleanup Makefile 2021-01-10 01:33:21 +08:00
Mattraks
7c07b801b9
luci-app-ssr-plus: bug fixes 2021-01-09 23:41:14 +08:00
CN_SZTL
b1683afe9a
subconverter: bump to latest git HEAD and Makefile cleanups 2021-01-09 23:36:32 +08:00
CN_SZTL
079975eb05
rapidjson: bump to latest git HEAD 2021-01-09 22:59:29 +08:00
CN_SZTL
87eb3c4b11
jpcre2: Makefile cleanup 2021-01-09 22:50:42 +08:00
CN_SZTL
2392d2bb6f
rapidjson: Makefile cleanup 2021-01-09 22:50:42 +08:00
CN_SZTL
11fc77c078
luci-app-clash: remove outdated package 2021-01-09 21:03:52 +08:00
秦宇航
a91d752621
verysync: update to v2.4.2 2021-01-09 20:47:25 +08:00
Curtis Deptuck
2e590a6364 iptables: update to 1.8.6
Update iptables to 1.8.6

ChangeLog:
https://netfilter.org/projects/iptables/files/changes-iptables-1.8.6.txt

Refresh patch:
101-remove-check-already.patch

Signed-off-by: Curtis Deptuck <curtdept@me.com>
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> [refresh patches]
2021-01-09 10:24:04 +01:00
Tianling Shen
fbe88f5790
rockchip: use vendor driver for NanoPi R4S
However, mainline driver doesn't work very well on RTL8111
devices, so let's move to vendor driver for better performance.

Signed-off-by: Tianling Shen <cnsztl@gmail.com>
2021-01-09 16:56:45 +08:00
CN_SZTL
1d99824efc
rockchip: improve support for NanoPi R4S
- enable sd ultra-high speeds
- format style

Fixes: cd7fd0c77bb0f727e009512571ce2508231b9ad3 ("rockchip: add NanoPi R4S support")

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-09 16:46:14 +08:00
CN_SZTL
95653a65dc
Merge Official Source 2021-01-09 16:17:52 +08:00
AmadeusGhost
f8f19646d8
minieap: improve output log format 2021-01-09 11:41:40 +08:00
AmadeusGhost
af35a5e0ae
njitclient: switch to git source 2021-01-09 11:41:39 +08:00
AmadeusGhost
991475e663
scutclient: update to latest git HEAD 2021-01-09 11:40:48 +08:00
AmadeusGhost
e888b7d6af
ngrokc: update to 1.54 2021-01-09 11:40:18 +08:00
AmadeusGhost
1fe54094f2
rtl8192du: fix build on arm64 platform 2021-01-09 11:35:32 +08:00
John Audia
4ebec0b3e2 kernel: bump 5.4 to 5.4.87
All modification by update_kernel.sh.

Build system: x86_64
Build-tested: ipq806x/R7800, bcm27xx/bcm2711
Run-tested: ipq806x/R7800

No dmesg regressions, everything functional

Compile-tested [*]: ath79/{generic,tiny}, ipq40xx, octeon,
                    ramips/mt7621, realtek, x86/64.
Run-tested [*]:     ramips/mt7621 (DIR-878 A1, R6800, RT-AC57U),
                    octeon (EdgeRouter Lite).

Signed-off-by: John Audia <graysky@archlinux.us>
Tested-by: Stijn Segers <foss@volatilesystems.org> [*]
2021-01-08 21:09:17 +01:00
Stijn Segers
c4bfe68c83 realtek: add support for ZyXEL GS1900-8HP v1 and v2
The ZyXEL GS1900-8HP is an 8 port gigabit switch with PoE+ support.
There are two versions on the market (v1 & v2) which share similar
specs (same flash size and flash layout, same RAM size, same PoE+ power
envelope) but have a different case and board layout that they each
share with other GS1900 siblings.

The v1 seems to share its PCB and case with non-PoE GS1900-8; as such,
adding support for the GS1900-8 would probably be trivial. The v2 seems
to share its casing and platform with its already supported bigger
brother, the GS1900-10HP - its board looks the same, except for two
holes where the GS1900-10 has its SFP ports.

Like their 10 port sibling, both devices have a dual firmware layout.
Both GS1900-8HP boards have the same 70W PoE+ power budget. In order to
manipulate the PoE+, one needs the rtl83xx-poe package [1].

After careful consideration it was decided to go with separate images
for each version.

Specifications (v1)
-------------------
* SoC:       Realtek RTL8380M 500 MHz MIPS 4KEc
* Flash:     Macronix MX25L12835F 16 MiB
* RAM:       Nanya NT5TU128M8HE-AC 128 MiB DDR2 SDRAM
* Ethernet:  8x 10/100/1000 Mbit
* PoE+:      Broadcom BCM59111KMLG (IEEE 802.3at-2009 compliant, 2x)
* UART:      1 serial header with populated standard pin connector on the
             left side of the PCB, towards the bottom. Pins are labeled:
             + VCC (3.3V)
             + TX
             + RX
             + GND

Specifications (v2)
-------------------
* SoC:       Realtek RTL8380M 500 MHz MIPS 4KEc
* Flash:     Macronix MX25L12835F 16 MiB
* RAM:       Samsung K4B1G0846G 128 MiB DDR3 SDRAM
* Ethernet:  8x 10/100/1000 Mbit
* PoE+:      Broadcom BCM59121B0KMLG (IEEE 802.3at-2009 compliant)
* UART:      1 angled serial header with populated standard pin connector
             accessible from outside through the ventilation slits on the
             side. Pins from top to bottom are clearly marked on the PCB:
             + VCC (3.3V)
             + TX
             + RX
             + GND

Serial connection parameters for both devices: 115200 8N1.

Installation
------------
Instructions are identical to those for the GS1900-10HP and apply both
to the GS1900-8HP v1 and v2 as well.

* Configure your client with a static 192.168.1.x IP (e.g. 192.168.1.10).
* Set up a TFTP server on your client and make it serve the initramfs
  image.
* Connect serial, power up the switch, interrupt U-boot by hitting the
  space bar, and enable the network:
  > rtk network on
* Since the GS1900-10HP is a dual-partition device, you want to keep the
  OEM firmware on the backup partition for the time being. OpenWrt can
  only boot off the first partition anyway (hardcoded in the DTS). To
  make sure we are manipulating the first partition, issue the following
  commands:
  > setsys bootpartition 0
  > savesys
* Download the image onto the device and boot from it:
  > tftpboot 0x84f00000 192.168.1.10:openwrt-realtek-generic-zyxel_gs1900-8hp-v{1,2}-initramfs-kernel.bin
  > bootm
* Once OpenWrt has booted, scp the sysupgrade image to /tmp and flash it:
  > sysupgrade /tmp//tmp/openwrt-realtek-generic-zyxel_gs1900-8hp-v{1,2}-squashfs-sysupgrade.bin

Signed-off-by: Stijn Segers <foss@volatilesystems.org>
[merge PoE case, keep device definitions separate, change all those
hashes in the commit message to something else so they don't get
removed when changing the commit ...]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2021-01-08 20:48:22 +01:00
Adrian Schmutzler
40ea2fea4f realtek: remove model prefix from LED label for ZyXEL GS1900
This is used as fixed status LED, so no migration is needed.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2021-01-08 20:39:02 +01:00
Stijn Segers
0542cb6a2b realtek: introduce shared DTSI for GS1900 series
The ZyXEL GS1900-8HP v1, v2 and GS1900-10HP are all built on a similar
Realtek RTL8380M platform. Create a common DTSI in preparation for
GS1900-8HP support, and switch to the macros defined in rtl838x.dtsi.

Signed-off-by: Stijn Segers <foss@volatilesystems.org>
[drop redundant includes, use &mdio directly, do not replace SFP
ports]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2021-01-08 20:39:02 +01:00
CN_SZTL
1121f2b449
README: remove outdated warning 2021-01-09 02:48:34 +08:00
CN_SZTL
bc939ccb15
autocore: sync with upstream source 2021-01-09 02:25:47 +08:00
CN_SZTL
050e950eee
filebrowser: a workaround for snapshot LuCI control
Still need to find out the reason why procd doesn't work.
2021-01-08 23:49:58 +08:00
CN_SZTL
17b54dfe90
qBittorrent: fix boost dependencies 2021-01-08 22:25:32 +08:00
xiaorouji
a2b22bc484
luci-app-passwall: server: add xray acceptProxyProtocol option 2021-01-08 19:26:55 +08:00
Mattraks
ff5e026a6a
luci-app-ssr-plus: bump 182-4 2021-01-08 19:17:29 +08:00