Commit Graph

8007 Commits

Author SHA1 Message Date
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
Hans Dedecker
41e306d6b8 glibc: update to latest 2.33 commit
c5e3545897 tunables: Disallow negative values for some tunables
905fdc7071 x86: Use SIZE_MAX instead of (long int)-1 for tunable range value
15afd6b8d8 tunables: Simplify TUNABLE_SET interface

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2021-02-14 12:05:38 +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
CN_SZTL
7ed8a3dc50
kernel: bump to 4.9.257, 4.14.221, 4.19.175
Resolve conflicted:
 - layerscape/patches-4.14/302-dts-support-layerscape.patch

Refreshed all patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-10 19:37:50 +08:00
AmadeusGhost
ecd317d8f4 sunxi: backport h5 cpufreq support from upstream linux 2021-02-10 16:21:08 +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
Curtis Deptuck
37f650ad14 glibc: update to 2.33
ChangeLog:
https://sourceware.org/pipermail/libc-alpha/2021-February/122207.html

Refresh patch:
None required

Signed-off-by: Curtis Deptuck <curtdept@me.com>
2021-02-10 12:05:32 +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
Daniel González Cabanelas
68fbe1c0aa
bcm63xx: sprom: override the PCI device ID
The PCI device ID detected by the wifi drivers on devices using a fallback
SPROM is wrong. Currently the chipnum is used for this parameter.

Most SSB based Broadcom wifi chips are 2.4 and 5GHz capable. But on
devices without a physical SPROM, the only one way to detect if the device
suports both bands or only the 5GHz band, is by reading the device ID from
the fallback SPROM.

In some devices, this may lead to a non working wifi on a 5GHz-only card,
or in the best case a working 2.4GHz-only in a dual band wifi card.

The offset for the deviceid in SSB SPROMs is 0x0008, whereas in BCMA is
0x0060. This is true for any SPROM version.

Override the PCI device ID with the one defined at the fallback SPROM, to
detect the correct wifi card model and allow using the 5GHz band if
supported.

The patch has been tested with the following wifi radios:

BCM43222: b43: both 2.4/5GHz working
          brcm-wl: both 2.4/5GHz working

BCM43225: b43: 2.4GHz, working
	 brcmsmac: working
	 brcm-wl: it lacks support

BCM43217: b43: 2.4GHz, working
	 brcmsmac: it lacks support
	 brcm-wl: it lacks support

Signed-off-by: Daniel González Cabanelas <dgcbueu@gmail.com>
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

Backported from a0e0e621ca

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-09 21:46:49 +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
2674114502 ipq40xx: r619ac: fix the conflict with 4G network card 2021-02-09 12:35:30 +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
AmadeusGhost
80d3967771 kernel: rollback 4.9 to 4.9.255
"4.9.256" completely broken the compilation.
2021-02-07 21:36:19 +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
77a136fc74
kernel: bump to 4.9.256, 4.14.219, 4.19.173
Refreshed all patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-07 02:20:09 +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
CN_SZTL
25ca7ccd5f
README: fix typo err
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-06 16:56:20 +08:00
CN_SZTL
46f3481d47
Project ImmortalWrt: update feed urls
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-06 16:53:05 +08:00
Paul Spooren
430f572960 build: use SPDX license tags
The license folder is a core part of OpenWrt and all GPL-2.0 licensed.
Use SPDX license tags to allow machines to check licenses.

Signed-off-by: Paul Spooren <mail@aparcar.org>
[rebase, keep some Copyright lines, sharpen commit message]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2021-02-06 12:07:10 +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
Daniel Golle
cf26e2a6a2 kernel: add defaults for new SELinux options
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-02-06 12:05:05 +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
a956b8d05e sunxi: add cpufreq support for Allwinner H5 2021-02-05 18:19:45 +08:00